rfc-4796

The Session Description Protocol (SDP) Content Attribute

J. Hautakorpi, G. Camarillo
date2007-02 streamIETF areaart wgmmusic statusPROPOSED STANDARD pages11 canonicalhttps://www.rfc-editor.org/rfc/rfc4796 doi10.17487/RFC4796
This document defines a new Session Description Protocol (SDP) media- level attribute, 'content'. The 'content' attribute defines the content of the media stream to a more detailed level than the media description line. The sender of an SDP session description can attach the 'content' attribute to one or more media streams. The receiving application can then treat each media stream differently (e.g., show it on a big or small screen) based on its content. [STANDARDS-TRACK]

Extracted elements (15)

design-rationale §5

The 'content' attribute values are intentionally not restricted to particular media types, to avoid preventing applications from using innovative combinations of a given value with different media types.

realtime, sip

design-rationale §3

The existing 'label' attribute could in principle convey media content information, but its namespace is unrestricted and already used in application-specific ways by existing implementations, making it impossible to reserve portions without conflict. A new 'content' attribute with a defined namespace was therefore introduced.

realtime, sip

design-rationale §3

The 'i' SDP attribute was not reused for this purpose because its values are intended for human users rather than for automated processing by applications.

realtime, sip

interoperability-note §6

There is no mechanism to discover whether a peer endpoint understands the 'content' attribute because its values are purely informative at the offer/answer model level. A peer that does not understand the attribute can still establish the media session; the only consequence is that end-user interaction may be required to direct streams appropriately.

realtime, sip

normative-requirement §5 MAY

A sending application MAY attach one or more 'content' attribute tokens to any media stream it describes in an SDP session description.

realtime, sip

normative-requirement §6 MAY

An SDP answer MAY contain 'content' attributes even if none were present in the offer, and MAY contain no 'content' attributes even if they were present in the offer. The values of 'content' attributes do not need to match in an offer and an answer.

realtime, sip

normative-requirement §10 SHOULD

New values for 'content' attributes registered in the future should consist of a meta description of the contents of a media stream, and should not describe actions to take when handling a stream.

registry, realtime

protocol-element §5

The 'alt' value indicates the media stream is taken from an alternative source (e.g., ambient audio separate from the main sound, or a room view versus the main speaker view). This is analogous to the 'live' role in H.239.

realtime, sip

protocol-element §5

The 'content' attribute is a new SDP media-level attribute defined by this specification. Its ABNF syntax is: content-attribute = "a=content:" mediacnt-tag, where mediacnt-tag = mediacnt *("،" mediacnt) and mediacnt = "slides" / "speaker" / "sl" / "main" / "alt" / mediacnt-ext.

realtime, sip

protocol-element §5

The pre-defined 'content' attribute values are: 'slides' (presentation slides), 'speaker' (image of the speaker), 'sl' (sign language), 'main' (main source media), and 'alt' (alternative source media). All values can be used with any media type.

realtime, sip

protocol-element §5

The 'sl' value indicates the media stream contains sign language, typically a video stream carrying a sign-language translation of an audio stream.

realtime, sip

protocol-element §5

The 'slides' value indicates the media stream includes presentation slides; typical use cases are online seminars and courses. This is analogous to the 'presentation' role in H.239.

realtime, sip

registry §10

IANA created a subregistry for 'content' attribute values under the SDP Parameters registry, with initial values: 'slides', 'speaker', 'sl', 'main', and 'alt'. The registration policy for new values is 'Specification Required'.

registry, realtime, sip

security-consideration §9 RECOMMENDED

An attacker may attempt to add, modify, or remove 'content' attributes from a session description, potentially causing an application to behave in an undesirable way. It is strongly RECOMMENDED that integrity protection (e.g., S/MIME or TLS when carried over SIP) be applied to SDP session descriptions.

security, realtime, sip, tls

security-consideration §9

The initial set of 'content' attribute values does not contain data that would require confidentiality protection, but S/MIME and TLS can be used to protect confidentiality if needed.

security, realtime, sip, tls