AlivcLivePusher_Interactive v6.17.0
Aliyun Live Pusher Interactive SDK API Reference Manual for iOS Platforms
Loading...
Searching...
No Matches
AlivcLivePlayConfig Class Reference

直播连麦播放参数配置 More...

#include "AlivcLivePushDef.h"

Inheritance diagram for AlivcLivePlayConfig:

Properties

AliLiveAudioStreamType audioStreamType
 播放的音频流类型
 
BOOL autoStoppedPlayWhenUserLeaved
 远端用户退出房间后是否自动停止播放 default:true
 
BOOL mirror
 播放是否镜像 default:false,非镜像
 
AlivcLivePlayRenderMode renderMode
 渲染模式 default:AlivcLivePlayRenderModeAuto
 
AlivcLivePlayRotationMode rotationMode
 旋转角度 default: AlivcLivePlayRotationMode_0
 
AlivcLivePlayVideoStreamType videoStreamType
 视频流类型 default: AlivcLivePlayVideoStreamTypeCamera
 

Detailed Description

直播连麦播放参数配置

Property Documentation

◆ audioStreamType

- (AliLiveAudioStreamType) audioStreamType
readwritenonatomicassign

播放的音频流类型

Note
AliLiveAudioStreamTypeNo枚举无意义,不要设置该值 default: AliLiveAudioStreamTypeMic 麦克风流

◆ autoStoppedPlayWhenUserLeaved

- (BOOL) autoStoppedPlayWhenUserLeaved
readwritenonatomicassign

远端用户退出房间后是否自动停止播放 default:true

Note
远端用户退出房间后,当前SDK是自动调用了停止播放(stopPlay);如果不想要自动停止播放,可以将该开关设置成false,SDK将不在自动停止播放

◆ mirror

- (BOOL) mirror
readwritenonatomicassign

播放是否镜像 default:false,非镜像

◆ renderMode

- (AlivcLivePlayRenderMode) renderMode
readwritenonatomicassign

渲染模式 default:AlivcLivePlayRenderModeAuto

◆ rotationMode

- (AlivcLivePlayRotationMode) rotationMode
readwritenonatomicassign

旋转角度 default: AlivcLivePlayRotationMode_0

◆ videoStreamType

- (AlivcLivePlayVideoStreamType) videoStreamType
readwritenonatomicassign

视频流类型 default: AlivcLivePlayVideoStreamTypeCamera


The documentation for this class was generated from the following file: