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

Getting the MediaStream associated with a video element?

From: cowwoc <cowwoc@bbs.darktech.org>
Date: Wed, 13 Nov 2013 00:13:36 -0500
Message-ID: <52830A80.7090205@bbs.darktech.org>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>

I've seen code for attaching MediaStream to a <video> element, but 
shouldn't we also be able to do the opposite? If the following code is 
used to attach:

   video.src = URL.createObjectURL(stream);

how are we supposed to translate the URL back into a MediaStream?

Received on Wednesday, 13 November 2013 05:14:19 UTC

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