skrafft / react-native-jitsi-meet

React native wrapper for Jitsi Meet SDK
Apache License 2.0
285 stars 348 forks source link

Starting video by default #450

Closed lvxhnat closed 3 weeks ago

lvxhnat commented 3 weeks ago

I am using the following code with startWithVideoMuted: false,

 <JitsiMeeting
            domain="videocall.sentioweb.com"
            roomName={props.roomName}
            configOverwrite={{
              startWithAudioMuted: false, 
              startWithVideoMuted: false, 
              disableModeratorIndicator: true,
              startScreenSharing: true,
              enableEmailInStats: false,
            }}
            interfaceConfigOverwrite={{
              DISPLAY_WELCOME_FOOTER: false,
              VIDEO_LAYOUT_FIT: "both",
              MOBILE_APP_PROMO: false,
              TILE_VIEW_MAX_COLUMNS: 4,
              DISABLE_JOIN_LEAVE_NOTIFICATIONS: true,
              DEFAULT_WELCOME_PAGE_LOGO_URL: "",
            }}
            getIFrameRef={(iframeRef: any) => {
              iframeRef.style.height = "100%";
              iframeRef.style.width = "100%";
            }}
          />

mic is enabled by default works as expected, but video doesnt. Why is that?