websocket latency

websocket latency

admin Staff asked 4 years ago
I am using the websocket player and I experience a lot of latency when I am streaming just within US. Any ideas to improve the latency?



1 Answers
admin Staff answered 4 years ago
To decrease the latency when using the websocket HTML5 player, key frames need to be sent as frequent as possible. Ideally, at least once every second. For example, if the current framerate is 30 fps, then the keyframe needs to be sent out every 30 frames or less. This is similar to reducing the GOP (group of pictures) size/length to match the current framerate.

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.