public interface IPolyvMediaController extends IMediaController
限定符和类型 | 方法和说明 |
---|---|
void |
destroy()
销毁,播放器destroy时主动调用
|
void |
release()
释放,播放器release时主动调用
|
void |
setMediaPlayer(IPolyvVideoView player)
设置播放器,在播放器中主动调用,或者播放器更新时主动调用
|
void |
setMediaPlayer(PolyvBaseMediaController.MediaPlayerControl player)
已过时。
|
void |
setViewBitRate(java.lang.String vid,
int bitRate)
设置视图的码率,用于视图上面显示码率按钮
|
hide, isShowing, setAnchorView, setEnabled, setMediaPlayer, show, show, showOnce
void setMediaPlayer(IPolyvVideoView player)
player
- @Deprecated void setMediaPlayer(PolyvBaseMediaController.MediaPlayerControl player)
setMediaPlayer(IPolyvVideoView)
方法,
#setMediaPlayer(IjkBaseMediaController.MediaPlayerControl)
方法和setMediaPlayer(IPolyvVideoView)
方法会同时调用,使用其中一个就可以了。player
- setMediaPlayer(IPolyvVideoView)
void setViewBitRate(java.lang.String vid, int bitRate)
vid
- 当前播放视频idbitRate
- 当前播放视频的码率void release()
void destroy()