Sign inSign up

dimahkiin/video_server

By dimahkiin

•Updated about 17 hours ago

Video server for re-streaming RTSP to HLS/MSE with on-demand connections and MP4 archive

Image
Networking
Internet of things
Web servers
0

34

dimahkiin/video_server repository overview

⁠video_server

Re-streams RTSP cameras to browsers over MSE (WebSocket) and HLS. Sources are pulled on demand, so a camera is connected only while somebody is watching it. Optionally records MP4 segments to the filesystem or S3/MinIO.

Source code and full documentation: https://github.com/LdDl/video-server⁠

⁠Configuration

The server does not read environment variables, so a configuration file has to be mounted into the container. Both servers must listen on 0.0.0.0 inside it, otherwise the published ports stay unreachable:

[api]
host = "0.0.0.0"
port = 8091

[video]
host = "0.0.0.0"
port = 8090

[on_demand]
enabled = true
idle_ms = 30000
health_check = true

[[rtsp_streams]]
guid = "e2b285a7-8ca9-46cc-beb4-9139f27d8543"
type = "rtsp"
url = "rtsp://user:[email protected]:554/main"
output_types = ["mse"]

Tag summary

Content type

Image

Digest

sha256:d451fa69c…

Size

5.1 MB

Last updated

about 17 hours ago

docker pull dimahkiin/video_server