[Bug 25832] New: Change MediaRecorder.stream to MediaRecorder.getStream()

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25832

            Bug ID: 25832
           Summary: Change MediaRecorder.stream to
                    MediaRecorder.getStream()
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: MediaStream Recording
          Assignee: public-media-capture@w3.org
          Reporter: shijuns@microsoft.com
                CC: public-media-capture@w3.org

The "stream" attribute on the MediaRecorder is readonly, but it seems the spec
does not prevent the app from dynamically adding/removing tracks from the
stream object.

If the intention of defining the attribute as readonly is to block dynamic
changes to the stream object, it will be better to define a getStream() method
to return a copy of the internal MediaStream object.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Tuesday, 20 May 2014 20:13:30 UTC