PushAvStreamTransportTrait.TransportOptionsStruct

class PushAvStreamTransportTrait.TransportOptionsStruct : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

TransportOptionsStruct(
    streamUsage: PushAvStreamTransportTrait.StreamUsageEnum,
    videoStreamId: OptionalValue<UShort?>,
    audioStreamId: OptionalValue<UShort?>,
    tlsEndpointId: UShort,
    url: String,
    triggerOptions: PushAvStreamTransportTrait.TransportTriggerOptionsStruct,
    ingestMethod: PushAvStreamTransportTrait.IngestMethodsEnum,
    containerOptions: PushAvStreamTransportTrait.ContainerOptionsStruct,
    expiryTime: OptionalValue<UInt>
)

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

Public constructors

TransportOptionsStruct

TransportOptionsStruct(
    streamUsage: PushAvStreamTransportTrait.StreamUsageEnum = StreamUsageEnum.Internal,
    videoStreamId: OptionalValue<UShort?> = OptionalValue.absent(),
    audioStreamId: OptionalValue<UShort?> = OptionalValue.absent(),
    tlsEndpointId: UShort,
    url: String = "",
    triggerOptions: PushAvStreamTransportTrait.TransportTriggerOptionsStruct = TransportTriggerOptionsStruct(),
    ingestMethod: PushAvStreamTransportTrait.IngestMethodsEnum = IngestMethodsEnum.CMAFIngest,
    containerOptions: PushAvStreamTransportTrait.ContainerOptionsStruct = ContainerOptionsStruct(),
    expiryTime: OptionalValue<UInt> = OptionalValue.absent()
)

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.