W3C home > Mailing lists > Public > public-webrtc@w3.org > April 2013

Set PeerConnection streams API as an extension

From: <piranna@gmail.com>
Date: Sun, 14 Apr 2013 22:14:32 +0200
Message-ID: <CAKfGGh3VBipHQ7+tYcXM2BhrhGgeM+k2fL2hMQi_o5yW5kPD3A@mail.gmail.com>
To: public-webrtc <public-webrtc@w3.org>
Reading the specification, I have seen that the audio & video stream
has a "privileged" status being  defined their API directly on the
PeerConnection one, while DataChannel, DMTF, statistics and identity
APIs are specified as a "PeerConnection extension". I propose for
homogeneity to set the PeerConnection specification to their basic
functionality removing and setting in an independent section the next
methods and their related issues:

    sequence<MediaStream> getLocalStreams ();
    sequence<MediaStream> getRemoteStreams ();
    MediaStream?          getStreamById (DOMString streamId);
    void                  addStream (MediaStream stream, optional
MediaConstraints constraints);
    void                  removeStream (MediaStream stream);

                attribute EventHandler          onaddstream;
                attribute EventHandler          onremovestream;

They could be included and defined in the section "9. Media Stream API
Extensions for Network Use".


--
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux
Received on Sunday, 14 April 2013 20:15:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:17:42 UTC