AliVCSDK  4.5.1
阿里云音视频SDK,为视频开发者提供一站式接入服务
com.alivc.live.player.AlivcLivePlayConfig Class Reference

Live play config. More...

Public Member Functions

String toString ()
 

Public Attributes

AlivcLivePlayRenderMode renderMode = AlivcLivePlayRenderMode.AlivcLivePlayRenderModeAuto
 
AlivcLivePlayRotationMode rotationMode = AlivcLivePlayRotationMode.AlivcLivePlayRotationMode_0
 
boolean isMirror = false
 
boolean isFullScreen = false
 

Detailed Description

Live play config.

Author
baorunchen
Date
2022/8/10
Note
Now can only support interactive mode
Call Example
mAlivcLivePlayer.setupWithConfig(mAlivcLivePlayConfig);
See also
com.alivc.live.player.AlivcLivePlayer::setupWithConfig(AlivcLivePlayConfig)

Definition at line 18 of file AlivcLivePlayConfig.java.

Member Data Documentation

boolean com.alivc.live.player.AlivcLivePlayConfig.isFullScreen = false

is play full screen

Note
In the interactive mode, the SurfaceView is created internally, and add it to the frameLayout, it will change the zOrder of the SurfaceView internally.
If the player FrameLayout is full screen, it should be put at the bottom internally.

Definition at line 50 of file AlivcLivePlayConfig.java.

boolean com.alivc.live.player.AlivcLivePlayConfig.isMirror = false

play mirror

Default: false, not mirror

Definition at line 42 of file AlivcLivePlayConfig.java.

AlivcLivePlayRenderMode com.alivc.live.player.AlivcLivePlayConfig.renderMode = AlivcLivePlayRenderMode.AlivcLivePlayRenderModeAuto

play render mode

Default: AlivcLivePlayRenderModeAuto

See also
com.alivc.live.player.annotations.AlivcLivePlayRenderMode

Definition at line 26 of file AlivcLivePlayConfig.java.

AlivcLivePlayRotationMode com.alivc.live.player.AlivcLivePlayConfig.rotationMode = AlivcLivePlayRotationMode.AlivcLivePlayRotationMode_0

play rotation mode

Default: AlivcLivePlayRotationMode_0

See also
com.alivc.live.player.annotations.AlivcLivePlayRotationMode

Definition at line 35 of file AlivcLivePlayConfig.java.