2020-12-27 15:14:50 +00:00
|
|
|
# GStreamer RTMP Server Plugin
|
|
|
|
|
|
|
|
GStreamer Plugin that creates a server that is capable of receiving a RTMP stream.
|
2020-12-30 22:09:53 +00:00
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
Sending a test video stream:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
gst-launch-1.0 videotestsrc is-live=true ! x264enc ! flvmux ! rtmpsink location='rtmp://localhost:5000/myapp/somekey live=1'
|
|
|
|
```
|
|
|
|
|
|
|
|
Receiving a rtmp video stream:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
gst-launch-1.0 -v uridecodebin uri=rtmp://localhost:1935/myapp/somekey ! autovideosink
|
|
|
|
```
|