wolvesworld opened a new issue #271: Error Code : 1 on Android 10 URL: https://github.com/apache/cordova-plugin-media/issues/271 <!-- Please have a look at the issue templates you get when you click "New issue" in the GitHub UI. We very much prefer issues created by using one of these templates. --> ### Issue Type <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [ ] Bug Report - [ ] Feature Request - [x ] Support Question ## Description I have installed the plugin and checked all permissions needed, but still getting error code 1 while using Android 10 on Huawei pro 30 ## Information <!-- If I used the normal Audio Tag I am getting this error on the inspection console ( Failed to load resource: the server responded with a status of 401 (Authentication Required) but the source is correct and accessible --> ### Command or Code <!-- var audioUrl = 'http://shaincast.caster.fm:port/listen.mp3?authn*********'; var my_media = new Media(audioUrl, // success callback function () { console.log("playAudio():Audio Success"); }, // error callback function (err) { console.log("playAudio():Audio Error: " + JSON.stringify(err)); } ); $(document).on('click', '#play', function (e) { e.preventDefault(); // Play audio my_media.play(); });--> ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? Only facing issue on Android 10 device Huawei pro 30--> ### Version information <!-- What are relevant versions you are using? For example: 9.0.0 ([email protected]) npm 6.4.1 windows 10, Android Studio latest--> ## Checklist <!-- Please check the boxes by putting an `x` in the `[ ]` like so: `[x]` --> - [ x] I searched for already existing GitHub issues about this - [x ] I updated all Cordova tooling to their most recent version - [ x] I included all the necessary information above
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
