Low Latency Live Media Load Error 404
- Dominant language
- Java
- Stars
- 21.9k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I am testing ExoPlayer 2.16.1 for low latency live dash streaming. I am hosting a stream at a server with FFmpeg.
1. I am noticing lots of 404 errors when I am hosting the stream with "-use_timeline 0" option of FFmpeg.These errors are generated when the player is trying to fetch the chunks at the live edge(server-side logs attached). It seems like it is trying to fetch ahead of time and fails a couple of times before it gets the chunk. One reason I noticed is that in this case, the player is not fetching the MPD file periodically before each chunk which is the case for 2.
2. If I host the same stream with "-use_timeline 1" the errors are not there and the media loads are successful and synced. However, for this case, I don't get the **availabilityTimeOffset** parameter in the segment template. I believe this parameter is important as it plays a role in the player's decision of switching up to a higher bitrate/resolution.
Any explanation of how this FFmpeg parameter is causing the media load errors and how to fix that? I am attaching the full FFmpeg command I am using to host the stream.
[ServerErrors.txt](https://github.com/google/ExoPlayer/files/8192142/ServerErrors.txt)
[FFmpeg_config.txt](https://github.com/google/ExoPlayer/files/8192144/FFmpeg_config.txt)
Contributor guide
Assessment
This issue has not been assessed yet.