Product updates

Developer Changelog

Keep track of changes and upgrades to the Zoom Developer platform. You can also subscribe to our Changelog RSS feed below.


Meeting SDKReact Native

Version 7.0.5

SDK version

Summary:Add new video and control functions, and meeting evnts notification; change the return type for joinMeeting and startMeeting.

Added

  • Add new video and audio control functions.

    • Add new interface in ZoomSDK.ts.

      muteMyVideo: (mute: boolean) => Promise<MobileRTCSDKError>;
      muteMyAudio: (mute: boolean) =>
          Promise<MobileRTCAudioError | MobileRTCSDKError>;
      connectMyAudio: (on: boolean) => Promise<boolean>;
      
    • Add new enum type.

      export type MobileRTCSDKError =
          | 'MobileRTCSDKError_Success'
          | 'MobileRTCSDKError_NoImpl'
          | 'MobileRTCSDKError_WrongUsage'
          | 'MobileRTCSDKError_InvalidParameter'
          | 'MobileRTCSDKError_ModuleLoadFailed'
          | 'MobileRTCSDKError_MemoryFailed'
          | 'MobileRTCSDKError_ServiceFailed'
          | 'MobileRTCSDKError_Uninitialize'
          | 'MobileRTCSDKError_Unauthentication'
          | 'MobileRTCSDKError_NoRecordingInprocess'
          | 'MobileRTCSDKError_TranscoderNoFound'
          | 'MobileRTCSDKError_VideoNotReady'
          | 'MobileRTCSDKError_NoPermission'
          | 'MobileRTCSDKError_Unknown'
          | 'MobileRTCSDKError_OtherSdkInstanceRunning'
          | 'MobileRTCSDKError_InternalError'
          | 'MobileRTCSDKError_NoAudiodeviceIsFound'
          | 'MobileRTCSDKError_NoVideoDeviceIsFound'
          | 'MobileRTCSDKError_TooFrequentCall'
          | 'MobileRTCSDKError_NotInMeeting'
          // Android counterparts (us.zoom.sdk.MobileRTCSDKError)
          | 'SDKERR_SUCCESS'
          | 'SDKERR_WRONG_USAGE'
          | 'SDKERR_INVALID_PARAMETER'
          | 'SDKERR_UNINITIALIZE'
          | 'SDKERR_UNAUTHENTICATION'
          | 'SDKERR_NO_PERMISSION'
          | 'SDKERR_SERVICE_FAILED'
          | 'SDKERR_TOO_FREQUENT_CALL'
          | 'SDKERR_MEETING_DONT_SUPPORT_FEATURE'
          | 'SDKERR_OTHER_ERROR'
          | string;
      
      export type MobileRTCAudioError =
          | 'MobileRTCAudioError_Success'
          | 'MobileRTCAudioError_AudioPermissionDenied'
          | 'MobileRTCAudioError_AudioNotConnected'
          | 'MobileRTCAudioError_CannotUnmuteMyAudio'
          | 'MobileRTCAudioError_Failed'
          | string;
      
  • Add meeting events notification.

    • Add new event listeners in events.ts,

      export type ZoomAuthReturnEvent = {
          error: MobileRTCAuthError;
          internalErrorCode?: number;
      };
      
      export type ZoomMeetingErrorEvent = {
          error: MobileRTCMeetError;
          message?: string;
          internalErrorCode?: number;
      };
      
      export type ZoomMeetingStateChangeEvent = {
          state: MobileRTCMeetingState;
      };
      
      export const ZOOM_SDK_EVENTS = {
          onAuthReturn: ZoomSDKEvent.AuthReturn,
          onMeetingError: ZoomSDKEvent.MeetingError,
          onJoinMeetingConfirmed: ZoomSDKEvent.JoinMeetingConfirmed,
          onMeetingStateChange: ZoomSDKEvent.MeetingStateChange,
          onAuthIdentityExpired: ZoomSDKEvent.AuthIdentityExpired,
      };
      

Changed

  • Change the return type for joinMeeting and startMeeting from

    joinMeeting: (config: JoinMeetingConfig) => Promise<number>;
    startMeeting: (config: StartMeetingConfig) => Promise<number>;
    

    to

    joinMeeting: (config: JoinMeetingConfig) => Promise<MobileRTCMeetError>;
    startMeeting: (config: StartMeetingConfig) => Promise<MobileRTCMeetError>;