cancel
Showing results for 
Search instead for 
Did you mean: 

Deallocating or setting the SDK to nil is not working

Prabup
Explorer
Explorer

MobileRTCSDKInitContext *context = [MobileRTCSDKInitContext new];

 context.domain = @"zoom.us";

 context.enableLog = YES;

  BOOL sdkInitSucss = [[MobileRTC sharedRTC] initialize:context];

  if (sdkInitSuc) { 

MobileRTCAuthService *authService = [[MobileRTC sharedRTC] getAuthService];

    if (authService) {

     authService.delegate = self;

     authService.jwtToken =@"JWT_TOKEN";

      [authService sdkAuth];

    }

Once the MobileRTCSDKInitContext is initialized successfully, subsequent attempts to reinitialize the SDK fail. This means that the SDK can only be initialized once per session. If the app is terminated and relaunched, the SDK initialization will succeed again. 

0 REPLIES 0