Object/method spellings for media stream recorder

I've started laying out the IDL for the recorder in Blink. Something I'm
finding is that it looks like the Mozilla implementation is using slightly
different names than the spec:

https://hg.mozilla.org/mozilla-central/file/a8daa428ccbc/dom/webidl/MediaRecorder.webidl

http://www.w3.org/TR/2013/WD-mediastream-recording-20130205/#MediaRecorderAPI

Specifically, it looks like in Firefox the object is named "MediaRecorder",
and the method you use to begin recording is "start()". The spec names
these "MediaStreamRecorder" and "record()".

Personally, I like "MediaStreamRecorder" due to the better consistency with
other WebRTC class names. I prefer "start()" to "record()" because of
"stop()".

These aren't big points, but lets make sure we get the implementations and
spec matched up. Was there discussion on changing these names to the
Firefox vocabulary, and it hasn't made it to the spec yet? Or perhaps there
are other aliasing docs in Firefox that make the vocabulary the same as the
spec, and the IDL I linked is the result of correspondence to a previous
draft?

-Greg Billock

Received on Thursday, 15 August 2013 15:55:49 UTC