V
V
Vladimir Grabko2016-08-29 12:36:24
JavaScript
Vladimir Grabko, 2016-08-29 12:36:24

How to record video in browser using WebRTC?

Essentially I need to record a video and send it to the server.
My idea is to add a server to RTCPeerConnection and then work with the stream.
I tried to google something like golang WebRTC client but I'm afraid the request is stupid. Will you help?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hbruser, 2016-09-08
@VGrabko

You can do this:
Recording video streams to the server directly from the browser
Or you can do it in the browser itself:
https://developer.mozilla.org/en-US/docs/Web/API/M...
The difference is that in the first case, the video is sent to the server and recorded there, in real time, possibly with subsequent distribution. As a result, a webM file is created on the server.
In the second case, it is written on the client in Javascript and you then decide what to do with this set of bytes.
MediaRecorder should work in Chrome since version 47.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question