Interesting, I just moved toggleE2EE
into timeout func too and the error disappeared. But I don’t receive any video or audio.
setTimeout(() => {
apiObj.toggleE2EE(true);
apiObj.setMediaEncryptionKey({
key,
index
}).then(() => {
console.log("SET MEDIA ENCRYPTION KEY");
});
}, 1000);
Here is the logs, after e2ee is enabled:
App.jsx:132 SET MEDIA ENCRYPTION KEY
Logger.js:154 2022-12-05T15:50:08.291Z [modules/API/API.js] <toggle-e2ee>: Toggle E2EE key command received
Logger.js:154 2022-12-05T15:50:08.291Z [features/e2ee] E2EE will be enabled
Logger.js:154 2022-12-05T15:50:08.292Z [modules/xmpp/JingleSessionPC.js] <Zo.terminate>: JingleSessionPC[session=JVB,initiator=false,sid=8talrf0sgnau0] Sending session-terminate
Logger.js:154 2022-12-05T15:50:08.292Z [modules/xmpp/JingleSessionPC.js] <Zo.terminate>: <iq to=​"uehjdb%3edhufb37fgs3@conference.meet.jit.si/​focus" type=​"set" xmlns=​"jabber:​client" id=​"35381561-b9a6-4a26-b3ea-823e5f476375:​sendIQ">​…​</iq>​
Logger.js:154 2022-12-05T15:50:08.292Z [modules/xmpp/JingleSessionPC.js] <Zo.onTerminated>: JingleSessionPC[session=JVB,initiator=false,sid=8talrf0sgnau0] Session terminated undefined undefined
Logger.js:154 2022-12-05T15:50:08.292Z [modules/xmpp/JingleSessionPC.js] <Zo.close>: JingleSessionPC[session=JVB,initiator=false,sid=8talrf0sgnau0] Clearing modificationQueue
Logger.js:154 2022-12-05T15:50:08.293Z [modules/xmpp/JingleSessionPC.js] <Zo.close>: JingleSessionPC[session=JVB,initiator=false,sid=8talrf0sgnau0] Queued PC close task
Logger.js:154 2022-12-05T15:50:08.293Z [modules/xmpp/JingleSessionPC.js] <Zo.close>: JingleSessionPC[session=JVB,initiator=false,sid=8talrf0sgnau0] Shutdown modificationQueue!
Logger.js:154 2022-12-05T15:50:08.293Z [JitsiConference.js] <Gu._maybeStartOrStopP2P>: Auto P2P disabled
Logger.js:154 2022-12-05T15:50:08.312Z [modules/connectivity/TrackStreamingStatus.ts] <kd.figureOutStreamingStatus>: Figure out conn status for c6387bb7-v0, is video muted: false video track frozen: false p2p mode: false is in forwarded sources: true currentStatus => newStatus: active => active
Logger.js:154 2022-12-05T15:50:08.315Z [modules/RTC/JitsiRemoteTrack.js] <Bd._removeEventListener>: Disposing track streaming status: c6387bb7-v0
Logger.js:154 2022-12-05T15:50:08.322Z [modules/RTC/JitsiRemoteTrack.js] <Bd._removeEventListener>: Disposing track streaming status: c6387bb7-v0
Logger.js:154 2022-12-05T15:50:08.326Z [modules/RTC/TraceablePeerConnection.js] <Wd.close>: TPC[id=1,type=JVB] Closing peerconnection
Logger.js:154 2022-12-05T15:50:08.336Z [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=JVB,initiator=false,sid=8talrf0sgnau0] PC close task done!
Logger.js:154 2022-12-05T15:50:08.336Z [modules/UI/videolayout/LargeVideoManager.js] Scheduled large video update for c6387bb7
Logger.js:154 2022-12-05T15:50:08.337Z [modules/RTC/JitsiRemoteTrack.js] <Bd._removeEventListener>: Disposing track streaming status: c6387bb7-v0
Logger.js:154 2022-12-05T15:50:08.350Z [modules/RTC/JitsiRemoteTrack.js] <MediaStreamTrack.<anonymous>>: "onended" event(1670255408350): RemoteTrack[userID: c6387bb7, type: audio, ssrc: 3964143995, p2p: false, sourceName: c6387bb7-a0, status: {readyState: ended, muted: false, enabled: true}]
Logger.js:154 2022-12-05T15:50:08.351Z [modules/RTC/JitsiRemoteTrack.js] <MediaStreamTrack.<anonymous>>: "onended" event(1670255408350): RemoteTrack[userID: c6387bb7, type: video, ssrc: 1257382726, p2p: false, sourceName: c6387bb7-v0, status: {readyState: ended, muted: true, enabled: true}]
Logger.js:154 2022-12-05T15:50:08.650Z [modules/UI/videolayout/LargeVideoManager.js] Scheduled large video update for c6387bb7
Logger.js:154 2022-12-05T15:50:11.615Z [modules/RTC/BridgeChannel.js] <e.onmessage>: Endpoint connection status changed: db58ff9e active=false
Logger.js:154 2022-12-05T15:50:18.371Z [JitsiConference.js] <jvbJingleSession.jvbJingleSession.terminate.reason>: An error occurred while trying to terminate the JVB session {reason: 'timeout', session: 'JingleSessionPC[session=JVB,initiator=false,sid=8talrf0sgnau0]'}
r @ Logger.js:154
jvbJingleSession.jvbJingleSession.terminate.reason @ JitsiConference.js:3844
(anonymous) @ JingleSessionPC.js:2962
(anonymous) @ strophe.umd.js:2732
run @ strophe.umd.js:1938
_onIdle @ strophe.umd.js:3869
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
setTimeout (async)
_onIdle @ strophe.umd.js:3885
(anonymous) @ strophe.umd.js:3886
Logger.js:154 2022-12-05T15:50:48.896Z [modules/statistics/AudioOutputProblemDetector.js] A potential problem is detected with the audio output for participant c6387bb7, local audio levels: [null,null], remote audio levels: undefined
r @ Logger.js:154
(anonymous) @ AudioOutputProblemDetector.js:122
_onLocalAudioLevelsReport @ AudioOutputProblemDetector.js:111
r.emit @ events.js:158
yi._processAndEmitReport @ RTPStatsCollector.js:400
yi.processStatsReport @ RTPStatsCollector.js:677
(anonymous) @ RTPStatsCollector.js:247
Promise.then (async)
t @ RTPStatsCollector.js:241
setInterval (async)
yi.start @ RTPStatsCollector.js:258
Ri.startRemoteStats @ statistics.js:233
Gu._acceptJvbIncomingCall @ JitsiConference.js:2293
Gu.onIncomingCall @ JitsiConference.js:2204
r.emit @ events.js:153
onJingle @ strophe.jingle.js:217
run @ strophe.umd.js:1875
(anonymous) @ strophe.umd.js:3157
forEachChild @ strophe.umd.js:830
_dataRecv @ strophe.umd.js:3146
_onMessage @ strophe.umd.js:5836
Logger.js:154 2022-12-05T15:51:54.964Z [modules/xmpp/XmppConnection.js] <Xs._maybeStartWSKeepAlive>: Scheduling next WebSocket keep-alive in 62164.68407556312ms
Logger.js:154 2022-12-05T15:51:58.457Z [modules/RTC/BridgeChannel.js] <e.onclose>: Channel closed by server
localhost-1670255909336.log (140.8 KB)