public class VidSourceBase extends SourceBase
限定符和类型 | 类和说明 |
---|---|
static class |
VidSourceBase.OutputType |
static class |
VidSourceBase.ResultType |
static class |
VidSourceBase.StreamType |
mForceQuality, mQuality
构造器和说明 |
---|
VidSourceBase() |
限定符和类型 | 方法和说明 |
---|---|
long |
getAuthTimeout() |
protected java.lang.String |
getDefinitionStr() |
java.util.List<MediaFormat> |
getFormats()
Query the formats of the returned data.
|
protected java.lang.String |
getFormatStr() |
VidSourceBase.OutputType |
getOutputType() |
protected java.lang.String |
getOutputTypeStr() |
java.lang.String |
getPlayConfig()
Query playback parameters.
|
java.lang.String |
getReAuthInfo() |
protected java.lang.String |
getReAuthInfoStr() |
VidSourceBase.ResultType |
getResultType() |
protected java.lang.String |
getResultTypeStr() |
java.util.Set<VidSourceBase.StreamType> |
getStreamType() |
protected java.lang.String |
getStreamTypeStr() |
void |
setAuthTimeout(long authTimeout) |
void |
setDefinition(java.util.List<Definition> definitions)
设置点播服务器返回的码率清晰度类型。
|
void |
setFormats(java.util.List<MediaFormat> formats)
Specify the formats of the returned data.
|
void |
setOutputType(VidSourceBase.OutputType outputType) |
void |
setPlayConfig(VidPlayerConfigGen playConfig)
Set playback parameters.
|
void |
setReAuthInfo(java.lang.String reAuthInfo) |
void |
setResultType(VidSourceBase.ResultType resultType) |
void |
setStreamType(java.util.Set<VidSourceBase.StreamType> streamTypes) |
getCoverPath, getQuality, getTitle, isForceQuality, setCoverPath, setTitle
public java.util.Set<VidSourceBase.StreamType> getStreamType()
public void setStreamType(java.util.Set<VidSourceBase.StreamType> streamTypes)
public java.lang.String getReAuthInfo()
public void setReAuthInfo(java.lang.String reAuthInfo)
public VidSourceBase.ResultType getResultType()
public void setResultType(VidSourceBase.ResultType resultType)
public long getAuthTimeout()
public void setAuthTimeout(long authTimeout)
protected java.lang.String getOutputTypeStr()
protected java.lang.String getReAuthInfoStr()
protected java.lang.String getResultTypeStr()
protected java.lang.String getStreamTypeStr()
public java.lang.String getPlayConfig()
public void setPlayConfig(VidPlayerConfigGen playConfig)
playConfig
- The playback parameters.public java.util.List<MediaFormat> getFormats()
public void setFormats(java.util.List<MediaFormat> formats)
formats
- The formats of the returned data.protected java.lang.String getFormatStr()
public void setDefinition(java.util.List<Definition> definitions)
definitions
- 类型集合。注意:如果类型集合中包含有Definition#DEFINITION_AUTO,那么只会返回Definition#DEFINITION_AUTO的清晰度。protected java.lang.String getDefinitionStr()
public VidSourceBase.OutputType getOutputType()
public void setOutputType(VidSourceBase.OutputType outputType)