# RTSPtoWebRTC
RTSP Stream to WebBrowser over WebRTC based on Pion
full native! not use ffmpeg or gstreamer
if you need RTSPtoWSMP4f use https://github.com/deepch/RTSPtoWSMP4f
## Team
Deepch - https://github.com/deepch streaming developer
Dmitry - https://github.com/vdalex25 web developer
Now test work on (chrome, safari, firefox) no MAC OS
![RTSPtoWebRTC image](doc/demo4.png)
## Installation
1.
```bash
$ export GO111MODULE=on
$ go get github.com/deepch/RTSPtoWebRTC
```
2.
```bash
$ cd ~/go/src/github.com/deepch/RTSPtoWebRTC
```
3.
```bash
$ go run .
```
or
```bash
$ go build .
$ ./RTSPtoWebRTC
```
4.
```bash
open web browser http://127.0.0.1:8083 work chrome, safari, firefox
```
## Configuration
### Edit file config.json
format:
```bash
{
"server": {
"http_port": ":8083"
},
"streams": {
"demo1": {
"on_demand" : false
"url": "rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa"
},
"demo2": {
"on_demand" : true
"url": "rtsp://admin:admin123@10.128.18.224/mpeg4"
},
"demo3": {
"on_demand" : false
"url": "rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa"
}
}
}
```
## Livestreams
Use option ``` "on_demand": false ``` otherwise you will get choppy jerky streams and performance issues when multiple clients connect.
## Limitations
Video Codecs Supported: H264
Audio Codecs Supported: pcm alaw and pcm mulaw
[![paypal.me/AndreySemochkin](https://ionicabizau.github.io/badges/paypal.svg)](https://www.paypal.me/AndreySemochkin) - You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:
没有合适的资源?快使用搜索试试~ 我知道了~
RTSPtoWebRTC:从RTSP到WebRTC使用Pion WebRTC
共39个文件
map:10个
js:7个
css:6个
5星 · 超过95%的资源 需积分: 24 16 下载量 57 浏览量
2021-04-27
20:53:17
上传
评论 1
收藏 1.71MB ZIP 举报
温馨提示
从RTSP到WebRTC 基于Pion的WebRTC上的RTSP流到WebBrowser 全本地人! 不要使用ffmpeg或gstreamer 如果您需要RTSPtoWSMP4f,请使用 团队 Deepch- 流开发人员 Dmitry- 网站开发人员 现在可以在无MAC OS的(chrome,safari,firefox)上测试工作 安装 $ export GO111MODULE=on $ go get github.com/deepch/RTSPtoWebRTC $ cd ~ /go/src/github.com/deepch/RTSPtoWebRTC $ go run . 或者 $ go build . $ ./RTSPtoWebRTC open web browser http://127.0.0.1:8083 work chrome, safari, firefox 配置
资源推荐
资源详情
资源评论
收起资源包目录
RTSPtoWebRTC-master.zip (39个子文件)
RTSPtoWebRTC-master
.gitignore 14B
go.mod 151B
LICENSE 1KB
doc
demo3.png 315KB
demo4.png 259KB
demo2.png 403KB
build.cmd 572B
go.sum 18KB
http.go 7KB
main.go 374B
README.md 2KB
web
templates
player.tmpl 1KB
index.tmpl 477B
static
js
app.js 1KB
bootstrap.bundle.min.js.map 305KB
bootstrap.js 129KB
adapter-latest.js 190KB
bootstrap.bundle.js 218KB
bootstrap.js.map 245KB
bootstrap.bundle.js.map 393KB
bootstrap.min.js.map 186KB
jquery-3.4.1.min.js 86KB
bootstrap.bundle.min.js 77KB
bootstrap.min.js 57KB
css
bootstrap-reboot.min.css.map 32KB
bootstrap.css 188KB
bootstrap.css.map 481KB
bootstrap-reboot.css.map 75KB
bootstrap-reboot.css 5KB
bootstrap.min.css 152KB
bootstrap-grid.css.map 148KB
bootstrap-reboot.min.css 4KB
bootstrap.min.css.map 611KB
bootstrap-grid.min.css 47KB
bootstrap-grid.css 63KB
bootstrap-grid.min.css.map 106KB
stream.go 2KB
config.json 642B
config.go 5KB
共 39 条
- 1
资源评论
- 马虫医生2023-07-26RTSPtoWebRTC提供了一种高效的方法,让RTSP和WebRTC之间的转换变得简单便捷。
- 卡哥Carlos2023-07-26文档中提供的示例代码非常有帮助,我很快就能上手并成功实现RTSP到WebRTC的转换。
- 普通网友2023-07-26通过阅读这份文件,我学到了很多关于实时流传输和WebRTC的知识,对我的工作帮助很大。
- 豆瓣时间2023-07-26这份文件详细介绍了Pion WebRTC的使用,让我对使用该工具进行实时流传输有了更深入的了解。
- 英次2023-07-26我对RTSPtoWebRTC这个解决方案感到满意,它在我的项目中提供了可靠的数据传输。
janejane815
- 粉丝: 24
- 资源: 4612
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功