An RTMP server receives a live video stream published by an encoder such as OBS, then can make it available to viewers, forward it elsewhere, record it, or convert it to another streaming protocol. To try one locally, run a server that listens for RTMP and point OBS at its address and stream path. A local test is not, by itself, a secure public deployment: remote publishing and viewing require reachable networking and deliberate access controls.
What an RTMP server does
RTMP (Real-Time Messaging Protocol) is commonly used to send a live stream from an encoder to a server. The encoder publishes; the server receives the incoming stream and may route it to readers, proxy or forward it, record it, or convert it to another protocol. MediaMTX documents those capabilities, while SRS documents RTMP publishing and playback examples.
Think of the server as the middle of a pipeline: an encoder sends a contribution stream to the server, and the server determines how it is made available next. The publishing connection and the viewer-delivery method are separate choices. RTMP is not automatically the best protocol for every viewer or device.
Run a minimal RTMP server locally
A local proof of concept needs a running server listening for RTMP and an encoder configured to publish to its address and path. SRS documents this Docker command as a simple way to start its RTMP configuration:
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
docker run --rm -it -p 1935:1935 ossrs/srs:5
./objs/srs -c conf/rtmp.conf
The command publishes port 1935 from the container to the host. It is a starting point for testing, not a complete public-server security, capacity, or availability plan.
SRS also documents an FFmpeg publishing URL of rtmp://localhost/live/livestream. For OBS with MediaMTX, the documented local custom server is rtmp://localhost with mystream as the path; the resulting stream is available at /mystream, and that example leaves OBS’s separate stream-key field empty. Follow the configuration and URL convention of the server you choose: the MediaMTX path arrangement is not universal.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Connect OBS to the server
- Start the server first. Confirm the RTMP service is running and listening on the intended port. For the SRS Docker example above, that is port 1935 on the host.
- Open OBS’s stream settings. In OBS, open Settings, choose Stream, and select the custom service option if your server is not a preset.
- Enter the server and path. Use the server’s expected address and stream path. In the MediaMTX local example, enter
rtmp://localhostas the server andmystreamas the path; no separate key is used in that example. Other server configurations may use an application path and a separate key. - Apply the settings and start streaming. Start the stream in OBS, then check the server or its playback endpoint using the method supported by that server. If it does not appear, verify the server is running, the URL and path match its configuration, and the publisher can reach the host and port.
localhost means the same machine. It works only when OBS and the RTMP server run on that machine. If OBS is on another computer, replace it with the server’s reachable address and configure the network and firewall so the required connection can reach the server.
Understand the stream URL and stream key
A publishing URL usually identifies the protocol, server and destination path. For example, rtmp://host:1935/live/name contains the RTMP scheme, a host, an explicit port, and a path. Depending on the server’s configuration, the path may include an application name and stream name, or OBS may supply part of the publishing destination separately as a stream key.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
- Scheme:
rtmp://is the unencrypted RTMP form;rtmps://indicates encrypted RTMP. - Host and port: Use a hostname or IP address reachable from the encoder. The port may be explicit or supplied by the service’s configuration.
- Path and key: Match the server’s configured application and stream path. Treat a stream key as a credential if it grants publishing access; do not expose it publicly.
When RTMPS matters
RTMPS encrypts the connection. YouTube describes it as the secure extension of RTMP and advises supplying the server URL when an encoder does not offer a preset. This matters when stream data or publishing credentials travel across a network you do not control.
MediaMTX documents an OBS example using rtmps://localhost:1936/mystream and says encryption must be enabled in the server configuration. In that documented OBS arrangement, the certificate must be signed by a publicly trusted certificate authority. OBS silently rejects a self-signed certificate unless a local certificate authority is trusted and validated on the OBS machine. Certificate and configuration behavior depends on the software versions and setup, so check the current MediaMTX and OBS documentation before deploying it.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Plan access before exposing a server publicly
A server that works on one computer is not automatically ready to accept streams or serve viewers over the internet. Before exposing it, decide who is allowed to publish, who can read a stream, whether the server should forward it, and which services and ports must be reachable. MediaMTX documents internal, HTTP, and JWT authentication options, along with stream forwarding; consult its current documentation for the configuration appropriate to your deployment.
- Use publishing credentials or another access-control method appropriate to the server; avoid an endpoint where anyone can publish.
- Decide whether viewers should connect directly, use a CDN, or receive a converted output.
- Expose only the services needed for the intended publishing and viewing paths, and account for server capacity and network bandwidth.
- For remote publishers, use an address they can reach and verify that routing, firewall rules, and any required TLS configuration work end to end.
The documented Docker command is not a firewall policy, authentication configuration, or production hardening recipe. The available documentation does not establish a universal firewall rule set or a safe capacity target for every deployment.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minuteBest Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Choose how viewers receive the stream
RTMP ingest and viewer delivery solve different problems. SRS describes RTMP as still used for contribution and HLS as broadly supported for delivery, with several seconds of latency. It also identifies WebRTC, HTTP-FLV, and HTTP-TS as possible lower-latency delivery options. Those are the SRS project’s qualitative descriptions, not universal or independently measured latency guarantees.
| Decision | What to consider |
|---|---|
| Encoder-to-server ingest | Whether the encoder supports the server’s publishing protocol and URL/key arrangement. |
| Viewer and CDN compatibility | Whether the chosen delivery protocol works with the target devices, players, and any CDN in the path. |
| Latency | Whether several seconds of delay is acceptable or the use case needs a lower-latency delivery path. |
| Conversion and routing | Whether the server needs to proxy, forward, record, or convert the incoming stream. MediaMTX documents support for these kinds of operations across supported protocols. |
| Public operation | How authentication, monitoring, deployment portability, network exposure, and expected concurrency will be handled. |
No fair performance benchmark between MediaMTX and SRS is established by the documentation cited here. Choose by protocol support and operational requirements rather than assuming one is faster.
Troubleshoot common setup problems
- OBS cannot connect: Check that the server is running and listening on the configured port, that OBS has the right address and path, and that a remote publisher can reach that host and port. Remember that
localhostpoints to the publisher’s own machine. - The server connects but no stream appears: Compare the OBS path and key with the server’s expected application and stream name. The MediaMTX example uses a path and no separate key; another server may require a different arrangement.
- RTMPS fails in OBS: Confirm encryption is enabled on the server and that the certificate is trusted by the publishing machine. In the documented MediaMTX setup, OBS rejects an untrusted self-signed certificate unless its issuing local authority has been trusted and validated.
- Local playback works but remote viewers cannot watch: Ingest being available on the server does not guarantee that a viewer-delivery path is exposed or compatible. Check the server’s read configuration, network reachability, and the protocol expected by the player.
- Playback delay is too high: Review the delivery protocol rather than changing ingest alone. SRS describes HLS as broadly supported but with several seconds of latency, and lists WebRTC and other options for lower-latency delivery; actual results depend on the end-to-end configuration.
Or let it run in the cloud
If your goal is a continuous YouTube stream from uploaded videos rather than operating an RTMP server, StreamNeo is a separate cloud service: upload a recording or build a playlist, add your YouTube stream key once, and go live. It loops uploaded videos to YouTube; it does not stream from a camera or to other platforms. Nothing has to stay on at home, and it automatically tries to recover if YouTube drops the stream. Any uploaded quality up to 4K 60fps streams as made, at one flat price per slot. The first day is free with no card; the monthly option is $9.99 per month. Start the free day on StreamNeo.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




