mirror of
https://github.com/cenitelas/mse
synced 2025-12-24 13:07:50 +08:00
101344fd2125f76d9b5eb36c7a4a644d2161d310
RTSPtoWSMP4f
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
Team
Deepch - https://github.com/deepch streaming developer
Dmitry - https://github.com/vdalex25 web developer
Installation
go get github.com/deepch/RTSPtoWSMP4f
cd src/github.com/deepch/RTSPtoWSMP4f
go run *.go
open web browser http://127.0.0.1:8083
Configuration
Edit file config.json
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"
}
}
}
Limitations
Video Codecs Supported: H264 all profiles
Audio Codecs Supported: AAC mono
Test
CPU usage 0.2% one core cpu intel core i7 / stream
Description
Languages
Go
98.6%
JavaScript
1.1%
HTML
0.2%
C
0.1%
