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

[mediacapture-record] What are the default bitrate attribute values? (#169)

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Wed, 12 Jun 2019 17:32:52 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-455338272-1560360771-sysbot+gh@w3.org>
jan-ivar has just created a new issue for https://github.com/w3c/mediacapture-record:

== What are the default bitrate attribute values? ==
The [videoBitsPerSecond](https://w3c.github.io/mediacapture-record/MediaRecorder.html#dom-mediarecorder-videobitspersecond) read-only attribute says *"The value of the Video encoding target bit rate that was passed to the Platform (potentially truncated, rounded, etc), or the calculated one if the user has specified bitsPerSecond."*

This does not say what to return If neither `videoBitsPerSecond` nor `bitsPerSecond` were passed. Ditto for [audioBitsPerSecond](https://w3c.github.io/mediacapture-record/MediaRecorder.html#dom-mediarecorder-audiobitspersecond).

Possible solutions:
 1. return `0`
 2. Make `audioBitsPerSecond` and `videoBitsPerSecond` attributes nullable.


Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/169 using your GitHub account
Received on Wednesday, 12 June 2019 17:32:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 12 June 2019 17:32:54 UTC