Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12849

Media Plugin: Saves file not in indicated directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.5.0
    • None
    • Device model: Nexus 5X
      Android version of device: 8.1.0
      Platform version: 7.1.0
      Cordova version: 8.0.0
      Cordova plugin media version: 5.0.1

    Description

      I tried to build an application which records, stops the recording and then plays the recorded audio.

      The recording works fine but if I try to play the recorded audio I get error code 1. I found out that the recorded audio file was not in the directory but in a totally different directory (/storage/emulated/0/(tmprecording-1495618229386.3gp) with a different file name (tmprecording-1495618229386.3gp) and a different media type (video/3gpp) as indicated.

      I created a repo with a example application for this issue: https://github.com/Durzan666/cordova-plugin-media-demo

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              flop Florian Pechwitz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: