You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/12/23 18:47:36 UTC

[GitHub] [cordova-plugin-media] klaw-PLS commented on issue #325: Unable to play recorded audio file, Android Platform 9 targeting API 30.

klaw-PLS commented on issue #325:
URL: https://github.com/apache/cordova-plugin-media/issues/325#issuecomment-1000473128


   > same here. It seems using cdvfile protocol instead of simple file name solves this issue. But anyway the plugin should work well as documented.
   
   Hello @satoshionoda,
   
   I am new to the project but if I am reading the code correctly your workaround does make sense.  It looks like `loadAudioFile()` has many different ways of loading the source including but not limited to HTTPS and local file system routes.  If I am reading it correctly, I believe when you provide a simple file name it is supposed to generate the full path, but because it is no longer consistent with the way the filepath is created when you record the audio, it fails to find the file.
   
   Unfortunately, my app executes user defined code that utilizes these plugins; so I need the documented use of using a simple filename to work.  Thanks for the suggested workaround though!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org