Skip to main content

AUDIO_CONTENT_HINTS

const AUDIO_CONTENT_HINTS: object;

Audio content hints are only applicable when the MediaStreamTrack contains an audio track

https://www.w3.org/TR/mst-content-hint/#audio-content-hints

Type declaration

NameTypeDefault valueDescription
Music"music"'music'The track should be treated as if it contains music data. Generally this might imply tuning or turning off audio-processing components that are used to process speech data to prevent the audio from being distorted.
NoHint""''No hint has been provided, the implementation should make its best-informed guess on how to handle contained audio data. This may be inferred from how the track was opened or by doing content analysis
Speech"speech"'speech'The track should be treated as if it contains speech data. Consuming this signal it may be appropriate to apply noise suppression or boost intelligibility of the incoming signal.
SpeechRecognition"speech-recognition"'speech-recognition'The track should be treated as if it contains data for the purpose of speech recognition by a machine. Consuming this signal it may be appropriate to boost intelligibility of the incoming signal for transcription and turn off audio-processing components that are used for human consumption.