jitsi / jitsi-meet-flutter-sdk

Jitsi Meet plugin for Flutter
Apache License 2.0
44 stars 33 forks source link

White board button is hidden when start meeting in IOS #72

Open kietdev123 opened 3 months ago

kietdev123 commented 3 months ago

Issue: I use https://github.com/jitsi/jitsi-meet-flutter-sdk/tree/main/example to test and it work normally. But, when i add my server url (server that i deploy depend on https://github.com/jitsi/jitsi-meet)), whiteboard button hide and auto visible when i open whiteboard on website.

Here is my config: var options = JitsiMeetConferenceOptions( serverURL: 'my_server_jitsi_url', // change here room: "1234", configOverrides: { "startWithAudioMuted": true, "startWithVideoMuted": true, }, featureFlags: { FeatureFlags.addPeopleEnabled: true, // FeatureFlags.welcomePageEnabled: true, FeatureFlags.preJoinPageEnabled: true, // FeatureFlags.unsafeRoomWarningEnabled: true, // FeatureFlags.resolution: FeatureFlagVideoResolutions.resolution720p, FeatureFlags.audioFocusDisabled: true, FeatureFlags.audioMuteButtonEnabled: true, FeatureFlags.audioOnlyButtonEnabled: true, FeatureFlags.calenderEnabled: true, FeatureFlags.callIntegrationEnabled: true, FeatureFlags.carModeEnabled: true, FeatureFlags.closeCaptionsEnabled: true, FeatureFlags.conferenceTimerEnabled: true, FeatureFlags.chatEnabled: true, FeatureFlags.filmstripEnabled: true, FeatureFlags.fullScreenEnabled: true, FeatureFlags.helpButtonEnabled: true, FeatureFlags.inviteEnabled: true, FeatureFlags.androidScreenSharingEnabled: true, FeatureFlags.speakerStatsEnabled: true, FeatureFlags.kickOutEnabled: true, FeatureFlags.liveStreamingEnabled: true, // FeatureFlags.lobbyModeEnabled: true, FeatureFlags.meetingNameEnabled: true, FeatureFlags.meetingPasswordEnabled: true, FeatureFlags.notificationEnabled: true, FeatureFlags.overflowMenuEnabled: true, FeatureFlags.pipEnabled: true, FeatureFlags.pipWhileScreenSharingEnabled: true, FeatureFlags.preJoinPageHideDisplayName: true, FeatureFlags.raiseHandEnabled: true, FeatureFlags.reactionsEnabled: true, FeatureFlags.recordingEnabled: true, FeatureFlags.replaceParticipant: true, // FeatureFlags.securityOptionEnabled: true, // FeatureFlags.serverUrlChangeEnabled: true, FeatureFlags.settingsEnabled: true, FeatureFlags.tileViewEnabled: true, FeatureFlags.videoMuteEnabled: true, FeatureFlags.videoShareEnabled: true, FeatureFlags.toolboxEnabled: true, FeatureFlags.iosRecordingEnabled: true, FeatureFlags.iosScreenSharingEnabled: true, FeatureFlags.toolboxAlwaysVisible: true, }, userInfo: JitsiMeetUserInfo( displayName: "Gabi", email: "gabi.borlea.1@gmail.com", avatar: "https://avatars.githubusercontent.com/u/57035818?s=400&u=02572f10fe61bca6fc20426548f3920d53f79693&v=4"), );

Here is my log:

Restarted application in 1,938ms. [JitsiMeetSDK] Running "App [JitsiMeetSDK] [features/full-screen] Setting full-screen mode: false [JitsiMeetSDK] [features/base/sounds] PLAY_SOUND: no sound found for id: RECORDING_OFF_SOUND [native] [GESTURE HANDLER] Initialize gesture handler for view <RCTRootContentView: 0x1510e3020; frame = (0 0; 375 667); gestureRecognizers = <NSArray: 0x282b87a20>; layer = <CALayer: 0x282577fe0>> reactTag: 31; frame = {{0, 0}, {375, 667}}; layer = <CALayer: 0x282577fe0> [JitsiMeetSDK] [features/base/net-info] Network changed {"isOnline":true,"details":{"ipAddress":"192.168.1.32","subnet":"255.255.255.0","isConnectionExpensive":false},"networkType":"wifi"} [JitsiMeetSDK] [RNCallKit][setProviderConfiguration:] dictionary = { iconTemplateImageName = CallKitIcon; localizedName = "Jitsi Meet Flutter Sdk"; } [JitsiMeetSDK] [features/app] appNavigate to https://{my_server_url}/1234#config.startWithVideoMuted=true&config.startWithAudioMuted=true [JitsiMeetSDK] [features/base/connection] No connection found while disconnecting. [JitsiMeetSDK] [features/app] Loaded SDK 9.2.2 [JitsiMeetSDK] [features/base/lib-jitsi-meet] Config loaded from https://{my_server_url}/config.js?room=1234 [JitsiMeetSDK] [features/base/config] Extending config with: {"startWithAudioMuted":true,"startWithVideoMuted":true} [JitsiMeetSDK] [AudioMode] Route changed, reason: 3 [JitsiMeetSDK] [JitsiMeetJS.ts] This appears to be react-native, ver: 0.72.9 [JitsiMeetSDK] [modules/RTC/RTCUtils.js] Disable AP: false [JitsiMeetSDK] [modules/RTC/RTCUtils.js] Stereo: false [JitsiMeetSDK] [features/base/lib-jitsi-meet] lib-jitsi-meet version:2eddb859 [JitsiMeetSDK] [features/analytics] Initialized 0 analytics handlers flutter: audioMutedChanged: isMuted: true flutter: videoMutedChanged: isMuted: true flutter: conferenceWillJoin: url: https://{my_server_url}/1234 [JitsiMeetSDK] [features/base/media] Start muted: audio, video [JitsiMeetSDK] [features/base/media] Start audio only set to false [JitsiMeetSDK] [modules/RTC/RTCUtils.js] Got media constraints: {"video":false,"audio":{"autoGainControl":true,"echoCancellation":true,"noiseSuppression":true}} [JitsiMeetSDK] [features/calendar-sync] Calendar access not granted. [JitsiMeetSDK] [modules/RTC/RTCUtils.js] onUserMediaSuccess [JitsiMeetSDK] [features/base/media] Sync audio track muted state to muted

[JitsiMeetSDK] [features/base/redux] redux state persisted. 26b232477b7cb2772de5ef2fe9150af2 -> 75b7d880bb2e685621741f7014fd09aa [JitsiMeetSDK] [features/base/connection] Using service URL https://{my_server}/http-bind [JitsiMeetSDK] [modules/xmpp/moderator.js] Using xmpp for conference requests. [JitsiMeetSDK] [modules/xmpp/xmpp.js] P2P STUN servers: [ { urls: [ 'stun:meet-jit-si-turnrelay.jitsi.net:443' ] } ] [JitsiMeetSDK] [modules/xmpp/xmpp.js] (TIME) Strophe connecting: 181566417.540083 [JitsiMeetSDK] [modules/xmpp/XmppConnection.js] Stream resume enabled, but WebSockets are not enabled [JitsiMeetSDK] [modules/xmpp/strophe.ping.js] XMPP pings will be sent every 10000 ms [JitsiMeetSDK] [modules/xmpp/xmpp.js] (TIME) Strophe connected: 181567532.218333 [JitsiMeetSDK] [modules/xmpp/xmpp.js] My Jabber ID: 23381742-ea91-420b-aebd-fe04c635af83@meet.jitsi/InhTYAiRZYIu [JitsiMeetSDK] [modules/RTC/CodecSelection.js] Codec preference order for jvb connection is vp8,vp9,h264 [JitsiMeetSDK] [modules/RTC/CodecSelection.js] Codec preference order for p2p connection is h264,vp8,vp9,av1 [JitsiMeetSDK] [modules/xmpp/xmpp.js] JID 23381742-ea91-420b-aebd-fe04c635af83@meet.jitsi/InhTYAiRZYIu using MUC nickname 23381742 [JitsiMeetSDK] [modules/xmpp/ChatRoom.js] Joining MUC as 1234@muc.meet.jitsi/23381742 [JitsiMeetSDK] [modules/statistics/AvgRTPStatsReporter.js] Avg RTP stats will be calculated every 15 samples [JitsiMeetSDK] [JitsiConference.js] backToP2PDelay: 5 [JitsiMeetSDK] [JitsiConference.js] _doReplaceTrack - no JVB JingleSession [JitsiMeetSDK] [JitsiConference.js] _doReplaceTrack - no P2P JingleSession [JitsiMeetSDK] [features/full-screen] Setting full-screen mode: true [JitsiMeetSDK] [RNCallKit][startCall] callUUID = F1D539DD-7104-4A63-8FCD-2A2D2DC227A7 [JitsiMeetSDK] [RNCallKit][requestTransaction] transaction = <CXTransaction 0x282592960 UUID=D509B5D9-FF98-4406-8DB6-603271B8280B isComplete=0 actions=( "<CXStartCallAction 0x28173ee20 UUID=0490BD03-BC49-4FB1-9AA3-305506D38F3F state=0 commitDate=(null) callUUID=F1D539DD-7104-4A63-8FCD-2A2D2DC227A7 handle=<CXHandle 0x282592f60 type=Generic value=https://{my_server_url}/1234> contactIdentifier=(null) video=1 relay=0 upgrade=0 retry=0 emergency=0 isVoicemail=0 ttyType=0 localLandscapeAspectRatio={0, 0} localPortraitAspectRatio={0, 0} dateStarted=(null) localSenderIdentityUUID=(null) shouldSuppressInCallUI=0>" )> [JitsiMeetSDK] [modules/xmpp/moderator.js] Sending conference request over XMPP to focus.meet.jitsi [JitsiMeetSDK] [RNCallKit][CXProviderDelegate][provider:performStartCallAction:] [JitsiMeetSDK] [RNCallKit][updateCall] callUUID = F1D539DD-7104-4A63-8FCD-2A2D2DC227A7 options = { displayName = 1234; hasVideo = 1; } [JitsiMeetSDK] [modules/xmpp/strophe.jingle.js] getting turn credentials with extdisco:2 failed, trying extdisco:1 [JitsiMeetSDK] [RNCallKit][CXProviderDelegate][provider:didActivateAudioSession:] [JitsiMeetSDK] [modules/xmpp/moderator.js] Adding focus JID: focus@auth.meet.jitsi [JitsiMeetSDK] [modules/xmpp/moderator.js] Authentication enabled: false [JitsiMeetSDK] [modules/xmpp/moderator.js] Sip gateway enabled: undefined [JitsiMeetSDK] [modules/xmpp/moderator.js] Conference-request successful, ready to join the MUC. [JitsiMeetSDK] [modules/xmpp/strophe.jingle.js] getting turn credentials failed [JitsiMeetSDK] [modules/xmpp/strophe.jingle.js] is mod_turncredentials or similar installed and configured? [JitsiMeetSDK] [modules/xmpp/ChatRoom.js] (TIME) MUC join started: 181568083.659166 [JitsiMeetSDK] [modules/xmpp/ChatRoom.js] entered 1234@muc.meet.jitsi/focus { isReplaceParticipant: 0, affiliation: 'owner', role: 'moderator', jid: 'focus@auth.meet.jitsi/focus', isFocus: true, isHiddenDomain: false } [JitsiMeetSDK] [modules/version/ComponentsVersions.js] Got focus version: 1.0.1084 [JitsiMeetSDK] [JitsiConference.js] Audio unmute permissions set by Jicofo to false [JitsiMeetSDK] [JitsiConference.js] Video unmute permissions set by Jicofo to false [JitsiMeetSDK] [modules/xmpp/ChatRoom.js] Jicofo supports restart by terminate: true [JitsiMeetSDK] [modules/xmpp/ChatRoom.js] entered 1234@muc.meet.jitsi/bdfca62e { isReplaceParticipant: 0, affiliation: 'owner', role: 'moderator', jid: 'bdfca62e-e98c-4231-8df2-2a6341234852@meet.jitsi/k3BOjHGOikGt', isFocus: false, isHiddenDomain: false, statsID: 'Godfrey-l0s', features: {}, nick: 'kiet' } [JitsiMeetSDK] [modules/xmpp/ChatRoom.js] (TIME) MUC joined: 181568190.216416 [JitsiMeetSDK] [features/video-quality] Setting sender resolution to 720 [JitsiMeetSDK] [features/video-quality] Configured preferred receiver video frame height to: 720 flutter: conferenceJoined: url: https://{my_server_url}/1234 [JitsiMeetSDK] rn-webrtc:pc:DEBUG 6 ctor +4m [JitsiMeetSDK] [JitsiConference.js] Will start P2P with: 1234@muc.meet.jitsi/bdfca62e [JitsiMeetSDK] [JitsiConference.js] Created new P2P JingleSession 1234@muc.meet.jitsi/23381742 1234@muc.meet.jitsi/bdfca62e [JitsiMeetSDK] [modules/RTC/TraceablePeerConnection.js] Using RTCRtpTransceiver#setCodecPreferences for codec selection [JitsiMeetSDK] rn-webrtc:pc:DEBUG 6 addTransceiver +4ms [JitsiMeetSDK] [modules/RTC/TraceablePeerConnection.js] Create new TPC[id=7,type=P2P] [JitsiMeetSDK] [modules/RTC/TraceablePeerConnection.js] TPC[id=7,type=P2P] adding LocalTrack[4,audio] [JitsiMeetSDK] [modules/xmpp/ChatRoom.js] Subject is changed to [JitsiMeetSDK] rn-webrtc:pc:DEBUG 6 createOffer +71ms [JitsiMeetSDK] [RNCallKit][setMuted] callUUID = F1D539DD-7104-4A63-8FCD-2A2D2DC227A7 [JitsiMeetSDK] [RNCallKit][requestTransaction] transaction = <CXTransaction 0x282595420 UUID=3BD01355-4DCB-478A-9F45-6505C94F3816 isComplete=0 actions=( "<CXSetMutedCallAction 0x28306c680 UUID=62492CB3-F488-489E-9F44-A7CB6536AB59 state=0 commitDate=(null) callUUID=F1D539DD-7104-4A63-8FCD-2A2D2DC227A7 muted=1>" )> [JitsiMeetSDK] rn-webrtc:pc:DEBUG 6 createOffer OK +48ms [JitsiMeetSDK] rn-webrtc:pc:DEBUG 6 setLocalDescription +33ms [JitsiMeetSDK] rn-webrtc:pc:DEBUG 6 setLocalDescription OK +9ms [JitsiMeetSDK] [modules/xmpp/strophe.jingle.js] Found a JSON-encoded element in session-initiate, translating to standard Jingle. [JitsiMeetSDK] [modules/xmpp/strophe.jingle.js] (TIME) received session-initiate: 181568543.033125 [JitsiMeetSDK] rn-webrtc:pc:DEBUG 7 ctor +114ms [JitsiMeetSDK] [modules/RTC/TraceablePeerConnection.js] Using RTCRtpTransceiver#setCodecPreferences for codec selection [JitsiMeetSDK] [modules/RTC/TraceablePeerConnection.js] Create new TPC[id=8,type=JVB] [JitsiMeetSDK] [JitsiConference.js] SCTP: offered=true, prefered=true [JitsiMeetSDK] [modules/RTC/TraceablePeerConnection.js] TPC[id=8,type=JVB] adding LocalTrack[4,audio] [JitsiMeetSDK] rn-webrtc:pc:DEBUG 7 addTrack +5ms [JitsiMeetSDK] rn-webrtc:pc:DEBUG 7 getStats +20ms [JitsiMeetSDK] [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=P2P,initiator=true,sid=6e43aeebb67c] sendIceCandidate: last candidate [JitsiMeetSDK] rn-webrtc:pc:DEBUG 7 setRemoteDescription +89ms [JitsiMeetSDK] [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=P2P,initiator=true,sid=6e43aeebb67c] sendIceCandidates [{"candidate":"candidate:748702730 1 udp 2122260223 192.168.1.32 53454 typ host generation 0 ufrag xItA network-id 1 network-cost 10","sdpMLineIndex":0,"sdpMid":"0"},{"candidate":"candidate:3523909790 1 tcp 1518280447 192.168.1.32 62289 typ host tcptype passive generation 0 ufrag xItA network-id 1 network-cost 10","sdpMLineIndex":0,"sdpMid":"0"},{"candidate":"candidate:765476396 1 udp 1686052607 1.53.63.71 57550 typ srflx raddr 192.168.1.32 rport 53454 generation 0 ufrag xItA network-id 1 network-cost 10","sdpMLineIndex":0,"sdpMid":"0"}] [JitsiMeetSDK] rn-webrtc:pc:DEBUG 7 ontrack +7ms [JitsiMeetSDK] rn-webrtc:pc:DEBUG 7 ontrack +1ms [JitsiMeetSDK] rn-webrtc:pc:DEBUG 7 setRemoteDescription OK +5ms [JitsiMeetSDK] rn-webrtc:pc:DEBUG 7 createAnswer +3ms [JitsiMeetSDK] rn-webrtc:pc:DEBUG 7 setLocalDescription +19ms [JitsiMeetSDK] [AudioMode] Audio session didSetActive:1 [JitsiMeetSDK] rn-webrtc:pc:DEBUG 7 setLocalDescription OK +33ms [JitsiMeetSDK] [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=JVB,initiator=false,sid=5udpk36on7gtd] Sending session-accept [JitsiMeetSDK] [modules/xmpp/JingleSessionPC.js] (TIME) ICE checking JVB: 181568751.035666 [JitsiMeetSDK] [modules/xmpp/JingleSessionPC.js] (TIME) ICE connected JVB: 181569164.804416 [JitsiMeetSDK] [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=P2P,initiator=true,sid=6e43aeebb67c] Got RESULT for "session-initiate" [JitsiMeetSDK] [modules/RTC/BridgeChannel.js] datachannel channel opened [JitsiMeetSDK] [JitsiConferenceEventManager.js] (TIME) data.channel.opened: 181569278.931291 [JitsiMeetSDK] [modules/RTC/BridgeChannel.js] Sending ReceiverVideoConstraints with {"assumedBandwidthBps":-1,"constraints":{},"defaultConstraints":{"maxHeight":2160},"lastN":-1} [JitsiMeetSDK] [modules/RTC/BridgeChannel.js] New forwarded sources: [JitsiMeetSDK] [JitsiConference.js] P2P setAnswer [JitsiMeetSDK] [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=P2P,initiator=true,sid=6e43aeebb67c] setReceiverVideoConstraint - constraints: {} [JitsiMeetSDK] rn-webrtc:pc:DEBUG 6 setRemoteDescription +832ms [JitsiMeetSDK] [JitsiConference.js] P2P addIceCandidates [JitsiMeetSDK] [modules/xmpp/JingleSessionPC.js] (TIME) ICE checking P2P: 181569568.244083 [JitsiMeetSDK] rn-webrtc:pc:DEBUG 6 setRemoteDescription OK +7ms [JitsiMeetSDK] rn-webrtc:pc:DEBUG 6 addIceCandidate +8ms [JitsiMeetSDK] [modules/xmpp/JingleSessionPC.js] (TIME) ICE connected P2P: 181569579.533333 [JitsiMeetSDK] [JitsiConference.js] Peer to peer connection established! [JitsiMeetSDK] [JitsiConference.js] Suspending media transfer over the JVB connection... [JitsiMeetSDK] rn-webrtc:pc:DEBUG 6 getStats +12ms [JitsiMeetSDK] [modules/RTC/TPCUtils.js] TPC[id=8,type=JVB] Suspending media transfer. [JitsiMeetSDK] [JitsiConference.js] Starting remote stats with p2p connection [JitsiMeetSDK] [modules/statistics/statistics.js] {"type":"operational","action":"established","source":"p2p","attributes":{"initiator":true}} [JitsiMeetSDK] [modules/xmpp/JingleSessionPC.js] (TIME) ICE completed P2P: 181569591.710208 [JitsiMeetSDK] [JitsiConference.js] Suspended media transfer over the JVB connection ! [JitsiMeetSDK] [VideoTrackAdapter] Mute event for pc 7 track mixedlabelvideo0 [JitsiMeetSDK] rn-webrtc:pc:DEBUG 7 getStats +9s [JitsiMeetSDK] rn-webrtc:pc:DEBUG 6 getStats +1s [JitsiMeetSDK] rn-webrtc:pc:DEBUG 7 getStats +9s [JitsiMeetSDK] rn-webrtc:pc:DEBUG 6 getStats +999ms Application finished.

Exited.

Question: Do I need to config something in server?