calvinckho / capacitor-jitsi-meet

This plugin is used to make video calls using Jitsi video platform (https://meet.jit.si) on iOS and Android using Ionic Capacitor.
84 stars 40 forks source link

Video/Audio/Chat Not Working But Participants Connect #92

Closed BuffMcBigHuge closed 9 months ago

BuffMcBigHuge commented 9 months ago

Issue: I am able to successfully use Video/Audio/Chat between Web clients (Web <> Web) by navigating to the URL, but Android and iOS builds using the capacitor-jitsi-meet connect in the call as participants, but there is no Video/Audio/Chat. The Jitsi server's ports are configured correctly. Everything was working fine in v3.1.0 with no changes to the server. We're using xirsys.com P2P.

Screenshots:

Screenshot 2023-11-28 at 5 15 29 PM

Mobile App (iOS <> Web) IMG_0126

Web View (iOS <> Web)

Screenshot 2023-11-28 at 4 27 50 PM

Web View (Web <> Web)

Screenshot 2023-11-28 at 4 51 50 PM

Versions:

"@capacitor/android": "^5.5.1",
"@capacitor/ios": "^5.5.1",
"@capacitor/core": "^5.5.1",
"capacitor-jitsi-meet": "4.0.0",
s.dependency 'JitsiMeetSDK', '8.1.2'
implementation ('org.jitsi.react:jitsi-meet-sdk:8.1.2') { transitive = true }
await Jitsi.joinConference({
  hosts: {
    domain: 'XYZ',
  },
  bosh: '//XYZ/http-bind',
  p2p: {
    enabled: true,
    stunServers: [
      { urls: "stun:ABC.com" },
      {
        urls: "turn:ABC.com:80?transport=udp",
        credential: "ABC",
        username: "ABC"
      },
      ...
    ],
    preferH264: true
  },
  enableNoAudioDetection: true,
  enableNoisyMicDetection: true,
  roomName,
  url: `https://XYZ/${CONVERSATION_ID}`,
  subject: 'XYZ Huddle',
  displayName,
  avatarURL,
  startWithAudioMuted: false,
  startWithVideoMuted: false,
  chatEnabled: true,
  screenSharingEnabled: true,
  inviteEnabled: false,
});

Inbound Ports:

Screenshot 2023-11-28 at 5 32 55 PM
BuffMcBigHuge commented 9 months ago

After a few hours of finagling, I realized that our Jitsi server was running an older version. Reinstall Jitsi solved the issue.