Self-hosted app·Live streaming and web radio
Self-hosting SRS
on a VPS in Panama City.
SRS VPS in Panama City: sizing, Docker Compose for SRS 6.0-r1, ports, transfer maths and limits.
- Docker
- FFmpeg
PTY1·Panama City
In stockRecommended for this use case
- 1 Gbps port15 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Panama jurisdiction
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Panamanian law
01/06
Short answer.
Yes. SRS runs comfortably on our Cloud VPS Standard plan in PTY1, Panama City: 4 vCPU, 4 GB RAM, 160 GB NVMe and 15 TB of monthly transfer on a 1 Gbps port, for $12.99 a month. We have no rule against running a media server on it. The figure to watch is not CPU. SRS relays and repackages streams without re-encoding them, so the processor stays mostly idle while every viewer you serve costs the full bitrate in transfer. Size the plan from viewers × bitrate × hours, and move to a dedicated server the day you want a 24/7 channel with a real audience.
02/06
What SRS is.
SRS (Simple Realtime Server) is an open-source media server written in C++ and released under the MIT licence. The project was created in October 2013 by Winlin, who still leads its architecture, and is maintained by the ossrs community on GitHub. It accepts streams over RTMP, SRT and WebRTC (WHIP) and serves them back as RTMP, HTTP-FLV, HLS, MPEG-DASH and WebRTC (WHEP), converting between protocols along the way. That conversion is the reason to run it: OBS pushes one RTMP or SRT stream, browsers play HLS or WebRTC, and nothing in between needs a GPU.
The stable branch is 6.0. Release 6.0-r1 (v6.0.191) shipped on 12 August 2026 with fixes to DVR, WebRTC and edge playback. Version 7.0 is still at alpha and the develop branch already reports itself as 8.0. Run 6.0 for anything with a fixed start time; a Sunday service is a poor place to test a development branch.
People who run SRS tend to want one of a few things. Streamers use it as a private ingest point: one upload from home, then a fan-out to Twitch, YouTube and Kick from a machine whose uplink is better than their flat's. Churches use it to host their own player rather than embed a platform that wraps the sermon in recommendations. eSports organisers take SRT feeds from remote casters, because SRT copes with packet loss on long consumer links far better than RTMP does. If you would rather click than edit config files, Oryx (formerly SRS Stack) packages SRS with FFmpeg, a web console, multi-platform restreaming and automatic HTTPS; the sizing below applies to it unchanged.
Our servers are in Panama City and answer to Panamanian law. A US DMCA notice has no legal effect here, and we act only on valid orders from competent Panamanian authorities.
03/06
Requirements and sizing.
SRS listens on a handful of ports, and only some of them belong on the public internet.
| Port | Protocol | Purpose | Expose publicly? |
|---|---|---|---|
| 1935 | TCP | RTMP ingest from OBS, RTMP playback | Yes, ideally limited to your encoder's IP |
| 10080 | UDP | SRT ingest | Yes, with a passphrase set |
| 8000 | UDP | WebRTC media | Only if you offer WebRTC playback |
| 8080 | TCP | HTTP-FLV and HLS | Behind an HTTPS reverse proxy |
| 1985 | TCP | HTTP API, WHIP/WHEP signalling | Never directly; proxy only the WHEP path |
CPU and memory are modest as long as you only remux. The picture changes with transcoding. SRS does not build an adaptive-bitrate ladder on its own: HLS goes out at whatever bitrate OBS sent, and extra renditions mean running FFmpeg on the server (the official image ships an FFmpeg binary for this). Each x264 rendition is real CPU work. Treat Standard as a relay. If you want a full 1080p/720p/480p ladder, start on Power (12 vCPU) and measure before stepping down.
Disk is rarely the constraint. A live HLS window holds a few seconds of segments. Recording is another matter: one 6 Mbps stream writes 2.7 GB an hour, so 160 GB holds roughly 55 hours once the OS has its share (theoretical). Ship finished recordings to S3-compatible object storage with rclone instead of letting them pile up on the VPS.
Transfer is where plans are chosen. One viewer at 6 Mbps for an hour costs 2.7 GB; at 3 Mbps, 1.35 GB. Standard's 15 TB is therefore about 5,500 viewer-hours at 6 Mbps or 11,000 at 3 Mbps, and averages out to roughly 46 Mbps sustained over a 30-day month. These are theoretical figures for four typical cases:
| Scenario | Assumptions | Monthly transfer (theoretical) | Verdict on Standard |
|---|---|---|---|
| Streamer relay | 6 Mbps in, pushed to 3 platforms, 4 h/day | ≈ 0.97 TB out, 0.32 TB in | Fits easily; Starter would too |
| Church | 3 Mbps HLS, 100 viewers, 13 h/month | ≈ 1.76 TB | Fits easily |
| Weekend tournament | 6 Mbps, 300 concurrent viewers, 8 h | ≈ 6.5 TB, but 1.8 Gbps at peak | Transfer fits, the 1 Gbps port does not |
| 24/7 channel | 6 Mbps, 10 viewers on average | ≈ 19.4 TB | Does not fit |
The tournament row is the one people miss. A 1 Gbps port tops out near 166 viewers at 6 Mbps before protocol overhead, so a burst audience hits the port long before the monthly allowance. Power (2 Gbps) barely covers that example; the VPS Titan has a 5 Gbps port. For anything bandwidth-heavy, though, the Iron dedicated server at $64.99 is the better buy: a 10 Gbps port with traffic unmetered under fair use, against $119.99 for the VPS Titan with 100 TB metered.
Location deserves the same scrutiny. PTY1 makes sense when your encoder and most of your audience are in Central America, Colombia or the Caribbean. If your viewers are in Europe, host in Europe; Panama adds a long hop to every viewer for no benefit. For SRT over long links, the SRS documentation recommends a latency setting of at least three times the RTT, so ping from your studio before you tune it.
04/06
How to deploy it
with us.
Order the plan with Debian 13 from the deploy link above and note the public IPv4 shown in the client panel. Then install Docker Engine from Docker's own repository, which supports Debian 13 (trixie):
apt update && apt install -y ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
cat > /etc/apt/sources.list.d/docker.sources <<'EOF'
Types: deb
URIs: https://download.docker.com/linux/debian
Suites: trixie
Components: stable
Signed-By: /etc/apt/keyrings/docker.asc
EOF
apt update && apt install -y docker-ce docker-ce-cli containerd.io docker-compose-pluginCreate /opt/srs/srs.conf. This keeps the HTTP API and HTTP server off the public interface, sets HLS for roughly 6–8 seconds of latency instead of the default 30, and requires a passphrase on SRT:
listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;
http_api { enabled on; listen 1985; }
http_server { enabled on; listen 8080; dir ./objs/nginx/html; }
rtc_server {
enabled on;
listen 8000;
candidate $CANDIDATE; # must be the VPS public IPv4
}
srt_server {
enabled on;
listen 10080;
passphrase replace-with-20-random-chars; # 10 to 79 characters
pbkeylen 16;
}
vhost __defaultVhost__ {
hls {
enabled on;
hls_fragment 2; # pair with a 1–2 s keyframe interval in OBS
hls_window 10;
}
http_remux { enabled on; mount [vhost]/[app]/[stream].flv; }
rtc { enabled on; rtmp_to_rtc on; } # AAC is transcoded to Opus: small CPU cost
srt { enabled on; srt_to_rtmp on; }
}Then /opt/srs/compose.yaml, with the image pinned to the current stable release:
services:
srs:
image: ossrs/srs:v6.0-r1 # ossrs/srs:6 tracks the 6.x line
restart: unless-stopped
command: ["./objs/srs", "-c", "conf/srs.conf"]
environment:
CANDIDATE: "203.0.113.10" # replace with your VPS IPv4
ports:
- "1935:1935/tcp"
- "10080:10080/udp"
- "8000:8000/udp"
- "127.0.0.1:1985:1985/tcp"
- "127.0.0.1:8080:8080/tcp"
volumes:
- ./srs.conf:/usr/local/srs/conf/srs.conf:ro
tmpfs:
- /usr/local/srs/objs/nginx/html/live # HLS segments in RAM
logging:
driver: json-file
options: { max-size: "20m", max-file: "5" }Start it with docker compose up -d from /opt/srs and watch docker compose logs -f while you connect OBS. In OBS, choose the Custom service, set the server to rtmp://203.0.113.10/live and pick a stream key such as sunday. For SRT, use srt://203.0.113.10:10080?streamid=#!::r=live/sunday,m=publish&passphrase=…&pbkeylen=16. Viewers then play /live/sunday.m3u8 or /live/sunday.flv through your proxy.
Put an HTTPS proxy in front of ports 8080 and 1985; Caddy obtains certificates on its own. Forward only what viewers need: /live/* to 127.0.0.1:8080 and, if you offer WebRTC playback, /rtc/v1/whep/* to 127.0.0.1:1985. Publishing over WHIP from a browser also requires HTTPS, but RTMP or SRT from OBS is simpler and needs neither.
Two things catch people out. First, ports published by Docker bypass rules set with ufw or firewalld; Docker's own documentation says so. To limit RTMP ingest to your studio, add the rule to the DOCKER-USER chain, for example iptables -I DOCKER-USER -p tcp --dport 1935 ! -s 198.51.100.7 -j DROP, and persist it with your usual tool. Second, SRS accepts any RTMP publish by default. An open port 1935 turns your server, and your transfer allowance, into a free relay for whoever finds it. Besides the firewall rule, you can enable http_hooks with an on_publish URL: SRS posts the stream name and its query string (for example ?secret=…) to a small service of yours, and allows the publish only if that service answers HTTP 200 with 0 or {"code":0}. Oryx has this built in as a publish secret.
For restreaming with plain SRS, run one FFmpeg job per destination that reads rtmp://127.0.0.1/live/sunday and pushes it with -c copy. Nothing is re-encoded, so CPU stays low and the outbound cost is simply bitrate × destinations.
05/06
Cost.
| Plan | vCPU / RAM / NVMe | Transfer, port | Price per month |
|---|---|---|---|
| VPS Starter | 2 / 2 GB / 80 GB | 10 TB, 1 Gbps | $6.99 |
| VPS Standard (recommended) | 4 / 4 GB / 160 GB | 15 TB, 1 Gbps | $12.99 |
| VPS Pro | 6 / 8 GB / 320 GB | 20 TB, 1 Gbps | $22.99 |
| VPS Power | 12 / 16 GB / 640 GB | 40 TB, 2 Gbps | $42.99 |
| VPS Titan | 32 / 64 GB / 2 TB | 100 TB, 5 Gbps | $119.99 |
| Dedicated Iron | EPYC 4244P, 6c/12t / 32 GB / 1 TB | Unmetered (fair use), 10 Gbps | $64.99 |
Standard is $12.99 a month. Daily backups add 20 %, which makes $15.59; for an SRS box whose state is two text files, keeping those files in git is cheaper and just as safe. Yearly billing takes roughly 25 % off, about $9.75 a month (theoretical, before rounding). An extra IPv4 is $2 a month and priority support $10. Outbound port 25 is open on every VPS, which matters only if your hook service sends email. Full prices are on our pricing page, and the larger machines on the dedicated servers page.
Payment is in crypto only: AVAX, BCH, BNB, BTC, DOGE, ETH, LTC, SOL, TRX, USDC, USDT and XMR, with prices and balances in US dollars. Top-ups run from $25 to $5,000 and earn a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500. The unused paid part of a top-up is refundable within 14 days.
06/06
Limits and acceptable
use.
VPS traffic is not unmetered; each plan includes the monthly transfer shown, and a streaming server is exactly the workload that finds the ceiling. Do the arithmetic above before you announce a big event, not after.
You are responsible for everything your server publishes, including streams pushed by strangers if you leave ingest open. Rebroadcasting pay-TV, sports feeds or films you hold no rights to is a bad idea here as anywhere. A DMCA notice has no legal effect on servers in Panama. We forward copyright complaints to the customer and act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful. Hosting in Panama also changes nothing about the rules of the platforms you restream to: Twitch, YouTube and Kick enforce their own terms on your account wherever your relay sits. Twitch has allowed Partners and Affiliates to simulcast on other live platforms since October 2023, unless they have an exclusivity agreement, subject to its simulcasting guidelines.
On jurisdiction, keep expectations exact. Article 29 of Panama's Constitution allows private communications to be intercepted only on a judicial order. Panama and the United States are bound by a mutual legal assistance treaty in force since 1995, and as of 31 October 2026 the US DOJ lists CLOUD Act agreements only with the United Kingdom and Australia. For a church or a tournament this is rarely the deciding factor; latency to the audience usually is. Our offshore hosting page covers the legal side in more detail.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| TitanDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Titan |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions
people ask first.
Short answers about running this in PTY1. If yours is not here, open a ticket from your panel.
Can SRS restream to Twitch, YouTube and Kick at the same time?
Yes. Oryx has a restream screen that pushes one ingest to several platforms. With plain SRS, run one ffmpeg -c copy job per destination reading from the local RTMP stream; it does not re-encode, so the cost is outbound transfer of bitrate × destinations. Twitch permits simulcasting for Partners and Affiliates without an exclusivity agreement.
Is the Starter plan enough?
For a private relay with no public viewers, on paper yes: 4 hours a day to three platforms at 6 Mbps comes to about 1 TB a month (theoretical), well inside Starter's 10 TB. Once you serve HLS to an audience or run any transcoding, take Standard.
Does SRS offer several qualities to viewers on slow connections?
Not by itself. SRS 6.0 does not generate adaptive-bitrate HLS; you need FFmpeg on the server to produce extra renditions, and that is where CPU goes. Budget Power or a dedicated server for a full ladder, or send a single moderate bitrate such as 720p at 3 Mbps.
Do you see or keep my viewers' data?
Viewers connect to your VPS, and SRS writes connection logs to stdout, which Docker keeps according to your compose file (100 MB in the example). Retention on the server is yours to set. Panama's Law 51 of 2009 requires telecommunications companies and other communication network providers to keep certain user data for six months; whether it applies to a hosting provider is a question for Panamanian counsel, and we do not present it as settled.
What happens if someone sends a DMCA notice about my stream?
A DMCA notice has no legal effect on servers in Panama. We forward copyright complaints to the customer and act on a decision of a competent Panamanian authority, or where the content is manifestly unlawful.
Do I need to identify myself to order?
No-KYC: an email address is enough, and payment is in crypto. Details are on our no-KYC hosting page. Support runs through tickets opened from the client panel.
Sources
Every fact on this page, with its source
Checked 3 Nov 2026 unless noted.
Panamanian law and authorities
- Constitution of Panama, art. 29G.O. 25176 (Legispan)
- Law 51 of 2009, art. 6Gaceta Oficial 26374
EU and other countries
- CLOUD Act executive agreementsUS Department of Justice · checked 31 Oct 2026
Industry, providers and software
- SRS repository README: licence, protocols, release history, Docker usagegithub.com/ossrs/srs
- SRS v6.0-r1 release notes, 12 August 2026github.com
- SRS v7.0-a2 pre-releasegithub.com
- SRS ports and APIsResources.md
- SRS Dockerfile: working directory, default command, bundled FFmpegDockerfile
- Oryx README: ports, restreaming, featuresgithub.com/ossrs/oryx
- Docker Engine on Debian: supported releases, repository setup, firewall caveatdocs.docker.com/engine/install/debian
Other references
- SRS 6.0 documentation, HLS: defaults, low-latency settings, no adaptive bitrateossrs.io/…/v6/doc/hls
- SRS 6.0 documentation, WebRTC: candidate, WHIP/WHEP, HTTPS requirementossrs.io/…/v6/doc/webrtc
- SRS 6.0 documentation, SRT: URL format, passphrase, latency ≥ 3 × RTTossrs.io/…/v6/doc/srt
- SRS 6.0 documentation, HTTP callback: on_publish contractossrs.io/…/v6/doc/http-callback
- Twitch opens simulcasting to all live platforms, 20 October 2023Digital Music News, 22 October 2023
- Panama–US mutual legal assistance treaty, in force 6 September 1995US Department of State
Your server in Panama,
ready when you are.
Cloud VPS start at $6.99 a month and are ready 60 to 120 seconds after you order.