GlossaryLive streaming

Live streaming

Live streaming is delivering video over the internet while it is still being captured, so viewers watch an event as it happens. A camera or screen feeds a live encoder, which compresses the picture in real time and sends it to a streaming service over an ingest protocol such as RTMPS or SRT. The service transcodes the feed into several qualities, cuts it into short segments and pushes them through a CDN to players, which keep switching quality as each viewer's network changes.

How does live streaming work?

The chain has five stages. Capture produces raw video from a camera, phone or screen. A live encoder such as OBS, vMix or a hardware box compresses it, usually to H.264 with AAC audio, and inserts keyframes (full pictures the decoder can start from) at a steady interval. YouTube recommends a 2 second keyframe interval for live encoders and advises not going past 4 seconds.

The encoder pushes the stream to an ingest server. There it is transcoded into a bitrate ladder, a set of renditions at different resolutions and bitrates, and packaged into segments with a manifest that is rewritten every time a new segment appears. A CDN (servers close to viewers) caches those segments. The player keeps reloading the manifest, fetches the newest segments and stays a little behind the live edge so it has a buffer to absorb network hiccups.

Live streaming vs. video on demand

Video on demand starts from a finished file. It can be encoded slowly, checked and fixed before anyone presses play, and every viewer can start from any point. Live streaming has none of that slack. Encoding must keep pace with the clock, the manifest grows while viewers are watching, and a dropped connection at the venue is visible to everyone at once.

Audience shape differs too. A library spreads views across hours and days, while a live event brings most viewers in within the first minutes, so the CDN and origin take a sudden spike. Live also adds features VOD does not need: DVR so late joiners can rewind, a recording that becomes on-demand afterward, and health monitoring of the incoming feed. Live sports cares most about delay and spikes; a recorded lecture series barely notices either.

What protocols does live streaming use?

Live streaming uses one set of protocols to get video into the platform and another to get it out to viewers. Ingest has to be reliable over one long connection. Delivery has to scale to every viewer through ordinary HTTP caches.

  • RTMP and RTMPS: the long-standing ingest protocol over TCP. RTMPS adds TLS encryption, and most encoders support both.
  • SRT: ingest over UDP that resends lost packets within a latency window you set, with AES encryption, which holds up better on lossy or long-distance links.
  • HLS: segmented delivery over HTTP. RFC 8216, the HLS specification, calls 10 seconds a typical segment target, though live services now often use 2 to 6 seconds.
  • LL-HLS and low-latency DASH: LL-HLS publishes partial segments and low-latency DASH sends each segment in chunks while it is still being written, so players can sit a few seconds from the live edge.
  • WebRTC: real-time delivery for calls and two-way video, harder to scale to very large audiences.

What causes live streaming to buffer or drop?

Most live failures start upstream. If the venue upload cannot sustain the encoder's bitrate, frames back up and the encoder drops them, and every viewer sees the same stutter. An encoder running out of CPU drops frames too. Keyframe intervals that do not match the segment length produce uneven segments that players handle badly.

Downstream, problems are per viewer. A weak mobile network forces the player down the ladder or into a stall if the buffer runs dry. A CDN region under load at kickoff serves segments slowly. A player tuned to sit very close to the live edge has less buffer and stalls sooner. Watching bitrate and dropped frames at ingest, and startup and rebuffering per view, tells you which side broke.

How is live streaming priced?

Live platforms usually bill in three parts. Live encoding is charged per minute of video ingested, sometimes by output resolution. Delivery is charged per viewer-minute or per gigabyte sent, so a popular event costs more than a quiet one even when encoding is identical. Extras such as simulcasting to other platforms, live captions, recording and DRM are typically billed per minute or per month on top.

To estimate an event, encoding scales with runtime, and delivery with concurrent viewers times the minutes each one watches. Per-gigabyte delivery grows with bitrate, so a 1080p stream costs more to deliver than 720p under that model, while per-minute delivery tracks watch time. Check how recordings are billed once the stream ends, since the replay becomes an on-demand asset.

How does FastPix handle live streaming?

FastPix ingests RTMP, RTMPS and SRT from OBS, vMix, Wirecast, FFmpeg or hardware encoders, and the iOS and Android live SDKs let a phone camera go live directly. Each stream has an authenticated stream key, and backup ingest gives a second path if the primary feed drops. Real-time bitrate and dropped-frame health, plus webhooks on connect, disconnect and error, show what is happening at the venue.

The feed is transcoded and delivered as LL-HLS at 4 to 7 seconds glass-to-glass, across a multi-CDN of 300+ points of presence with edge routing chosen per viewer. Concurrency scales with your plan, so there is nothing to provision before an event or tear down after. Viewers watch on the FastPix Player, with native SDKs for web, Android (Media3-based, including Android TV), iOS (AVPlayer-based, including tvOS and visionOS) and Flutter, served from your own custom domain if you set one. They get DVR to pause, rewind and return to the live edge, highlights can be clipped mid-event, live captions can run on the stream, and the same feed can be simulcast to YouTube, Twitch and Facebook Live. Signed playback URLs with token expiry control access, and with auto_archive the broadcast becomes an on-demand asset when it ends, with the same playback ID and policy. Video Data covers both the live session and the replay. Oceaniek streams live sports on it.

Live encoding is a flat $0.0324 a minute ingested at any resolution up to 1080p. Viewing is billed per viewer-minute, and simulcasting and live captions are billed per minute. The free plan includes 30 live minutes with no card, and new accounts get a $25 credit.

By the numbers

Watch: How FastPix Live Streaming Dashboard Works | Set Up, Stream & Monitor