public class PlayerConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
mClearFrameWhenStop
Indicate whether to clear the player surface when playback is stopped.
|
boolean |
mDisableAudio
Disable audio track.
|
boolean |
mDisableVideo
Disable video track.
|
boolean |
mEnableSEI
Indicate whether SEI is enabled.
|
boolean |
mEnableVideoTunnelRender
Indicate whether TunnelRender is enabled.
|
int |
mHighBufferDuration
Maximum buffer time.
|
java.lang.String |
mHttpProxy
HTTP proxy.
|
int |
mLiveStartIndex
The start playing index of fragments, when HLS is live, .
|
int |
mMaxBufferDuration
Maximum buffer size.
|
int |
mMaxDelayTime
Maximum delay time.
|
int |
mMaxProbeSize
Maximum probe size.
|
int |
mNetworkRetryCount
The maximum network reconnection attempts.
|
int |
mNetworkTimeout
Network connection timeout time.
|
int |
mPositionTimerIntervalMs
Set the frequencies of Progress.
|
java.lang.String |
mReferrer
Referer.
|
int |
mStartBufferDuration
The size of the data that the player must buffer before it can start playing the media.
|
java.lang.String |
mUserAgent
Set a request UserAgent.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getCustomHeaders() |
void |
setCustomHeaders(java.lang.String[] headers) |
public java.lang.String mHttpProxy
public java.lang.String mReferrer
public int mNetworkTimeout
public int mMaxDelayTime
public int mMaxBufferDuration
public int mHighBufferDuration
public int mStartBufferDuration
public int mMaxProbeSize
public boolean mClearFrameWhenStop
public boolean mEnableVideoTunnelRender
public boolean mEnableSEI
public java.lang.String mUserAgent
public int mNetworkRetryCount
public int mLiveStartIndex
public boolean mDisableAudio
public boolean mDisableVideo
public int mPositionTimerIntervalMs