Meeting cannot join on Default UI

Hi Team,

Past few days participants can’t able to join the meeting on default UI.

Hey @pandiyaraj,

Thanks for using the dev forum!

Can you provide the following to help troubleshoot:

  • Is this happening every time?
  • What errors are being given when attempting to join?
  • Can you provide the code you are using?
  • Can you provide the SDK version?

Thanks!
Michael

Hi @Michael_Condon

Yes, it occurs continuously last few days.

  1. version: v5.0.24433.0616

  2. OnmeetingReady delegate function not called

Code:

func joinMeeting(meetingID: String, password: String) -> Void{

    if let settings = MobileRTC.shared().getMeetingSettings(){
        settings.meetingShareHidden = true
        settings.enableCustomMeeting = false
        settings.setAutoConnectInternetAudio(true)
        settings.setMuteVideoWhenJoinMeeting(false)
        settings.setMuteAudioWhenJoinMeeting(false)
        settings.topBarHidden = false
        settings.meetingParticipantHidden = true
        
        if let meetingService = MobileRTC.shared().getMeetingService(){
            meetingService.delegate = self
            var paramDict: [String : Any] = [
                kMeetingParam_Username : PTStorageManager.shared.userFirstName,
                kMeetingParam_MeetingNumber : meetingID,
                kMeetingParam_MeetingPassword: password
            ]
            
            let response = meetingService.joinMeeting(with: paramDict)
            print(response)
        }
    }
}

Hey @pandiyaraj,

joinMeetingWithDictionary has been deprecated. Can you use joinMeetingWithJoinParam instead?
Also what error are you receiving in onMeetingError?

Thanks!
Michael

Hi
I even tried with “joinMeetingWithJoinParam” method. Also, I didn’t get any error on this “onMeetingError” method.

Please help me to fix that.

Hey @pandiyaraj

Is onMeetingError being called and is returning successfully? Or is it not being called at all?

Thanks!
Michael

Yes,

its not being called.

Hey @pandiyaraj,

I see, is the SDK being successfully authenticated? Sometimes using an invalid JWT to authenticate can cause the meeting join to hang. onMeetingError should be called regardless of whether the join was successful or not, so it seems like the SDK is hanging.

Thanks!
Michael