Hi,
first of all thanks for great work.
I have one problem though. Under some conditions I'm experiencing with google chrome video lag when using streaming plugin. Specifically when internet is bad and some packets are dropped google chrome starts to lag video up to 2-5 seconds, firefox in contrast keeps up and doesn't lag, even after IDR frame is received chrome continues to lag. Also one more observation: chrome starts to lag behind for 2-5 secs even in case internet is ok but on the same page there is a high JS activity, which is ok, but after JS code finished video continues to lag behind.
As I want to keep stream latency in bounds of 200-500 ms (which firefox delivers) I'd like to make chrome not to lag or at least "recover" after IDR frame. Is there a specific setting or trick for this?
I'm using janus commit 3cab7362d54d20c952a7b50d2c77e707d35c3f41, chrome version Version 66.0.3359.170 (also tried on canary with the same effect), stream settings are:
type: 'rtp',
audio: true,
video: true,
videopt: 96,
videortpmap: 'H264/90000',
videofmtp: 'profile-level-id=4de01f;packetization-mode=1',
audiopt: 97,
audiortpmap: 'opus/48000/2',
audiofmtp: '97 stereo=1;sprop-stereo=1'
thanks in advance,
Aleksandr