jitsi / jitsi-meet-flutter-sdk

Jitsi Meet plugin for Flutter
Apache License 2.0
31 stars 25 forks source link

Unable to leave or end a meeting on Android/iOS #49

Closed Holofox closed 1 month ago

Holofox commented 1 month ago

After updating the package from version 0.1.7 to 0.1.8/0.1.9, an issue occurred due to which the user cannot leave the meeting. The connection settings are standard; only a token and a connection link are used. In this case, no exceptions are raised in the console.

Android iOS
Android iOS

The problem persists with the current 0.2.0 version of the package.

Android Logs ``` 2024-03-14 12:36:19.278 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=999.73ms min=998.62ms max=1000.84ms count=2 2024-03-14 12:36:20.409 11442-12043 JitsiMeetLogger com.sample.app I [features/full-screen] Setting full-screen mode: false 2024-03-14 12:36:20.409 11442-12043 JitsiMeetSDK com.sample.app I [features/full-screen] Setting full-screen mode: false 2024-03-14 12:36:20.433 4657-4657 NearbyDiscovery com.google.android.gms I FastPair: AudioEventListener check active usage=2, package=com.sample.app [CONTEXT service_id=49 ] 2024-03-14 12:36:20.434 4657-4657 NearbyDiscovery com.google.android.gms I FastPair: AudioEventListener check active usage=0, package=com.sample.app [CONTEXT service_id=49 ] 2024-03-14 12:36:20.452 11442-12042 ReactNativeJS com.sample.app I rn-webrtc:pc:DEBUG 2 close +5s 2024-03-14 12:36:20.456 11442-12042 ReactNativeJS com.sample.app I rn-webrtc:pc:DEBUG 3 close +4ms 2024-03-14 12:36:20.486 11442-12043 JitsiMeetLogger com.sample.app I JitsiMeetOngoingConferenceServiceService stopped 2024-03-14 12:36:20.486 11442-12043 JitsiMeetSDK com.sample.app I JitsiMeetOngoingConferenceServiceService stopped 2024-03-14 12:36:20.487 11442-12043 JitsiMeetLogger com.sample.app D ExternalAPI Sending event: CONFERENCE_TERMINATED with data: { NativeMap: {"error":"conference.destroyed","url":"https://jitsi.example.com/meet/qgx-xdzx-ura","isAudioMuted":false} } 2024-03-14 12:36:20.487 11442-12043 JitsiMeetSDK com.sample.app D ExternalAPI Sending event: CONFERENCE_TERMINATED with data: { NativeMap: {"error":"conference.destroyed","url":"https://jitsi.example.com/meet/qgx-xdzx-ura","isAudioMuted":false} } 2024-03-14 12:36:20.488 11442-12059 JitsiMeetLogger com.sample.app I AudioMode Update audio route for mode: 0 2024-03-14 12:36:20.488 11442-12059 JitsiMeetSDK com.sample.app I AudioMode Update audio route for mode: 0 2024-03-14 12:36:20.490 11442-12043 JitsiMeetLogger com.sample.app I [modules/RTC/TraceablePeerConnection.js] TPC[id=3,type=JVB] Removing remote track stream[id=40f6d6ac-audio-0-2,trackId=E9A7550F-67AA-489D-BCF4-D9F9D8D519E9-2] 2024-03-14 12:36:20.490 11442-12043 JitsiMeetSDK com.sample.app I [modules/RTC/TraceablePeerConnection.js] TPC[id=3,type=JVB] Removing remote track stream[id=40f6d6ac-audio-0-2,trackId=E9A7550F-67AA-489D-BCF4-D9F9D8D519E9-2] 2024-03-14 12:36:20.491 11442-12043 JitsiMeetLogger com.sample.app I [modules/RTC/TraceablePeerConnection.js] TPC[id=3,type=JVB] Closing peerconnection 2024-03-14 12:36:20.492 11442-12043 JitsiMeetSDK com.sample.app I [modules/RTC/TraceablePeerConnection.js] TPC[id=3,type=JVB] Closing peerconnection 2024-03-14 12:36:20.493 11442-12193 com.oney.W...bRTCModule com.sample.app D PeerConnection.close() for 2 2024-03-14 12:36:20.496 11442-12043 JitsiMeetLogger com.sample.app I [modules/RTC/TraceablePeerConnection.js] TPC[id=4,type=P2P] Removing remote track stream[id=40f6d6ac-audio-0-1,trackId=6603c201-28cc-4fef-971b-a08e0d55d4f9] 2024-03-14 12:36:20.496 11442-12043 JitsiMeetSDK com.sample.app I [modules/RTC/TraceablePeerConnection.js] TPC[id=4,type=P2P] Removing remote track stream[id=40f6d6ac-audio-0-1,trackId=6603c201-28cc-4fef-971b-a08e0d55d4f9] 2024-03-14 12:36:20.497 11442-12043 JitsiMeetLogger com.sample.app I [modules/RTC/TraceablePeerConnection.js] TPC[id=4,type=P2P] Closing peerconnection 2024-03-14 12:36:20.497 11442-12043 JitsiMeetSDK com.sample.app I [modules/RTC/TraceablePeerConnection.js] TPC[id=4,type=P2P] Closing peerconnection 2024-03-14 12:36:20.501 11442-12043 JitsiMeetLogger com.sample.app D [modules/RTC/BridgeChannel.js] Channel closed by client 2024-03-14 12:36:20.502 11442-12043 JitsiMeetSDK com.sample.app D [modules/RTC/BridgeChannel.js] Channel closed by client 2024-03-14 12:36:20.502 11442-12043 JitsiMeetLogger com.sample.app D [modules/RTC/BridgeChannel.js] Skip close handler, channel instance is not equal to stored one 2024-03-14 12:36:20.503 11442-12043 JitsiMeetSDK com.sample.app D [modules/RTC/BridgeChannel.js] Skip close handler, channel instance is not equal to stored one 2024-03-14 12:36:20.515 4657-4657 NearbyDiscovery com.google.android.gms I FastPair: AudioEventListener check active usage=2, package=com.sample.app [CONTEXT service_id=49 ] 2024-03-14 12:36:20.518 11442-12193 com.oney.W...bRTCModule com.sample.app D PeerConnection.close() for 3 2024-03-14 12:36:20.518 4657-4657 NearbyDiscovery com.google.android.gms I FastPair: AudioEventListener check active usage=0, package=com.sample.app [CONTEXT service_id=49 ] 2024-03-14 12:36:20.520 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioRecordExternal: stopRecording 2024-03-14 12:36:20.522 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioRecordExternal: stopThread 2024-03-14 12:36:20.525 11442-12043 unknown:ReactNative com.sample.app W Attempt to set local data for view with unknown tag: 1495 2024-03-14 12:36:20.533 11442-11442 unknown:WrappingUtils com.sample.app W Don't know how to round that drawable: com.facebook.react.views.image.ReactImageDownloadListener$EmptyDrawable@943188b 2024-03-14 12:36:20.586 11442-11442 JitsiMeetLogger com.sample.app I Conference terminated: {isAudioMuted=false, error=conference.destroyed, url=https://jitsi.example.com/meet/qgx-xdzx-ura} 2024-03-14 12:36:20.587 11442-11442 JitsiMeetSDK com.sample.app I Conference terminated: {isAudioMuted=false, error=conference.destroyed, url=https://jitsi.example.com/meet/qgx-xdzx-ura} 2024-03-14 12:36:20.588 11442-11469 flutter com.sample.app I INFO: 2024-03-14 12:36:20.588500 [MeetService] Conference terminated: https://jitsi.example.com/meet/qgx-xdzx-ura 2024-03-14 12:36:20.589 11442-11469 flutter com.sample.app I SHOUT: 2024-03-14 12:36:20.589002 [MeetService] Failed to terminate conference conference.destroyed 2024-03-14 12:36:20.607 11442-12618 org.webrtc.Logging com.sample.app I WebRtcAudioRecordExternal: doAudioRecordStateCallback: STOP 2024-03-14 12:36:20.626 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioEffectsExternal: release 2024-03-14 12:36:20.626 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioRecordExternal: releaseAudioResources 2024-03-14 12:36:20.637 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioTrackExternal: stopPlayout 2024-03-14 12:36:20.638 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioTrackExternal: underrun count: 0 2024-03-14 12:36:20.638 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioTrackExternal: stopThread 2024-03-14 12:36:20.639 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioTrackExternal: Stopping the AudioTrackThread... 2024-03-14 12:36:20.644 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=195.20ms min=15.53ms max=918.22ms count=7 2024-03-14 12:36:20.656 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioTrackExternal: AudioTrackThread has now been stopped. 2024-03-14 12:36:20.656 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioTrackExternal: Calling AudioTrack.stop... 2024-03-14 12:36:20.656 11442-12037 AudioTrack com.sample.app D stop(431): called with 764640 frames delivered 2024-03-14 12:36:20.659 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioTrackExternal: AudioTrack.stop is done. 2024-03-14 12:36:20.660 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioTrackExternal: doAudioTrackStateCallback: 1 2024-03-14 12:36:20.660 11442-12037 org.webrtc.Logging com.sample.app I WebRtcAudioTrackExternal: releaseAudioResources 2024-03-14 12:36:20.676 4657-4657 NearbyDiscovery com.google.android.gms I FastPair: AudioEventListener check active usage=0, package=com.sample.app [CONTEXT service_id=49 ] 2024-03-14 12:36:20.685 11442-12036 org.webrtc.Logging com.sample.app I NetworkMonitor: Stop monitoring with native observer 133060726786096 2024-03-14 12:36:20.685 11442-12036 org.webrtc.Logging com.sample.app I NetworkMonitorAutoDetect: Unregister network callback 2024-03-14 12:36:20.711 4657-4657 NearbyDiscovery com.google.android.gms I FastPair: AudioEventListener check active usage=0, package=com.sample.app [CONTEXT service_id=49 ] 2024-03-14 12:36:20.711 11442-12193 com.oney.W...bRTCModule com.sample.app D PeerConnection.dispose() for 2 2024-03-14 12:36:20.716 11442-12193 com.oney.W...ackAdapter com.sample.app D Deleted adapter for mixedlabelvideo0 2024-03-14 12:36:20.736 11442-12043 JitsiMeetLogger com.sample.app I [features/full-screen] Setting full-screen mode: false 2024-03-14 12:36:20.736 11442-12043 JitsiMeetSDK com.sample.app I [features/full-screen] Setting full-screen mode: false 2024-03-14 12:36:20.738 11442-12193 com.oney.W...bRTCModule com.sample.app D PeerConnection.dispose() for 3 2024-03-14 12:36:21.241 11442-12059 JitsiMeetLogger com.sample.app I AudioMode Updating audio device list 2024-03-14 12:36:21.241 11442-12059 JitsiMeetSDK com.sample.app I AudioMode Updating audio device list 2024-03-14 12:36:21.647 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=14.37ms min=2.41ms max=20.95ms count=60 2024-03-14 12:36:22.660 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=16.60ms min=14.21ms max=18.65ms count=61 2024-03-14 12:36:23.662 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=14.90ms min=2.40ms max=18.42ms count=60 2024-03-14 12:36:24.679 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=15.69ms min=2.87ms max=19.33ms count=60 2024-03-14 12:36:25.683 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=12.49ms min=3.10ms max=29.37ms count=57 2024-03-14 12:36:26.696 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=12.97ms min=3.99ms max=19.92ms count=58 2024-03-14 12:36:27.697 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=16.38ms min=10.04ms max=21.02ms count=59 2024-03-14 12:36:28.347 11442-12043 JitsiMeetLogger com.sample.app D ExternalAPI Sending event: CONFERENCE_TERMINATED with data: { NativeMap: {"url":"https://jitsi.example.com/meet/qgx-xdzx-ura","isAudioMuted":false} } 2024-03-14 12:36:28.347 11442-12043 JitsiMeetSDK com.sample.app D ExternalAPI Sending event: CONFERENCE_TERMINATED with data: { NativeMap: {"url":"https://jitsi.example.com/meet/qgx-xdzx-ura","isAudioMuted":false} } 2024-03-14 12:36:28.349 11442-11442 JitsiMeetLogger com.sample.app I Conference terminated: {isAudioMuted=false, url=https://jitsi.example.com/meet/qgx-xdzx-ura} 2024-03-14 12:36:28.349 11442-11442 JitsiMeetSDK com.sample.app I Conference terminated: {isAudioMuted=false, url=https://jitsi.example.com/meet/qgx-xdzx-ura} 2024-03-14 12:36:28.358 11442-11469 flutter com.sample.app I INFO: 2024-03-14 12:36:28.355613 [MeetService] Conference terminated: https://jitsi.example.com/meet/qgx-xdzx-ura 2024-03-14 12:36:28.377 11442-12059 JitsiMeetLogger com.sample.app I AudioMode Update audio route for mode: 0 2024-03-14 12:36:28.378 11442-12059 JitsiMeetSDK com.sample.app I AudioMode Update audio route for mode: 0 2024-03-14 12:36:28.379 11442-12043 JitsiMeetLogger com.sample.app I [features/app] appNavigate to undefined 2024-03-14 12:36:28.380 11442-12043 JitsiMeetSDK com.sample.app I [features/app] appNavigate to undefined 2024-03-14 12:36:28.390 11442-12059 JitsiMeetLogger com.sample.app I AudioMode Updating audio device list 2024-03-14 12:36:28.391 11442-12059 JitsiMeetSDK com.sample.app I AudioMode Updating audio device list 2024-03-14 12:36:28.518 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/xmpp.js] (TIME) Strophe disconnecting: 103673608.374268 2024-03-14 12:36:28.519 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/xmpp.js] (TIME) Strophe disconnecting: 103673608.374268 2024-03-14 12:36:28.606 11442-12043 JitsiMeetLogger com.sample.app I [features/base/lib-jitsi-meet] Config loaded from https://jitsi.example.com/meet/config.js?room=qgx-xdzx-ura 2024-03-14 12:36:28.606 11442-12043 JitsiMeetSDK com.sample.app I [features/base/lib-jitsi-meet] Config loaded from https://jitsi.example.com/meet/config.js?room=qgx-xdzx-ura 2024-03-14 12:36:28.666 11442-12043 JitsiMeetLogger com.sample.app I [features/base/config] Extending config with: {"prejoinConfig":{"enabled":false,"requireDisplayName":false},"startWithAudioMuted":false,"startWithVideoMuted":true} 2024-03-14 12:36:28.666 11442-12043 JitsiMeetSDK com.sample.app I [features/base/config] Extending config with: {"prejoinConfig":{"enabled":false,"requireDisplayName":false},"startWithAudioMuted":false,"startWithVideoMuted":true} 2024-03-14 12:36:28.714 11442-12043 JitsiMeetLogger com.sample.app I [JitsiMeetJS.ts] This appears to be react-native, ver: 0.69.12 2024-03-14 12:36:28.714 11442-12043 JitsiMeetSDK com.sample.app I [JitsiMeetJS.ts] This appears to be react-native, ver: 0.69.12 2024-03-14 12:36:28.715 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=16.93ms min=12.05ms max=33.27ms count=60 2024-03-14 12:36:28.719 11442-12043 JitsiMeetLogger com.sample.app W [modules/statistics/statistics.js] Cannot initialize WatchRTC in a react native environment! 2024-03-14 12:36:28.719 11442-12043 JitsiMeetSDK com.sample.app W [modules/statistics/statistics.js] Cannot initialize WatchRTC in a react native environment! 2024-03-14 12:36:28.719 11442-12043 JitsiMeetLogger com.sample.app I [modules/RTC/RTCUtils.js] Disable AP: false 2024-03-14 12:36:28.721 11442-12043 JitsiMeetSDK com.sample.app I [modules/RTC/RTCUtils.js] Disable AP: false 2024-03-14 12:36:28.725 11442-12043 JitsiMeetLogger com.sample.app I [modules/RTC/RTCUtils.js] Stereo: false 2024-03-14 12:36:28.726 11442-12043 JitsiMeetSDK com.sample.app I [modules/RTC/RTCUtils.js] Stereo: false 2024-03-14 12:36:28.763 11442-12043 JitsiMeetLogger com.sample.app D [modules/connectivity/NetworkInfo.js] updateNetworkInfo { isOnline: true } 2024-03-14 12:36:28.763 11442-12043 JitsiMeetSDK com.sample.app D [modules/connectivity/NetworkInfo.js] updateNetworkInfo { isOnline: true } 2024-03-14 12:36:28.763 11442-12043 JitsiMeetLogger com.sample.app I [features/base/lib-jitsi-meet] lib-jitsi-meet version:93c167d3 2024-03-14 12:36:28.764 11442-12043 JitsiMeetSDK com.sample.app I [features/base/lib-jitsi-meet] lib-jitsi-meet version:93c167d3 2024-03-14 12:36:28.765 11442-12043 JitsiMeetLogger com.sample.app D [modules/statistics/AnalyticsAdapter.js] Disposing of analytics adapter. 2024-03-14 12:36:28.766 11442-12043 JitsiMeetSDK com.sample.app D [modules/statistics/AnalyticsAdapter.js] Disposing of analytics adapter. 2024-03-14 12:36:28.775 11442-12043 JitsiMeetLogger com.sample.app I [features/analytics] Initialized 0 analytics handlers 2024-03-14 12:36:28.777 11442-12043 JitsiMeetSDK com.sample.app I [features/analytics] Initialized 0 analytics handlers 2024-03-14 12:36:28.781 11442-12043 JitsiMeetLogger com.sample.app I [features/base/media] Start muted: video 2024-03-14 12:36:28.782 11442-12043 JitsiMeetSDK com.sample.app I [features/base/media] Start muted: video 2024-03-14 12:36:28.805 11442-12043 JitsiMeetLogger com.sample.app D ExternalAPI Sending event: VIDEO_MUTED_CHANGED with data: { NativeMap: {"muted":4} } 2024-03-14 12:36:28.805 11442-12043 JitsiMeetSDK com.sample.app D ExternalAPI Sending event: VIDEO_MUTED_CHANGED with data: { NativeMap: {"muted":4} } 2024-03-14 12:36:28.842 11442-12043 JitsiMeetLogger com.sample.app I [features/base/media] Start audio only set to false 2024-03-14 12:36:28.843 11442-12043 JitsiMeetSDK com.sample.app I [features/base/media] Start audio only set to false 2024-03-14 12:36:29.028 11442-12043 JitsiMeetLogger com.sample.app D ExternalAPI Sending event: CONFERENCE_WILL_JOIN with data: { NativeMap: {"url":"https://jitsi.example.com/meet/qgx-xdzx-ura"} } 2024-03-14 12:36:29.029 11442-12043 JitsiMeetSDK com.sample.app D ExternalAPI Sending event: CONFERENCE_WILL_JOIN with data: { NativeMap: {"url":"https://jitsi.example.com/meet/qgx-xdzx-ura"} } 2024-03-14 12:36:29.031 11442-11442 JitsiMeetLogger com.sample.app I Conference will join: {url=https://jitsi.example.com/meet/qgx-xdzx-ura} 2024-03-14 12:36:29.031 11442-11442 JitsiMeetSDK com.sample.app I Conference will join: {url=https://jitsi.example.com/meet/qgx-xdzx-ura} 2024-03-14 12:36:29.035 11442-11469 flutter com.sample.app I INFO: 2024-03-14 12:36:29.035277 [MeetService] Conference will join: https://jitsi.example.com/meet/qgx-xdzx-ura 2024-03-14 12:36:29.053 11442-12043 JitsiMeetLogger com.sample.app I [features/base/connection] Using service URL https://jitsi.example.com/meet/http-bind 2024-03-14 12:36:29.053 11442-12043 JitsiMeetSDK com.sample.app I [features/base/connection] Using service URL https://jitsi.example.com/meet/http-bind 2024-03-14 12:36:29.067 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/moderator.js] Using xmpp for conference requests. 2024-03-14 12:36:29.067 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/moderator.js] Using xmpp for conference requests. 2024-03-14 12:36:29.080 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/xmpp.js] P2P STUN servers: [ { urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' } ] 2024-03-14 12:36:29.081 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/xmpp.js] P2P STUN servers: [ { urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' } ] 2024-03-14 12:36:29.082 11442-12043 JitsiMeetLogger com.sample.app D [modules/xmpp/xmpp.js] Source-name signaling is enabled 2024-03-14 12:36:29.083 11442-12043 JitsiMeetSDK com.sample.app D [modules/xmpp/xmpp.js] Source-name signaling is enabled 2024-03-14 12:36:29.094 11442-12043 JitsiMeetLogger com.sample.app D [modules/xmpp/xmpp.js] Receiving multiple video streams is enabled 2024-03-14 12:36:29.094 11442-12043 JitsiMeetSDK com.sample.app D [modules/xmpp/xmpp.js] Receiving multiple video streams is enabled 2024-03-14 12:36:29.094 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/xmpp.js] (TIME) Strophe connecting: 103674187.991877 2024-03-14 12:36:29.095 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/xmpp.js] (TIME) Strophe connecting: 103674187.991877 2024-03-14 12:36:29.276 11442-11442 unknown:WrappingUtils com.sample.app W Don't know how to round that drawable: com.facebook.react.views.image.ReactImageDownloadListener$EmptyDrawable@8cc34f7 2024-03-14 12:36:29.351 11442-12043 JitsiMeetLogger com.sample.app D ExternalAPI Sending event: CONFERENCE_BLURRED with data: { NativeMap: {} } 2024-03-14 12:36:29.351 11442-12043 JitsiMeetSDK com.sample.app D ExternalAPI Sending event: CONFERENCE_BLURRED with data: { NativeMap: {} } 2024-03-14 12:36:29.361 11442-12043 JitsiMeetLogger com.sample.app D ExternalAPI Sending event: CONFERENCE_FOCUSED with data: { NativeMap: {} } 2024-03-14 12:36:29.362 11442-12043 JitsiMeetSDK com.sample.app D ExternalAPI Sending event: CONFERENCE_FOCUSED with data: { NativeMap: {} } 2024-03-14 12:36:29.391 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/strophe.ping.js] Ping interval cleared 2024-03-14 12:36:29.392 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/strophe.ping.js] Ping interval cleared 2024-03-14 12:36:29.395 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/xmpp.js] (TIME) Strophe disconnected: 103674482.849012 2024-03-14 12:36:29.397 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/xmpp.js] (TIME) Strophe disconnected: 103674482.849012 2024-03-14 12:36:29.400 11442-12043 JitsiMeetLogger com.sample.app D [modules/RTC/RTCUtils.js] Available devices: [ { kind: 'videoinput', label: '0', deviceId: '0', groupId: '', facing: 'environment' }, { kind: 'videoinput', label: '1', deviceId: '1', groupId: '', facing: 'front' }, { kind: 'audioinput', label: 'Audio', groupId: '', deviceId: 'audio-1' } ] 2024-03-14 12:36:29.403 11442-12043 JitsiMeetSDK com.sample.app D [modules/RTC/RTCUtils.js] Available devices: [ { kind: 'videoinput', label: '0', deviceId: '0', groupId: '', facing: 'environment' }, { kind: 'videoinput', label: '1', deviceId: '1', groupId: '', facing: 'front' }, { kind: 'audioinput', label: 'Audio', groupId: '', deviceId: 'audio-1' } ] 2024-03-14 12:36:29.447 11442-11442 ReactNative com.sample.app I [GESTURE HANDLER] Gesture handler is already enabled for a parent view 2024-03-14 12:36:29.730 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=11.10ms min=1.96ms max=29.42ms count=59 2024-03-14 12:36:30.002 11442-12043 JitsiMeetLogger com.sample.app W [modules/xmpp/XmppConnection.js] Stream resume enabled, but WebSockets are not enabled 2024-03-14 12:36:30.002 11442-12043 JitsiMeetSDK com.sample.app W [modules/xmpp/XmppConnection.js] Stream resume enabled, but WebSockets are not enabled 2024-03-14 12:36:30.004 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/strophe.ping.js] XMPP pings will be sent every 10000 ms 2024-03-14 12:36:30.004 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/strophe.ping.js] XMPP pings will be sent every 10000 ms 2024-03-14 12:36:30.006 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/xmpp.js] (TIME) Strophe connected: 103675089.367551 2024-03-14 12:36:30.006 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/xmpp.js] (TIME) Strophe connected: 103675089.367551 2024-03-14 12:36:30.013 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/xmpp.js] My Jabber ID: 3a2078ea-23ea-43eb-a5a4-89f957ac5734@example.com/8_lOJsrHH44d 2024-03-14 12:36:30.013 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/xmpp.js] My Jabber ID: 3a2078ea-23ea-43eb-a5a4-89f957ac5734@example.com/8_lOJsrHH44d 2024-03-14 12:36:30.014 11442-12043 JitsiMeetLogger com.sample.app I [modules/RTC/CodecSelection.js] Codec preference order for jvb connection is vp8,vp9,h264 2024-03-14 12:36:30.014 11442-12043 JitsiMeetSDK com.sample.app I [modules/RTC/CodecSelection.js] Codec preference order for jvb connection is vp8,vp9,h264 2024-03-14 12:36:30.015 11442-12043 JitsiMeetLogger com.sample.app I [modules/RTC/CodecSelection.js] Codec preference order for p2p connection is h264,vp8,vp9 2024-03-14 12:36:30.015 11442-12043 JitsiMeetSDK com.sample.app I [modules/RTC/CodecSelection.js] Codec preference order for p2p connection is h264,vp8,vp9 2024-03-14 12:36:30.015 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/xmpp.js] JID 3a2078ea-23ea-43eb-a5a4-89f957ac5734@example.com/8_lOJsrHH44d using MUC nickname 3a2078ea 2024-03-14 12:36:30.015 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/xmpp.js] JID 3a2078ea-23ea-43eb-a5a4-89f957ac5734@example.com/8_lOJsrHH44d using MUC nickname 3a2078ea 2024-03-14 12:36:30.016 11442-12043 JitsiMeetLogger com.sample.app I [modules/statistics/AvgRTPStatsReporter.js] Avg RTP stats will be calculated every 15 samples 2024-03-14 12:36:30.016 11442-12043 JitsiMeetSDK com.sample.app I [modules/statistics/AvgRTPStatsReporter.js] Avg RTP stats will be calculated every 15 samples 2024-03-14 12:36:30.017 11442-12043 JitsiMeetLogger com.sample.app I [JitsiConference.js] backToP2PDelay: 5 2024-03-14 12:36:30.017 11442-12043 JitsiMeetSDK com.sample.app I [JitsiConference.js] backToP2PDelay: 5 2024-03-14 12:36:30.018 11442-12043 JitsiMeetLogger com.sample.app D [modules/videosipgw/VideoSIPGW.js] creating VideoSIPGW 2024-03-14 12:36:30.018 11442-12043 JitsiMeetSDK com.sample.app D [modules/videosipgw/VideoSIPGW.js] creating VideoSIPGW 2024-03-14 12:36:30.019 11442-12043 JitsiMeetLogger com.sample.app I [JitsiConference.js] _doReplaceTrack - no JVB JingleSession 2024-03-14 12:36:30.020 11442-12043 JitsiMeetSDK com.sample.app I [JitsiConference.js] _doReplaceTrack - no JVB JingleSession 2024-03-14 12:36:30.033 11442-12043 JitsiMeetLogger com.sample.app I [JitsiConference.js] _doReplaceTrack - no P2P JingleSession 2024-03-14 12:36:30.033 11442-12043 JitsiMeetSDK com.sample.app I [JitsiConference.js] _doReplaceTrack - no P2P JingleSession 2024-03-14 12:36:30.061 11442-12043 JitsiMeetLogger com.sample.app I [features/full-screen] Setting full-screen mode: true 2024-03-14 12:36:30.062 11442-12043 JitsiMeetSDK com.sample.app I [features/full-screen] Setting full-screen mode: true 2024-03-14 12:36:30.087 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/moderator.js] Sending conference request over XMPP to focus.example.com 2024-03-14 12:36:30.087 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/moderator.js] Sending conference request over XMPP to focus.example.com 2024-03-14 12:36:30.174 11442-12043 JitsiMeetLogger com.sample.app I [features/full-screen] Setting full-screen mode: true 2024-03-14 12:36:30.174 11442-12043 JitsiMeetSDK com.sample.app I [features/full-screen] Setting full-screen mode: true 2024-03-14 12:36:30.195 11442-12043 JitsiMeetLogger com.sample.app W [modules/xmpp/strophe.jingle.js] getting turn credentials with extdisco:2 failed, trying extdisco:1 2024-03-14 12:36:30.196 11442-12043 JitsiMeetSDK com.sample.app W [modules/xmpp/strophe.jingle.js] getting turn credentials with extdisco:2 failed, trying extdisco:1 2024-03-14 12:36:30.336 11442-12043 JitsiMeetLogger com.sample.app I [features/base/redux] redux state persisted. 1d037dcfdc3fa7f5b68e6b063768548a -> 6e07310c6b1816151e17be690c01f85b 2024-03-14 12:36:30.337 11442-12043 JitsiMeetSDK com.sample.app I [features/base/redux] redux state persisted. 1d037dcfdc3fa7f5b68e6b063768548a -> 6e07310c6b1816151e17be690c01f85b 2024-03-14 12:36:30.353 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/moderator.js] Session expired! - removing 2024-03-14 12:36:30.353 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/moderator.js] Session expired! - removing 2024-03-14 12:36:30.353 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/moderator.js] Invalid session, will retry after 1000 ms. 2024-03-14 12:36:30.354 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/moderator.js] Invalid session, will retry after 1000 ms. 2024-03-14 12:36:30.354 11442-12043 JitsiMeetLogger com.sample.app W [modules/xmpp/strophe.jingle.js] getting turn credentials failed 2024-03-14 12:36:30.355 11442-12043 JitsiMeetSDK com.sample.app W [modules/xmpp/strophe.jingle.js] getting turn credentials failed 2024-03-14 12:36:30.355 11442-12043 JitsiMeetLogger com.sample.app W [modules/xmpp/strophe.jingle.js] is mod_turncredentials or similar installed and configured? 2024-03-14 12:36:30.355 11442-12043 JitsiMeetSDK com.sample.app W [modules/xmpp/strophe.jingle.js] is mod_turncredentials or similar installed and configured? 2024-03-14 12:36:30.732 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=8.17ms min=1.62ms max=22.90ms count=60 2024-03-14 12:36:31.360 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/moderator.js] Sending conference request over XMPP to focus.example.com 2024-03-14 12:36:31.360 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/moderator.js] Sending conference request over XMPP to focus.example.com 2024-03-14 12:36:31.422 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/moderator.js] Adding focus JID: focus@auth.example.com 2024-03-14 12:36:31.422 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/moderator.js] Adding focus JID: focus@auth.example.com 2024-03-14 12:36:31.422 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/moderator.js] Authentication enabled: true 2024-03-14 12:36:31.422 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/moderator.js] Authentication enabled: true 2024-03-14 12:36:31.423 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/moderator.js] Received sessionId: 603064e5-2bea-4c88-859b-39613d7fc23a 2024-03-14 12:36:31.424 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/moderator.js] Received sessionId: 603064e5-2bea-4c88-859b-39613d7fc23a 2024-03-14 12:36:31.427 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/moderator.js] Sip gateway enabled: undefined 2024-03-14 12:36:31.427 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/moderator.js] Sip gateway enabled: undefined 2024-03-14 12:36:31.429 11442-12043 JitsiMeetLogger com.sample.app I [modules/xmpp/moderator.js] Conference-request successful, ready to join the MUC. 2024-03-14 12:36:31.429 11442-12043 JitsiMeetSDK com.sample.app I [modules/xmpp/moderator.js] Conference-request successful, ready to join the MUC. 2024-03-14 12:36:31.515 11442-12043 JitsiMeetLogger com.sample.app I [modules/version/ComponentsVersions.js] Got focus version: 1.0.1066 2024-03-14 12:36:31.515 11442-12043 JitsiMeetSDK com.sample.app I [modules/version/ComponentsVersions.js] Got focus version: 1.0.1066 2024-03-14 12:36:31.523 11442-12043 JitsiMeetLogger com.sample.app I [JitsiConference.js] Audio unmute permissions set by Jicofo to false 2024-03-14 12:36:31.524 11442-12043 JitsiMeetSDK com.sample.app I [JitsiConference.js] Audio unmute permissions set by Jicofo to false 2024-03-14 12:36:31.532 11442-12043 JitsiMeetLogger com.sample.app I [JitsiConference.js] Video unmute permissions set by Jicofo to false 2024-03-14 12:36:31.533 11442-12043 JitsiMeetSDK com.sample.app I [JitsiConference.js] Video unmute permissions set by Jicofo to false 2024-03-14 12:36:31.597 11442-12043 JitsiMeetLogger com.sample.app I [features/video-quality] Configured preferred receiver video frame height to: 720 2024-03-14 12:36:31.598 11442-12043 JitsiMeetSDK com.sample.app I [features/video-quality] Configured preferred receiver video frame height to: 720 2024-03-14 12:36:31.619 11442-12043 JitsiMeetLogger com.sample.app D ExternalAPI Sending event: CONFERENCE_JOINED with data: { NativeMap: {"url":"https://jitsi.example.com/meet/qgx-xdzx-ura","isAudioMuted":false} } 2024-03-14 12:36:31.619 11442-12043 JitsiMeetSDK com.sample.app D ExternalAPI Sending event: CONFERENCE_JOINED with data: { NativeMap: {"url":"https://jitsi.example.com/meet/qgx-xdzx-ura","isAudioMuted":false} } 2024-03-14 12:36:31.620 11442-11442 JitsiMeetLogger com.sample.app I Conference joined: {isAudioMuted=false, url=https://jitsi.example.com/meet/qgx-xdzx-ura} 2024-03-14 12:36:31.622 11442-11442 JitsiMeetSDK com.sample.app I Conference joined: {isAudioMuted=false, url=https://jitsi.example.com/meet/qgx-xdzx-ura} 2024-03-14 12:36:31.633 11442-11469 flutter com.sample.app I FINE: 2024-03-14 12:36:31.633648 [MeetService] Conference joined: https://jitsi.example.com/meet/qgx-xdzx-ura 2024-03-14 12:36:31.642 11442-12059 JitsiMeetLogger com.sample.app I AudioMode Update audio route for mode: 2 2024-03-14 12:36:31.642 11442-12043 JitsiMeetLogger com.sample.app D [JitsiConference.js] P2P? peerCount: 0, hasBotPeer: false => false 2024-03-14 12:36:31.642 11442-12043 JitsiMeetSDK com.sample.app D [JitsiConference.js] P2P? peerCount: 0, hasBotPeer: false => false 2024-03-14 12:36:31.644 11442-12059 JitsiMeetSDK com.sample.app I AudioMode Update audio route for mode: 2 2024-03-14 12:36:31.649 11442-11442 JitsiMeetLogger com.sample.app I JitsiMeetOngoingConferenceService Service started 2024-03-14 12:36:31.649 11442-11442 JitsiMeetSDK com.sample.app I JitsiMeetOngoingConferenceService Service started 2024-03-14 12:36:31.671 628-5104 MediaFocusControl system_server I requestAudioFocus() from uid/pid 10257/11442 AA=USAGE_VOICE_COMMUNICATION/CONTENT_TYPE_SPEECH clientId=android.media.AudioManager@c6d68b5org.jitsi.meet.sdk.AudioDeviceHandlerGeneric@997a778 callingPack=com.sample.app req=1 flags=0x1 sdk=34 2024-03-14 12:36:31.673 11442-12059 JitsiMeetLogger com.sample.app I AudioMode Selected audio device: SPEAKER 2024-03-14 12:36:31.673 11442-12059 JitsiMeetSDK com.sample.app I AudioMode Selected audio device: SPEAKER 2024-03-14 12:36:31.746 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=6.38ms min=1.54ms max=21.70ms count=59 2024-03-14 12:36:31.956 11442-12059 JitsiMeetLogger com.sample.app I AudioMode Updating audio device list 2024-03-14 12:36:31.956 11442-12059 JitsiMeetSDK com.sample.app I AudioMode Updating audio device list 2024-03-14 12:36:33.661 11442-11462 EGL_emulation com.sample.app D app_time_stats: avg=127.66ms min=13.93ms max=1000.13ms count=15 2024-03-14 12:36:34.266 11442-11452 nonicol.tn.life com.sample.app I Background concurrent copying GC freed 488319(18MB) AllocSpace objects, 93(4228KB) LOS objects, 47% free, 26MB/50MB, paused 49us,85us total 108.335ms ```
iOS Logs ``` [VideoTrackAdapter] Mute event for pc 0 track mixedlabelvideo0 AudioQueueObject.cpp:5933 DetermineMetadataTimestamp unable to obtain valid timestamp, estimate:45551.000000 [modules/RTC/BridgeChannel.js] Channel closed by server [modules/RTC/BridgeChannel.js] Channel closed: 1001 Stream end encountered [features/full-screen] Setting full-screen mode: false AudioQueueObject.cpp:5933 DetermineMetadataTimestamp unable to obtain valid timestamp, estimate:45551.000000 rn-webrtc:pc:DEBUG 0 close +8s [modules/RTC/TraceablePeerConnection.js] TPC[id=1,type=JVB] Removing remote track stream[id=3e38fdee-audio-0-2,trackId=0d0e53ed-9705-40b9-a038-bd67fd29f9f7-2] [modules/RTC/TraceablePeerConnection.js] TPC[id=1,type=JVB] Closing peerconnection [modules/RTC/TraceablePeerConnection.js] TPC[id=2,type=P2P] Removing remote track stream[id=3e38fdee-audio-0-1,trackId=1e137e34-f0e0-4087-ba2e-1d88b9617b30] rn-webrtc:pc:DEBUG 1 close +7ms [modules/RTC/TraceablePeerConnection.js] TPC[id=2,type=P2P] Closing peerconnection flutter: INFO: 2024-03-14 13:12:14.657040 [MeetService] Conference terminated: https://jitsi.example.com/meet/qgx-xdzx-ura flutter: SHOUT: 2024-03-14 13:12:14.657938 [MeetService] Failed to terminate conference conference.destroyed HALSystem.cpp:2216 AudioObjectPropertiesChanged: no such object flutter: INFO: 2024-03-14 13:12:15.774334 [MeetService] Conference terminated: https://jitsi.example.com/meet/qgx-xdzx-ura [features/app] appNavigate to undefined [modules/xmpp/xmpp.js] (TIME) Strophe disconnecting: 10881805.342572 [features/base/lib-jitsi-meet] Config loaded from https://jitsi.example.com/meet/config.js?room=qgx-xdzx-ura [features/base/config] Extending config with: {"prejoinConfig":{"enabled":false,"requireDisplayName":false},"startWithAudioMuted":false,"startWithVideoMuted":true} [JitsiMeetJS.ts] This appears to be react-native, ver: 0.69.12 [modules/statistics/statistics.js] Cannot initialize WatchRTC in a react native environment! [modules/RTC/RTCUtils.js] Disable AP: false [modules/RTC/RTCUtils.js] Stereo: false [modules/connectivity/NetworkInfo.js] updateNetworkInfo { isOnline: true } [features/base/lib-jitsi-meet] lib-jitsi-meet version:93c167d3 [modules/statistics/AnalyticsAdapter.js] Disposing of analytics adapter. [features/analytics] Initialized 0 analytics handlers [features/base/media] Start muted: video [features/base/media] Start audio only set to false flutter: INFO: 2024-03-14 13:12:15.879772 [MeetService] Conference will join: https://jitsi.example.com/meet/qgx-xdzx-ura [features/base/connection] Using service URL https://jitsi.example.com/meet/http-bind [modules/xmpp/moderator.js] Using xmpp for conference requests. [modules/xmpp/xmpp.js] P2P STUN servers: [ { urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' } ] [modules/xmpp/xmpp.js] Source-name signaling is enabled [modules/xmpp/xmpp.js] Receiving multiple video streams is enabled [modules/xmpp/xmpp.js] (TIME) Strophe connecting: 10881894.023783 nw_connection_add_timestamp_locked_on_nw_queue [C4] Hit maximum timestamp count, will start dropping events [modules/xmpp/strophe.ping.js] Ping interval cleared [modules/xmpp/xmpp.js] (TIME) Strophe disconnected: 10881954.110946 [features/base/redux] redux state persisted. a0deaf79332457330886affd169a9c2a -> 706c35cc75bd6422900e174d806242e6 [modules/xmpp/XmppConnection.js] Stream resume enabled, but WebSockets are not enabled [modules/xmpp/strophe.ping.js] XMPP pings will be sent every 10000 ms [modules/xmpp/xmpp.js] (TIME) Strophe connected: 10882548.497991 [modules/xmpp/xmpp.js] My Jabber ID: c494e1b1-62d2-4a1d-b292-347724a6a242@example.com/aI1h7emdA5Tw [modules/RTC/CodecSelection.js] Codec preference order for jvb connection is vp8,vp9,h264 [modules/RTC/CodecSelection.js] Codec preference order for p2p connection is h264,vp8,vp9 [modules/xmpp/xmpp.js] JID c494e1b1-62d2-4a1d-b292-347724a6a242@example.com/aI1h7emdA5Tw using MUC nickname c494e1b1 [modules/statistics/AvgRTPStatsReporter.js] Avg RTP stats will be calculated every 15 samples [JitsiConference.js] backToP2PDelay: 5 [modules/videosipgw/VideoSIPGW.js] creating VideoSIPGW [JitsiConference.js] _doReplaceTrack - no JVB JingleSession [JitsiConference.js] _doReplaceTrack - no P2P JingleSession [features/full-screen] Setting full-screen mode: true [modules/xmpp/moderator.js] Sending conference request over XMPP to focus.example.com [modules/xmpp/strophe.jingle.js] getting turn credentials with extdisco:2 failed, trying extdisco:1 [modules/xmpp/moderator.js] Session expired! - removing [modules/xmpp/moderator.js] Invalid session, will retry after 1000 ms. [modules/xmpp/strophe.jingle.js] getting turn credentials failed [modules/xmpp/strophe.jingle.js] is mod_turncredentials or similar installed and configured? AQMEIO_HAL.cpp:2552 timeout AudioHardware-mac-imp.cpp:2706 AudioDeviceStop: no device with given ID [AudioMode] Audio session didSetActive:0 [modules/RTC/RTCUtils.js] Available devices: [] AQ_Server_Common.h:56 Exception caught in AudioQueueDefaultDeviceChanged - error -66671 [modules/xmpp/moderator.js] Sending conference request over XMPP to focus.example.com [modules/xmpp/moderator.js] Adding focus JID: focus@auth.example.com [modules/xmpp/moderator.js] Authentication enabled: true [modules/xmpp/moderator.js] Received sessionId: 499bb85e-a13c-4ac8-95ef-b4cc69820560 [modules/xmpp/moderator.js] Sip gateway enabled: undefined [modules/xmpp/moderator.js] Conference-request successful, ready to join the MUC. [modules/version/ComponentsVersions.js] Got focus version: 1.0.1066 [JitsiConference.js] Audio unmute permissions set by Jicofo to false [JitsiConference.js] Video unmute permissions set by Jicofo to false [features/video-quality] Configured preferred receiver video frame height to: 720 flutter: FINE: 2024-03-14 13:12:17.887190 [MeetService] Conference joined: https://jitsi.example.com/meet/qgx-xdzx-ura Received data from binary channel: Optional("{\"type\":\"call_joined\",\"room_id\":\"qgx-xdzx-ura\"}") Failed to handle data from binary channel: runtime("Call with room id \'qgx-xdzx-ura\' not found") [JitsiConference.js] P2P? peerCount: 0, hasBotPeer: false => false ```
Flutter (Channel stable, 3.16.9, on macOS 14.1.1 23B81 darwin-x64, locale ru-RU)
shabanov-krl commented 1 month ago

same issue

saghul commented 1 month ago

Have you tested version 0.2.2?

shabanov-krl commented 1 month ago

my problem was that I also wrote roomName in serverUrl. this happened due to migration from https://pub.dev/packages/jitsi_meet_wrapper

not correct

JitsiMeetConferenceOptions(
        serverURL: '${EnvironmentStore.meetUrl}/$roomName',
        room: roomName,
)

correct

JitsiMeetConferenceOptions(
        serverURL: EnvironmentStore.meetUrl,
        room: roomName,
)
saghul commented 1 month ago

Good to hear!

Holofox commented 1 month ago

Hello, @saghul! Is there an explanation why if the link differs from the base domain (having query parameters, an additional path) it breaks the exit from the room?

saghul commented 1 month ago

Hey there! It shouldn't matter... can you provide a sample?

Holofox commented 1 month ago

@saghul, if the meeting link looks like this, then we begin to encounter the problem described:

JitsiMeetConferenceOptions(
  serverURL: 'https://jitsi.example.com/meet/mhe-llkh-ace?jwt=<jwt>&subject=#config.prejoinConfig.enabled=false&config.prejoinConfig.requireDisplayName=false&config.startWithAudioMuted=false&config.startWithVideoMuted=true',
  room: 'mhe-llkh-ace',
)

If you transfer only the server's base domain, the problem does not reproduce:

JitsiMeetConferenceOptions(
  serverURL: 'https://jitsi.example.com',
  room: 'mhe-llkh-ace',
)
saghul commented 1 month ago

That's because the server URL includes the room. You should pass the token, room name and config options as part either the room or with the dedicated options.

Holofox commented 1 month ago

That's because the server URL includes the room. You should pass the token, room name and config options as part either the room or with the dedicated options.

@saghul, it's clear. We simply encountered the fact that the "muc-occupant-pre-join" hook does not send the room identifier in the event if we separate the link into parameters:

final options = JitsiMeetConferenceOptions(
  serverURL: url.origin, // https://jitsi.example.com
  room: url.pathSegments.last, // mhe-llkh-ace
  token: url.queryParameters['jwt'], // jwt from query parameters
);

But if you pass the full link into serverUrl, the hook returns the room identifier. This is very strange, we are investigating the problem.

Holofox commented 1 month ago

Everything turned out to be simpler. The path is also considered a room identifier. This was fixed by passing "meet/mhe-llkh-ace" instead of "mhe-llkh-ace" in the room field.

final options = JitsiMeetConferenceOptions(
  serverURL: url.origin, // https://jitsi.example.com
  room: url.path.replaceFirst('/', ''), // meet/mhe-llkh-ace
  token: url.queryParameters['jwt'], // jwt from query parameters
);
saghul commented 1 month ago

Correct! I think we should make that an explicit option perhaps...