W3C home > Mailing lists > Public > public-media-capture@w3.org > October 2012

Re: recording proposal

From: Harald Alvestrand <harald@alvestrand.no>
Date: Sun, 07 Oct 2012 19:40:06 +0200
Message-ID: <5071BE76.9090508@alvestrand.no>
To: public-media-capture@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:02 GMT