BRTC 设备管理接口
switchCamera切换摄像头
- (NSInteger)switchCamera:(BOOL)frontCamera;
isCameraZoomSupported查询当前摄像头是否支持缩放
- (BOOL)isCameraZoomSupported;
setCameraZoomRatio设置当前摄像头的缩放比例
- (NSInteger)setCameraZoomRatio:(CGFloat)zoomRatio;
参数
详情
isCameraTorchSupported查询是否支持开关闪光灯(手电筒模式)
- (BOOL)isCameraTorchSupported;
enableCameraTorch开关闪光灯
- (NSInteger)enableCameraTorch:(BOOL)enabled;
setSystemVolumeType设置通话时使用的系统音量类型
- (NSInteger)setSystemVolumeType:(BRTCSystemVolumeType)type;
setAudioRoute设置音频路由
- (NSInteger)setAudioRoute:(BRTCAudioRoute)route;
setAudioInputMute设置音频输入静音
此接口从 3.12.0 版本开始提供
- (NSInteger)setAudioInputMute:(BOOL)mute;
setAudioOutputMute设置音频输出静音
- (NSInteger)setAudioOutputMute:(BOOL)mute;
iOS
BRTC 设备管理接口
详细信息
switchCamera
切换摄像头
isCameraZoomSupported
查询当前摄像头是否支持缩放
setCameraZoomRatio
设置当前摄像头的缩放比例
参数
详情
isCameraTorchSupported
查询是否支持开关闪光灯(手电筒模式)
enableCameraTorch
开关闪光灯
参数
setSystemVolumeType
设置通话时使用的系统音量类型
参数
详情
setAudioRoute
设置音频路由
参数
详情
setAudioInputMute
设置音频输入静音
此接口从 3.12.0 版本开始提供
参数
详情
setAudioOutputMute
设置音频输出静音
此接口从 3.12.0 版本开始提供
参数
详情