Class ServiceDescriptionElement
- java.lang.Object
-
- com.google.android.exoplayer2.source.dash.manifest.ServiceDescriptionElement
-
public final class ServiceDescriptionElement extends Object
Represents a service description element.
-
-
Field Summary
Fields Modifier and Type Field Description long
maxOffsetMs
The maximum live offset in milliseconds, orC.TIME_UNSET
if undefined.float
maxPlaybackSpeed
The maximum factor by which playback can be sped up for live speed adjustment, orC.RATE_UNSET
if undefined.long
minOffsetMs
The minimum live offset in milliseconds, orC.TIME_UNSET
if undefined.float
minPlaybackSpeed
The minimum factor by which playback can be sped up for live speed adjustment, orC.RATE_UNSET
if undefined.long
targetOffsetMs
The target live offset in milliseconds, orC.TIME_UNSET
if undefined.
-
Constructor Summary
Constructors Constructor Description ServiceDescriptionElement(long targetOffsetMs, long minOffsetMs, long maxOffsetMs, float minPlaybackSpeed, float maxPlaybackSpeed)
Creates a service description element.
-
-
-
Field Detail
-
targetOffsetMs
public final long targetOffsetMs
The target live offset in milliseconds, orC.TIME_UNSET
if undefined.
-
minOffsetMs
public final long minOffsetMs
The minimum live offset in milliseconds, orC.TIME_UNSET
if undefined.
-
maxOffsetMs
public final long maxOffsetMs
The maximum live offset in milliseconds, orC.TIME_UNSET
if undefined.
-
minPlaybackSpeed
public final float minPlaybackSpeed
The minimum factor by which playback can be sped up for live speed adjustment, orC.RATE_UNSET
if undefined.
-
maxPlaybackSpeed
public final float maxPlaybackSpeed
The maximum factor by which playback can be sped up for live speed adjustment, orC.RATE_UNSET
if undefined.
-
-
Constructor Detail
-
ServiceDescriptionElement
public ServiceDescriptionElement(long targetOffsetMs, long minOffsetMs, long maxOffsetMs, float minPlaybackSpeed, float maxPlaybackSpeed)
Creates a service description element.- Parameters:
targetOffsetMs
- The target live offset in milliseconds, orC.TIME_UNSET
if undefined.minOffsetMs
- The minimum live offset in milliseconds, orC.TIME_UNSET
if undefined.maxOffsetMs
- The maximum live offset in milliseconds, orC.TIME_UNSET
if undefined.minPlaybackSpeed
- The minimum factor by which playback can be sped up for live speed adjustment, orC.RATE_UNSET
if undefined.maxPlaybackSpeed
- The maximum factor by which playback can be sped up for live speed adjustment, orC.RATE_UNSET
if undefined.
-
-