Live Mode.
More...
|
| AlivcLiveMode (int value) |
|
int | getMode () |
|
Live Mode.
- Author
- baorunchen
- Date
- 2022/7/20
- Note
- Basic SDK: only support basic mode, push RTMP stream(rtmp://), or RTS stream(artc://)
-
Interactive SDK: support basic mode and interactive mode, push RTMP stream(rtmp://), or RTS stream(artc://), or interactive RTC stream(artc://live.aliyun.com)
- Call Example
mAlivcLivePushConfig.setLivePushMode(AlivcLiveMode.AlivcLiveInteractiveMode);
AlivcLivePlayer livePlayer = new AlivcLivePlayerImpl(context, AlivcLiveMode.AlivcLiveInteractiveMode);
- See also
- com.alivc.live.pusher.AlivcLivePushConfig::setLivePushMode(AlivcLiveMode)
-
com.alivc.live.player.AlivcLivePlayerImpl
-
AliLive Push SDK Doc
-
AliLive Push SDK Interactive Doc
-
AliLive Push SDK License Doc
Definition at line 22 of file AlivcLiveMode.java.
int com.alivc.live.annotations.AlivcLiveMode.getMode |
( |
| ) |
|
com.alivc.live.annotations.AlivcLiveMode.AlivcLiveBasicMode =(0) |
basic mode
- Note
- default mode
-
basic RTMP stream(rtmp://), or RTS stream(artc://)
-
Can not support real-time interactive stream, such as connecting to a microphone or PK.
-
If you don't have needs for interactive, such as a live broadcast, basic mode is recommended to you.
Definition at line 32 of file AlivcLiveMode.java.
com.alivc.live.annotations.AlivcLiveMode.AlivcLiveInteractiveMode =(1) |
interactive mode
- Note
- interactive RTC stream(artc://live.aliyun.com)
-
If you have needs for interactive, such as a live broadcast, please use it.
Definition at line 41 of file AlivcLiveMode.java.