cordova-plugin-streaming-media
cordova-plugin-streaming-media copied to clipboard
Some HLS streams are not working
What version of Streaming-Meda-Cordova-Plugin are you using? 2.2.0 What version of Cordova are you using? 8.1.2 ([email protected]) What devices are affected? Android TVs (in my case - Android TV 7.0 emulator) Please describe the issue in detail, with relevant code samples I can't get to work some of my HLS streams. When I install the app on my Android phone (which also has Android 7), it plays my streams without errors, but on Android TV these streams cause errors. Some of other streams (also HLS) are working normally.
My code:
window.plugins.streamingMedia.playVideo(url, { successCallback: function () { alert('Video was closed without error.') }, errorCallback: function (errMsg) { alert('Error! ' + errMsg) }, shouldAutoClose: false, controls: true })
What did you expect to happen?
A working HLS player.
What actually happened?
A strange error, I can't find any information about it:
Error: Unknown (1) -22