Wowza Community

MPEG DASH live streaming latency

Hi,

I have a task to change Flash player to HTML5. So, currently we are testing capabilities to move from rtmp to MPEG-DASH protocol for live streaming from IP cameras. My environment is a LAN in which live stream is sent via rtp to the Wowza Engine. On my client side I’m testing different Html5 players – Bitmovin, Shaka Player, Dash.js When I tried to test this solution I faced with latency more than 30 sec.

I’ve read article how to configure MPEG-DASH https://www.wowza.com/docs/how-to-configure-mpeg-dash-packetization-mpegdashstreaming and MPEG-DASH Streaming Packetizer was configured with next parameters:

mpegdashChunkDurationTarget 1200

mpegdashMaxChunkCount 3

mpedashPlaylistChunkCount 3

But with these parameters latency is still more than 7 sec on all players. When I’m tried to made mpegdashChunkDurationTarget less than 1000 play back was very choppy and unstable. In the case when mpegdashChunkDurationTarget is 2000 and more I had more than 10 seconds latency between sender and receiver. But for our solution it is unacceptable. Our previous solution based on rtmp protocol and Flash player has latency near 1 second.

Is it possible to configure MPEG-DASH Streaming to achieve latency below 1 second?

Thank you in advance.

Something around 6-7 seconds seems to be a minimum latency that can be achieved with http-based streaming protocols, while keeping the operation stable. You could lower the number of chunks served to clients (mpedashPlaylistChunkCount) to 2, and this may work sufficiently well and lower the latency to ~5 seconds, but here the stability starts to become questionable. If you want lower latency than that you should probably look into non-http-based protocol, such as WebRTC.