B
B
batchar2014-03-13 10:25:13
Video processing
batchar, 2014-03-13 10:25:13

How to organize data transfer from a webcam using JS?

Hello!
I have a task: to organize a "live" transfer from the user's webcam without a flash.
I look towards webrtc. But, it is not entirely clear how to capture the stream and pull it out if I deploy webrtc on nodejs.
I have another one of the methods described here . Further, cyclically, after a short time interval: I receive a fresh "piece" of video and send it via a web socket to my server part. The method is, to put it mildly, a crutch.
Share your experience or advice in solving similar problems. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hbruser, 2014-05-08
@hbruser

Send video over websocket... Sir knows a lot about perversions.
A connection to the server is created via a websocket, then the exchange of SDP and SRTP streams. This is WebRTC. Well, you need to find a server that works on Websockets / WebRTC and is able to receive a stream and give it to subscribers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question