https://github.com/monibuca/tsplugin
ts publisher for monibuca
https://github.com/monibuca/tsplugin
ts
Last synced: about 1 year ago
JSON representation
ts publisher for monibuca
- Host: GitHub
- URL: https://github.com/monibuca/tsplugin
- Owner: Monibuca
- Created: 2020-03-02T02:22:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T19:51:48.000Z (about 3 years ago)
- Last Synced: 2025-04-05T17:51:10.165Z (about 1 year ago)
- Topics: ts
- Language: Go
- Size: 569 KB
- Stars: 2
- Watchers: 2
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tsplugin
ts publisher for monibuca
处理TS数据的插件
## 插件名称
TS
## 功能
1. 通过Publish发布一个TS流,然后通过Feed方法填入TS数据即可
2. 通过PublishDir可以读取服务器上文件夹内的所有ts文件进行发布
## 配置
```toml
[Plugins.TS]
BufferLength = 2048
Path = "ts"
AutoPublish = true
```
BufferLength指的是解析TS流的时候的缓存大小,单位是PES包的个数
Path 指存放ts的目录
AutoPublish 是指是否当订阅者订阅某个房间时自动触发发布TS