How to use local file to peer by webRtc

122 views
Skip to first unread message

Keishi Nojiri

unread,
Jan 25, 2016, 1:27:32 AM1/25/16
to PeerJS
I am trroubled about how to use localfile by webRtc.


It is not suitable for webRtc but I surely use localfile at windows10 OS.


---Javascript file---

call.answer(window.localStream);

var call = peer.call($('#callto-id').val(), window.localStream);

---

I want to change "window.localStream" to "file://c:/movie.mp4".

"c:/movie.mp4" is windows local file.

I can change movie format "mp4" to "ogv" and so on.

Can I send local file stream to peer by webRtc?

Please teach and help me. Thanks.

Reply all
Reply to author
Forward
0 new messages