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.3.1 : Monday, 23 October 2017 15:19:36 UTC