PushAvStreamTransportTrait.SupportedFormatStruct

class PushAvStreamTransportTrait.SupportedFormatStruct : ClusterStruct


Defines the supported formats for a push transport.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

Creates the SupportedFormatStruct class.

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

SupportedFormatStruct

SupportedFormatStruct(
    containerFormat: PushAvStreamTransportTrait.ContainerFormatEnum = ContainerFormatEnum.CMAF,
    ingestMethod: PushAvStreamTransportTrait.IngestMethodsEnum = IngestMethodsEnum.CMAFIngest
)

Creates the SupportedFormatStruct class.

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

containerFormat

val containerFormatPushAvStreamTransportTrait.ContainerFormatEnum

The container format.

ingestMethod

val ingestMethodPushAvStreamTransportTrait.IngestMethodsEnum

The ingest method.