Issue description
When trying to play fmp4 content with chunkless preparation turned on, at the end of video playback the player state never changes to ended and the playback continues with the timeline ticking on.
Reproduction steps
The bug can be reproduced in the ExoPlayer demo app.
- turn chunkless preparation on:
in PlayerActivity.java make the following code changes under the buildMediaSource function:
case C.TYPE_HLS:
return new HlsMediaSource.Factory(dataSourceFactory)
.setPlaylistParserFactory(
new DefaultHlsPlaylistParserFactory(getOfflineStreamKeys(uri)))
.setAllowChunklessPreparation(true)
.createMediaSource(uri);
-
Select the fmp4 bipbop content from the HLS demo content.
-
The playback never ends.
Link to test content
The fragment mp4 demo test content:
"name": "Apple master playlist advanced (fMP4)",
"uri": "https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_fmp4/master.m3u8"
Version of ExoPlayer being used
ExoPlayer - tag version 2.9.5
Device(s) and version(s) of Android being used
Device: LG G6
Android version: 7.0
Issue description
When trying to play fmp4 content with chunkless preparation turned on, at the end of video playback the player state never changes to ended and the playback continues with the timeline ticking on.
Reproduction steps
The bug can be reproduced in the ExoPlayer demo app.
in
PlayerActivity.javamake the following code changes under thebuildMediaSourcefunction:Select the fmp4 bipbop content from the HLS demo content.
The playback never ends.
Link to test content
The fragment mp4 demo test content:
Version of ExoPlayer being used
ExoPlayer - tag version 2.9.5
Device(s) and version(s) of Android being used
Device: LG G6
Android version: 7.0