Reputation: 2581
I have webm streams coming from an ffserver (16 streams), managed to get all 16 to load at once within a browser, but whether I am playing just one or 16 there is a delay of 3-5 seconds introduced due to either buffering or the handshake plus some kind of compensation to try and sync the timestamps by the browser itself, which leads to my question:
Is it possible to force a browser playing a webm stream via HTML5's video tag (I only really care about Chrome, but it's happening in Firefox too) to play from the actual most recent frame (clients and servers share a common NTP server over the LAN, so they are guaranteed to be synced, if that is a factor) as opposed to maintaining a buffer of several seconds and playing from the start of that buffer?
Upvotes: 1
Views: 1388
Reputation: 146
Have you tried to change you ffserver config file settings. I also have a series of pipe images and probably add the following parameters to your config file might decrease the delay.
PreRoll 0
StartSendOnKey
Upvotes: 1