ServiceDescriptionElement


@UnstableApi
class ServiceDescriptionElement


Represents a service description element.

Summary

Public constructors

ServiceDescriptionElement(
    targetOffsetMs: Long,
    minOffsetMs: Long,
    maxOffsetMs: Long,
    minPlaybackSpeed: Float,
    maxPlaybackSpeed: Float
)

Creates a service description element.

Public properties

Long

The maximum live offset in milliseconds, or TIME_UNSET if undefined.

Float

The maximum factor by which playback can be sped up for live speed adjustment, or RATE_UNSET if undefined.

Long

The minimum live offset in milliseconds, or TIME_UNSET if undefined.

Float

The minimum factor by which playback can be sped up for live speed adjustment, or RATE_UNSET if undefined.

Long

The target live offset in milliseconds, or TIME_UNSET if undefined.

Public constructors

ServiceDescriptionElement

ServiceDescriptionElement(
    targetOffsetMs: Long,
    minOffsetMs: Long,
    maxOffsetMs: Long,
    minPlaybackSpeed: Float,
    maxPlaybackSpeed: Float
)

Creates a service description element.

Parameters
targetOffsetMs: Long

The target live offset in milliseconds, or TIME_UNSET if undefined.

minOffsetMs: Long

The minimum live offset in milliseconds, or TIME_UNSET if undefined.

maxOffsetMs: Long

The maximum live offset in milliseconds, or TIME_UNSET if undefined.

minPlaybackSpeed: Float

The minimum factor by which playback can be sped up for live speed adjustment, or RATE_UNSET if undefined.

maxPlaybackSpeed: Float

The maximum factor by which playback can be sped up for live speed adjustment, or RATE_UNSET if undefined.

Public properties

maxOffsetMs

val maxOffsetMsLong

The maximum live offset in milliseconds, or TIME_UNSET if undefined.

maxPlaybackSpeed

val maxPlaybackSpeedFloat

The maximum factor by which playback can be sped up for live speed adjustment, or RATE_UNSET if undefined.

minOffsetMs

val minOffsetMsLong

The minimum live offset in milliseconds, or TIME_UNSET if undefined.

minPlaybackSpeed

val minPlaybackSpeedFloat

The minimum factor by which playback can be sped up for live speed adjustment, or RATE_UNSET if undefined.

targetOffsetMs

val targetOffsetMsLong

The target live offset in milliseconds, or TIME_UNSET if undefined.