Video buffering to improve sync and latency
A small amount of buffering by ourselves will help reduce the buffering done by the browser. Also, by buffering a single frame we can then more accurately determine the required duration of the previous frame and ensure that audio and video do remain in sync.
Buffer the raw packet data.
Edited by Nicolas Pope