A
A
Andrey Sedelnikov2016-01-27 15:11:30
Google Chrome
Andrey Sedelnikov, 2016-01-27 15:11:30

Is it possible to stream video from a local camera to RTSP using only a browser?

An Internet search revealed that it is possible to
1. Show video from a computer camera in a browser window with almost pure HTML5
2. Play a video stream in a browser via WebRTC and see it from another IP address via VLC player
Is it possible to combine these solutions? Or do you need a locally small server?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2016-01-27
@AppMagnetics

Without a socket server (eg node.js) this is not feasible.

H
hbruser, 2016-02-04
@hbruser

Browsers support only two "protocols" through which you can broadcast video from a local webcam (if we are talking about the camera that the browser uses):
- WebRTC
- RTMP and the like
Pure HTML5 is:
- Canvas + Websockets.
- WebRTC video element
- HLS can also be called the cleanest
VLC can play RTSP.
The server that can do everything you described at the same time is Web Call Server 4.
- receive a stream via WebRTC
- distribute via HTML5 Websockets
- distribute via WebRTC
- distribute via RTSP
Generally speaking, if the delay is not critical, it is better to use HLS (Apple HTTP Streaming).
All other delivery protocols are not cross-browser or have other limitations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question