Readonly
onReadonly
onFires on subtitles load. Initial value is undefined.
Readonly
onFires on event produced by AudioWorkletNode created with createAudioPeakProcessorWorkletNode
Readonly
onFires on audio input / output channel connection change
Readonly
onFires on audio track switched
Creates AudioContext. AudioContext.resume() is invoked on first video play
Number of input channels. Implicitly created ChannelSplitterNode is configured with inputsNumber.
Optional
outputsNumber: numberNumber of output channels. Implicitly created ChannelMergerNode is configured with outputsNumber. If not provided outputsNumber is resolved by calling defaultAudioOutputsResolver function:
const defaultAudioOutputsResolver: (maxChannelCount: number) => number = (maxChannelCount: number) => { if (maxChannelCount <= 1) { return 1; } else if (maxChannelCount >= 2 && maxChannelCount <= 5) { return 2 } else if (maxChannelCount >= 6) { return 6 } else { return maxChannelCount; } }
Creates AudioContext. AudioContext.resume() is invoked on first video play
Function to resolve outputsNumber. Provides AudioContext.destination.maxChannelCount as input argument
current active audio track
available audio tracks
Fires on AudioContext creation