MID

Media Identification

Services →
Introduced in Rel-5 Also in: Core Network

MID is a mechanism for identifying and describing media components, such as audio or video streams, within a multimedia session to enable session control and media negotiation between endpoints.

Category
Services
Introduced
Rel-5
Where
Security
Also touches
1 segments
Specifications
5 specs
MID Description Purpose Related Classification Detected Changes Specifications

Description

Media Identification (MID) is a framework used within 3GPP to uniquely identify and describe distinct media components within a multimedia session established via protocols like the Session Initiation Protocol (SIP) and the Session Description Protocol (SDP). It is a crucial part of media negotiation and session control, particularly in IP Multimedia Subsystem (IMS) services. A multimedia session, such as a voice call with video or a multi-stream conferencing service, consists of multiple media streams (e.g., primary audio, secondary video for content sharing, text). Each of these logical media components is assigned a unique MID attribute within the SDP offer/answer exchange. The MID attribute, defined in IETF RFC 5888, is included in the 'm=' (media) line of the SDP description. It allows endpoints and network nodes (like the Media Resource Function Controller, MRFC) to correlate media lines across SDP offers and answers, and to refer to specific media streams for manipulation. For instance, during a session modification, an endpoint can use the MID value to indicate which specific media stream it wishes to put on hold, change the codec for, or remove entirely. This is more robust than using the order of media lines, which can change. Within 3GPP, MID is used in conjunction with other SDP and SIP mechanisms for features like Early Media, Interactive Connectivity Establishment (ICE) for NAT traversal, and media authorization. The Policy and Charging Rules Function (PCRF) or the Application Function (AF) can also use media identification to apply specific Quality of Service (QoS) and charging policies to individual media flows within a session, enabling sophisticated service differentiation.

Purpose & Motivation

MID was introduced to solve the limitations of managing complex multimedia sessions where multiple, simultaneous media streams are involved. Early multimedia sessions typically described media based on the order of 'm=' lines in SDP, which was fragile—if the order changed during negotiation, it could lead to misassociation of streams and failed sessions. The need for a stable, unique identifier became acute with the advent of advanced IMS services like Video Telephony, Collaborative Workspaces, and Rich Communication Services (RCS), where sessions may dynamically add or remove media components (e.g., adding a file transfer or a second video stream). MID provides an explicit, protocol-level handle for each media component, enabling robust session modification, hold/resume operations, and content adaptation. It allows network elements to precisely identify which media flow a policy rule should apply to, which is essential for implementing advanced charging models (e.g., charging video separately from voice) and guaranteed bitrate QoS. Its creation was driven by the IETF's work on SDP and adopted by 3GPP to ensure interoperability and reliable service control in the all-IP service architecture of IMS.

Classification

Part ofIMS
Related approachesSDPSIPPCRFMRF

Release Timeline

Detected Changes Across Releases

from 3GPP Change Requests

Specific changes extracted from the „Change history“ tables of 3GPP specifications (5 CRs across 1 releases). Complements the general historical overview above with the evidence-based evolution of this function.

Rel-19 5 changes

In Release 19, the specifications for the Media Identification (MID) function were refined through corrections and clarifications, primarily focusing on the (S)RTP multiplexed media identification information component. The changes addressed the matching of this information, corrections to the MID and payload type within it, and clarifications on how it is contained within QoS rules. These updates ensure more precise identification and handling of multiplexed media streams in the packet core.

  • Correction to (S)RTP multiplexed media identification information component TS 24.501CR6804
  • Clarification on QoS rules containing (S)RTP multiplexed media identification information component TS 24.501CR6797
  • Correction to MID in (S)RTP multiplexed media identification information component TS 24.501CR6883
  • Clarification on the matching of (S)RTP multiplexed media identification information TS 24.501CR6922
  • Correction to payload type in (S)RTP multiplexed media identification information TS 24.501CR6805

Explore further

Broader topics and technologies where MID plays a role.

Defining Specifications

3GPP specifications that define or reference MID, with the latest known release. Sourced from the 3GPP document catalog — see methodology.

SpecificationTitleRelease
TS 23.048 v1400 Secured Packets for UICC Remote Management Rel-5
TS 24.501 vj50 5G NAS Protocols Specification Rel-19
TS 29.333 vj00 MRFC-MRFP Mp Interface Protocol Rel-19
TS 31.115 vj00 Secured Packet Structure for UICC Applications Rel-19
TS 33.812 v920 M2M Remote Subscription Management Security Rel-9
Patrick Zandl

About the author: Patrick Zandl (b. 1974)

Telecommunications specialist, technology journalist (founder of the Mobil server), and developer who has been running since 2025 — the largest Czech-language resource on AI-assisted programming. Formerly Chief Wizard Architect at Prusa3D and head of development for Turris at CZ.NIC; currently a consultant and instructor on AI implementation in companies.