RTSP Stream to WebBrowser MSE over WebSocket based MP4f segments
full native! not use ffmpeg or gstreamer
if you need RTSPtoWebRTC use https://github.com/deepch/RTSPtoWebRTC
- Download source
$ git clone https://github.com/deepch/RTSPtoWSMP4f
- CD to Directory
$ cd RTSPtoWSMP4f/
- Test Run
$ GO111MODULE=on go run *.go
- Open Browser
open web browser http://127.0.0.1:8083 work chrome, safari, firefox
format:
{
"server": {
"bind": ":8083",
"host": "192.168.1.1:8083"
},
"streams": {
"H264_AAC": {
"url": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov"
}
}
}
Video Codecs Supported: H264 all profiles, H265 work only safari and (IE hw video card)
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. 🍵