RTSP Stream to WebBrowser HLS over HTTP based TS segments
full native! not use ffmpeg or gstreamer
- Download source
$ git clone https://github.com/deepch/RTSPtoHLS
- CD to Directory
$ cd RTSPtoHLS/
- Test Run
$ GO111MODULE=on go run *.go
- Open Browser
open web browser http://127.0.0.1:8083 work chrome, safari, firefox
format:
{
"server": {
"http_port": ":8083"
},
"streams": {
"H264_AAC": {
"url": "rtsp://171.25.232.20/d7b92541b4914c8e98104cba907864f8"
}
}
}
Video Codecs Supported: H264 all profiles
Audio Codecs Supported: AAC
CPU usage 0.2% one core cpu intel core i7 / stream
Deepch - https://github.com/deepch streaming developer
Dmitry - https://github.com/vdalex25 web developer
Examples of working with video on golang
- You can make one-time donations via PayPal. I'll probably buy a coffee tea. 🍵