On 10/23/13 12:41, [email protected] wrote:
If it's possible, how do I construct a MediaStream in firefox without calling 
GetUserMedia?

You can't. The only specified way to procure one is via the success callback of getUserMedia (representing a local camera and/or microphone) and through the onaddstream callback from RTCPeerConnection that's triggered by calling setRemoteDescription (representing remote media received over the network).

The idea behind a MediaStream is that it represents some kind of *source* that you're going to attach to something. If you were to somehow manage to construct one in a vacuum, what source would you expect it to represent?

In other words: what are you trying to do?

--
Adam Roach
Principal Platform Engineer
[email protected]
+1 650 903 0800 x863
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to