Help Center/ Meeting/ Client SDK Reference/ iOS SDK/ API Reference/ Basic Settings/ Enabling or Disabling the Camera and Microphone in a Meeting
Updated on 2024-07-30 GMT+08:00

Enabling or Disabling the Camera and Microphone in a Meeting

isOpenMicrophoneIncoming

API Description

This API is used to customize the microphone status when a user is invited to a meeting.

Precautions

  1. If automatic mute has been set for participants excluding the host, your microphone status customization does not take effect.

Method Definition

1
- (BOOL)isOpenMicrophoneIncoming;

Parameter Description

None

Sample Code

1
2
3
4
/// Whether to enable the microphone when a user is invited to a meeting.
- (BOOL)isOpenMicrophoneIncoming {
    return NO;
}

isOpenCameraIncoming

API Description

This API is used to customize the camera status when a user is invited to a meeting.

Precautions

None

Method Definition

1
- (BOOL)isOpenCameraIncoming;

Parameter Description

None

Sample Code

1
2
3
4
/// Whether to enable the camera when a user is invited to a meeting.
- (BOOL)isOpenCameraIncoming {
    return NO;
}