Strange issue with self hosted Jitsi when stop or start sharing

I have following version

ii  jitsi-meet                     2.0.7001-1                     all          WebRTC JavaScript video conferences
ii  jitsi-meet-prosody             1.0.5913-1                     all          Prosody configuration for Jitsi Meet
ii  jitsi-meet-tokens              1.0.5913-1                     all          Prosody token authentication plugin for Jitsi Meet
ii  jitsi-meet-turnserver          1.0.5913-1                     all          Configures coturn to be used with Jitsi Meet
ii  jitsi-meet-web                 1.0.5913-1                     all          WebRTC JavaScript video conferences
ii  jitsi-meet-web-config          1.0.5913-1                     all          Configuration for web serving of Jitsi Meet
ii  jitsi-videobridge2             2.1-634-gff8609ad-1            all          WebRTC compatible Selective Forwarding Unit (SFU)

When a user who has his camera off , if shares screen , his picture can be seen briefly seen just before screen sharing and just after he stops screen sharing.
here are console logs:

2022-04-11T10:55:39.601Z [modules/RTC/ScreenObtainer.js] <Object.obtainScreenFromGetDisplayMedia>:  Using getDisplayMedia for screen sharing Object
Logger.js:154 2022-04-11T10:55:52.851Z [JitsiConference.js] <jd._doReplaceTrack>:  _doReplaceTrack - no P2P JingleSession
Logger.js:154 2022-04-11T10:55:52.884Z [modules/RTC/TraceablePeerConnection.js] <Ba.setSenderVideoConstraints>:  TPC[id=1,type=JVB] Setting degradation preference [preference=maintain-resolution,track=LocalTrack[12,video]
Logger.js:154 2022-04-11T10:55:52.888Z [modules/RTC/TraceablePeerConnection.js] <Ba.setSenderVideoConstraints>:  TPC[id=1,type=JVB] setting max height=360,encodings=[{"active":false,"adaptivePtime":false,"networkPriority":"low","priority":"low"},{"active":false,"adaptivePtime":false,"networkPriority":"low","priority":"low"},{"active":true,"adaptivePtime":false,"networkPriority":"low","priority":"low"}]
Logger.js:154 2022-04-11T10:55:52.889Z [modules/xmpp/JingleSessionPC.js] <Object.callback>:  JingleSessionPC[session=JVB,initiator=false,sid=6e4ii6obj6bar]  Replace track done!
Logger.js:154 2022-04-11T10:55:52.910Z [features/base/tracks] Replace video track - unmuted
Logger.js:154 2022-04-11T10:55:52.935Z [conference.js] Screen sharing started
Logger.js:154 2022-04-11T10:55:53.838Z [modules/RTC/BridgeChannel.js] <WebSocket.e.onmessage>:  SenderVideoConstraints: {"idealHeight":2160}
Logger.js:154 2022-04-11T10:55:53.839Z [modules/xmpp/JingleSessionPC.js] <Qr.setSenderVideoConstraint>:  JingleSessionPC[session=JVB,initiator=false,sid=6e4ii6obj6bar] setSenderVideoConstraint: 2160, sourceName: null
Logger.js:154 2022-04-11T10:55:53.840Z [modules/RTC/TraceablePeerConnection.js] <Ba.setSenderVideoConstraints>:  TPC[id=1,type=JVB] Setting degradation preference [preference=maintain-resolution,track=LocalTrack[12,video]
Logger.js:154 2022-04-11T10:55:53.843Z [modules/RTC/TraceablePeerConnection.js] <Ba.setSenderVideoConstraints>:  TPC[id=1,type=JVB] setting max height=2160,encodings=[{"active":false,"adaptivePtime":false,"networkPriority":"low","priority":"low"},{"active":false,"adaptivePtime":false,"networkPriority":"low","priority":"low"},{"active":true,"adaptivePtime":false,"networkPriority":"low","priority":"low"}]
Logger.js:154 2022-04-11T10:56:02.509Z [modules/RTC/RTCUtils.js] <$i.<anonymous>>:  Got media constraints:  {"video":{"height":{"ideal":720},"width":{"ideal":1280},"deviceId":"9759a4f9766a2e39e9e0f3456ed821ee3134c597c532ef039d047f5f03da9770"},"audio":false}
Logger.js:154 2022-04-11T10:56:04.516Z [modules/RTC/RTCUtils.js] onUserMediaSuccess
Logger.js:154 2022-04-11T10:56:04.518Z [JitsiConference.js] <jd._doReplaceTrack>:  _doReplaceTrack - no P2P JingleSession
Logger.js:154 2022-04-11T10:56:04.540Z [modules/RTC/TraceablePeerConnection.js] <Ba.setSenderVideoConstraints>:  TPC[id=1,type=JVB] Setting degradation preference [preference=maintain-framerate,track=LocalTrack[13,video]
Logger.js:154 2022-04-11T10:56:04.542Z [modules/RTC/TraceablePeerConnection.js] <Ba.setSenderVideoConstraints>:  TPC[id=1,type=JVB] setting max height=2160,encodings=[{"active":true,"adaptivePtime":false,"networkPriority":"low","priority":"low"},{"active":true,"adaptivePtime":false,"networkPriority":"low","priority":"low"},{"active":true,"adaptivePtime":false,"networkPriority":"low","priority":"low"}]
Logger.js:154 2022-04-11T10:56:04.542Z [modules/xmpp/JingleSessionPC.js] <Object.callback>:  JingleSessionPC[session=JVB,initiator=false,sid=6e4ii6obj6bar]  Replace track done!
Logger.js:154 2022-04-11T10:56:04.555Z [features/base/tracks] Replace video track - unmuted
Logger.js:154 2022-04-11T10:56:04.575Z [conference.js] <i.then.videoSwitchInProgress>:  Screen sharing stopped.
Logger.js:154 2022-04-11T10:56:04.575Z [modules/RTC/JitsiLocalTrack.js] Mute LocalTrack[13,video]: true
Logger.js:154 2022-04-11T10:56:06.048Z [modules/RTC/BridgeChannel.js] <WebSocket.e.onmessage>:  SenderVideoConstraints: {"idealHeight":360}
Logger.js:154 2022-04-11T10:56:06.048Z [modules/xmpp/JingleSessionPC.js] <Qr.setSenderVideoConstraint>:  JingleSessionPC[session=JVB,initiator=false,sid=6e4ii6obj6bar] setSenderVideoConstraint: 360, sourceName: null

looks like something to with this commit:
But to me this is happening when not in p2p mode.

This was fixed in latest master and will be part of the next release.

1 Like