[mediacapture-record] Is applying sampleRate constraint to audio MediaStreamTrack before start() is called specified to directly set audio_sampling_frequency of audio track in resulting WebM file output by MediaRecorder? (#176)

guest271314 has just created a new issue for https://github.com/w3c/mediacapture-record:

== Is applying sampleRate constraint to audio MediaStreamTrack before start() is called specified to directly set audio_sampling_frequency of audio track in resulting WebM file output by MediaRecorder? ==
Given 

`await audioTrack.applyConstraints({sampleRate: 44100})`

is applying [`sampleRate`](https://w3c.github.io/mediacapture-main/#def-constraint-sampleRate) 

> sampleRate ConstrainULong The sample rate in samples per second for the audio data.

constraint to audio `MediaStreamTrack` before `MediaRecorder.start()` is called expected to directly set the encoding parameter `audio_sampling_frequency` of the audio track in resulting WebM file?

Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/176 using your GitHub account

Received on Wednesday, 17 July 2019 14:59:01 UTC