AudioTrackInfo
Defined in: catalog.ts:42
The audio track buildMsfCatalog advertises. Unset fields default to Opus, 48 kHz, stereo.
Properties
Section titled “Properties”altGroup?
Section titled “altGroup?”altGroup?: number;Defined in: catalog.ts:64
Alternate group (msf-01 §5.2.12): tracks sharing one are alternate versions of the same content, such as simulcast layers, and a viewer subscribes to one of them. Members share a role and a render group.
bitrate?
Section titled “bitrate?”bitrate?: number;Defined in: catalog.ts:52
Bits per second.
channelConfig?
Section titled “channelConfig?”channelConfig?: string;Defined in: catalog.ts:50
Channel config string (§5.2.21), e.g. '2' or '5.1'.
codec?
Section titled “codec?”codec?: string;Defined in: catalog.ts:46
WebCodecs registry codec string, e.g. 'opus'.
initData?
Section titled “initData?”initData?: Uint8Array<ArrayBufferLike>;Defined in: catalog.ts:54
Decoder init data, e.g. an AAC AudioSpecificConfig — Opus carries none.
name?: string;Defined in: catalog.ts:44
Track name. Default AUDIO_TRACK.
renderGroup?
Section titled “renderGroup?”renderGroup?: number;Defined in: catalog.ts:59
Render group (msf-01 §5.2.11): tracks sharing one play together on one timeline. Default 1; give a second source, such as a screen share and its audio, its own.
samplerate?
Section titled “samplerate?”samplerate?: number;Defined in: catalog.ts:48
Output sample rate (§5.2.20). Always 48000 for Opus.