@ceeblue/wrts-client
    Preparing search index...

    Class MediaTrack

    Index

    Constructors

    Properties

    bandwidth: number = 0

    Max bandwidth in Bps

    channels: number = 0

    Audio channels count

    codec: Codec = Media.Codec.UNKNOWN

    Codec

    codecString: string = ''

    Codec string details according to RFC 6381 (ex: mp4a.40)

    config?: Uint8Array<ArrayBufferLike>

    Config packet

    contentProtection?: string

    Content Protection

    currentTime: number = 0

    Current time of the track in milliseconds

    down?: MediaTrack
    language?: string

    Language of the track in ISO639-2, for example for subtitle or audio tracks

    rate: number = 0

    SampleRate for audio (ex: 48000), or Frame per Sec for Video (ex: 25)

    resolution: Resolution = ...

    Video Resolution

    type: Media.Type = 0

    Type of the track

    Accessors

    Methods