![]() |
AlivcLivePusher
v4.4.7
Aliyun Live Pusher API Reference Manual for iOS Platforms
|
推流类 More...
Instance Methods | |
(int) | - addDynamicWaterMarkImageDataWithPath:x:y:w:h: |
添加动态贴纸,最多支持添加5个贴纸 waterMarkDirPath:贴纸图片sequence目录 x,y:显示屏幕位置(0~1.0f) w,h:显示屏幕长宽(0~1.0f) 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下添加动态贴纸,AlivcLivePushInteractiveMode模式下暂时不支持添加动态贴纸 More... | |
(int) | - addMixAudio:format:audioSample: |
添加音频混流设置 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下添加音频混流,AlivcLivePushInteractiveMode模式下暂时不支持添加音频混流 More... | |
(int) | - addMixVideo:width:height:rotation:displayX:displayY:displayW:displayH:adjustHeight: |
添加视频混流设置 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下添加视频混流设置,AlivcLivePushInteractiveMode模式下暂时不支持添加视频混流设置 More... | |
(int) | - addWatermarkWithPath:watermarkCoordX:watermarkCoordY:watermarkWidth: |
添加水印 最多支持3个水印 More... | |
(void) | - changeMixVideoPosition:displayX:displayY:displayW:displayH: |
改变视频混流位置 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下改变视频混流位置,AlivcLivePushInteractiveMode模式下暂时不支持改变视频混流位置 More... | |
(void) | - destory |
销毁推流 More... | |
(int) | - focusCameraAtAdjustedPoint:autoFocus: |
对焦 More... | |
(float) | - getCurrentExposure |
获取当前曝光度 More... | |
(float) | - getCurrentZoom |
获取当前变焦值 More... | |
(AlivcLivePushStatsInfo *) | - getLivePushStatusInfo |
获取推流数据统计 More... | |
(AlivcLivePushStatus) | - getLiveStatus |
获取当前推流状态 More... | |
(float) | - getMaxZoom |
获取支持的最大变焦值 More... | |
(NSString *) | - getPushURL |
获取当前推流URL More... | |
(float) | - getSupportedMaxExposure |
获取支持最大曝光度 More... | |
(float) | - getSupportedMinExposure |
获取支持最小曝光度 More... | |
(instancetype) | - initWithConfig: |
init More... | |
(bool) | - inputMixAudioData:data:size:pts: |
输入音频混流数据 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下输入音频混流数据,AlivcLivePushInteractiveMode模式下暂时不支持输入音频混流数据 More... | |
(void) | - inputMixVideoData:data:width:height:stride:size:pts:rotation: |
输入视频混流数据 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下输入视频混流数据,AlivcLivePushInteractiveMode模式下暂时不支持输入视频混流数据 More... | |
(BOOL) | - isPushing |
获取是否正在推流 More... | |
(int) | - pause |
暂停摄像头推流,如果pushCongfig 中设置了pauseImg图片,将推设置的静态图片 More... | |
(int) | - pauseBGM |
暂停播放背景音乐 More... | |
(int) | - reconnectPushAsync |
重连 异步接口 More... | |
(int) | - reconnectPushAsync: |
重连 异步接口 More... | |
(void) | - removeDynamicWaterMark: |
删除动态贴纸 vid:贴纸id,add时返回的 More... | |
(void) | - removeMixAudio: |
移除音频混流 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下移除音频混流,AlivcLivePushInteractiveMode模式下暂时不支持移除音频混流 More... | |
(void) | - removeMixVideo: |
移除视频混流 More... | |
(int) | - restartPush |
重新推流 同步接口 More... | |
(int) | - restartPushAsync |
重新推流 异步接口 More... | |
(int) | - resume |
恢复摄像头推流 同步接口 More... | |
(int) | - resumeAsync |
恢复推流 异步接口 More... | |
(int) | - resumeBGM |
恢复播放背景音乐 More... | |
(void) | - sendAudioSampleBuffer:withType: |
发送自定义的audio SampleBuffer 只限于replaykit录屏直播使用 More... | |
(int) | - sendMessage:repeatCount:delayTime:KeyFrameOnly: |
设置Message More... | |
(void) | - sendPCMData:size:sampleRate:channel:pts: |
发送自定义音频数据 More... | |
(void) | - sendVideoData:width:height:size:pts:rotation: |
发送自定义视频数据 More... | |
(void) | - sendVideoSampleBuffer: |
发送自定义video SampleBuffer More... | |
(int) | - setAudioDenoise: |
设置降噪开关 More... | |
(void) | - setAudioSampleDelegate: |
设置音频裸数据回调 More... | |
(int) | - setAutoFocus: |
设置自动对焦 More... | |
(void) | - setBGMDelegate: |
设置背景音乐监听回调 More... | |
(int) | - setBGMEarsBack: |
设置背景音乐耳返开关 More... | |
(int) | - setBGMLoop: |
设置背景音乐是否循环播放 More... | |
(int) | - setBGMVolume: |
设置背景音乐混音 音乐音量 More... | |
(int) | - setCaptureVolume: |
设置背景音乐混音 人声音量 More... | |
(void) | - setCustomDetectorDelegate: |
设置用户自定义人脸识别回调 More... | |
(void) | - setCustomFilterDelegate: |
设置用户自定义滤镜回调 More... | |
(void) | - setErrorDelegate: |
设置推流错误监听回调 More... | |
(int) | - setExposure: |
设置曝光度 More... | |
(int) | - setFlash: |
闪光灯开关 More... | |
(void) | - setInfoDelegate: |
设置推流状态监听回调 More... | |
(int) | - setLiveMixTranscodingConfig: |
设置云端的混流(转码)参数 一个直播间中可能有不止一位主播,而且每个主播都有自己的画面和声音,但对于 CDN 观众来说,他们只需要一路直播流 所以您需要将多路音视频流混成一路标准的直播流,这就需要混流转码 在连麦场景下,需要将主播和连麦观众音视频流混成一路标准的直播流,供CDN观众观看 在PK场景下,需要将进行PK的多个主播的音视频流混成一路标准的直播流,供CDN观众观看 More... | |
(int) | - setLogLevel: |
设置Log级别 More... | |
(int) | - setLogPath:maxPartFileSizeInKB: |
设置Log路径 More... | |
(int) | - setMinVideoBitrate: |
设置最小码率 More... | |
(void) | - setMixVideoMirror:isMirror: |
改变视频混流镜像 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下改变视频混流镜像,AlivcLivePushInteractiveMode模式下暂时不支持改变视频混流镜像 More... | |
(void) | - setMute: |
静音推流 More... | |
(void) | - setNetworkDelegate: |
设置推流网络监听回调 More... | |
(void) | - setpreviewDisplayMode: |
设置预览显示模式 More... | |
(void) | - setPreviewMirror: |
预览镜像开关 More... | |
(void) | - setPushMirror: |
推流镜像开关 More... | |
(int) | - setQualityMode: |
设置推流模式 More... | |
(void) | - setResolution: |
设置推流分辨率,只在预览模式下生效,推流中不能设置 More... | |
(void) | - setSnapshotDelegate: |
设置截图回调 More... | |
(int) | - setTargetVideoBitrate: |
设置目标码率 More... | |
(void) | - setWatermarkVisible: |
设置水印显示和隐藏 More... | |
(int) | - setZoom: |
缩放 More... | |
(void) | - snapshot:interval: |
截图,livePushMode = AlivcLivePushBasicMode 基础模式下可以指定count和interval, AlivcLivePushInteractiveMode模式下暂时不支持指定count和interval,传递任何值都不做解析,每次只截图一张画面 count:张数 interval:每张间隔(ms) More... | |
(int) | - startBGMWithMusicPathAsync: |
播放背景音乐 More... | |
(int) | - startPreview: |
开始预览 同步接口 More... | |
(int) | - startPreviewAsync: |
开始预览 异步接口 More... | |
(int) | - startPushWithURL: |
开始推流 同步接口 More... | |
(int) | - startPushWithURLAsync: |
开始推流 异步接口 More... | |
(int) | - startScreenCapture: |
开始屏幕分享(该接口支持 iOS 11.0 及以上的 iPhone 和 iPad)。 More... | |
(int) | - stopBGMAsync |
停止播放背景音乐 More... | |
(int) | - stopPreview |
停止预览 More... | |
(int) | - stopPush |
停止推流 More... | |
(int) | - switchCamera |
旋转摄像头 More... | |
Class Methods | |
("Use AlivcLiveBase->getSDKVersion instead.") | + __deprecated_msg |
获取SDK版本号 More... | |
(void) | + hideDebugView |
隐藏调试悬浮窗 More... | |
(void) | + showDebugView |
显示调试悬浮窗 注意 :Debug悬浮窗会占用一定的系统资源,只可用于APP研发的Debug阶段,Release版本请勿调用此接口 More... | |
推流类
+ ("Use AlivcLiveBase->getSDKVersion instead.") __deprecated_msg |
获取SDK版本号
- (int) addDynamicWaterMarkImageDataWithPath: | (NSString *) | waterMarkDirPath | |
x: | (float) | x | |
y: | (float) | y | |
w: | (float) | w | |
h: | (float) | h | |
添加动态贴纸,最多支持添加5个贴纸 waterMarkDirPath:贴纸图片sequence目录 x,y:显示屏幕位置(0~1.0f) w,h:显示屏幕长宽(0~1.0f) 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下添加动态贴纸,AlivcLivePushInteractiveMode模式下暂时不支持添加动态贴纸
- (int) addMixAudio: | (int) | channels | |
format: | (int) | format | |
audioSample: | (int) | audioSample | |
添加音频混流设置 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下添加音频混流,AlivcLivePushInteractiveMode模式下暂时不支持添加音频混流
- (int) addMixVideo: | (int) | format | |
width: | (int) | width | |
height: | (int) | height | |
rotation: | (int) | rotation | |
displayX: | (float) | displayX | |
displayY: | (float) | displayY | |
displayW: | (float) | displayW | |
displayH: | (float) | displayH | |
adjustHeight: | (bool) | adjustHeight | |
添加视频混流设置 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下添加视频混流设置,AlivcLivePushInteractiveMode模式下暂时不支持添加视频混流设置
- (int) addWatermarkWithPath: | (NSString *) | path | |
watermarkCoordX: | (CGFloat) | coordX | |
watermarkCoordY: | (CGFloat) | coordY | |
watermarkWidth: | (CGFloat) | width | |
添加水印 最多支持3个水印
path | 水印路径 |
coordX | 水印左上顶点x的相对坐标 [0,1] |
coordY | 水印左上顶点y的相对坐标 [0,1] |
width | 水印的相对宽度 (水印会根据水印图片实际大小和水印宽度等比缩放) (0,1] |
- (void) changeMixVideoPosition: | (int) | handler | |
displayX: | (float) | displayX | |
displayY: | (float) | displayY | |
displayW: | (float) | displayW | |
displayH: | (float) | displayH | |
改变视频混流位置 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下改变视频混流位置,AlivcLivePushInteractiveMode模式下暂时不支持改变视频混流位置
- (void) destory |
销毁推流
- (int) focusCameraAtAdjustedPoint: | (CGPoint) | point | |
autoFocus: | (bool) | autoFocus | |
对焦
point | 对焦的点 |
autoFocus | 是否自动对焦 |
- (float) getCurrentExposure |
获取当前曝光度
- (float) getCurrentZoom |
获取当前变焦值
- (AlivcLivePushStatsInfo *) getLivePushStatusInfo |
获取推流数据统计
- (AlivcLivePushStatus) getLiveStatus |
获取当前推流状态
- (float) getMaxZoom |
获取支持的最大变焦值
- (NSString *) getPushURL |
获取当前推流URL
- (float) getSupportedMaxExposure |
获取支持最大曝光度
- (float) getSupportedMinExposure |
获取支持最小曝光度
+ (void) hideDebugView |
隐藏调试悬浮窗
- (instancetype) initWithConfig: | (AlivcLivePushConfig *) | config |
init
config | 推流配置 |
- (bool) inputMixAudioData: | (int) | handler | |
data: | (long) | dataptr | |
size: | (int) | size | |
pts: | (long) | pts | |
输入音频混流数据 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下输入音频混流数据,AlivcLivePushInteractiveMode模式下暂时不支持输入音频混流数据
- (void) inputMixVideoData: | (int) | handler | |
data: | (long) | dataptr | |
width: | (int) | width | |
height: | (int) | height | |
stride: | (int) | stride | |
size: | (int) | size | |
pts: | (long) | pts | |
rotation: | (int) | rotation | |
输入视频混流数据 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下输入视频混流数据,AlivcLivePushInteractiveMode模式下暂时不支持输入视频混流数据
- (BOOL) isPushing |
获取是否正在推流
- (int) pause |
暂停摄像头推流,如果pushCongfig 中设置了pauseImg图片,将推设置的静态图片
- (int) pauseBGM |
暂停播放背景音乐
- (int) reconnectPushAsync |
重连 异步接口
- (int) reconnectPushAsync: | (NSString *) | pushURL |
重连 异步接口
- (void) removeDynamicWaterMark: | (int) | vid |
删除动态贴纸 vid:贴纸id,add时返回的
- (void) removeMixAudio: | (int) | handler |
移除音频混流 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下移除音频混流,AlivcLivePushInteractiveMode模式下暂时不支持移除音频混流
- (void) removeMixVideo: | (int) | handler |
移除视频混流
- (int) restartPush |
重新推流 同步接口
- (int) restartPushAsync |
重新推流 异步接口
- (int) resume |
恢复摄像头推流 同步接口
- (int) resumeAsync |
恢复推流 异步接口
- (int) resumeBGM |
恢复播放背景音乐
- (void) sendAudioSampleBuffer: | (CMSampleBufferRef) | sampleBuffer | |
withType: | (RPSampleBufferType) | sampleBufferType | |
发送自定义的audio SampleBuffer 只限于replaykit录屏直播使用
sampleBuffer | audio sample buffer |
sampleBufferType | audio sample buffer type 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下发送自定义的audio SampleBuffer,AlivcLivePushInteractiveMode模式下暂时不支持发送自定义的audio SampleBuffer |
- (int) sendMessage: | (NSString *) | msg | |
repeatCount: | (int) | count | |
delayTime: | (int) | time | |
KeyFrameOnly: | (bool) | isKeyFrame | |
设置Message
msg | 用户推流消息 |
count | 重复次数 |
time | 延时时间,单位毫秒 |
isKeyFrame | 是否只发关键帧 |
- (void) sendPCMData: | (char *) | data | |
size: | (int) | size | |
sampleRate: | (int) | sampleRate | |
channel: | (int) | channel | |
pts: | (uint64_t) | pts | |
发送自定义音频数据
data | 音频数据 |
size | 数据大小 |
sampleRate | 采样率 |
channel | 声道数 |
pts | 时间戳(单位微秒) 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下发送自定义音频数据,AlivcLivePushInteractiveMode模式下暂时不支持发送自定义音频数据 |
- (void) sendVideoData: | (char *) | data | |
width: | (int) | width | |
height: | (int) | height | |
size: | (int) | size | |
pts: | (uint64_t) | pts | |
rotation: | (int) | rotation | |
发送自定义视频数据
data | 视频数据 |
width | 视频宽度 |
height | 视频高度 |
size | 数据大小 |
pts | 时间戳(单位微秒) |
rotation | 旋转 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下发送自定义视频数据,AlivcLivePushInteractiveMode模式下暂时不支持发送自定义视频数据 |
- (void) sendVideoSampleBuffer: | (CMSampleBufferRef) | sampleBuffer |
发送自定义video SampleBuffer
sampleBuffer | video sample buffer 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下发送自定义video SampleBuffer,AlivcLivePushInteractiveMode模式下暂时不支持发送自定义video SampleBuffer |
- (int) setAudioDenoise: | (bool) | isOpen |
设置降噪开关
isOpen | 是否打开降噪 true:开启 false:关闭 默认:true |
- (void) setAudioSampleDelegate: | (id< AlivcLivePusherAudioSampleDelegate >) | delegate |
设置音频裸数据回调
delegate | AlivcLivePusherAudioSampleDelegate |
- (int) setAutoFocus: | (bool) | autoFocus |
设置自动对焦
autoFocus | true:自动对焦 false:手动对焦 |
- (void) setBGMDelegate: | (id< AlivcLivePusherBGMDelegate >) | delegate |
设置背景音乐监听回调
delegate | AlivcLivePusherBGMDelegate |
- (int) setBGMEarsBack: | (bool) | isOpen |
设置背景音乐耳返开关
isOpen | 是否打开耳返 true:开启耳返 false:关闭耳返 |
- (int) setBGMLoop: | (bool) | isLoop |
设置背景音乐是否循环播放
isLoop | 是否循环 true:循环 false:不循环 |
- (int) setBGMVolume: | (int) | volume |
设置背景音乐混音 音乐音量
volume | 音乐音量大小 范围:[0 ~ 100] 默认:50 |
- (int) setCaptureVolume: | (int) | volume |
设置背景音乐混音 人声音量
volume | 人声音量大小 范围:[0 ~ 100] 默认:50 |
- (void) setCustomDetectorDelegate: | (id< AlivcLivePusherCustomDetectorDelegate >) | delegate |
设置用户自定义人脸识别回调
delegate | AlivcLivePusherCustomDetectorDelegate |
- (void) setCustomFilterDelegate: | (id< AlivcLivePusherCustomFilterDelegate >) | delegate |
设置用户自定义滤镜回调
delegate | AlivcLivePusherCustomFilterDelegate |
- (void) setErrorDelegate: | (id< AlivcLivePusherErrorDelegate >) | delegate |
设置推流错误监听回调
delegate | AlivcLivePusherErrorDelegate |
- (int) setExposure: | (float) | exposure |
设置曝光度
exposure | 曝光度 |
- (int) setFlash: | (bool) | flash |
闪光灯开关
flash | true:打开闪光灯 false:关闭闪光灯 |
- (void) setInfoDelegate: | (id< AlivcLivePusherInfoDelegate >) | delegate |
设置推流状态监听回调
delegate | AlivcLivePusherInfoDelegate |
- (int) setLiveMixTranscodingConfig: | (AlivcLiveTranscodingConfig *) | config |
设置云端的混流(转码)参数 一个直播间中可能有不止一位主播,而且每个主播都有自己的画面和声音,但对于 CDN 观众来说,他们只需要一路直播流 所以您需要将多路音视频流混成一路标准的直播流,这就需要混流转码 在连麦场景下,需要将主播和连麦观众音视频流混成一路标准的直播流,供CDN观众观看 在PK场景下,需要将进行PK的多个主播的音视频流混成一路标准的直播流,供CDN观众观看
config | 参考AlivcLiveDef.h中关于AlivcLiveTranscodingConfig的介绍,如果传入nil,则取消云端混流转码 |
- (int) setLogLevel: | ("Use AlivcLiveBase->setLogLevel instead.") | __deprecated_msg |
设置Log级别
level | Log级别 default:AlivcLivePushLogLevelError |
- (int) setLogPath: | (NSString *) | logPath | |
maxPartFileSizeInKB: | ("Use AlivcLiveBase->setLogPath:maxPartFileSizeInKB instead.") | __deprecated_msg | |
设置Log路径
logPath | Log路径 |
maxPartFileSizeInKB | 每个分片最大大小。最终日志总体积是 5*最大分片大小 |
- (int) setMinVideoBitrate: | (int) | minBitrate |
设置最小码率
minBitrate | 最小码率 [100 5000](Kbps) |
- (void) setMixVideoMirror: | (int) | handler | |
isMirror: | (BOOL) | isMirror | |
改变视频混流镜像 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下改变视频混流镜像,AlivcLivePushInteractiveMode模式下暂时不支持改变视频混流镜像
- (void) setMute: | (bool) | mute |
静音推流
mute | true:静音推流 false:正常推流 |
- (void) setNetworkDelegate: | (id< AlivcLivePusherNetworkDelegate >) | delegate |
设置推流网络监听回调
delegate | AlivcLivePusherNetworkDelegate |
- (void) setpreviewDisplayMode: | (AlivcPusherPreviewDisplayMode) | displayMode |
设置预览显示模式
displayMode | 预览显示模式 |
- (void) setPreviewMirror: | (bool) | mirror |
预览镜像开关
mirror | true:打开预览镜像 false:关闭预览镜像 |
- (void) setPushMirror: | (bool) | mirror |
推流镜像开关
mirror | true:打开推流镜像 false:关闭推流镜像 |
- (int) setQualityMode: | (AlivcLivePushQualityMode) | qualityMode |
设置推流模式
qualityMode | 推流模式 : 选择 ResolutionFirst 模式时,SDK内部会优先保障推流视频的清晰度; 选择 FluencyFirst 模式时,SDK内部会优先保障推流视频的流畅度,此接口只支持这两种模式。设置后码率设置失效。 |
- (void) setResolution: | (AlivcLivePushResolution) | resolution |
设置推流分辨率,只在预览模式下生效,推流中不能设置
resolution | 推流分辨率 |
- (void) setSnapshotDelegate: | (id< AlivcLivePusherSnapshotDelegate >) | delegate |
设置截图回调
- (int) setTargetVideoBitrate: | (int) | targetBitrate |
设置目标码率
targetBitrate | 目标码率 [100 5000](Kbps) |
- (void) setWatermarkVisible: | (bool) | visable |
设置水印显示和隐藏
visable | true:显示水印,false:隐藏水印 |
- (int) setZoom: | (float) | zoom |
缩放
zoom | 缩放值[0:MaxZoom] |
+ (void) showDebugView |
显示调试悬浮窗 注意 :Debug悬浮窗会占用一定的系统资源,只可用于APP研发的Debug阶段,Release版本请勿调用此接口
- (void) snapshot: | (int) | count | |
interval: | (int) | interval | |
截图,livePushMode = AlivcLivePushBasicMode 基础模式下可以指定count和interval, AlivcLivePushInteractiveMode模式下暂时不支持指定count和interval,传递任何值都不做解析,每次只截图一张画面 count:张数 interval:每张间隔(ms)
- (int) startBGMWithMusicPathAsync: | (NSString *) | path |
播放背景音乐
path | 背景音乐路径 |
- (int) startPreview: | (UIView *) | previewView |
开始预览 同步接口
previewView | 预览view |
- (int) startPreviewAsync: | (UIView *) | preview |
开始预览 异步接口
preview | 预览view |
- (int) startPushWithURL: | (NSString *) | pushURL |
开始推流 同步接口
pushURL | 推流URL |
- (int) startPushWithURLAsync: | (NSString *) | pushURL |
开始推流 异步接口
pushURL | 推流URL |
- (int) startScreenCapture: | (NSString *) | appGroup |
开始屏幕分享(该接口支持 iOS 11.0 及以上的 iPhone 和 iPad)。
appGroup | App group ID 主 App 与 Extension 共享的 Application Group Identifier,当前接口仅支持主 App 与 Extension 属于同一个App Group的情况,如果不存在App Group, 不可调用该接口。 注:当前SDK暂时只支持在livePushMode = AlivcLivePushBasicMode 模式下开始屏幕分享(录屏推流),AlivcLivePushInteractiveMode模式下暂时不支持开始屏幕分享(录屏推流) |
- (int) stopBGMAsync |
停止播放背景音乐
- (int) stopPreview |
停止预览
- (int) stopPush |
停止推流
- (int) switchCamera |
旋转摄像头