luvolondon / fvtt-module-jitsiwebrtc

Jitsi WebRTC client for FVTT
32 stars 8 forks source link

Update simulcast and resolution settings for consistent video #63

Closed bekriebel closed 3 years ago

bekriebel commented 3 years ago

Having simulcast disabled causes chrome to freeze the video much more often in cases where the server thinks bandwidth is limited. Having simulcast available lets the stream resolution/framerate lower instead of freezing completely.

Remove specific video resolution constraints and instead use setSenderVideoConstraint and setReceiverVideoConstraint to specify the requested resolution.

Use JitsiConference.selectParticipants to tell the server that we are viewing all connected users to reduce the chance that it will freeze the video.

ref: #54