Constructors

Properties

_id: number
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

Config packet

currentTime: number = 0

Current time of the track in milliseconds

down?: MediaTrack
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