Skip to content
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

Segments are skipped in HLS video with discontinuity tags #6088

Open
sergiomartinez4 opened this issue Jun 24, 2019 · 3 comments
Open

Segments are skipped in HLS video with discontinuity tags #6088

sergiomartinez4 opened this issue Jun 24, 2019 · 3 comments

Comments

@sergiomartinez4
Copy link

[REQUIRED] Content description

When playing an HLS video with Discontinuity tags, some of its segments are skipped.
It does not happen with all HLS videos with Discontinuity tags, but on the same time, the streams with such problems are able play successfully in both Safari and QuickTime.
The problem happens approximately at playhead position 1m 07s
I played the video using ExoPlayer Demo.

[REQUIRED] Link to test content

I'm emailing a couple of tests streams. Both share a similar m3u8 segment file, but one of them has the problem while the other does not.

[REQUIRED] Version of ExoPlayer being used

ExoPlayer version: 2.10.2

[REQUIRED] Device(s) and version(s) of Android being used

LG G7 ThinQ Android 8.0.0
Nexus 6P Android 9.0

[REQUIRED] A full bug report captured from the device

I'm also emailing the bug report.

Thanks

@sergiomartinez4
Copy link
Author

An important difference between the two streams, noted by a co-worker, is that one stream have segments with video only (no audio) and that's the one causing the issue.

@AquilesCanta
Copy link
Contributor

The best thing you can do here is adding a silent audio track in the video only segments, unfortunately.

As per our medium post (look for "Avoid structural changes in segments") about playing HLS content, ExoPlayer does not support track changes in the stream.

I'll mark this as a low priority enhancement. It's likely that a github issue already exists for this, but I couldn't find it. Please mark as a duplicate if you happen to find an equivalent older issue.

@sergiomartinez4
Copy link
Author

Thanks for the prompt response @AquilesCanta I'll communicate this to my team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants