-
-
Notifications
You must be signed in to change notification settings - Fork 998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] None of the available extractors (...) could read the stream #606
Comments
Hey @javier-artiles I have an inkling about what the issue could be. Do you have a basic demo of this not working? |
Hi @dcvz thank for your prompt reply. |
Hi @dcvz by any chance have you been able to look into this issue? If you have any leads I could investigate I may be able to unlock some progress. I’m not familiar with the underlying libraries (or Android native development in general), but I can give it a try if you think that’s where the root cause may be. |
@javier-artiles pulling down your branch now and investigating |
@javier-artiles you've forgotten to specify the type of the stream as HLS.. You can specify that in the track object -- there's more info in the documentation for your specific example, you'd change this: await TrackPlayer.add({
id: streamUrl,
url: streamUrl,
type: 'hls', // missing this!
//title: 'Track Title',
//artist: 'Track Artist',
//artwork: require('track.png')
}); |
try it out and let me know if it's working for you :) |
as far as I believe we are no longer using the |
Thank you so much @dcvz I missed that. I should have reads the docs more thoroughly. |
Configuration
react-native-track-player
version 1.1.4Issue
When I try to play the following stream URL https://nhks-vh.akamaihd.net/i/news/easy/k10011923001000.mp4/master.m3u8
the player fails on Android with:
Strangely an earlier build of my app with version 0.2.3 or react-native-track-player is able to play the stream without issue.
Here's some more detail on the stream:
Note 1: I've confirmed playback does work for this stream on iOS.
Node 2: I've also tried enabling all extensions through the track-player.json file, unsuccessfully.
The text was updated successfully, but these errors were encountered: