W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > July 2019

[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)

From: guest271314 via GitHub <sysbot+gh@w3.org>
Date: Wed, 17 Jul 2019 14:58:59 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-469271475-1563375537-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:25 UTC