Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96074 Qt Multimedia bug fixes for Android
  3. QTBUG-96081

audiorecorder widgets example doesn't work properly if output name is assigned

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Duplicate
    • P2: Important
    • None
    • None
    • None
    • 2021wk38POAndroid&Mobile, 2021wk40POAndroid&Mobile, 2021wk42POAndroid&Mobile, 2021wk44POAndroid&Mobile, 2021wk46POAndroid&Mobile, 2022wk24FOQtforAndroid, 2022wk28FOQtforAndroid, 2022wk30FOQtforAndroid, 2022wk34FOQtforAndroid, 2022wk36FOQtforAndroid, 2022wk38FOQtforAndroid, 2022wk40FOQtforAndroid, 2022wk42FOQtforAndroid, 2022wk44FOQtforAndroid

    Description

      The widgets example audio recorder doesn't work when using "Output" button to set a save file name, then there is an an error

      Unable to prepare the media recorder.
      
      W mediarecorder: : No default input device was set
      W mediarecorder: : No default input device was set
      W System.err: java.io.FileNotFoundException: /storage/emulated/0/Sounds/content:/com.android.providers.downloads.documents/document/118.m4a: open failed: ENOENT (No such file or directory)
      W System.err:  at libcore.io.IoBridge.open(IoBridge.java:492)
      W System.err:  at java.io.RandomAccessFile.<init>(RandomAccessFile.java:289)
      W System.err:  at java.io.RandomAccessFile.<init>(RandomAccessFile.java:152)
      W System.err:  at android.media.MediaRecorder.prepare(MediaRecorder.java:1091)
      W System.err:  at org.qtproject.qt.android.QtNative.startQtApplication(Native Method)
      W System.err:  at org.qtproject.qt.android.QtNative$7.run(QtNative.java:633)
      W System.err:  at org.qtproject.qt.android.QtThread$1.run(QtThread.java:61)
      W System.err:  at java.lang.Thread.run(Thread.java:923)
      W System.err: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
      W System.err:  at libcore.io.Linux.open(Native Method)
      W System.err:  at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
      W System.err:  at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254)
      W System.err:  at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
      W System.err:  at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7550)
      W System.err:  at libcore.io.IoBridge.open(IoBridge.java:478)
      W System.err:  ... 7 more
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              assam Assam Boudjelthia
              assam Assam Boudjelthia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews