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

Re: No way to specify remote constraints?

From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 2 Dec 2013 11:23:55 -0800
Message-ID: <CABkgnnVeqb_7LTQk4cTrnucm_d507p8zzRiXJhmUBd_C16gOaw@mail.gmail.com>
To: cowwoc <cowwoc@bbs.darktech.org>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
On 2 December 2013 11:19, cowwoc <cowwoc@bbs.darktech.org> wrote:
> Why do I need to clone() the video track before modifying it?

I assumed that you might want to keep the old one.

> What is the relationship between a cloned VideoTrack and the original
> MediaStream?

No relationship.  The new track is a little orphan.  You'll need a new
stream to house this track if you want to use it though.

> Isn't it a little weird that a MediaStream is associated with
> VideoTracks you can't navigate to from the original object?

It's not weird because there is no association.
Received on Monday, 2 December 2013 19:24:23 UTC

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