Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sean-der/rtmp-to-webrtc
Demonstrate a RTMP server that publishes to WebRTC
https://github.com/sean-der/rtmp-to-webrtc
Last synced: 4 months ago
JSON representation
Demonstrate a RTMP server that publishes to WebRTC
- Host: GitHub
- URL: https://github.com/sean-der/rtmp-to-webrtc
- Owner: Sean-Der
- Created: 2020-06-08T09:45:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-08T12:20:05.000Z (over 2 years ago)
- Last Synced: 2024-10-14T12:33:04.445Z (4 months ago)
- Language: Go
- Size: 15.6 KB
- Stars: 74
- Watchers: 5
- Forks: 16
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-pion - sean-der/rtmp-to-webrtc - A RTMP server that publishes to WebRTC (Media API)
README
# rtmp-to-webrtc
This repo demonstrates a RTMP server that on every RTMP publish makes the audio/video available via WebRTC playback.
## How to use
* `go run *.go`
* Open [http://localhost:8080/](http://localhost:8080/)
* Publish an RTMP feed to `rtmp://localhost:1935/publish/foobar`. It must be H264 and alaw#### GStreamer
`gst-launch-1.0 videotestsrc ! video/x-raw,format=I420 ! x264enc speed-preset=ultrafast tune=zerolatency key-int-max=20 ! flvmux name=flvmux ! rtmpsink location=rtmp://localhost:1935/publish/foobar audiotestsrc ! alawenc ! flvmux.`