Meeting Setting


1. Meeting Audio/Video State
2. Show or hide thumbnail
3. Enable/Disable Cloud Recording

Meeting Audio / Video

Get & set audio/video state

After the meeting has been initialized, you can change the meeting audio or video state like the following:

MobileRTCMeetingSettings *settings = [[MobileRTC sharedRTC] getMeetingSettings];
if (!settings)
return nil;
BOOL isAutoConnected = [settings autoConnectInternetAudio];
BOOL isAudioMuted = [settings muteAudioWhenJoinMeeting];
BOOL isVideoMuted = [settings muteVideoWhenJoinMeeting];
BOOL disabled = [settings driveModeDisabled];
BOOL disabledCallIn = [settings callInDisabled];
BOOL disabledCallOut = [settings callOutDisabled];
//Set Meeting Audio/Video State
UISwitch *sv = (UISwitch*)sender;
[[[MobileRTC sharedRTC] getMeetingSettings] setAutoConnectInternetAudio:sv.on];
[[[MobileRTC sharedRTC] getMeetingSettings] setMuteAudioWhenJoinMeeting:sv.on];
[[[MobileRTC sharedRTC] getMeetingSettings] setMuteVideoWhenJoinMeeting:sv.on];
[[[MobileRTC sharedRTC] getMeetingSettings] disableDriveMode:sv.on];
[[[MobileRTC sharedRTC] getMeetingSettings] disableCallIn:sv.on];
[[[MobileRTC sharedRTC] getMeetingSettings] disableCallOut:sv.on];

Pause or Resume Meeting Audio

You can pause or resume the meeting audio during the meeting by calling the following functions:

BOOL isNoAudio = [[[MobileRTC sharedRTC] getMeetingService] isNoMeetingAudio];
[[[MobileRTC sharedRTC] getMeetingService] pauseMeetingAudio:!isNoAudio];

Show/Hide thumbnail video

While in the meeting, you can show or hide thumbnail video with the following function:

[[[MobileRTC sharedRTC] getMeetingSettings] setThumbnailHidden:hidden];

Enable/Disable Cloud Recording

If you would like to enable or disable the cloud recording feature, you can:

MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService];
//To check whether the app supports cloud recording or not
[ms isCMREnabled];
//To check whether cloud recording is in progress
[ms isCMRInProgress];
//Turn on cloud recording
[ms turnOnCMR:YES];
//Turn off cloud recording
[ms turnOnCMR:NO];

Need help?

If you're looking for help, try Developer Support or our Developer Forum. Priority support is also available with Premier Developer Support plans.