-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Hls adaptive streaming not working for audio only #5313
Comments
We come up with a pretty weird set of tracks for this content (looking at the master playlist, I think the correct result would be if we ended up with just Group 0):
|
…riants Issue:#5313 PiperOrigin-RevId: 228155222
…riants Issue:#5313 PiperOrigin-RevId: 228155222
Issue: #5596 This arguably made a worse problem than it solved, and also I think subtly broken HLS downloads by changing which renditions HlsMasterPlaylist.copy would retain in some cases. Reverting as a mini step toward removing smart logic from the HLS playlist parser. *** Original commit *** Expand check for muxed audio media tags to include uris that match variants Issue:#5313 *** PiperOrigin-RevId: 240348969
Reopening this because the issue will be reintroduced in 2.10 (the original fix caused another issue that was worse than the one that it fixed). |
This comment has been minimized.
This comment has been minimized.
Is #5313 still an open bug in release 2.10.3? |
Thanks @AquilesCanta - as we currently use audio only HLS adaptive streaming is there a planned release that will resolve this, and until then a suggested work around? @AquilesCanta Our team's observation is that when using an HLS adaptive playlist that is audio only, if the default stream fails (404s for example) then ExoPlayer does not try the next stream in the playlist. |
@palvaibhav89 nope, our solution was to stop using hls for audio only streams and use streaming mp3 instead. |
@ojw28 is this issue still open? Is there any fix for this on the way? |
@AquilesCanta Is there any hope to get this fixed? |
Christos, from my comment above:
|
@christosts Hi, Do you need any info or data? |
We are still facing this issue in 2023 |
Issue description
Hls adaptive streaming not working with our Audio tracks (Hls file doesn't contain Video track)
We tested Exoplayer demo app, just replaced Hls source by our link.
Player always selects default stream with BANDWIDTH=140800, and never switches to BANDWIDTH=281600, tested on wifi connection.
Reproduction steps
Just replace HlsSource link in demo app:
case C.TYPE_HLS: return new HlsMediaSource.Factory(dataSourceFactory) // .setPlaylistParserFactory( // new DefaultHlsPlaylistParserFactory(getOfflineStreamKeys(uri))) .createMediaSource(Uri.parse("our hls url here"));
Link to test content
Link will be provided by email
Version of ExoPlayer being used
Exoplayer 2.9.3, branch release-v2
Device(s) and version(s) of Android being used
Google Pixel, Android 9.0
A full bug report captured from the device
Bug report will be provided by email
The text was updated successfully, but these errors were encountered: