On 14/07/14 11:15, Benjamin Smedberg wrote:
Can I use a <video> element as a source for webrtc/peerconnection? For
GMP testing, I was hoping to be able to feed a known video through
webrtc, and not have to worry about actual camera stuff.

The element has a mozCaptureStream[UntilEnded] method that produces a stream. Worth trying, though not all uses work (watch for cross domain content).

You can also try our fake streams:

...getUserMedia({video: true, fake: true}, ...)
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to