arut / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
13.35k stars 3.51k forks source link

Pausing-Unpausing live streams whilst serving multiple clients #702

Open soufrk opened 8 years ago

soufrk commented 8 years ago

Scenario - HLS live stream is started feeding into NGINX 1st client requests and plays for HLS stream. 2nd client requests after sometime for the same stream. It displays the video from start, which should not be for Live Streaming. Additionally, if the 2nd client is paused, and un-paused. It should sync upto the 1st client.

Anybody faced with similar problem / any solutions ?

misiek08 commented 8 years ago

The second client can be up to $hls_fragment_length*2 time behind, but not more.