Screen Sharing not working with Chrome/Firefox and current Jitsi build

Hi All,

I updated two Jitsi servers to latest version using the Debian Repo yesterday.
Since then screensharing (window & full screen) is not working anymore if the sharing party is using Chrome or Edge browser.
If the sharing party is using Firefox, then screensharing is working.

Is there any known bug regarding screen sharing with chrome based browsers in the current release or are there maybe any post-update tasks that need to be performed to get that working again?

Is anybody facing the same problem or can confirm that screen sharing is working using Chrome/Firefox on Windows with the current Jitsi builds?

Thanks all, Greetings, Manfred

Any errors in the js console?

Hi Damencho,

first of all - thanks for your help.

Thats happening in js console after activating screen sharing:

playMedia for screen sharing {video: {…}, audio: true, cursor: ‘always’}
Logger.js:154 2022-05-04T12:05:36.503Z [JitsiConference.js] <$d._doReplaceTrack>: _doReplaceTrack - no P2P JingleSession
Logger.js:154 2022-05-04T12:05:36.544Z [modules/RTC/TraceablePeerConnection.js] <Ja.setSenderVideoConstraints>: TPC[id=1,type=JVB] Setting degradation preference [preference=maintain-resolution,track=LocalTrack[3,video]
Logger.js:154 2022-05-04T12:05:36.548Z [modules/RTC/TraceablePeerConnection.js] <Ja.setSenderVideoConstraints>: TPC[id=1,type=JVB] setting max height=2160,encodings=[{“active”:false,“adaptivePtime”:false,“maxBitrate”:500000,“networkPriority”:“low”,“priority”:“low”},{“active”:false,“adaptivePtime”:false,“maxBitrate”:500000,“networkPriority”:“low”,“priority”:“low”},{“active”:true,“adaptivePtime”:false,“maxBitrate”:500000,“networkPriority”:“low”,“priority”:“low”}]
Logger.js:154 2022-05-04T12:05:36.549Z [modules/xmpp/JingleSessionPC.js] <Object.callback>: JingleSessionPC[session=JVB,initiator=false,sid=81l4ckgorsr21] Replace track done!
Logger.js:154 2022-05-04T12:05:36.574Z [features/base/tracks] Replace video track - unmuted
Logger.js:154 2022-05-04T12:05:36.590Z [conference.js] Screen sharing started

Everynow and then, independent of the screensharing use - these entries are in console log:

BridgeChannel.js:84

   WebSocket connection to 'wss://meet.ttt.com/colibri-ws/default-id/7bf8ca5793e92db3/73f422b3?pwd=563uj5nnikm9sr35oavpce32rh' failed: Error during WebSocket handshake: Unexpected response code: 502

_initWebSocket @ BridgeChannel.js:84
t @ BridgeChannel.js:103
Logger.js:154 2022-05-04T12:10:01.605Z [modules/RTC/BridgeChannel.js] <WebSocket.e.onclose>: Channel closed by server
Logger.js:154
2022-05-04T12:10:01.605Z [modules/RTC/BridgeChannel.js] <WebSocket.e.onclose>: Channel closed: 1006

Best,
Manfred

You need to fix the websockets handlings and it will be good.

Check that your nginx looks like that:

especially the colibri-ws part

1 Like

Hi, thank you it´s working now. Had to modify nginx config.