Re: [mediacapture-record] Allow updating audioBitsPerSecond and videoBitsPerSecond as done for mimeType (#205)

> Well, if we go by the spec as you explained it to me, then zero _should_ be reported for bitrate when no bitrate was passed to constructor?

If no bitrate parameters were passed to the constructor, the constructor assigns its bitrate attributes per step 10 and 11 [in the spec](https://w3c.github.io/mediacapture-record/MediaRecorder.html#mediarecorder-constructor):
> 10. Initialize recorder’s videoBitsPerSecond attribute to the value of options’ videoBitsPerSecond member, if it is present. Otherwise, choose a target value the User Agent deems reasonable for video.
> 11. Initialize recorder’s audioBitsPerSecond attribute to the value of options’ audioBitsPerSecond member, if it is present. Otherwise, choose a target value the User Agent deems reasonable for audio. 

-- 
GitHub Notification of comment by Pehrsons
Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/205#issuecomment-713799183 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 21 October 2020 18:47:48 UTC