screen sharing is very laggy with bad framerate

5,200 views
Skip to first unread message

Jacob S

unread,
Sep 17, 2017, 12:01:54 PM9/17/17
to meetecho-janus
Hi all, I need some help figuring out why my screen sharing attempts ( using the Video Room plugin  ) are very laggy with bad frame rate, no matter what screenshareFrameRate and bitrate I try.
I am using windows 10 with chrome 60.

I have some experience with the Streaming plugin and with it I get much better framerate and a smoother stream.

is this a problem with webrtc chrome screen capture ? is there any configuration I can try ?

Thanks

Jacob S

unread,
Sep 17, 2017, 6:56:07 PM9/17/17
to meetecho-janus
Looking in chrome://webrtc-internals/ I can see that googFrameRateSent is very low compared to googFrameRateInput.
But when I try to do webrtc peer to peer ( not using janus.js ) , the googFrameRateSent is very high, any idea what could be the difference ?

I also seems that when there is allot of movement the frame rate goes down ( maybe speed encoding issue ? )

Mirko Brankovic

unread,
Sep 18, 2017, 1:24:56 AM9/18/17
to meetecho-janus
on the creation of room you have set the upper limit of bitrate, if not, you got default. Try to increase that.

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jacob S

unread,
Sep 18, 2017, 1:39:44 AM9/18/17
to meetecho-janus
You were correct increasing bitrate very much did fix the framerate, is this because vp8 max-quantization, is the encoder dropping frames in order to meet the minimum quality demands ?
Can this be changed via api ?
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.

Lorenzo Miniero

unread,
Sep 18, 2017, 7:28:12 AM9/18/17
to meetecho-janus
Il giorno lunedì 18 settembre 2017 07:39:44 UTC+2, Jacob S ha scritto:
You were correct increasing bitrate very much did fix the framerate, is this because vp8 max-quantization, is the encoder dropping frames in order to meet the minimum quality demands ?
Can this be changed via api ?



None of those aspects are exposed via JavaScript, and we most definitely can't change anything. We don't do transcoding either, so what you see is what the browser encodes.

L.

Jacob S

unread,
Sep 18, 2017, 8:17:34 AM9/18/17
to meetecho-janus
isn't  x-google-max-quantization the parameter for that ?

Lorenzo Miniero

unread,
Sep 18, 2017, 8:37:26 AM9/18/17
to meetecho-janus
No idea, I never cared much for browser-specific settings, as janus.js is meant to be browser agnostic.

L.

Mirko Brankovic

unread,
Sep 18, 2017, 11:43:51 AM9/18/17
to meetecho-janus
i'm not sure either.
I guess it depends on the constraints that your plugin is sending to getUserMedia() after the chrome.desktopCapture.chooseDesktopMedia() returns the ID.

maxWidth minWidth ,....

But I guess by default Browsers are expecting high resolution for screen share to be able to work properly, high peaking to 3-4 mbps in high screen changes

To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Regards,
Mirko
Reply all
Reply to author
Forward
0 new messages