Technical Guides

What Is a Streaming Server? How It Works and How to Choose One

It is the piece between your encoder and everyone watching. Knowing what it does inside, and what it does not do, keeps you from buying the wrong service or building something you will have to babysit.

The short answer

A streaming server is the machine, or more often a group of machines, that receives a live video signal from your encoder, prepares it for every kind of screen and delivers it to everyone watching. The encoder can be OBS, vMix, a hardware box or an app on a phone. The audience can be a dozen people following a service from home or thousands watching a final on phones, laptops and smart TVs at the same time.

We have run streaming servers since 2011, first as STREAMINGHD and since 2023 as XtreamCast, and this question still reaches us every week. It sounds basic, but the hard part is not receiving and delivering video. It is keeping that delivery steady when the venue's internet hiccups, when the audience triples in two minutes and when viewers are on fiber, hotel Wi-Fi and a weak 4G signal all at once.

Live streaming is not the same as uploading a file

When you upload a video to YouTube and someone presses play, that is video on demand. The file already exists: the server hands it out in pieces and the player puts them back together. The industry solved that problem years ago.

Live is different because the file does not exist yet. Every second, your encoder produces new data that has to reach an ingest server, get packaged (and transcoded, if you offer several qualities), travel to each viewer and play without stopping. If any link in that chain stalls for longer than the player's buffer, people see the spinning wheel. Everything a streaming server does is about keeping that chain moving.

What happens inside a streaming server

To understand what you are buying, or building, you have to open the box. A live streaming server works in four stages, and each one has its own problems and costs.

1. Ingest

This is where your encoder connects: an endpoint that listens for RTMP, usually on port 1935, or SRT. It checks that the stream is authorized and tolerates the small reconnections and bitrate swings every real connection has. An ingest that accepts any stream without a key is an open door: anyone who finds the address can broadcast on your channel.

2. Transcoding

Your encoder sends one quality, for example 1080p at 6 Mbps, and a viewer on a weak mobile connection cannot sustain that. A transcoder creates lower qualities from your original so the player can switch between them as the connection changes. That is adaptive bitrate streaming, or ABR, and it is the most processor-hungry part of the chain: encoding several qualities in real time needs dedicated CPU or GPU capacity for every channel. On XtreamCast it is an add-on, XtreamTranscoder, which keeps your original quality and adds 720p, 480p and 240p with aligned keyframes: four qualities from a 1080p source.

3. Packaging and origin

Browsers do not play RTMP, so the server repackages the stream, most commonly as HLS: a playlist file (.m3u8) that points to short video segments and is renewed every few seconds. The origin is the server that holds those segments and hands them out.

4. Delivery

For a moderate audience, the origin can serve viewers directly. For larger or more spread out audiences, a CDN caches the segments on servers closer to the viewers and takes load off the origin. How much it helps depends on the provider's network and on where your viewers are, so measure it with your real audience instead of assuming it. On XtreamCast, Global CDN is an add-on you switch on when your audience needs it.

StageWhat it doesWhat to check
IngestReceives the encoder's signalProtocols, authentication, behavior on reconnection
TranscodingCreates lower qualities for ABRWhich qualities, keyframe alignment, cost per channel
OriginPackages and holds the segmentsDelivery format, capacity, monitoring
DeliveryTakes the segments to viewersOutput bandwidth, CDN option, monthly transfer

What is a streaming server URL?

When an app or a platform asks for a "streaming server URL", it means the ingest address: where your encoder sends the video. In OBS you find it under Settings, Stream, with the service set to Custom. There is a Server field, something like rtmp://your-server/live, and a Stream Key field. The key works like a password: anyone who has it can broadcast on your channel, so never show it in a screenshot or paste it in a shared document.

SRT addresses look different: srt://host:port plus a stream ID that identifies the channel. On XtreamCast, the SRT stream ID carries an authentication token, and the panel shows the RTMP and SRT details for each channel.

The second URL is the playback URL, the one viewers' players load. For HLS it ends in .m3u8. You rarely hand it out directly, because the player embedded on your website uses it behind the scenes. We explain what is inside that file in our guide to M3U8 playlists.

Protocols: which one does what

Streaming protocols do two different jobs: getting the video into the server, which is called contribution, and getting it out to the viewers, which is delivery. Mixing up the two causes most of the confusion we see.

ProtocolJobDelay to the viewer
RTMPEncoder to serverSet by the delivery protocol
SRTEncoder to server over unstable networks; handoff to broadcast equipmentSet by the delivery protocol
HLSServer to viewers, any audience sizeAround 15 to 30 seconds
LL-HLSServer to viewers, large audiencesAround 3 seconds
WebRTCServer to viewers, interactive groupsUnder a second

RTMP was born with Flash and outlived it (Flash reached end of life in December 2020): it is still the protocol nearly every encoder speaks. Browsers stopped playing it long ago, which is why the server repackages it. SRT was designed for contribution over the public internet. It recovers lost packets, so it is the better choice from a venue with unstable internet.

The delay viewers experience is decided by the delivery protocol, not by RTMP. Standard HLS works with segments of several seconds and players start a few segments behind live. The XtreamCast player keeps about 30 seconds of margin on purpose, so a dip in the viewer's connection or a short encoder reconnection does not stop playback. When you need less, LL-HLS brings it to about 3 seconds as a paid add-on per channel. WebRTC playback, another add-on, reaches up to 0.3 seconds as a ceiling and is meant for interactive groups such as auctions; large audiences stay on HLS.

Streaming server vs media server: the one your TV or PS3 finds

Many people searching for a streaming server actually want a media server, which is a different tool. A media server is software on a PC, a NAS or a small home box that shares your own files (films, music, photos) over your home network. Plex, Jellyfin and the media sharing built into Windows are common examples.

That is what the "media server" option on a smart TV is about: the TV lists the DLNA servers it finds on your network so you can browse those files on the big screen. On a PlayStation 3, the Media Server Connection setting does the same job. A media server PC is simply a computer running that kind of software, and an online server, in general, is any computer that offers a service over the internet, from a website to a game.

A live streaming server is something else: it receives a signal as it happens and delivers it over the internet to an audience that can be anywhere. If you want to watch your film collection on the TV, install a media server. If you want people to watch your event while it happens, you need a streaming server.

Run your own streaming server or use a managed one?

This question arrives every week, and the answer is arithmetic, not ideology. It depends on your audience, on how much downtime you can tolerate and on what your time is worth.

For small audiences, self-hosting can be the cheaper option. Under roughly 100 concurrent viewers, an open source server such as Nginx with the RTMP module or MediaMTX, on a decent VPS, serves HLS without trouble as long as you skip heavy transcoding. The cost the invoice does not show is time: updates, certificates, monitoring and the night something breaks. Four to six hours a month of maintenance is normal, so multiply them by what an hour of your time is worth before you compare.

The ceiling arrives sooner than people expect, and it is bandwidth. 400 viewers at 2.5 Mbps need 1 Gbps of sustained output, the whole port of a typical VPS, before any overhead. Leave headroom and a single server tops out at around 200 to 300 viewers at those bitrates. Monthly transfer climbs just as fast: every viewer-hour at 3 Mbps is 1.35 GB.

A managed service bundles the server, the monitoring and the people who answer when something fails. On XtreamCast, paid video plans include 1, 2, 3 or 6 TB of monthly transfer with no overage fees: you get alerts at 75, 90 and 100%, and then you add capacity or the service pauses until renewal. Plans start at USD 25/month and are listed on our pricing page. We run both paths through real numbers in managed RTMP server vs self-hosted Nginx.

How to evaluate a provider

If you go managed, do not sign the first plan that promises "99.9% uptime": over a year, 99.9% allows almost nine hours of downtime, and 99.99% about 52 minutes. Check the protocols, which ABR qualities you get, the real viewer and transfer limits, who answers at 3 a.m. on a Sunday and the total cost with your real usage. Ask for a straight answer on redundancy too. Ours: each XtreamCast channel lives on one origin, in Chile or in North America, with no automatic failover to the other, so the backup plan belongs at the venue, with a second internet link and a spare encoder.

Then run a test with your own encoder, your own internet and the player on your own website: ten minutes with real viewers tell you more than any brochure. The complete method, with an acceptance sheet, is in how to choose a streaming server.

What matters depends on what you broadcast

The best streaming server for a church is overkill for a university lecture and falls short for a TV channel.

  • Churches and ministries: two or three services a week and an audience split between the local community and members who live far away. What matters is stability on Sunday, sending the same signal to YouTube and Facebook, clean audio and predictable costs. See live streaming for churches.
  • Production companies: a corporate event on Monday, a wedding on Saturday, a concert the following Friday. They need the client's brand on the player, not their own, and capacity that follows each project.
  • TV channels and broadcasters: 24/7 operation, controlled latency, geoblocking and handoffs to cable operators. Telecanal, a Chilean TV channel, sends three signals over SRT to our North America origin, and Radio Hoy runs on our Chile origin with XtreamTranscoder and an SRT output for cable operators. If your contracts demand DRM, we are not the right fit: we do not offer it.
  • Education: classes embedded in the learning platform, recordings for review and lower latency when students ask questions live.
  • Radio: audio at 64 to 192 kbps around the clock, where long-term stability matters more than peak quality. That is a different product: online radio servers.

Where to go from here

This guide covers the concepts. To design a complete broadcast, with owners, rehearsals and an archive, continue with our live streaming workflow guide. If you are about to compare providers, use the evaluation method above and weigh the base price and the add-ons against the protocols, transfer and storage your project really needs.

A managed streaming server, ready for your encoder

RTMP and SRT ingest and HLS delivery to your own player, with Restream and Recording Cloud included in paid video plans. The free plan gives you one channel for 10 viewers.