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

Re: addTrack/removeTrack on gUM streams and PeerConnection remote streams

From: Adam Bergkvist <adam.bergkvist@ericsson.com>
Date: Mon, 7 Oct 2013 13:30:06 +0200
Message-ID: <52529B3E.4050406@ericsson.com>
To: Harald Alvestrand <harald@alvestrand.no>
CC: <public-media-capture@w3.org>
On 2013-09-27 14:28, Harald Alvestrand wrote:
> Reawakening an old discussion (tracked in bug 22270).
> The suggestions made are (I think) three different ones:
> - Create two classes of MediaStream, one which adds tracks under UA
> control, and one which adds tracks under Javascript control. Only the
> second has the addTrack and removeTrack methods. getUserMedia and
> peerconnections produce the first type.

I think we should give this approach a try. We would get a Stream API 
with better structure and separation of responsibilities (UA vs script). 
I think that's better to build upon if we need to extend the Stream API 
in the future.


> - Let addTrack and removeTrack fail when a MediaStream comes from
> getUserMedia or peerconnections.
> - No change. Tracks can be added to any MediaStream.
> Should we make a decision here?
Received on Monday, 7 October 2013 11:30:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:20 UTC