Study Plan
2110 Topo
This lesson explains Transport Layer and how it fits into the SMPTE ST 2110 stack.
• Transport Layers Purpose
• Layer Protocols
• Transport layer protocols
• Why 2110 uses UDP
• TCP
• UDP in Detail
• UDP vs TCP
• Ports

The Transport Layer (Layer 4 of the OSI model) is where network communications move from “sending packets” to “sending sessions or conversations.”
It provides the logic that lets applications on different systems exchange information reliably or in real time, depending on the use case.
The Layers Purpose
| Protocol | OSI Layer(s) | Why |
|---|---|---|
| RTP | Layer 5–7 (Session / Application) | Adds timestamps, sequence numbers, and payload type identification for real-time media streams |
| RTCP | Layer 5–7 | Provides control, statistics, and feedback (jitter, packet loss, round-trip time) for RTP streams |
| UDP | Layer 4 (Transport) | Lightweight, connectionless packet delivery without retransmission or ordering guarantees |
| Protocol | Connection Model | Reliability | Ordering | Congestion Control | Typical Use | Example Applications |
|---|---|---|---|---|---|---|
| TCP (Transmission Control Protocol) | Connection-oriented | Yes | Yes | Yes | Reliable file or data transfer | HTTP, FTP, SMTP, SSH |
| UDP (User Datagram Protocol) | Connectionless | No | No | No | Real-time, low latency | RTP, VoIP, live video, DNS, games |
| SCTP (Stream Control Transmission Protocol) | Hybrid (message-oriented) | Yes | Yes (multi-streaming without HOL blocking) | Yes | Telecom signaling, multi-homing | SS7 over IP, Diameter |
| DCCP (Datagram Congestion Control Protocol) | Connection-oriented (datagram) | Partial (with congestion control) | No | Yes | UDP-like with built-in congestion control | Experimental streaming/gaming |
RTP is not a Layer-4 transport protocol, even though many people loosely talk about it that way.
How They Relate
| Application Type | Stack | Description |
|---|---|---|
| Web Page | HTTP → TCP → IP | Reliable, ordered transfer of data |
| File Transfer | FTP → TCP → IP | Accuracy more important than latency |
| Live Video | RTP → UDP → IP | Timeliness more important than accuracy |
| Audio Call | SIP → RTP → UDP → IP | Session management plus real-time media |
| Control Plane | RTSP or RTCP → UDP / TCP → IP | Controls start, stop, and synchronization of streams |
Why Video Uses UDP (Not TCP)
UDP is fast and lightweight, and it is connectionless. No handshake, no retransmission, no congestion window. Packets are just sent. The receiver either gets them or doesn’t. So it has Low overhead, and latency.
Perfect for real-time media like: Live video (SMPTE 2110, SRT, RTP), voice (VoIP), games or live telemetry. TCP tries too hard to be “perfect,” as it guarantees reliability and order. Lost packets are retransmitted. Packets are delivered in order. TCP uses a congestion window that throttles speed when loss occurs.
That’s great for files and web pages, but a disaster for live streams. Retransmitting a lost video frame after 300 ms is pointless, the event has already moved on. When TCP detects loss, it slows down, causing freezes or buffering. The result: jerky playback, increased latency, buffering “spikes.” UDP simply discards lost packets and moves on, so your stream stays smooth even if you lose some packets.
UDP lets the application manage timing. Video applications (e.g., RTP or MPEG-TS over UDP) add their own timing logic:
This gives designers control over latency and quality, instead of TCP’s “one-size-fits-all” recovery. Multicast (one sender/many receivers) is only supported with UDP. TCP is strictly one-to-one (unicast).
Broadcasters can use IGMP joins to deliver the same live feed efficiently to hundreds of endpoints. Example: 239.1.1.1:5000 - one UDP stream received by multiple decoders.
TCPTCP (Transmission Control Protocol) is a connection-oriented transport-layer (OSI Layer 4) protocol that provides reliable, ordered, and error-checked delivery of data between two endpoints. It establishes a session using a handshake, segments data into numbered packets, retransmits lost data, controls flow so a fast sender doesn’t overwhelm a slow receiver, and applies congestion control to adapt to network conditions. TCP is used where correctness matters more than latency, such as web traffic, file transfers, and email.
“UDP profile”
Example UDP Setup
UDP Destination & Addressing1. Unicast Addressing
2. Multicast Addressing
IGMP
(Internet Group Management Protocol): Used by receivers to join/leave the group.
3. SSM vs ASM (Multicast Models)
| Aspect | ASM (Any-Source Multicast) | SSM (Source-Specific Multicast) |
|---|---|---|
| Address range | Primarily 224.0.0.0 – 231.255.255.255 and 233–239 | Reserved: 232.0.0.0/8 (232.0.0.0 – 232.255.255.255) |
| Join type | (*, G) — join group G from any source | (S, G) — join group G only from specific source S |
| Notation | (*, G) — any-source to group | (S, G) — source S to group G |
| Source discovery | Network helps discover sources (via RP in PIM-SM) | Receiver/application must know source IP in advance |
| IGMP version | Works with IGMPv1/v2 (and v3 in INCLUDE/EXCLUDE) | Requires IGMPv3 (INCLUDE mode with source list) |
| Routing protocol | PIM-SM (with RP), PIM-DM, etc. | PIM-SSM (subset of PIM-SM) — no RP needed |
| Security / control | Less secure: any source can send to group (risk of rogue sources, DoS) | More secure: only authorized source(s) allowed; prevents unauthorized injection |
| Typical use | Legacy multicast apps, many-to-many (e.g., old conferencing) | Modern one-to-many: IPTV, live streaming, financial data feeds, software updates |
| Advantages | Flexible (multiple sources possible) | Cleaner, scalable, no RP/MSDP needed, better security |
| Disadvantages | Complex (needs Rendezvous Point, MSDP for inter-domain), potential abuse | Receiver must know source IP (often learned via out-of-band signaling like SDP/HTTP) |
Summary of UDP multicast destination handling:
UDP Transport Framing – Detailed Explanation (Focus on Video/Streaming Use Cases)
UDP provides minimal framing itself — it's just a simple datagram header (8 bytes) with source/destination ports, length, and checksum. For real-time media (especially video/audio contribution, distribution, or broadcast), additional framing layers are added on top of UDP to handle payload structure, timing, synchronization, and error resilience.
In professional video contrib/distribution (e.g., live sports, studio-to-transmitter links), combining RTP framing, precise pacing, FEC/2022-7 protection, QoS marking, and careful buffering turns "best-effort" UDP into highly reliable, low-latency transport over IP networks.
UDP Stream Flow
In the context of real-time UDP-based streaming (e.g., video contribution, broadcast distribution, or professional media workflows like SMPTE ST 2110), the end-to-end flow involves encoding, network transport, and decoding with careful handling of timing, reliability, and quality of service (QoS). Below, we'll expand on each step, focusing on key mechanisms for low-latency, resilient delivery over IP networks.
DSCP
Application:Practical Defaults for UDP-Based Media Streaming (MPEG-TS/UDP and RTP/UDP in Professional Environments)
These are commonly recommended starting configurations for reliable, low-latency video/audio contribution and distribution over IP networks (e.g., broadcast, live events, studio links). They balance performance, compatibility, overhead, and resilience based on industry practices (SMPTE, Pro-MPEG, DVB guidelines, and vendor defaults).
These defaults provide a solid, interoperable baseline for most setups. Adjust based on link quality (LAN vs. WAN), bitrate (compressed vs. uncompressed), and redundancy needs. Always test with tools like Wireshark, Evertz MAGNUM, or vendor monitors for packet loss, jitter, and PCR accuracy. Let me know if you want configs for specific hardware (e.g., FFmpeg commands, Cisco QoS examples)!
Human readable UDP Profile
Name: PLAYOUT-HD-01
Mode: RTP over UDP (2110-20)
Dest: 232.10.20.30:50000 (SSM, Source=198.18.1.10)
DSCP: AF41 (video), EF for PTP on separate VLAN
Pacing: 2110-21 Narrow Sender, 1080i/59.94
Redundancy: SMPTE 2022-7 (Path A & Path B)
FEC: Off (LAN)
TTL: 32
Notes: Receiver jitter buffer 120 ms; IGMPv3 join (S,G); switch snooping enabled
| Feature | UDP | TCP |
|---|---|---|
| Connection | Connectionless | Connection-oriented |
| Reliability | None – best effort | Guaranteed – retransmits lost packets |
| Ordering | None | Ensures correct order |
| Overhead | Very low (8-byte header) | Higher (20–60 byte header, handshake, ACKs) |
| Latency | Very low | Variable / higher |
| Multicast Support | Yes | No |
| Use Case | Live video/voice, gaming, real-time telemetry | File transfer, web, email, data sync |
| Reaction to Packet Loss | Ignores, continues | Retransmits, slows down |
| Error Recovery | Handled by application (e.g., FEC) | Built into the protocol |
| Example Protocols | RTP, MPEG-TS, ST 2110, SRT, RIST | HTTP, FTP, SSH, Telnet |
UDP trades reliability for timeliness.
TCP trades timeliness for reliability.
For live video, timeliness wins — you’d rather drop a few packets than freeze the screen waiting for them.
In networking, ports are 16-bit numbers (0–65535) that act like apartment numbers in a large building (the IP address is the building address). They allow a single device (identified by its IP address) to run many different network services and applications at the same time.
Key Points
| Protocol | Connection Type | Reliability | Typical Use Cases | Port Behavior |
|---|---|---|---|---|
| TCP | Connection-oriented | Reliable (guaranteed delivery, ordered, error-checked) | Web (HTTP/HTTPS), email (SMTP/IMAP), file transfer (FTP), SSH | Uses source port + destination port to identify unique connections |
| UDP | Connectionless | Unreliable (best-effort, no guaranteed delivery or order) | DNS queries, video streaming, VoIP, gaming, DHCP, NTP | Faster, lower overhead; no handshake or retransmission |
How they work together:
A connection is uniquely identified by a
4-tuple
The 4-tuple (canonical definition)
(Source IP address, Source Port number, Destination IP address, Destination Port number)
Example:
(192.168.10.25, 53144, 10.10.20.50, 443)
That single 4-tuple uniquely identifies one TCP or UDP flow on a network.
Why the 4-tuple matters
How operating systems demultiplex traffic
When packets arrive, the OS uses the 4-tuple to decide:
Which socket the packet belongs to
Which process should receive the data
Without the 4-tuple, multiple applications using the same destination port (e.g., port 80 or 443) could not be distinguished
Multiple sessions to the same server
A single client can open many simultaneous connections to the same server and port:
Client IP Src Port Server IP Dst Port
-----------------------------------------------------
192.168.1.10 51001 93.184.216.34 443
192.168.1.10 51002 93.184.216.34 443
192.168.1.10 51003 93.184.216.34 443
Each is a different 4-tuple, hence a different session.
4-tuple vs 5-tuple (important distinction)
In many networking tools, you’ll hear 5-tuple:
(Source IP, Source Port, Destination IP, Destination Port, Protocol)
Example: (192.168.1.10, 51001, 93.184.216.34, 443, TCP)
:
Source IP : Source Port ↔ Destination IP : Destination Port
Example:
Your browser (ephemeral port 54321) → web server (port 443)
full identifier: 192.168.1.100:54321 ↔ 93.184.216.34:443
Common analogy:
IP address = street address of an apartment building
Port number = apartment number inside the building
TCP = doorman who makes sure packages arrive correctly and in order
UDP = throwing packages over the fence (fast, but some might get lost)
In short: Ports multiplex many conversations over a single IP address, and TCP vs UDP determines whether the communication is reliable & ordered (TCP) or fast & lightweight (UDP).
