mpromonet / rtsp2web

RTSP to websocket proxy
https://rtsp2web.agreeabletree-365b9a90.canadacentral.azurecontainerapps.io/
The Unlicense
10 stars 1 forks source link
rtsp webcodecs websocket

Snap Status GithubCI GithubCI

rtsp2web

This is a simple application that connect to RTSP streams, send compressed data over websocket and then decode on browser side using webcodec

Screenshot Live Demo

Build


cmake . && make

Usage


./rtsp2ws [OPTION...] <rtspurl> ... <rtspurl>

-h, --help            Print usage
-v, --verbose arg     Verbose (default: 0)
-P, --port arg        Listening port (default: 8080)
-N, --thread arg      Server number threads (default: "")
-p, --path arg        Server root path (default: html)
-c, --sslkeycert arg  Path to private key and certificate for HTTPS (default: "")
-C, --config arg      Config
-r, --rtptransport arg  RTP transport(udp,tcp,multicast,http) (default:
                      tcp)

Using Docker image

You can start the application using the docker image :

    docker run -p 8080:8080 ghcr.io/mpromonet/rtsp2web

The container entry point is the application, then you can :