Re: recording proposal

On 10/05/2012 03:55 PM, Jim Barnett wrote:
> partial interfaceMediaStreamTrack  :EventTarget  {
>      void         record  <imap://hta@eikenes.alvestrand.no:143/fetch%3EUID%3E.INBOX.W3C.webrtc.media%3E872#widl-record>  (optionaltimeSliceType  <imap://hta@eikenes.alvestrand.no:143/fetch%3EUID%3E.INBOX.W3C.webrtc.media%3E872#idl-timeSliceType>  timeSlice);
>      void         stopRecording  <imap://hta@eikenes.alvestrand.no:143/fetch%3EUID%3E.INBOX.W3C.webrtc.media%3E872#widl-stoprecording>  ();
Oops..... I got lost here.

A MediaStreamTrack contains either audio or video.

Recording, for any practical purpose, requires that one records audio 
and video together - synchronized, and in some kind of container format.

This also means that the format produced by record() cannot possibly be 
compatible with the MediaSource API, since that's a combined format.

I don't think this is what people expect of us.

(I see this is listed under "open issues", but I don't think we should 
even start down this path with this fundamental limitation in place.)

                   Harald

Received on Sunday, 7 October 2012 17:40:39 UTC