-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Low latency live streaming segment duration issue #4601
Comments
I had a quick look and it looks like your MPD is missing an
For reference, a stream from the DASH-IF Livesim2: https://livesim2.dashif.org/livesim2/chunkdur_1/ato_7/testpic4_8s/Manifest300.mpd. Since you are aiming for 0.5 seconds chunks the |
Thanks @dsilhavy for your response. I added the I am using https://gitlab.com/fflabs/originjs as my server and my ffmpeg command speed is above 0.9x so, I am not sure what can be enhanced to prevent this from happening. This is a screenshot of the ffmpeg command running: And this is the new mpd getting generate: Do you have any insights on what I might be doing wrong or how I can improve the process? |
No direct insights but some starting points:
|
I checked and I don't see Transfer-Encoding header at all. However, I also checked the sample live stream in dash.js and used both the default manifest given in the sample as well as the manifest you shared with me from livesim2 and I don't see that header either. I am using Google Chrome. |
On dash.js version 4.7.4, I am trying to simulate low latency live streaming on different network conditions. The issue I am seeing is a lot of stalling happening (PLAYBACK_WAITING/BUFFER_EMPTY events getting fired) when having segment durations over 2s. Since I have 0.5s chunks, I believe that such stalling shouldn't happen as often since the buffer should be updated regularly.
I am trying to understand why such behavior is happening. It seems to me that the frag_duration flag I use in the ffmpeg command doesn't have any effect on playback.
I am targeting a liveDelay of 2s and playBackRate of ±0.3. The following is the ffmpeg command I am using:
I have also attached the mpd file that gets generated while the ffmpeg command is running.
live_mpd.txt
I would really appreciate it if someone could point me in the right direction.
The text was updated successfully, but these errors were encountered: