PlayerConfig
该类提供播放器设置的相关方法。
Java
public class PlayerConfig {
public void setAutoPlay(boolean autoPlay) throws RteException;
public boolean getAutoPlay() throws RteException;
public void setAbrSubscriptionLayer(Constants.AbrSubscriptionLayer subscriptionLayer) throws RteException;
public Constants.AbrSubscriptionLayer getAbrSubscriptionLayer() throws RteException;
public void setAbrFallbackLayer(Constants.AbrFallbackLayer fallbackLayer) throws RteException;
public Constants.AbrFallbackLayer getAbrFallbackLayer() throws RteException;
}
自从
v4.5.0
方法
setAutoPlay
设置是否自动播放。详见 setAutoPlay。
getAutoPlay
获取自动播放设置。详见 getAutoPlay。
setAbrSubscriptionLayer
设置订阅的媒体流的质量层级。详见 setAbrSubscriptionLayer。
getAbrSubscriptionLayer
获取所订阅的视频流的质量层级。详见 getAbrSubscriptionLayer。
setAbrFallbackLayer
设置订阅的视频流的回退选项。详见 setAbrFallbackLayer。
getAbrFallbackLayer
获取设置的视频流回退选项。详见 getAbrFallbackLayer。