net.polyv.live.v1.service.player
接口 ILivePlayerService

所有已知实现类:
LivePlayerServiceImpl

public interface ILivePlayerService

直播签到管理


方法摘要
 Boolean setPlayerHeaderAdvert(LiveSetPlayerHeaderAdvertRequest liveSetPlayerHeaderAdvertRequest)
          设置播放器片头广告,API地址:https://dev.polyv.net/2018/liveproduct/l-player/updatehead/
 Boolean setPlayerImg(LiveSetPlayerImgRequest liveSetPlayerImgRequest)
          设置播放器暖场图片,API地址:https://dev.polyv.net/2017/liveproduct/l-player/updatecoverimage/
 Boolean setPlayerLogo(LiveSetPlayerLogoRequest liveSetWarmupEnableRequest)
          设置播放器Logo,API地址:https://dev.polyv.net/2016/liveproduct/l-player/updatelogo/
 Boolean setPlayerPauseAdvert(LiveSetPlayerPauseAdvertRequest liveSetPlayerPauseAdvertRequest)
          设置播放器暂停广告,API地址:https://dev.polyv.net/2018/liveproduct/l-player/updatestop/
 Boolean setPlayerWarmupEnable(LiveSetWarmupEnableRequest liveSetWarmupEnableRequest)
          设置频道的暖场设置开关,API地址:https://dev.polyv.net/2019/liveproduct/l-player/set-warmup-enabled/
 Boolean setPlayerWarmUpVedio(LiveSetWarmupVedioRequest liveSetWarmupVedioRequest)
          设置播放器暖场视频,API地址:https://dev.polyv.net/2016/liveproduct/l-player/updatewarmupflv/
 

方法详细信息

setPlayerImg

Boolean setPlayerImg(LiveSetPlayerImgRequest liveSetPlayerImgRequest)
                     throws IOException,
                            NoSuchAlgorithmException
设置播放器暖场图片,API地址:https://dev.polyv.net/2017/liveproduct/l-player/updatecoverimage/

参数:
liveSetPlayerImgRequest - 设置播放器暖场图片请求实体
返回:
响应实体
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

setPlayerWarmupEnable

Boolean setPlayerWarmupEnable(LiveSetWarmupEnableRequest liveSetWarmupEnableRequest)
                              throws IOException,
                                     NoSuchAlgorithmException
设置频道的暖场设置开关,API地址:https://dev.polyv.net/2019/liveproduct/l-player/set-warmup-enabled/

参数:
liveSetWarmupEnableRequest - 设置频道的暖场设置开关
返回:
响应实体
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

setPlayerLogo

Boolean setPlayerLogo(LiveSetPlayerLogoRequest liveSetWarmupEnableRequest)
                      throws IOException,
                             NoSuchAlgorithmException
设置播放器Logo,API地址:https://dev.polyv.net/2016/liveproduct/l-player/updatelogo/

参数:
liveSetWarmupEnableRequest - 设置播放器Logo请求实体
返回:
响应实体
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

setPlayerPauseAdvert

Boolean setPlayerPauseAdvert(LiveSetPlayerPauseAdvertRequest liveSetPlayerPauseAdvertRequest)
                             throws IOException,
                                    NoSuchAlgorithmException
设置播放器暂停广告,API地址:https://dev.polyv.net/2018/liveproduct/l-player/updatestop/

参数:
liveSetPlayerPauseAdvertRequest - 设置播放器暂停广告请求实体
返回:
响应实体
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

setPlayerHeaderAdvert

Boolean setPlayerHeaderAdvert(LiveSetPlayerHeaderAdvertRequest liveSetPlayerHeaderAdvertRequest)
                              throws IOException,
                                     NoSuchAlgorithmException
设置播放器片头广告,API地址:https://dev.polyv.net/2018/liveproduct/l-player/updatehead/

参数:
liveSetPlayerHeaderAdvertRequest - 设置播放器片头广告请求实体
返回:
响应实体
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

setPlayerWarmUpVedio

Boolean setPlayerWarmUpVedio(LiveSetWarmupVedioRequest liveSetWarmupVedioRequest)
                             throws IOException,
                                    NoSuchAlgorithmException
设置播放器暖场视频,API地址:https://dev.polyv.net/2016/liveproduct/l-player/updatewarmupflv/

参数:
liveSetWarmupVedioRequest - 设置播放器暖场视频请求实体
返回:
响应实体
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常


Copyright © 2020. All Rights Reserved.