11.5. Media negotiation

11.5.1. Overview

Media negotiation and the handling of preconditions, which will be described in Section 11.6.4, are closely related concepts in IMS. Both are more concerned with the description of the session parameters in SDP. Nevertheless, they have a major influence on SIP signalling.

During media negotiation the two items of UE agree on the set of media they want to use for the session and the codes which will be used for the different media types. Therefore, the SDP offer/answer mechanism is used, which – in IMS – basically works in the following way (Figure 11.5):

  1. The calling UE sends a first SDP offer in the INVITE request to the called UE. This SDP lists all media types (e.g., audio, video or certain applications like whiteboard or chat) the caller wants to use for this session and lists the different codecs that the caller supports for encoding these different media types.

  2. The called UE responds with a first SDP answer, in which it may reject some of the proposed media types. It also reduces the list of codecs by dropping those that it does not support, such that only the codecs that are supported on both ends remain.

  3. After receiving the first answer the caller has to make the final decision on the used codecs. It sends a second offer to the called user, which indicates a single codec for every media type that will be used during the session.

  4. The called UE accepts the second offer and sends an answer back as confirmation.

Figure 11.5. SDP offer/answer ...

Get The IMS: IP Multimedia Concepts And Services, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.