代码拉取完成,页面将自动刷新
RTSP Stream to WebBrowser HLS over HTTP based TS segments
full native! not use ffmpeg or gstreamer
$ git clone https://github.com/deepch/RTSPtoHLS
$ cd RTSPtoHLS/
$ GO111MODULE=on go run *.go
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。