AccountFilterPresentationTimeRangeArgs

data class AccountFilterPresentationTimeRangeArgs(val endInUnits: Output<Int>? = null, val forceEnd: Output<Boolean>? = null, val liveBackoffInUnits: Output<Int>? = null, val presentationWindowInUnits: Output<Int>? = null, val startInUnits: Output<Int>? = null, val unitTimescaleInMilliseconds: Output<Int>) : ConvertibleToJava<AccountFilterPresentationTimeRangeArgs>

Constructors

Link copied to clipboard
constructor(endInUnits: Output<Int>? = null, forceEnd: Output<Boolean>? = null, liveBackoffInUnits: Output<Int>? = null, presentationWindowInUnits: Output<Int>? = null, startInUnits: Output<Int>? = null, unitTimescaleInMilliseconds: Output<Int>)

Properties

Link copied to clipboard
val endInUnits: Output<Int>? = null

The absolute end time boundary. Applies to Video on Demand (VoD). For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by unit_timescale_in_milliseconds, so an end_in_units of 180 would be for 3 minutes. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest.

Link copied to clipboard
val forceEnd: Output<Boolean>? = null

Indicates whether the end_in_units property must be present. If true, end_in_units must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true.

Link copied to clipboard
val liveBackoffInUnits: Output<Int>? = null

The relative to end right edge. Applies to Live Streaming only. This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by unit_timescale_in_milliseconds. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge.

Link copied to clipboard
val presentationWindowInUnits: Output<Int>? = null

The relative to end sliding window. Applies to Live Streaming only. Use presentation_window_in_units to apply a sliding window of fragments to include in a playlist. The unit is defined by unit_timescale_in_milliseconds. For example, set presentation_window_in_units to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds.

Link copied to clipboard
val startInUnits: Output<Int>? = null

The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by unit_timescale_in_milliseconds, so a start_in_units of 15 would be for 15 seconds. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest.

Link copied to clipboard

Specified as the number of milliseconds in one unit timescale. For example, if you want to set a start_in_units at 30 seconds, you would use a value of 30 when using the unit_timescale_in_milliseconds in 1000. Or if you want to set start_in_units in 30 milliseconds, you would use a value of 30 when using the unit_timescale_in_milliseconds in 1. Applies timescale to start_in_units, start_timescale and presentation_window_in_timescale and live_backoff_in_timescale.

Functions

Link copied to clipboard
open override fun toJava(): AccountFilterPresentationTimeRangeArgs