WebRtcLiveViewTrait.ExtendLiveViewCommand.Request

class WebRtcLiveViewTrait.ExtendLiveViewCommand.Request : ClusterStruct


The request payload for the ExtendLiveView command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(
    mediaSessionId: String,
    extendedDurationSeconds: OptionalValue<UShort>
)

Creates a request payload for the ExtendLiveView command.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

OptionalValue<UShort>

The duration, in seconds, for which the live stream should be extended.

String

The media session ID of the live stream to extend.

Public constructors

Request

Request(
    mediaSessionId: String = "",
    extendedDurationSeconds: OptionalValue<UShort> = OptionalValue.absent()
)

Creates a request payload for the ExtendLiveView command.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

extendedDurationSeconds

val extendedDurationSecondsOptionalValue<UShort>

The duration, in seconds, for which the live stream should be extended.

mediaSessionId

val mediaSessionIdString

The media session ID of the live stream to extend.