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/09/28 08:50:48 UTC
[GitHub] [cordova-plugin-media] zubinraja commented on issue #301: Recorded file neither saving nor playing
zubinraja commented on issue #301:
URL: https://github.com/apache/cordova-plugin-media/issues/301#issuecomment-928988758
for android instead of this.file.externalRootDirectory try this.file.externalDataDirectory. it works for me.
For android and iOS this directory works for me
this.global.G_ExternalDirectory = this.platform.is('ios') ? this.file.dataDirectory : this.file.externalDataDirectory;
in addition to it, before audio recording I am checking audio and storage access permission explicitly.
this.diagnostic.requestMicrophoneAuthorization() and
this.diagnostic.requestExternalStorageAuthorization()
see if that works for you too.
--
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