# Meeting settings ## Get and set audio or video state After the meeting has been initialized, you can change the meeting audio or video state like the following: ```objectivec 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 Pause or resume the meeting audio during the meeting. ```objectivec BOOL isNoAudio = [[[MobileRTC sharedRTC] getMeetingService] isNoMeetingAudio]; [[[MobileRTC sharedRTC] getMeetingService] pauseMeetingAudio:!isNoAudio]; ``` ## Show or hide thumbnail video While in the meeting, show or hide thumbnail video. ```objectivec [[[MobileRTC sharedRTC] getMeetingSettings] setThumbnailHidden:hidden]; ``` ## Enable or disable cloud recording Enable or disable the cloud recording feature. ```objectivec 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]; ```