- From: Elias Meire via GitHub <sysbot+gh@w3.org>
- Date: Thu, 15 Nov 2018 10:51:47 +0000
- To: public-webrtc@w3.org
eliasmeire has just created a new issue for https://github.com/w3c/mediacapture-record:
== Should MediaRecorderOptions fields be optional? ==
`MediaRecorderOptions` is defined as:
```webidl
dictionary MediaRecorderOptions {
  DOMString mimeType;
  unsigned long audioBitsPerSecond;
  unsigned long videoBitsPerSecond;
  unsigned long bitsPerSecond;
};
```
Shouldn't all the members be optional/nullable?
```webidl
dictionary MediaRecorderOptions {
  DOMString? mimeType;
  unsigned long? audioBitsPerSecond;
  unsigned long? videoBitsPerSecond;
  unsigned long? bitsPerSecond;
};
```
or should all members be specified when giving options to the MediaRecorder constructor?
Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/156 using your GitHub account
Received on Thursday, 15 November 2018 10:51:48 UTC