Loading components/hooks/jitsi-provider/useJitsiMeeting.js +0 −17 Original line number Diff line number Diff line Loading @@ -98,9 +98,7 @@ function onConnectionSuccess(props) { try { room = connection.initJitsiConference(roomName, {}); window.room = room; room.on(JitsiMeetJS.events.conference.CONFERENCE_JOINED, () => { console.log("jitsiConnectionEvents====> JOINED"); onConferenceJoined(setMeetingStatus); let participants = transformRemoteParticipants(room.getParticipants()); participants.push(transformLocalParticipant(room, name)); Loading Loading @@ -134,7 +132,6 @@ function onConnectionSuccess(props) { function jitsiConnectionEvents(props) { const { setMeetingStatus } = props; console.log("jitsiConnectionEvents====>"); connection.addEventListener( JitsiMeetJS.events.connection.CONNECTION_ESTABLISHED, () => { Loading @@ -145,7 +142,6 @@ function jitsiConnectionEvents(props) { connection.addEventListener( JitsiMeetJS.events.connection.CONNECTION_FAILED, (res) => { console.log("res CONNECTION_FAILED", res); setMeetingStatus((prev) => ({ ...prev, error: true, Loading @@ -155,22 +151,9 @@ function jitsiConnectionEvents(props) { } ); connection.addEventListener( JitsiMeetJS.events.connection.otherError, (res) => { console.log("connection.otherError===>", res); setMeetingStatus((prev) => ({ ...prev, error: true, message: res || "Connection Failed", connectionStatusCode: 0, })); } ); connection.addEventListener( JitsiMeetJS.events.connection.CONNECTION_DISCONNECTED, (res) => { console.log("res CONNECTION_DISCONNECTED", res); setMeetingStatus((prev) => ({ ...prev, error: true, Loading pages/index.js +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ function MeetingInput({ setJoin, setMeetingDetails }) { /> <div style={{ marginTop: "20px" }}> {["teams", "zoom", "webex"].map((provider, i) => ( {["teams", "zoom", "webex", "jitsi"].map((provider, i) => ( <button key={i} style={{ Loading Loading
components/hooks/jitsi-provider/useJitsiMeeting.js +0 −17 Original line number Diff line number Diff line Loading @@ -98,9 +98,7 @@ function onConnectionSuccess(props) { try { room = connection.initJitsiConference(roomName, {}); window.room = room; room.on(JitsiMeetJS.events.conference.CONFERENCE_JOINED, () => { console.log("jitsiConnectionEvents====> JOINED"); onConferenceJoined(setMeetingStatus); let participants = transformRemoteParticipants(room.getParticipants()); participants.push(transformLocalParticipant(room, name)); Loading Loading @@ -134,7 +132,6 @@ function onConnectionSuccess(props) { function jitsiConnectionEvents(props) { const { setMeetingStatus } = props; console.log("jitsiConnectionEvents====>"); connection.addEventListener( JitsiMeetJS.events.connection.CONNECTION_ESTABLISHED, () => { Loading @@ -145,7 +142,6 @@ function jitsiConnectionEvents(props) { connection.addEventListener( JitsiMeetJS.events.connection.CONNECTION_FAILED, (res) => { console.log("res CONNECTION_FAILED", res); setMeetingStatus((prev) => ({ ...prev, error: true, Loading @@ -155,22 +151,9 @@ function jitsiConnectionEvents(props) { } ); connection.addEventListener( JitsiMeetJS.events.connection.otherError, (res) => { console.log("connection.otherError===>", res); setMeetingStatus((prev) => ({ ...prev, error: true, message: res || "Connection Failed", connectionStatusCode: 0, })); } ); connection.addEventListener( JitsiMeetJS.events.connection.CONNECTION_DISCONNECTED, (res) => { console.log("res CONNECTION_DISCONNECTED", res); setMeetingStatus((prev) => ({ ...prev, error: true, Loading
pages/index.js +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ function MeetingInput({ setJoin, setMeetingDetails }) { /> <div style={{ marginTop: "20px" }}> {["teams", "zoom", "webex"].map((provider, i) => ( {["teams", "zoom", "webex", "jitsi"].map((provider, i) => ( <button key={i} style={{ Loading