Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jellyterra/rtmp-pioneer
Record and forward RTMP streams to multiple endpoints.
https://github.com/jellyterra/rtmp-pioneer
Last synced: 1 day ago
JSON representation
Record and forward RTMP streams to multiple endpoints.
- Host: GitHub
- URL: https://github.com/jellyterra/rtmp-pioneer
- Owner: jellyterra
- License: mpl-2.0
- Created: 2024-10-23T18:10:04.000Z (23 days ago)
- Default Branch: master
- Last Pushed: 2024-11-04T18:19:11.000Z (11 days ago)
- Last Synced: 2024-11-04T19:28:11.723Z (11 days ago)
- Language: Go
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rtmp-pioneer
Record and forward RTMP streams to multiple endpoints.## Install
### Releases
Download the executable in [releases](https://github.com/jellyterra/rtmp-pioneer/releases).
### Build from source
```shell
go install github.com/jellyterra/rtmp-pioneer@latest
```## Usage
```
Usage of ./rtmp-pioneer:
-a string
Server listen address. (default ":1935")
-expire int
Expiration days.
-o string
Stream save directory. (default "./")
```### Expiration
Outdated files will be automatically removed.
# Route
## No route (recording-only)
Server: `rtmp:///record`
Stream key **will be ignored**.
## Direct
Server: `rtmp:///direct//`
Stream key: **AS IS**
### Example
`rtmp://k1-i.jellyterra.com/direct/live-push.bilivideo.com/live-bvc`
Live server: `live-push.bilivideo.com/live-bvc`
Pioneer: `k1-i.jellyterra.com`
```
$ ./rtmp-pioneer -o ~/Videos
Listen on :1935
1730107018200000 Direct route.
1730107018200000 Connecting to live-push.bilivideo.com/live-bvc
1730107018200000 Streaming started.
1730107018200000 Closed.
```