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
Deepch - https://github.com/deepch streaming developer
Dmitry - https://github.com/vdalex25 web developer
go get github.com/deepch/RTSPtoWSMP4f
cd src/github.com/deepch/RTSPtoWSMP4f
go run *.go
open web browser http://127.0.0.1:8083
format:
{
"server": {
"http_port": ":8083"
},
"streams": {
"demo1": {
"url": "rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa"
},
"demo2": {
"url": "rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa"
},
"demo3": {
"url": "rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa"
}
}
}
Video Codecs Supported: H264 all profiles
Audio Codecs Supported: AAC mono
CPU usage 0.2% one core cpu intel core i7 / stream