T
T
Tyrion Lannister2017-06-17 01:00:44
Video broadcast
Tyrion Lannister, 2017-06-17 01:00:44

How to stream video to web server?

We get the webcam video stream on the page:

navigator.getUserMedia({video:true},
 (может быть audio) function(stream) {(получили видеопоток stream)},
 function( {alert('error');
});

What to do with the video stream so that you can send it to the server and process it there?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kovalsky, 2017-06-17
@baYonet_cpp

Maybe it will help

P
Paul Nice, 2017-06-19
@Paul_Nice

There is an example of a webrtc capture inspired by this one .
This web application is a page for capturing video from a browser, with resolution options.
On the server side, it means Flussonic, which has a stream named "ololo" that is allowed to publish.
After the user gives the video from the webcam, it will be uploaded to the server, and there it can be recorded and distributed in various ways.
On the server, everything must be in order with the certificates in order to accept the stream.
"ololo" is the name of the stream.
"Server name" - server hostname.
Actually the example itself .
UPD: the code didn't fit here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question