https://github.com/monibuca/plugin-webtransport
https://github.com/monibuca/plugin-webtransport
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/monibuca/plugin-webtransport
- Owner: Monibuca
- License: mit
- Created: 2022-03-29T02:13:54.000Z (about 4 years ago)
- Default Branch: v4
- Last Pushed: 2024-07-09T12:02:14.000Z (almost 2 years ago)
- Last Synced: 2025-04-05T17:51:08.962Z (about 1 year ago)
- Language: Go
- Size: 88.9 KB
- Stars: 9
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebTransport 插件
通过WebTransport进行推拉流
## 插件地址
https://github.com/Monibuca/plugin-webtransport
## 插件引入
```go
import ( _ "m7s.live/plugin/webtransport/v4" )
```
## 配置
```yaml
webtransport:
listenaddr: :4433
certfile: local.monibuca.com_bundle.pem
keyfile: local.monibuca.com.key
```
## API接口
- `/play/[streamPath]` 用来播放
- `/push/[streamPath]` 用来推流
建立双向流后传输flv格式的数据