GStreamer can receive an RTMP stream from an RTMP server. It can also send an RTMP stream to an RTMP server.
If you need your own RTMP server, [the Nginx RTMP extension](https://github.com/arut/nginx-rtmp-module) works quite well though is no longer supported.
### Play an RTMP stream
To play from RTMP server, at the path `/live/x`, with the server name in the environment variable `RTMP_SERVER`: