https://github.com/monibuca/rtspplugin
RTSP plugin for Monibuca
https://github.com/monibuca/rtspplugin
Last synced: 3 months ago
JSON representation
RTSP plugin for Monibuca
- Host: GitHub
- URL: https://github.com/monibuca/rtspplugin
- Owner: Monibuca
- Created: 2020-02-27T10:22:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-12T01:32:15.000Z (almost 2 years ago)
- Last Synced: 2025-04-05T17:51:09.476Z (about 1 year ago)
- Language: Go
- Size: 498 KB
- Stars: 6
- Watchers: 2
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Monibuca 的RTSP 插件
主要功能是对RTSP地址进行拉流转换
## 插件名称
RTSP
## 配置
```toml
[RTSP]
BufferLength = 2048
AutoPull = false
RemoteAddr = "rtsp://localhost/${streamPath}"
```
- BufferLength是指解析拉取的rtp包的缓冲大小
- AutoPull是指当有用户订阅一个新房间的时候自动向远程拉流转发
- RemoteAddr 指远程拉流地址,其中${streamPath}是占位符,实际使用流路径替换。
## 使用方法(拉流转发)
```go
new(RTSP).Publish("live/user1","rtsp://xxx.xxx.xxx.xxx/live/user1")
```