Live push config. More...
Static Public Member Functions | |
static void | setMediaProjectionPermissionResultData (Intent mediaProjectionPermissionResultData) |
Static Public Attributes | |
static final String | CONFIG = "AlivcLivePushConfig" |
Live push config.
Definition at line 40 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.addWaterMark | ( | String | path, |
float | x, | ||
float | y, | ||
float | width | ||
) |
Add water mark
start position: [0,width) y[0,height),w(0,width], max count: 3
path | water mark path |
x | x 0~1 |
y | y 0~1 |
width | width 0~1 |
Definition at line 1292 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.clearWaterMark | ( | ) |
Remove all the water marks
Definition at line 1307 of file AlivcLivePushConfig.java.
AlivcImageFormat com.alivc.live.pusher.AlivcLivePushConfig.getAlivcExternMainImageFormat | ( | ) |
Get image format of external stream push
Default: IMAGE_FORMAT_YUV420P
Definition at line 1170 of file AlivcLivePushConfig.java.
AlivcSoundFormat com.alivc.live.pusher.AlivcLivePushConfig.getAlivcExternMainSoundFormat | ( | ) |
Get audio format of external stream push
Default: SOUND_FORMAT_S16
Definition at line 1193 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getAudioBitRate | ( | ) |
Get audio bitrate
Default: 64k
Definition at line 988 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.getAudioCaptureWithoutMix | ( | ) |
The status of audio capture without mix
Default: false, turn off
Definition at line 1275 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getAudioChannels | ( | ) |
Get audio channels
Default: stereo
Definition at line 814 of file AlivcLivePushConfig.java.
AlivcEncodeModeEnum com.alivc.live.pusher.AlivcLivePushConfig.getAudioEncodeMode | ( | ) |
Get audio encode mode
Default: software encode
Definition at line 773 of file AlivcLivePushConfig.java.
AlivcAudioAACProfileEnum com.alivc.live.pusher.AlivcLivePushConfig.getAudioProfile | ( | ) |
Get audio profile
Default: AAC_LC
Definition at line 965 of file AlivcLivePushConfig.java.
AlivcAudioSampleRateEnum com.alivc.live.pusher.AlivcLivePushConfig.getAudioSampleRate | ( | ) |
Get push audio sample rate
Default: 48k
Definition at line 351 of file AlivcLivePushConfig.java.
AlivcAudioSceneModeEnum com.alivc.live.pusher.AlivcLivePushConfig.getAudioSceneMode | ( | ) |
Get audio scene mode
Default: DEFAULT_MODE MEDIA_MODE: Optimization of media sound scene and noise reduction MUSIC_MODE: Set the background sound scene, high fidelity optimization
Definition at line 1013 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getBFrames | ( | ) |
Get the number of B-Frames
Default: 0
Definition at line 328 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getCameraType | ( | ) |
Get push camera type
Default: front
Definition at line 424 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getConnectRetryCount | ( | ) |
Get connect retry count
Default: 5
Definition at line 658 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getConnectRetryInterval | ( | ) |
Get connect retry interval
Default: 1000ms
Definition at line 680 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getExposure | ( | ) |
Get camera exposure
Range: [0,100]
Default: 0
Definition at line 860 of file AlivcLivePushConfig.java.
String com.alivc.live.pusher.AlivcLivePushConfig.getExtraInfo | ( | ) |
int com.alivc.live.pusher.AlivcLivePushConfig.getFps | ( | ) |
Get push video capture fps
Definition at line 267 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getHeight | ( | ) |
int com.alivc.live.pusher.AlivcLivePushConfig.getInitialVideoBitrate | ( | ) |
Get initial video encode bitrate
Definition at line 637 of file AlivcLivePushConfig.java.
AlivcLiveMode com.alivc.live.pusher.AlivcLivePushConfig.getLivePushMode | ( | ) |
Intent com.alivc.live.pusher.AlivcLivePushConfig.getMediaProjectionPermissionResultData | ( | ) |
Get screen capture intent from system
Definition at line 1061 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getMinFps | ( | ) |
int com.alivc.live.pusher.AlivcLivePushConfig.getMinVideoBitrate | ( | ) |
Get min video encode bitrate
Definition at line 307 of file AlivcLivePushConfig.java.
AlivcLivePushMonitorLevel com.alivc.live.pusher.AlivcLivePushConfig.getMonitorLevel | ( | ) |
Get SDK monitor level
Definition at line 244 of file AlivcLivePushConfig.java.
String com.alivc.live.pusher.AlivcLivePushConfig.getNetworkPoorPushImage | ( | ) |
Get path for the network poor image
Definition at line 619 of file AlivcLivePushConfig.java.
String com.alivc.live.pusher.AlivcLivePushConfig.getPausePushImage | ( | ) |
Get path for the pause push image
Definition at line 601 of file AlivcLivePushConfig.java.
AlivcPreviewDisplayMode com.alivc.live.pusher.AlivcLivePushConfig.getPreviewDisplayMode | ( | ) |
Get preview display mode
Default: ASPECT_FIT
Definition at line 1217 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getPreviewOrientation | ( | ) |
Get push preview orientation
Default: portrait
Definition at line 374 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getPreviewRotation | ( | ) |
Get preview rotation
This api is provided for the non-standard Android box
Default: 0
Definition at line 399 of file AlivcLivePushConfig.java.
AlivcQualityModeEnum com.alivc.live.pusher.AlivcLivePushConfig.getQualityMode | ( | ) |
Get video quality mode
Default: RESOLUTION_FIRST
Definition at line 1051 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.getRequireRenderContextNotify | ( | ) |
The status of the notify of OpenGL render context
Default: false, turn off
Definition at line 1253 of file AlivcLivePushConfig.java.
AlivcResolutionEnum com.alivc.live.pusher.AlivcLivePushConfig.getResolution | ( | ) |
Get push resolution
Default: 540p
Definition at line 184 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getSendDataTimeout | ( | ) |
Get RTMP send data timeout
Default: 3000ms
Definition at line 581 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getTargetVideoBitrate | ( | ) |
Get target video encode bitrate
Definition at line 288 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getVideoEncodeGop | ( | ) |
Get video encode gop
Default: 2s
Definition at line 836 of file AlivcLivePushConfig.java.
AlivcEncodeModeEnum com.alivc.live.pusher.AlivcLivePushConfig.getVideoEncodeMode | ( | ) |
Get video encode mode
Default: hardware encode
Definition at line 725 of file AlivcLivePushConfig.java.
AlivcEncodeType com.alivc.live.pusher.AlivcLivePushConfig.getVideoEncodeType | ( | ) |
Get video encode type
Default: H264
Definition at line 749 of file AlivcLivePushConfig.java.
int com.alivc.live.pusher.AlivcLivePushConfig.getWidth | ( | ) |
boolean com.alivc.live.pusher.AlivcLivePushConfig.isAudioOnly | ( | ) |
Get push audio only
Default: false
Definition at line 469 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.isAutoFocus | ( | ) |
Get camera auto focus
Default: true
Definition at line 513 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.isEnableAutoResolution | ( | ) |
The status of auto resolution
Default: false, close auto resolution
Definition at line 1104 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.isEnableBitrateControl | ( | ) |
The status of bitrate control
Default: true, open bitrate control
Definition at line 1082 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.isEnableNarrowbandHDForScreenPusher | ( | ) |
Get the status of narrowband HD when using screen pusher
Lower bandwidth, higher clarity
Default: true
Definition at line 929 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.isExternMainStream | ( | ) |
The status of external stream push
Default: false, close external stream push
Definition at line 1126 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.isFlash | ( | ) |
Get status of the camera flash
Default: false, close camera flash
Definition at line 559 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.isFocusBySensor | ( | ) |
Get focus by sensor
Default: false
Definition at line 535 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.isPreviewMirror | ( | ) |
Get preview mirror
Default: false, preview not mirror
Definition at line 447 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.isPushMirror | ( | ) |
Get push mirror
Default: false
Definition at line 702 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.isVideoOnly | ( | ) |
Get push video only
Default: false
Definition at line 491 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.removeWaterMark | ( | String | path | ) |
Remove water mark
path | water mark path |
Definition at line 1317 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setAlivcExternMainImageFormat | ( | AlivcImageFormat | alivcExternMainImageFormat | ) |
Set image format of external stream push
Default: IMAGE_FORMAT_YUV420P
Definition at line 1181 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setAlivcExternMainSoundFormat | ( | AlivcSoundFormat | soundFormat | ) |
Set audio format of external stream push
Default: SOUND_FORMAT_S16
soundFormat | audio format |
Definition at line 1205 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setAudioBitRate | ( | int | audioBitRate | ) |
Set audio bitrate
Default: 64k
audioBitRate | audio bitrate |
Definition at line 999 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setAudioCaptureWithoutMix | ( | boolean | on | ) |
Open audio capture without mix
Default: false, turn off
on | turn on or off |
Definition at line 1264 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setAudioChannels | ( | AlivcAudioChannelEnum | audioChannels | ) |
Set audio channels
Default: stereo
audioChannels | audio channels |
Definition at line 825 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setAudioEncodeMode | ( | AlivcEncodeModeEnum | audioEncodeMode | ) |
Set audio encode mode
Default: software encode
audioEncodeMode | audio encode mode |
Definition at line 785 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setAudioOnly | ( | boolean | audioOnly | ) |
Set push audio only
Default: false
audioOnly | audio only |
Definition at line 480 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setAudioProfile | ( | AlivcAudioAACProfileEnum | audioProfile | ) |
Set audio profile
Default: AAC_LC
audioProfile | audio profile |
Definition at line 977 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setAudioSampleRate | ( | AlivcAudioSampleRateEnum | audioSample | ) |
Set push audio sample rate
Default: 48k
audioSample | audio sample rate |
Definition at line 363 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setAudioSceneMode | ( | AlivcAudioSceneModeEnum | audioSceneMode | ) |
Set audio scene mode
Default: DEFAULT_MODE MEDIA_MODE: Optimization of media sound scene and noise reduction MUSIC_MODE: Set the background sound scene, high fidelity optimization
audioSceneMode | audio scene mode |
Definition at line 1027 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setAutoFocus | ( | boolean | autoFocus | ) |
Set camera auto focus
Default: true
autoFocus | camera auto focus |
Definition at line 524 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setBFrames | ( | int | bFrame | ) |
Set the number of B-Frames
Default: 0
bFrame | B-Frames number |
Definition at line 339 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setCameraType | ( | AlivcLivePushCameraTypeEnum | cameraType | ) |
Set push camera type
Default: front
cameraType | push camera type |
Definition at line 436 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setConnectRetryCount | ( | int | connectRetryCount | ) |
Set connect retry count
Default: 5
connectRetryCount | connect retry count |
Definition at line 669 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setConnectRetryInterval | ( | int | connectRetryInterval | ) |
Set connect retry interval
Default: 1000ms
connectRetryInterval | connect retry interval, millisecond |
Definition at line 691 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setEnableAutoResolution | ( | boolean | enableAutoResolution | ) |
Enable auto resolution
Default: false, close auto resolution
enableAutoResolution | auto resolution |
Definition at line 1115 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setEnableBitrateControl | ( | boolean | enableBitrateControl | ) |
Enable bitrate control
Default: true, open bitrate control
enableBitrateControl | bitrate control |
Definition at line 1093 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setEnableNarrowbandHDForScreenPusher | ( | boolean | enable | ) |
Turn on the narrowband HD switch when using screen pusher
Lower bandwidth, higher clarity
Default: true
enable | turn on or off |
Definition at line 916 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setExposure | ( | int | exposure | ) |
Set camera exposure
Range: [0,100]
Default: 0
exposure | camera exposure |
Definition at line 873 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setExternMainStream | ( | boolean | externMainStream | ) |
Open or close external stream push (third push)
When you open external stream push, the SDK will no longer capture audio and video, only retains encoding and transmission capabilities.
Default: false, close external stream push
externMainStream | external stream push flag |
Definition at line 1140 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setExternMainStream | ( | boolean | externMainStream, |
AlivcImageFormat | imageFormat, | ||
AlivcSoundFormat | soundFormat | ||
) |
Open or close external stream push (third push)
When you open external stream push, the SDK will no longer capture audio and video, only retains encoding and transmission capabilities.
externMainStream | external stream push flag |
imageFormat | image format |
soundFormat | audio format |
Definition at line 1156 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setExtraInfo | ( | String | extraInfo | ) |
Set extra info
Such as userID, it's used to troubleshoot problems.
extraInfo | extra info |
Definition at line 233 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setFlash | ( | boolean | flash | ) |
Set camera flash
Default: false, close camera flash
flash | camera flash |
Definition at line 570 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setFocusBySensor | ( | boolean | focusBySensor | ) |
Set focus by sensor
This api is provided for some Android boxes which has problems with continuous autofocus algorithms.
Default: false
focusBySensor | sensor focus |
Definition at line 548 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setFps | ( | AlivcFpsEnum | fps | ) |
Set video capture fps
Default: 20fps
fps | video capture fps |
Definition at line 279 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setInitialVideoBitrate | ( | int | initialVideoBitrate | ) |
Set initial video encode bitrate
initialVideoBitrate | initial video encode bitrate |
Definition at line 646 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setLivePushMode | ( | AlivcLiveMode | pushMode | ) |
Set live push mode
Default: Basic mode
pushMode | live push mode |
Basic mode: push rtmp stream, prefix: 'rtmp://', or push rts stream, prefix: 'artc://'
Interactive mode: push rtc stream, prefix: 'artc://live.aliyun.com/push/'
Definition at line 158 of file AlivcLivePushConfig.java.
|
static |
Set screen capture intent from system
mediaProjectionPermissionResultData | screen capture intent from system |
Definition at line 1071 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setMinFps | ( | AlivcFpsEnum | minFps | ) |
Set min fps
Default: 8
minFps | min fps |
Definition at line 953 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setMinVideoBitrate | ( | int | minBitrate | ) |
Set min video encode bitrate
minBitrate | min video encode bitrate |
Definition at line 316 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setMonitorLevel | ( | AlivcLivePushMonitorLevel | monitorLevel | ) |
Set SDK monitor level
For embedded scenarios, you can specify to simplify monitoring information
Default: All
monitorLevel | monitor level |
Definition at line 258 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setNetworkPoorPushImage | ( | String | path | ) |
Set path for the network poor image
path | network poor image path |
Definition at line 628 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setPausePushImage | ( | String | path | ) |
Set path for the pause push image
path | pause push image path |
Definition at line 610 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setPreviewDisplayMode | ( | AlivcPreviewDisplayMode | displayMode | ) |
Set preview display mode
Default: ASPECT_FIT
displayMode | preview display mode |
Definition at line 1229 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setPreviewMirror | ( | boolean | mirror | ) |
Set preview mirror
Default: false, preview not mirror
mirror | preview mirror |
Definition at line 458 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setPreviewOrientation | ( | AlivcPreviewOrientationEnum | previewOrientation | ) |
Set push preview orientation
Default: portrait
previewOrientation | push preview orientation |
Definition at line 386 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setPreviewRotation | ( | AlivcPreviewRotationEnum | rotation | ) |
Set preview rotation
This api is provided for the non-standard Android box
Default: 0
rotation | preview rotation |
Definition at line 413 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setPushMirror | ( | boolean | pushMirror | ) |
Set push mirror
Default: false
pushMirror | push mirror |
Definition at line 713 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setQualityMode | ( | AlivcQualityModeEnum | quality | ) |
Set video quality mode
Default: RESOLUTION_FIRST
quality | video quality mode |
Definition at line 1039 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setRequireRenderContextNotify | ( | boolean | enable | ) |
Open the notify of OpenGL render context
Default: false, turn off
enable | turn on or off |
Definition at line 1241 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setResolution | ( | AlivcResolutionEnum | resolution | ) |
Set push resolution
Default: 540p
resolution | resolution, support 180P/240P/360P/480P/540P/720P/1080P, or self define resolution |
Definition at line 196 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setSendDataTimeout | ( | int | sendDataTimeout | ) |
Set RTMP send data timeout
Default: 3000ms
sendDataTimeout | send timeout, millisecond |
Definition at line 592 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setTargetVideoBitrate | ( | int | targetBitRate | ) |
Set target video encode bitrate
targetBitRate | target video encode bitrate |
Definition at line 297 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setUseAliPlayerForBGM | ( | boolean | useAliPlayerForBGM | ) |
Set whether use AliPlayer to play BGM or not
The built-in player supports most scenarios. If you need to play special formats, you can switch to the AliPlayer. You need to add the dependency of AliPlayer which the version is 5.4.1 or above.
Default: false, use built-in player
useAliPlayerForBGM | use AliPlayer or not |
Definition at line 888 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setVideoEncodeGop | ( | AlivcVideoEncodeGopEnum | videoEncodeGop | ) |
Set video encode gop
Default: 2s
videoEncodeGop | video encode gop, seconds |
Definition at line 847 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setVideoEncodeMode | ( | AlivcEncodeModeEnum | videoEncodeMode | ) |
Set video encode mode
Default: hardware encode
videoEncodeMode | video encode mode |
Definition at line 737 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setVideoEncodeType | ( | AlivcEncodeType | videoEncodeType | ) |
Set video encode type
Default: H264
videoEncodeType | video encode type |
Definition at line 761 of file AlivcLivePushConfig.java.
void com.alivc.live.pusher.AlivcLivePushConfig.setVideoOnly | ( | boolean | videoOnly | ) |
Set push video only
Default: false
videoOnly | video only |
Definition at line 502 of file AlivcLivePushConfig.java.
boolean com.alivc.live.pusher.AlivcLivePushConfig.useAliPlayerForBGM | ( | ) |
Get whether use AliPlayer to play BGM or not
The built-in player supports most scenarios. If you need to play special formats, you can switch to the AliPlayer. You need to add the dependency of AliPlayer which the version is 5.4.1 or above.
Default: false, use built-in player
Definition at line 903 of file AlivcLivePushConfig.java.