Live play parameter settings.
More...
#include "AlivcLivePushDef.h"
|
AliLiveAudioStreamType | audioStreamType |
| audio stream type default: AliLiveAudioStreamTypeMic microphone stream
|
|
BOOL | autoStoppedPlayWhenUserLeaved |
| Whether the remote user will automatically stop playing after leaving the room default:true.
|
|
BOOL | mirror |
| Whether play is mirrored.
|
|
AlivcLivePlayRenderMode | renderMode |
| The rendering mode default:AlivcLivePlayRenderModeAuto.
|
|
AlivcLivePlayRotationMode | rotationMode |
| The rotation angle default: AlivcLivePlayRotationMode_0.
|
|
AlivcLivePlayVideoStreamType | videoStreamType |
| Video stream type default: AlivcLivePlayVideoStreamTypeCamera.
|
|
Live play parameter settings.
◆ audioStreamType
- (AliLiveAudioStreamType) audioStreamType |
|
readwritenonatomicassign |
audio stream type default: AliLiveAudioStreamTypeMic microphone stream
◆ autoStoppedPlayWhenUserLeaved
- (BOOL) autoStoppedPlayWhenUserLeaved |
|
readwritenonatomicassign |
Whether the remote user will automatically stop playing after leaving the room default:true.
- Note
- After the remote user leave the room, the current SDK automatically calls stopPlay; if you do not want to automatically stop playback, you can set the switch to false, and the SDK will no longer automatically stop playback.
◆ mirror
Whether play is mirrored.
default:false
◆ renderMode
- (AlivcLivePlayRenderMode) renderMode |
|
readwritenonatomicassign |
The rendering mode default:AlivcLivePlayRenderModeAuto.
◆ rotationMode
- (AlivcLivePlayRotationMode) rotationMode |
|
readwritenonatomicassign |
The rotation angle default: AlivcLivePlayRotationMode_0.
◆ videoStreamType
- (AlivcLivePlayVideoStreamType) videoStreamType |
|
readwritenonatomicassign |
Video stream type default: AlivcLivePlayVideoStreamTypeCamera.
The documentation for this class was generated from the following file: