S
S
Stanislav2018-04-11 14:16:13
CCTV
Stanislav, 2018-04-11 14:16:13

Is there a local web server option for displaying video stream from IP and web cameras?

Good afternoon!
I ran into an interesting problem. I have no experience in raising such a server.
Everything happens on the local network.
Given:
D-link DCS-3010 IP camera that broadcasts H.264 video stream (with options H.264 | MPEG-4 | MJPEG) via RTSP protocol (with options RTSP/RTP/RTCP | HTTP/HTTPS | UDP );
A machine with win10 on board and a webcam connected to it (the webcam is recognized and displayed in directshow devices);
Clients on noname platform (win, *unix, mac, android).
Task:
Raise a local web server, at least from 2 pages on which video from cameras will be displayed, which will be available from a browser on any client.
My thoughts
There are 2 possible solutions:
1) Do everything yourself;
2) Use a ready-made solution.
1) It all starts with raising a web server, I used open server (apache + nginx) after going through the possible options for playing streaming video from the camera, I came across HTML5 RTSP Player. This player needs a websocket server, which must be raised. There were problems with raising the websocket, since even did not get a taste of how to run it on openserver. It turns out that the websocket is a continuously executing script that listens to the specified port and, in case of an appeal, sends something there and creates a connection with the client. In my case, errors fall out in the browser console (ctrl + shift + j). If there is any instruction for dummies, I will be grateful. Thus, nothing happened to me =(
2) Ready-made options.
Shoveled several options (plex, playon, moment video server, universal media server, subsonic, serviio). I thought about moment video server and universal media server, but so far I have not received a sensible result =(
Tell me where to dig, maybe someone has experience in such matters, I will be grateful for advice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ighor July, 2018-04-18
@IGHOR

Ready-made solution: iVideon, and mobile applications are available and free online viewing.
In such cases, I prefer to use IP cameras with iVideon firmware, then there is no need for a server at all.
And if you need something offline, then it's easier to do it through the VLC player, there is a built-in HTTP server and the ability to restream.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question