Swift Error When Try To Create Meeting

Hi all,

In my app I log the user with email and password after that when I create the meeting all works fine but I can’t see the screen of the meeting. And if I try to tap again my button for create meeting I see the error with code 152 because I have already a meeting.

This is the code for open the meeting:

guard let authSerice = MobileRTC.shared()?.getAuthService() else { return }

    if authSerice.isLoggedIn(){
        var param : MobileRTCMeetingStartParam? = nil
        
        let user = MobileRTCMeetingStartParam4LoginlUser.init()
        
        param = user
        
        //param?.meetingNumber = "" //se lo lasci vuoto fa qualsiasi cosa
        
        param?.isAppShare = true
        
        guard let meetingService = MobileRTC.shared()?.getMeetingService() else { return }
        
        meetingService.customizeMeetingTitle("TheRealMeeting")
        
        let ret = meetingService.startMeeting(with: param!)
        
        print("onMeetNow: \(ret)")
        
    }

hi
param?.isAppShare = true

This parameter you need to pass NO or do not set the value

Thanks

1 Like

Hi,

Yes it works very well.

Many thanks for your time.

1 Like

Thanks Murray! :slight_smile:

-Tommy

Greetings,

I have a diferent problem when try to create a meeting, im using SDK v4.4.55968.0904, problem is i’m getting error code 150, when parameter isAppShare is false and true either

Notice sdk auth & login (withEmail,password) are correct, i check documentation for missing parameters but it is the same code, i’m missing something??

Hi operea,

Thanks for the reply and the code snippet. I see you have posted this in another thread: Getting response code 150, we will provide further assistance over there. Thanks!