Re: [mediacapture-record] Rate control

@jnoring because there are no required encoders in the spec people are
 getting by with 
[MediaRecorder.isTypeSupported](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/isTypeSupported).
 The problem you describe is similar, that each encoder has differing 
options as well.

I would recommend something like a 
`MediaRecorder.supportedMedia()`method which would return information 
about the supported content types and their encoding options. If the 
user tries to use an unsupported option then it would be perfectly 
acceptable just to throw.

In other words, rather than trying to abstract differing encoder 
options, which is probably impossible, let's just bubble this 
information up to the user and throw if they use unsupported options.

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

Received on Wednesday, 1 February 2017 20:08:13 UTC