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

Re: Using tracks instead of streams

From: Adam Bergkvist <adam.bergkvist@ericsson.com>
Date: Tue, 12 Nov 2013 08:04:24 +0000
To: Martin Thomson <martin.thomson@gmail.com>, "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-ID: <A222C88B6882744D8D4B9681B31588901161E04A@ESESSMB307.ericsson.se>
On 2013-11-12 07:46, Martin Thomson wrote:
> The reason that MediaStreamTrack gets an accessor for the set of
> streams that it belongs to is that if you are navigating this object
> mesh starting from RTCPeerConnection, you wouldn't otherwise be able
> to find the streams that exist.  Without that, worst case, the browser
> wouldn't have a strong reference it could use to manage garbage
> collection.
A quick comment.

Isn't it up to the app to have references to the MediaStream objects it
uses?

/Adam
Received on Tuesday, 12 November 2013 08:04:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:36 UTC