直播播放服务
- Author
- puke
- Version
- 2021/7/2
◆ getDuration()
long com.aliyun.roompaas.live.exposable.LivePlayerService.getDuration |
( |
| ) |
|
◆ getLastTriggerPlayUrl()
String com.aliyun.roompaas.live.exposable.LivePlayerService.getLastTriggerPlayUrl |
( |
| ) |
|
获取最后一次尝试播放的url地址,忽略播放状态(是否成功播放未知)
- Returns
- 最后尝试播放的url
◆ pausePlay()
void com.aliyun.roompaas.live.exposable.LivePlayerService.pausePlay |
( |
| ) |
|
◆ playUrl()
SurfaceView com.aliyun.roompaas.live.exposable.LivePlayerService.playUrl |
( |
String |
url | ) |
|
◆ refreshPlay()
void com.aliyun.roompaas.live.exposable.LivePlayerService.refreshPlay |
( |
| ) |
|
◆ resumePlay()
void com.aliyun.roompaas.live.exposable.LivePlayerService.resumePlay |
( |
| ) |
|
◆ seekTo()
void com.aliyun.roompaas.live.exposable.LivePlayerService.seekTo |
( |
long |
position | ) |
|
◆ setMutePlay()
void com.aliyun.roompaas.live.exposable.LivePlayerService.setMutePlay |
( |
boolean |
mute | ) |
|
◆ setPlayerConfig()
void com.aliyun.roompaas.live.exposable.LivePlayerService.setPlayerConfig |
( |
AliLivePlayerConfig |
playerConfig | ) |
|
设置AliLivePlayerConfig 参数
- Parameters
-
◆ setUtcTimeListener()
void com.aliyun.roompaas.live.exposable.LivePlayerService.setUtcTimeListener |
( |
LivePlayerManager.UtcTimeListener |
utcTimeListener | ) |
|
设置utcTime回调,获取到utcTime
- Parameters
-
◆ setViewContentMode()
void com.aliyun.roompaas.live.exposable.LivePlayerService.setViewContentMode |
( |
@CanvasScale.Mode int |
mode | ) |
|
◆ stopPlay()
void com.aliyun.roompaas.live.exposable.LivePlayerService.stopPlay |
( |
| ) |
|
◆ tryPlay()
void com.aliyun.roompaas.live.exposable.LivePlayerService.tryPlay |
( |
Callback< View > |
callback | ) |
|
◆ updatePositionTimerInternalMs()
void com.aliyun.roompaas.live.exposable.LivePlayerService.updatePositionTimerInternalMs |
( |
long |
internal | ) |
|
recommend to invoke this API when player is paused
- Parameters
-
The documentation for this interface was generated from the following file:
- /Users/puke/AndroidStudioProjects/room-paas-android/export_api/live/src/main/java/com/aliyun/roompaas/live/exposable/LivePlayerService.java