-
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
Playback fails in demo app after selecting all the tracks from the same audio track group #5971
Comments
@ojw28 as for now the auto possibility is not available any more for each group |
The reasons for this bug is that all the audio formats have no bitrate specified. We can and should make our algorithm more robust to gracefully handle this case, but I'm unsure what you are actually trying to achieve? There is no sensible way in which we can switch dynamically between two formats if they don't have bitrate information to guide the decision. |
@giladna I don't understand how your comment is related to the issue above. Can you rephrase it or open a new issue/question if unrelated? |
@tonihei would it be possible to set auto bitrate selection for each group or auto bitrate selection is single option for a all audio tracks |
Yes, HLS streams mostly don't have specific audio bitrates as the provided bitrates are only for combined video+audio. |
Using parallel adaptation for Formats without bitrate information currently causes an exception. Handle this gracefully and also cases where all formats have the same bitrate. Issue:#5971 PiperOrigin-RevId: 250682127
Fixed by commit above. |
@tonihei thanks! Regarding selecting auto bitrate for specific language in dash |
Using parallel adaptation for Formats without bitrate information currently causes an exception. Handle this gracefully and also cases where all formats have the same bitrate. Issue:#5971 PiperOrigin-RevId: 250682127
* - AndroidX migration - Upgraded gson to 2.8.5 - Upgraded okhttp to 3.14.2 - Upgraded ExoPlayer to 2.10.1 * - API change for 2.10.1 for roleFlag in Subtitles - Refactored MediaPlayerWrapper * - Updated CustomVideoCodecRenderer class. - Keeping the old file for the track. * - Removed CustomVideoCodecRendererOld - Added CustomMediaCodecRenderer * - Decoder re-usability on change media. https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/ExoPlayer.html#setForegroundMode-boolean- * - API Change : Added listener to bandwidth meter. * - clean up * - Restrict max supported bitrate to 5 Gbps - ADAPTIVE support having -1 value is not supported in Exoplayer now, so changed the logic accordingly. * - Issue Resolved: Lowest bitrate tracks was not being added. - Now the isAdaptiveTrack is being analysed based on the flag present in the track. - Removed the restriction of 5Gbps track. Logic is solely dependent on exoplayer now. * - ExtractorMediaSource is deprecated. - Code cleanup * - Removed unused imports * - Reverted track selection code - google/ExoPlayer#5971 * - google/ExoPlayer#5991 Relying on Exoplayer for track selection * - Role Flag was not being used - Version updates for gson and okhttp * @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR2)
Issue: Playback fails when we try to select all the tracks available in an audio group.
Media: https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8
Crash Log:
My Assumption: I am assuming that when I select all the tracks available from an audio group it will behave like adaptive (track Index = -1).
Question:
If I check the stream it has the following audio track group,
If I check the tracks in code then audio groups will be
How can we select auto for Audio ?
There could be following an option to select auto from English group (1,0,-1) or dubbing group (1,1,-1). Can we do this ? I tried but the app crashed.
How ExoPlayer is selecting the audio in case if I select auto ?
The text was updated successfully, but these errors were encountered: