idnits 2.17.1 draft-ietf-rtcweb-sdp-04.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- ** The document seems to lack a Security Considerations section. ** There is 1 instance of too long lines in the document, the longest one being 3 characters in excess of 72. ** The abstract seems to contain references ([RFC4566], [RFC3264], [WebRTC]), which it shouldn't. Please replace those with straight textual mentions of the documents in question. == There are 157 instances of lines with non-RFC6890-compliant IPv4 addresses in the document. If these are example addresses, they should be changed. == There are 116 instances of lines with private range IPv4 addresses in the document. If these are generic example addresses, they should be changed to use any of the ranges defined in RFC 6890 (or successor): 192.0.2.x, 198.51.100.x or 203.0.113.x. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year == The document seems to lack the recommended RFC 2119 boilerplate, even if it appears to use RFC 2119 keywords -- however, there's a paragraph with a matching beginning. Boilerplate error? (The document does seem to have the reference to RFC 2119 which the ID-Checklist requires). -- The document date (March 26, 2017) is 2585 days in the past. Is this intentional? Checking references for intended status: Informational ---------------------------------------------------------------------------- == Missing Reference: 'S' is mentioned on line 4552, but not defined == Missing Reference: 'F' is mentioned on line 4552, but not defined == Unused Reference: 'RFC3952' is defined on line 4324, but no explicit reference was found in the text == Unused Reference: 'RFC3556' is defined on line 4339, but no explicit reference was found in the text == Unused Reference: 'RFC5576' is defined on line 4379, but no explicit reference was found in the text == Unused Reference: 'RFC7022' is defined on line 4422, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-mmusic-msid' is defined on line 4465, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-rtcweb-data-channel' is defined on line 4476, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-payload-flexible-fec-scheme' is defined on line 4481, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-mmusic-mux-exclusive' is defined on line 4487, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-rtcweb-security-arch' is defined on line 4497, but no explicit reference was found in the text -- Obsolete informational reference (is this intentional?): RFC 4566 (Obsoleted by RFC 8866) -- Obsolete informational reference (is this intentional?): RFC 5245 (Obsoleted by RFC 8445, RFC 8839) -- Obsolete informational reference (is this intentional?): RFC 3984 (Obsoleted by RFC 6184) -- Obsolete informational reference (is this intentional?): RFC 2326 (Obsoleted by RFC 7826) -- Obsolete informational reference (is this intentional?): RFC 2833 (Obsoleted by RFC 4733, RFC 4734) == Outdated reference: A later version (-54) exists of draft-ietf-mmusic-sdp-bundle-negotiation-24 == Outdated reference: A later version (-14) exists of draft-ietf-mmusic-sdp-simulcast-03 == Outdated reference: A later version (-15) exists of draft-ietf-mmusic-rid-04 == Outdated reference: A later version (-26) exists of draft-ietf-rtcweb-jsep-12 == Outdated reference: A later version (-17) exists of draft-ietf-mmusic-msid-11 == Outdated reference: A later version (-26) exists of draft-ietf-mmusic-sctp-sdp-15 == Outdated reference: A later version (-20) exists of draft-ietf-payload-flexible-fec-scheme-01 == Outdated reference: A later version (-12) exists of draft-ietf-mmusic-mux-exclusive-08 == Outdated reference: A later version (-32) exists of draft-ietf-mmusic-dtls-sdp-22 == Outdated reference: A later version (-20) exists of draft-ietf-rtcweb-security-arch-11 Summary: 3 errors (**), 0 flaws (~~), 25 warnings (==), 6 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 Network Working Group S. Nandakumar 3 Internet-Draft C. Jennings 4 Intended status: Informational Cisco 5 Expires: September 27, 2017 March 26, 2017 7 SDP for the WebRTC 8 draft-ietf-rtcweb-sdp-04 10 Abstract 12 The Web Real-Time Communication [WebRTC] working group is charged to 13 provide protocol support for direct interactive rich communication 14 using audio, video and data between two peers' web browsers. With in 15 the WebRTC framework, Session Description protocol (SDP) [RFC4566] is 16 used for negotiating session capabilities between the peers. Such a 17 negotiation happens based on the SDP Offer/Answer exchange mechanism 18 described in [RFC3264]. 20 This document provides an informational reference in describing the 21 role of SDP and the Offer/Answer exchange mechanism for the most 22 common WebRTC use-cases. 24 This SDP examples provided in this document is still a work in 25 progress, but it aims to align closest to the evolving standards 26 work. 28 Status of This Memo 30 This Internet-Draft is submitted in full conformance with the 31 provisions of BCP 78 and BCP 79. 33 Internet-Drafts are working documents of the Internet Engineering 34 Task Force (IETF). Note that other groups may also distribute 35 working documents as Internet-Drafts. The list of current Internet- 36 Drafts is at http://datatracker.ietf.org/drafts/current/. 38 Internet-Drafts are draft documents valid for a maximum of six months 39 and may be updated, replaced, or obsoleted by other documents at any 40 time. It is inappropriate to use Internet-Drafts as reference 41 material or to cite them other than as "work in progress." 43 This Internet-Draft will expire on September 27, 2017. 45 Copyright Notice 47 Copyright (c) 2017 IETF Trust and the persons identified as the 48 document authors. All rights reserved. 50 This document is subject to BCP 78 and the IETF Trust's Legal 51 Provisions Relating to IETF Documents 52 (http://trustee.ietf.org/license-info) in effect on the date of 53 publication of this document. Please review these documents 54 carefully, as they describe your rights and restrictions with respect 55 to this document. Code Components extracted from this document must 56 include Simplified BSD License text as described in Section 4.e of 57 the Trust Legal Provisions and are provided without warranty as 58 described in the Simplified BSD License. 60 Table of Contents 62 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 63 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3 64 3. SDP and the WebRTC . . . . . . . . . . . . . . . . . . . . . 3 65 4. Offer/Answer and the WebRTC . . . . . . . . . . . . . . . . . 6 66 5. WebRTC Session Description Examples . . . . . . . . . . . . . 6 67 5.1. Some Conventions . . . . . . . . . . . . . . . . . . . . 7 68 5.2. Basic Examples . . . . . . . . . . . . . . . . . . . . . 9 69 5.2.1. Audio Only Session . . . . . . . . . . . . . . . . . 9 70 5.2.2. Audio/Video Session . . . . . . . . . . . . . . . . . 13 71 5.2.3. Data Only Session . . . . . . . . . . . . . . . . . . 18 72 5.2.4. Audio Call On Hold . . . . . . . . . . . . . . . . . 20 73 5.2.5. Audio with DTMF Session . . . . . . . . . . . . . . . 23 74 5.2.6. One Way Audio/Video Session - Document Camera . . . . 27 75 5.2.7. Audio, Video Session with BUNDLE Support Unknown . . 30 76 5.2.8. Audio, Video and Data Session . . . . . . . . . . . . 35 77 5.2.9. Audio, Video Session with BUNDLE Unsupported . . . . 38 78 5.2.10. Audio, Video BUNDLED, but Data (Not BUNDLED) . . . . 43 79 5.2.11. Audio Only, Add Video to BUNDLE . . . . . . . . . . . 48 80 5.3. MultiResolution, RTX, FEC Examples . . . . . . . . . . . 53 81 5.3.1. Sendonly Simulcast Session with 2 cameras and 2 82 encodings per camera . . . . . . . . . . . . . . 54 83 5.3.2. Successful SVC Video Session . . . . . . . . . . . . 60 84 5.3.3. Successful Simulcast Video Session with 85 Retransmission . . . . . . . . . . . . . . . . . . . 64 86 5.3.4. Successful 1-way Simulcast Session with 2 resolutions 87 and RTX - One resolution rejected . . . . . . 68 88 5.3.5. Simulcast Video Session with Forward Error Correction 73 89 5.4. Others . . . . . . . . . . . . . . . . . . . . . . . . . 77 90 5.4.1. Audio Session - Voice Activity Detection . . . . . . 77 91 5.4.2. Audio Conference - Voice Activity Detection . . . . . 80 92 5.4.3. Successful legacy Interop Fallback with bundle-only . 83 93 5.4.4. Legacy Interop with RTP/AVP profile . . . . . . . . . 88 94 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 92 95 7. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 92 96 8. Change Log . . . . . . . . . . . . . . . . . . . . . . . . . 92 97 9. Informative References . . . . . . . . . . . . . . . . . . . 94 98 Appendix A. Appendix . . . . . . . . . . . . . . . . . . . . . . 99 99 A.1. JSEP SDP Attributes Checklist . . . . . . . . . . . . . . 99 100 A.1.1. Common Checklist . . . . . . . . . . . . . . . . . . 99 101 A.1.2. RTP Media Description Checklist . . . . . . . . . . . 100 102 A.1.3. DataChannel Media Description checklist . . . . . . . 102 103 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 102 105 1. Introduction 107 Javascript Session Exchange Protocol(JSEP) [I-D.ietf-rtcweb-jsep] 108 specifies a generic protocol needed to generate [RFC3264] Offers and 109 Answers negotiated between the WebRTC peers for setting up, updating 110 and tearing down a WebRTC session. For this purpose, SDP is used to 111 construct [RFC3264] Offers/Answers for describing (media and non- 112 media) streams as appropriate for the recipients of the session 113 description to participate in the session. 115 The remainder of this document is organized as follows: Sections 3 116 and 4 provides an overview of SDP and the Offer/Answer exchange 117 mechanism. Section 5 provides sample SDP generated for the most 118 common WebRTC use-cases. 120 2. Terminology 122 The key words "MUST", "MUST NOT", "REQUIRED", "SHOULD", "SHOULD NOT", 123 "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be 124 interpreted as described in [RFC2119]. 126 3. SDP and the WebRTC 128 The purpose of this section is to provide a general overview of SDP 129 and its components. For a more in-depth understanding, the readers 130 are advised to refer to [RFC4566]. 132 The Session Description Protocol (SDP) [RFC4566] describes multimedia 133 sessions, which can contain audio, video, whiteboard, fax, modem, and 134 other streams. SDP provides a general purpose, standard 135 representation to describe various aspects of multimedia session such 136 as media capabilities, transport addresses and related metadata in a 137 transport agnostic manner, for the purposes of session announcement, 138 session invitation and parameter negotiation. 140 As of today SDP is widely used in the context of Session Initiation 141 Protocol [RFC3261], Real-time Transport Protocol [RFC3550] and Real- 142 time Streaming Protocol applications [RFC2326]. 144 Below figure introduces high-level breakup of SDP into components 145 that semantically describe a multimedia session, in our case, a 146 WebRTC session [WebRTC]. It by no means captures everything about 147 SDP and hence, should be used for informational purposes only. 149 +---------------------+ 150 | v= | 151 +---------------------+ 152 +---------------------+ +---------------------+ 153 ==== | Session Metadata | ===== | o= | 154 | +---------------------+ +---------------------- 155 | +---------------------+ 156 | | t= | 157 | +---------------------+ 158 | 159 | 160 | +---------------------+ 161 | | c= | 162 | +---------------------+ 163 | +---------------------+ 164 ==== | Network Description | ===== 165 | +---------------------+ 166 | +---------------------+ 167 | | a=candidate | 168 | +---------------------+ 169 | 170 | 171 | +---------------------+ 172 | | m= | 173 | +---------------------+ 174 | +---------------------+ +---------------------+ 175 ==== | Stream Description | ===== | a=rtpmap | 176 | +---------------------+ +---------------------- 177 | +---------------------+ 178 | | a=fmtp | 179 | +---------------------+ 180 | +---------------------+ 181 | | a=sendrecv.. | 182 | +---------------------+ 183 +---------------+ 184 | SEMANTIC | 185 | COMPONENTS OF | 186 | SDP | 187 +---------------+ 188 | +---------------------+ 189 | | a=crypto | 190 | +---------------------+ 191 | +---------------------+ +---------------------+ 192 ==== |Security Descriptions| =====| a=ice-frag | 193 | +---------------------+ +---------------------- 194 | +---------------------+ 195 | | a=ice-pwd | 196 | +---------------------+ 197 | +---------------------+ 198 | | a=fingerprint | 199 | +---------------------+ 200 | 201 | 202 | 203 | +---------------------+ 204 | | a=rtcp-fb | 205 | +---------------------+ 206 | +---------------------+ +---------------------+ 207 ==== | Qos,Grouping | | | 208 | Descriptions | =====| a=group | 209 +---------------------+ +---------------------- 210 +---------------------+ 211 | a=rtcpmux | 212 +---------------------+ 214 Figure 1: Semantic Components of SDP 216 [WebRTC] proposes JavaScript application to fully specify and control 217 the signaling plane of a multimedia session as described in the JSEP 218 specification [I-D.ietf-rtcweb-jsep]. JSEP provides mechanisms to 219 create session characterization and media definition information to 220 conduct the session based on SDP exchanges. 222 In this context, SDP serves two purposes: 224 1. Provide grammatical structure syntactically. 226 2. Semantically convey participant's intention and capabilities 227 required to successfully negotiate a session. 229 4. Offer/Answer and the WebRTC 231 This section introduces SDP Offer/Answer Exchange mechanism mandated 232 by WebRTC for negotiating session capabilities while setting up, 233 updating and tearing down a WebRTC session. This section is 234 intentionally brief in nature and interested readers are recommended 235 to refer [RFC3264] for specific details on the protocol operation. 237 The Offer/Answer [RFC3264] model specifies rule for the bilateral 238 exchange of Session Description Protocol (SDP) messages for creation 239 of multimedia streams. It defines protocol with involved 240 participants exchanging desired session characteristics from each 241 others perspective constructed as SDP to negotiate the session 242 between them. 244 In the most basic form,the protocol operation begins by one of the 245 participants sending an initial SDP Offer describing its intent to 246 start a multimedia communication session. The participant receiving 247 the offer MAY generate an SDP Answer accepting the offer or it MAY 248 reject the offer. If the session is accepted the Offer/Answer model 249 guarantees a common view of the multimedia session between the 250 participants. 252 At any time, either participant MAY generate a new SDP offer that 253 updates the session in progress. 255 With in the context of WebRTC, the Offer/Answer model defines the 256 state-machinery for WebRTC peers to negotiate session descriptions 257 between them during the initial setup stages as well as for eventual 258 session updates. Javascript Session Establishment Protocol 259 specification [I-D.ietf-rtcweb-jsep] for WebRTC provides the 260 mechanism for generating [RFC3264] SDP Offers and Answers in order 261 for both sides of the session to agree upon details such as list of 262 media formats to be sent/received, bandwidth information, crypto 263 parameters, transport parameters, for example. 265 5. WebRTC Session Description Examples 267 A typical web based real-time multimedia communication session can be 268 characterized as below: 270 o It has zero or more Audio only, Video only or Audio/Video RTP 271 Sessions, 273 o MAY contain zero or more non-media data sessions, 275 o All the sessions are secured with DTLS-SRTP, 276 o Supports NAT traversal using ICE mechanism, 278 o Provides RTCP based feedback mechanisms, 280 o Sessions can be over IPv4-only, IPv6-only, dual-stack based 281 clients. 283 5.1. Some Conventions 285 The examples given in this document follow the conventions listed 286 below: 288 o In all the examples, Alice and Bob are assumed to be the WebRTC 289 peers. 291 o It is assumed that for most of the examples, the support for 292 [I-D.ietf-mmusic-sdp-bundle-negotiation] is established apriori 293 either out-of-band or as a consequence of successful Offer/Answer 294 negotiation between Alice and Bob, unless explicitly stated 295 otherwise. 297 o Call-flow diagrams that accompany the use-cases capture only the 298 prominent aspects of the system behavior and intentionally is not 299 detailed to improve readability. 301 o Eventhough the call-flow diagrams shows SDP being exchanged 302 between the parties, it doesn't represent the only way an WebRTC 303 setup is expected to work. Other approaches may involve WebRTC 304 applications to exchange the media setup information via non-SDP 305 mechanisms as long as they confirm to the [I-D.ietf-rtcweb-jsep] 306 API specification. 308 o The SDP examples deviate from actual on-the-wire SDP notation in 309 several ways. This is done to facilitate readability and to 310 conform to the restrictions imposed by the RFC formatting rules. 312 * Visual markers/Empty lines in any SDP example are inserted to 313 make functional divisions in the SDP clearer, and are not 314 actually part of the SDP syntax. 316 * Any SDP line that is indented (compared to the initial line in 317 the SDP block) is a continuation of the preceding line. The 318 line break and indent are to be interpreted as a single space 319 character. 321 * Excepting the above two conventions, line endings are to be 322 interpreted as pairs (that is, an ASCII 13 followed by 323 an ASCII 10). 325 o Against each SDP line, pointers to the appropriate RFCs are 326 provided for further informational reference. Also an attempt has 327 been made to provide explanatory notes to enable better 328 understanding of the SDP usage, wherever appropriate. 330 o Following SDP details are common across all the use-cases defined 331 in this document unless mentioned otherwise. 333 * DTLS fingerprint for SRTP (a=fingerprint) 335 * RTP/RTCP Multiplexing (a=rtcp-mux) 337 * RTCP Feedback support (a=rtcp-fb) 339 * Host and server-reflexive candidate lines (a=candidate) 341 * SRTP Setup framework parameters (a=setup) 343 * RTCP attribute (a=rtcp) 345 * RTP header extension indicating audio-levels from client to the 346 mixer 348 For specific details, readers must refer to [I-D.ietf-rtcweb-jsep] 349 specification. 351 o The term "Session" is used rather loosely in this document to 352 refer to either a "Communication Session" or a "RTP Session" or a 353 "RTP Stream" depending on the context. 355 o Payload type 109 is usually used for OPUS, 0 for PCMU, 8 for PCMA, 356 99 for H.264 and 120 for VP8 in most of the examples to maintain 357 uniformity. 359 o The IP Address:Port combinations '192.168.1.4:61665' (host) and 360 '24.23.204.141:54609' (Server Reflexive) is typically used for 361 Alice. 363 o The IP Address:Port combinations '192.168.1.7:51556' (host) and 364 '98.248.92.77:49203' (Server Reflexive) is typically used for Bob. 366 o In the actual use the values that represent SSRCs, ICE candidate 367 foundations, WebRTC Mediastream and MediaStreamTrack Ids shall be 368 much larger and/or random than the ones shown in the examples. 370 5.2. Basic Examples 372 5.2.1. Audio Only Session 374 This common scenario shows SDP for secure two-way audio session with 375 Alice offering Opus, PCMU, PCMA and Bob accepting all the offered 376 audio codecs. 378 2-Way Audio Only Session 380 Alice Bob 381 | | 382 | | 383 | Offer(Audio:Opus,PCMU,PCMA) | 384 |------------------------------------>| 385 | | 386 | | 387 | Answer(Audio:Opus,PCMU,PCMA) | 388 |<------------------------------------| 389 | | 390 | | 391 |Two-way Opus Audio (preferred-codec) | 392 |.....................................| 393 | | 394 | | 396 +--------------------------------------------+----------------------+ 397 | Offer SDP Contents | RFC#/Notes | 398 +--------------------------------------------+----------------------+ 399 | v=0 | [RFC4566] | 400 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 401 | | Origin Information | 402 | s=- | [RFC4566] | 403 | t=0 0 | [RFC4566] | 404 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sdp | 405 | | -bundle-negotiation] | 406 | a=ice-options:trickle | [I-D.ietf-mmusic-tri | 407 | | ckle-ice] | 408 | a=identity:eyJpZHAiOnsiZG9tYWluIjoibmlpZi5 | Section 5.6 of [I-D. | 409 | odSIsInByb3RvY29sIjoiaWRwLmh0bWwifSwiYXNzZ | ietf-rtcweb-security | 410 | XJ0a W9uIjoiZXlKaGJHY2lPaUpTVXpJMU5pSXNJbl | -arch] | 411 | I1Y0NJNklrcFhVeUo5LmV5SmpiMjUwWlc1MGN5STZl | | 412 | eUptYVc1b lpYSndjbWx1ZENJNlczc2lZV3huYjNKc | | 413 | GRHaHRJam9pYzJoaExUSTFOaUlzSW1ScFoyVnpkQ0k | | 414 | 2SWprek9rTXdPa kl6T2pKR09rRXlPakF3T2pBd09q | | 415 | QkVPalV4T2tGRE9rUXlPalUwT2pZMU9rWTBPak5DT2 | | 416 | pkRU9qa3lPa1JET2pnN E9qTXpPalV4T2pJek9qUXd | | 417 | PamN5T2preE9qZ3pPalZDT2pBeE9qSkdPalV3T2pjN | | 418 | E9qTkdJbjFkZlN3aWFXUmxib lJwZEhraU9pSnRhWE | | 419 | 5wUUc1cGFXWXVhSFVpZlEuSTVQdGhKNFFDT05TOFVX | | 420 | d25OOUh3MEdaTDl3d0RBVGRrTWtFW llmdlNVTTJ6U | | 421 | md5R09WSGgzRmpnc2FPZklkRnFsNUx6azBFbndVOTN | | 422 | QOUlCQ0xZOWtia3V1c0V1S25YRGVNLTNIN WFmdTJv | | 423 | Zl9CTlZjUnB3MmdBdlNBbVR6SlltcEpqMFEtdmV0Tm | | 424 | tVT1huZE9HLUIzT3ZGb3QwZVNENlZSNUdhb2wyc Gd | | 425 | uS3FSTktOd3dacEZ1eUZZbFRodHJIdGNiT19WV3o4Q | | 426 | nZpTThKS25OdExWd1JxNUhMX2ZLTlRCNzFDYkoyWmh | | 427 | 5W XU1UEdwWDhXcXJMWC1ybm5YSFY3RnhoTTh5OHdr | | 428 | LWd5cnRZazVnbFlZeUFrcTVqZklSXzRzWER5d19Qc1 | | 429 | BWTW1aZ XltenVGV3BQTzVFWlJYR0ZpRjFET0o4Q0Q | | 430 | 3Z3Zta2dUdlBXSWpkemtBIn0= | | 431 | ****** Audio m=line ********* | ******************** | 432 | | ********* | 433 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 0 8 | [RFC4566] | 434 | c=IN IP4 24.23.204.141 | [RFC4566] | 435 | a=mid:audio | [RFC5888] | 436 | a=msid:ma ta | Identifies | 437 | | RTCMediaStream ID | 438 | | (ma) and | 439 | | RTCMediaStreamTrack | 440 | | ID (ta) | 441 | a=sendrecv | [RFC3264] - Alice | 442 | | can send and recv | 443 | | audio | 444 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rt | 445 | | p-opus] - Opus Codec | 446 | | 48khz, 2 channels | 447 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU Audio | 448 | | Codec | 449 | a=rtpmap:8 PCMA/8000 | [RFC3551] PCMA Audio | 450 | | Codec | 451 | a=maxptime:120 | [RFC4566] | 452 | a=ice-ufrag:074c6550 | [RFC5245] - ICE user | 453 | | fragment | 454 | a=ice- | [RFC5245] - ICE | 455 | pwd:a28a397a4c3f31747d1ee3474af08a068 | password | 456 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81 | [RFC5245] - DTLS | 457 | :E6:B8:5C:F4:A5:A8:D8:73:04 :BB:05:2F:70:9 | Fingerprint for SRTP | 458 | F:04:A9:0E:05:E9:26:33:E8:70:88:A2 | | 459 | a=setup:actpass | [RFC4145] - Alice | 460 | | can perform DTLS | 461 | | before Answer | 462 | | arrives | 463 | a=dtls-id:1 | [I-D.ietf-mmusic-dtl | 464 | | s-sdp] | 465 | a=rtcp-mux | [RFC5761] - Alice | 466 | | can perform RTP/RTCP | 467 | | Muxing | 468 | a=rtcp:60065 IN IP4 24.23.204.141 | [RFC3605] | 469 | a=rtcp-rsize | [RFC5506] - Alice | 470 | | intends to use | 471 | | reduced size RTCP | 472 | | for this session | 473 | a=rtcp-fb:109 nack | [RFC5104] - | 474 | | Indicates NACK RTCP | 475 | | feedback support | 476 | a=extmap:1 urn:ietf:params:rtp-hdrext | [RFC6464] Alice | 477 | :ssrc-audio-level | supports RTP header | 478 | | extension to | 479 | | indicate audio | 480 | | levels | 481 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp | 482 | hdrext:sdes:mid | -bundle-negotiation] | 483 | a=candidate:0 1 UDP 2122194687 | [RFC5245] - RTP Host | 484 | 192.168.1.4 61665 typ host | Candidate | 485 | a=candidate:1 1 UDP 1685987071 | [RFC5245] - RTP | 486 | 24.23.204.141 54609 typ srflx raddr | Server Reflexive ICE | 487 | 192.168.1.4 rport 61665 | Candidate | 488 | a=candidate:0 2 UDP 2122194687 | [RFC5245] - RTCP | 489 | 192.168.1.4 61667 typ host | Host Candidate | 490 | a=candidate:1 2 UDP 1685987071 | [RFC5245] - RTCP | 491 | 24.23.204.141 60065 typ srflx raddr | Server Reflexive ICE | 492 | 192.168.1.4 rport 61667 | Candidate | 493 | a=end-of-candidates | [I-D.ietf-mmusic-tri | 494 | | ckle-ice] | 495 +--------------------------------------------+----------------------+ 497 Table 1: 5.2.1 SDP Offer 499 +-------------------------------------------+-----------------------+ 500 | Answer SDP Contents | RFC#/Notes | 501 +-------------------------------------------+-----------------------+ 502 | v=0 | [RFC4566] | 503 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 504 | | Origin Information | 505 | s=- | [RFC4566] | 506 | t=0 0 | [RFC4566] | 507 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sdp- | 508 | | bundle-negotiation] | 509 | a=ice-options:trickle | [I-D.ietf-mmusic-tric | 510 | | kle-ice] | 511 | a=identity:ew0KICAiaWRwIjp7DQogICAgImRvbW | Section 5.6 of [I-D.i | 512 | FpbiI6ICJjaXNjb3NwYXJrLmNvbSIsDQogICAg In | etf-rtcweb-security-a | 513 | Byb3RvY29sIjogImRlZmF1bHQiDQogIH0sDQogICJ | rch] | 514 | hc3NlcnRpb24iOiAibEp3WkVocmFVOXBTblJo V0U | | 515 | 1d1VVYzFjR0ZYV1hWaFNGVnBabEV1U1RWUWRHaEtO | | 516 | RkZEVDA1VE9GVlhkMjVPT1VoM01FZGFURGwz ZDBS | | 517 | QlZHUnJUV3RGVw0KICAgICAgICAgICAgICBsbG1kb | | 518 | E5WVFRKNlVtZDVSMDlXU0dnelJtcG5jMkZQ Wmtsa | | 519 | 1JuRnNOVXg2YXpCRmJuZFZPVE5RT1VsQ1EweFpPV3 | | 520 | RpYTNWMWMwVjFTMjVZUkdWTkxUTklODQog ICAgIC | | 521 | AgICAgICAgIFdGbWRUSnZabDlDVGxaalVuQjNNbWR | | 522 | CZGxOQmJWUjZTbGx0Y0VwcU1GRXRkbVYw VG10VlQ | | 523 | xaHVaRTlITFVJelQzWkdiM1F3WlZORU5sWlNOVWRo | | 524 | YjJ3eWMNCiAgICAgICAgICAgICAgR2R1 UzNGU1Rr | | 525 | dE9kM2RhY0VaMWVVWlpiRlJvZEhKSWRHTmlUMTlXV | | 526 | jNvNFFuWnBUVGhLUzI1T2RFeFdkMUp4 | | 527 | TlVoTVgyWkxUbFJDTnpGRFlrb3lXbWg1VyINCn0= | | 528 | ****** Audio m=line ********* | ********************* | 529 | | ******** | 530 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 0 8 | [RFC4566] | 531 | c=IN IP4 98.248.92.77 | [RFC4566] | 532 | a=mid:audio | [RFC5888] | 533 | a=msid:ma ta | Identifies | 534 | | RTCMediaStream ID | 535 | | (ma) and | 536 | | RTCMediaStreamTrack | 537 | | ID (ta) | 538 | a=sendrecv | [RFC3264] - Bob can | 539 | | send and recv audio | 540 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp | 541 | | -opus] Opus Codec | 542 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU Audio | 543 | | Codec | 544 | a=rtpmap:8 PCMA/8000 | [RFC3551] PCMA Audio | 545 | | Codec | 546 | a=maxptime:120 | [RFC4566] | 547 | a=ice-ufrag:05067423 | [RFC5245] - ICE user | 548 | | fragment | 549 | a=ice- | [RFC5245] - ICE | 550 | pwd:1747d1ee3474a28a397a4c3f3af08a068 | password parameter | 551 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E | [RFC5245] - DTLS | 552 | 2:51:3B:AC:6F:F3:3F:46:1B:35 :DC:B8:5F:64 | Fingerprint for SRTP | 553 | :1A:24:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 554 | a=setup:active | [RFC4145] - Bob | 555 | | carries out DTLS | 556 | | Handshake in parallel | 557 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls | 558 | | -sdp] | 559 | a=rtcp-mux | [RFC5761] - Bob can | 560 | | perform RTP/RTCP | 561 | | Muxing on port 49203 | 562 | a=rtcp-rsize | [RFC5506] - Bob | 563 | | intends to use | 564 | | reduced size RTCP for | 565 | | this session | 566 | a=rtcp-fb:109 nack | [RFC5104] - Indicates | 567 | | NACK RTCP feedback | 568 | | support | 569 | a=extmap:1 urn:ietf:params:rtp-hdrext | [RFC6464] Bob | 570 | :ssrc-audio-level | supports audio level | 571 | | RTP header extension | 572 | | as well | 573 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp- | 574 | hdrext:sdes:mid | bundle-negotiation] | 575 | a=candidate:0 1 UDP 2122194687 | [RFC5245] - RTP/RTCP | 576 | 192.168.1.7 51556 typ host | Host ICE Candidate | 577 | a=candidate:1 1 UDP 1685987071 | [RFC5245] - RTP/RTCP | 578 | 98.248.92.77 49203 typ srflx raddr | Server Reflexive ICE | 579 | 192.168.1.7 rport 51556 | Candidate | 580 | a=end-of-candidates | [I-D.ietf-mmusic-tric | 581 | | kle-ice] | 582 +-------------------------------------------+-----------------------+ 584 Table 2: 5.2.1 SDP Answer 586 5.2.2. Audio/Video Session 588 Alice and Bob establish a two-way audio and video session with Opus 589 as the audio codec and H.264 as the video codec. 591 2-Way Audio,Video Session 593 Alice Bob 594 | | 595 | | 596 |Offer(Audio:Opus,PCMU,PCMA Video:H.264,VP8) | 597 |------------------------------------------->| 598 | | 599 | | 600 | Answer(Audio:Opus,Video:H.264) | 601 |<-------------------------------------------| 602 | | 603 | | 604 | Two-way Opus Audio, H.264 Video | 605 |............................................| 606 | | 608 +-----------------------------------+-------------------------------+ 609 | Offer SDP Contents | RFC#/Notes | 610 +-----------------------------------+-------------------------------+ 611 | v=0 | [RFC4566] | 612 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 613 | | Information | 614 | s=- | [RFC4566] | 615 | t=0 0 | [RFC4566] | 616 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sdp-bundle-n | 617 | | egotiation] | 618 | a=group:LS audio video | [RFC5888]Alice wants to lip | 619 | | sync her audio and video | 620 | | sreams | 621 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 622 | ****** Audio m=line ********* | ***************************** | 623 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 624 | 109 0 8 | | 625 | c=IN IP4 24.23.204.141 | [RFC4566] | 626 | a=mid:audio | [RFC5888] | 627 | a=msid:ma ta | Identifies RTCMediaStream ID | 628 | | (ma) and RTCMediaStreamTrack | 629 | | ID (ta) | 630 | a=sendrecv | [RFC3264] - Alice can send | 631 | | and recv audio | 632 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] - | 633 | | Opus Codec 48khz, 2 channels | 634 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU Audio Codec | 635 | a=rtpmap:8 PCMA/8000 | [RFC3551] PCMA Audio Codec | 636 | a=maxptime:120 | [RFC4566] | 637 | a=ice-ufrag:074c6550 | [RFC5245] - ICE user fragment | 638 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] - ICE password | 639 | 74af08a068 | parameter | 640 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] - DTLS Fingerprint | 641 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | for SRTP | 642 | :04: BB:05:2F:70:9F:04:A9:0E:05:E | | 643 | 9:26:33:E8:70:88:A2 | | 644 | a=setup:actpass | [RFC4145] - Alice can perform | 645 | | DTLS before Answer arrives | 646 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 647 | a=rtcp-mux | [RFC5761] - Alice can perform | 648 | | RTP/RTCP Muxing | 649 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 650 | a=rtcp-rsize | [RFC5506] - Alice intends to | 651 | | use reduced size RTCP for | 652 | | this session | 653 | a=rtcp-fb:109 nack | [RFC5104] - Indicates NACK | 654 | | RTCP feedback support | 655 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 656 | hdrext:ssrc-audio-level | | 657 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 658 | hdrext:sdes:mid | egotiation] | 659 | a=candidate:0 1 UDP 2122194687 | [RFC5245] - RTP/RTCP Host | 660 | 192.168.1.4 61665 typ host | Candidate | 661 | a=candidate:1 1 UDP 1685987071 | [RFC5245] - RTP/RTCP Server | 662 | 24.23.204.141 54609 typ srflx | Reflexive ICE Candidate | 663 | raddr 192.168.1.4 rport 61665 | | 664 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 665 | ****** Video m=line ********* | ***************************** | 666 | m=video 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 667 | 99 120 | | 668 | c=IN IP4 24.23.204.141 | [RFC4566] | 669 | a=mid:video | [RFC5888] | 670 | a=msid:ma tb | Identifies RTCMediaStream ID | 671 | | (ma) and RTCMediaStreamTrack | 672 | | ID (tb) | 673 | a=sendrecv | [RFC3264] - Alice can send | 674 | | and recv video | 675 | a=rtpmap:99 H264/90000 | [RFC3984] - H.264 Video Codec | 676 | a=fmtp:99 profile-level-id=4d0028 | [RFC3984] | 677 | ;packetization-mode=1 | | 678 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] - VP8 | 679 | | video codec | 680 | a=rtcp-fb:99 nack | [RFC5104] - Indicates NACK | 681 | | RTCP feedback support | 682 | a=rtcp-fb:99 nack pli | [RFC5104] - Indicates support | 683 | | for Picture loss Indication | 684 | | and NACK | 685 | a=rtcp-fb:99 ccm fir | [RFC5104] - Full Intra Frame | 686 | | Request-Codec Control Message | 687 | | support | 688 | a=rtcp-fb:120 nack | [RFC5104] - Indicates NACK | 689 | | RTCP feedback support | 690 | a=rtcp-fb:120 nack pli | [RFC5104] - Indicates support | 691 | | for Picture loss Indication | 692 | | and NACK | 693 | a=rtcp-fb:120 ccm fir | [RFC5104] - Full Intra Frame | 694 | | Request-Codec Control Message | 695 | | support | 696 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 697 | hdrext:sdes:mid | egotiation] | 698 +-----------------------------------+-------------------------------+ 700 Table 3: 5.2.2 SDP Offer 702 +-----------------------------------+-------------------------------+ 703 | Answer SDP Contents | RFC#/Notes | 704 +-----------------------------------+-------------------------------+ 705 | v=0 | [RFC4566] | 706 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 707 | | Information | 708 | s=- | [RFC4566] | 709 | t=0 0 | [RFC4566] | 710 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sdp-bundle-n | 711 | | egotiation] | 712 | a=group:LS audio video | [RFC5888]Bob agrees to do the | 713 | | same | 714 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 715 | ****** Audio m=line ********* | ***************************** | 716 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 717 | 109 | | 718 | c=IN IP4 98.248.92.77 | [RFC4566] | 719 | a=mid:audio | [RFC5888] | 720 | a=msid:ma ta | Identifies RTCMediaStream ID | 721 | | (ma) and RTCMediaStreamTrack | 722 | | ID (ta) | 723 | a=sendrecv | [RFC3264] - Bob can send and | 724 | | recv audio | 725 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] - | 726 | | Bob accepts only Opus Codec | 727 | a=maxptime:120 | [RFC4566] | 728 | a=ice-ufrag:c300d85b | [RFC5245] - ICE username | 729 | | frag | 730 | a=ice-pwd:de4e99bd291c325921d5d47 | [RFC5245] - ICE password | 731 | efbabd9a2 | | 732 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] - DTLS Fingerprint | 733 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | for SRTP | 734 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 735 | 1:58:D0:A1:2C:19:08 | | 736 | a=setup:active | [RFC4145] - Bob carries out | 737 | | DTLS Handshake in parallel | 738 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 739 | a=rtcp-mux | [RFC5761] - Bob can perform | 740 | | RTP/RTCP Muxing | 741 | a=rtcp-rsize | [RFC5506] - Bob intends to | 742 | | use reduced size RTCP for | 743 | | this session | 744 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 745 | hdrext:ssrc-audio-level | | 746 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 747 | hdrext:sdes:mid | egotiation] | 748 | a=candidate:0 1 UDP 3618095783 | [RFC5245] - RTP/RTCP Host ICE | 749 | 192.168.1.7 49203 typ host | Candidate | 750 | a=candidate:1 1 UDP 565689203 | [RFC5245] - RTP/RTCP Server | 751 | 98.248.92.77 49203 typ srflx | Reflexive ICE Candidate | 752 | raddr 192.168.1.7 rport 51556 | | 753 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 754 | ****** Video m=line ********* | ***************************** | 755 | m=video 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 756 | 99 | | 757 | c=IN IP4 98.248.92.77 | [RFC4566] | 758 | a=mid:video | [RFC5888] | 759 | a=msid:ma tb | Identifies RTCMediaStream ID | 760 | | (ma) and RTCMediaStreamTrack | 761 | | ID (tb) | 762 | a=sendrecv | [RFC3264] - Bob can send and | 763 | | recv video | 764 | a=rtpmap:99 H264/90000 | [RFC3984] - Bob accepts H.264 | 765 | | Video Codec. | 766 | a=fmtp:99 profile-level-id=4d0028 | [RFC3984] | 767 | ;packetization-mode=1 | | 768 | a=rtcp-fb:99 nack | [RFC5104] - Indicates support | 769 | | for NACK based RTCP feedback | 770 | a=rtcp-fb:99 nack pli | [RFC5104] - Indicates support | 771 | | for Picture loss Indication | 772 | | and NACK | 773 | a=rtcp-fb:99 ccm fir | [RFC5104] - Full Intra Frame | 774 | | Request- Codec Control | 775 | | Message support | 776 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 777 | hdrext:sdes:mid | egotiation] | 778 +-----------------------------------+-------------------------------+ 780 Table 4: 5.2.2 SDP Answer 782 5.2.3. Data Only Session 784 This scenario illustrates SDP negotiated to setup a data-only session 785 based on SCTP Data Channel, thus enabling use-cases such as file- 786 transfer for example. 788 2-Way DataChannel Session 790 Alice Bob 791 | | 792 | | 793 | | 794 | Offer(DataChannel) | 795 |-------------------------------->| 796 | | 797 | | 798 | Answer(DataChannel) | 799 |<--------------------------------| 800 | | 801 | | 802 | Two-way SCTP based DataChannel | 803 |.................................| 804 | | 805 | | 806 +-----------------------------------+-------------------------------+ 807 | Offer SDP Contents | RFC#/Notes | 808 +-----------------------------------+-------------------------------+ 809 | v=0 | [RFC4566] | 810 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 811 | | Information | 812 | s=- | [RFC4566] | 813 | t=0 0 | [RFC4566] | 814 | a=group:BUNDLE data | [I-D.ietf-mmusic-sdp-bundle-n | 815 | | egotiation] | 816 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 817 | ****** Application m=line | ***************************** | 818 | ********* | | 819 | m=application 54609 UDP/DTLS/SCTP | [I-D.ietf-rtcweb-data-channel | 820 | webrtc-datachannel | ] | 821 | c=IN IP4 24.23.204.141 | [RFC4566] | 822 | a=mid:data | [RFC5888] | 823 | a=sendrecv | [RFC3264] - Alice can send | 824 | | and recv non-media data | 825 | a=sctp-port:5000 | [I-D.ietf-mmusic-sctp-sdp] | 826 | a=max-message-size:100000 | [I-D.ietf-mmusic-sctp-sdp] | 827 | a=setup:actpass | [RFC4145] - Alice can perform | 828 | | DTLS before Answer arrives | 829 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 830 | a=ice-ufrag:074c6550 | [RFC5245] - Session Level ICE | 831 | | parameter | 832 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] - Session Level ICE | 833 | 74af08a068 | parameter | 834 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] - Session DTLS | 835 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | Fingerprint for SRTP | 836 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 837 | 9:26:33:E8:70:88:A2 | | 838 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 839 | 192.168.1.4 61665 typ host | | 840 | a=candidate:1 1 UDP 1694302207 | [RFC5245] | 841 | 24.23.204.141 54609 typ srflx | | 842 | raddr 192.168.1.4 rport 61665 | | 843 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 844 +-----------------------------------+-------------------------------+ 846 Table 5: 5.2.3 SDP Offer 848 +-----------------------------------+-------------------------------+ 849 | Answer SDP Contents | RFC#/Notes | 850 +-----------------------------------+-------------------------------+ 851 | v=0 | [RFC4566] | 852 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 853 | | Information | 854 | s=- | [RFC4566] | 855 | t=0 0 | [RFC4566] | 856 | a=group:BUNDLE data | [I-D.ietf-mmusic-sdp-bundle-n | 857 | | egotiation] | 858 | ****** Application m=line | ***************************** | 859 | ********* | | 860 | m=application 49203 UDP/DTLS/SCTP | [I-D.ietf-mmusic-sctp-sdp] | 861 | webrtc-datachannel | | 862 | c=IN IP4 98.248.92.77 | [RFC4566] | 863 | a=mid:data | [RFC5888] | 864 | a=sendrecv | [RFC3264] - Bob can send and | 865 | | recv non-media data | 866 | a=sctp-port:5000 | [I-D.ietf-mmusic-sctp-sdp] | 867 | a=max-message-size:100000 | [I-D.ietf-mmusic-sctp-sdp] | 868 | a=setup:active | [RFC4145] - Bob carries out | 869 | | DTLS Handshake in parallel | 870 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 871 | a=ice-ufrag:c300d85b | [RFC5245] - Session Level ICE | 872 | | username frag | 873 | a=ice-pwd:de4e99bd291c325921d5d47 | [RFC5245] - Session Level ICE | 874 | efbabd9a2 | password | 875 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] - Session DTLS | 876 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | Fingerprint for SRTP | 877 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 878 | 1:58:D0:A1:2C:19:08 | | 879 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 880 | 192.168.1.7 51556 typ host | | 881 | a=candidate:1 1 UDP 1694302207 | [RFC5245] | 882 | 98.248.92.77 49203 typ srflx | | 883 | raddr 192.168.1.7 rport 51556 | | 884 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 885 +-----------------------------------+-------------------------------+ 887 Table 6: 5.2.3 SDP Answer 889 5.2.4. Audio Call On Hold 891 Alice calls Bob, but when Bob answers he places Alice on hold by 892 setting the SDP direction attribute to a=inactive in the Answer. 894 Audio On Hold 896 Alice Bob 897 | | 898 | | 899 | Offer(Audio:Opus) | 900 |-------------------------------->| 901 | | 902 | | 903 | Answer(Audio:Opus,a=inactive) | 904 |<--------------------------------| 905 | | 906 | | 907 | One-way Opus Audio | 908 |.................................| 909 | | 910 | 912 +-----------------------------------+-------------------------------+ 913 | Offer SDP Contents | RFC#/Notes | 914 +-----------------------------------+-------------------------------+ 915 | v=0 | [RFC4566] | 916 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 917 | | Information | 918 | s=- | [RFC4566] | 919 | t=0 0 | [RFC4566] | 920 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sdp-bundle-n | 921 | | egotiation] | 922 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 923 | ****** Audio m=line ********* | ***************************** | 924 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 925 | 109 | | 926 | c=IN IP4 24.23.204.141 | [RFC4566] | 927 | a=mid:audio | [RFC5888] | 928 | a=msid:ma ta | Identifies RTCMediaStream ID | 929 | | (ma) and RTCMediaStreamTrack | 930 | | ID (ta) | 931 | a=sendrecv | [RFC3264] - Alice can send | 932 | | and recv audio | 933 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] - | 934 | | Opus Codec 48khz, 2 channels | 935 | a=maxptime:120 | [RFC4566] | 936 | a=ice-ufrag:074c6550 | [RFC5245] - ICE user | 937 | | fragment | 938 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] - ICE password | 939 | 74af08a068 | | 940 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] - DTLS Fingerprint | 941 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | for SRTP | 942 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 943 | 9:26:33:E8:70:88:A2 | | 944 | a=setup:actpass | [RFC4145] - Alice can perform | 945 | | DTLS before Answer arrives | 946 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 947 | a=rtcp-mux | [RFC5761] - Alice can perform | 948 | | RTP/RTCP Muxing | 949 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 950 | a=rtcp-rsize | [RFC5506] | 951 | a=rtcp-fb:109 nack | [RFC5104] - Indicates NACK | 952 | | RTCP feedback support | 953 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 954 | hdrext:ssrc-audio-level | | 955 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 956 | hdrext:sdes:mid | egotiation] | 957 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 958 | 192.168.1.4 61665 typ host | | 959 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 960 | 24.23.204.141 54609 typ srflx | | 961 | raddr 192.168.1.4 rport 61665 | | 962 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 963 +-----------------------------------+-------------------------------+ 965 Table 7: 5.2.4 SDP Offer 967 +-----------------------------------+-------------------------------+ 968 | Answer SDP Contents | RFC#/Notes | 969 +-----------------------------------+-------------------------------+ 970 | v=0 | [RFC4566] | 971 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 972 | | Information | 973 | s=- | [RFC4566] | 974 | t=0 0 | [RFC4566] | 975 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sdp-bundle-n | 976 | | egotiation] | 977 | ****** Audio m=line ********* | ***************************** | 978 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 979 | 109 | | 980 | c=IN IP4 98.248.92.77 | [RFC4566] | 981 | a=mid:audio | [RFC5888] | 982 | a=msid:ma ta | Identifies RTCMediaStream ID | 983 | | (ma) and RTCMediaStreamTrack | 984 | | ID (ta) | 985 | a=inactive | [RFC3264] - Bob puts call On | 986 | | Hold | 987 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] - | 988 | | Bob accepts Opus Codec | 989 | a=maxptime:120 | [RFC4566] | 990 | a=ice-ufrag:c300d85b | [RFC5245] - ICE username frag | 991 | a=ice-pwd:de4e99bd291c325921d5d47 | [RFC5245] - ICE password | 992 | efbabd9a2 | | 993 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] - DTLS Fingerprint | 994 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | for SRTP | 995 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 996 | 1:58:D0:A1:2C:19:08 | | 997 | a=setup:active | [RFC4145] - Bob carries out | 998 | | DTLS Handshake in parallel | 999 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 1000 | a=rtcp-mux | [RFC5761] - Bob can perform | 1001 | | RTP/RTCP Muxing | 1002 | a=rtcp-rsize | [RFC5506] | 1003 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 1004 | hdrext:ssrc-audio-level | | 1005 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1006 | hdrext:sdes:mid | egotiation] | 1007 | a=candidate:0 1 UDP 2113667327 | [RFC5245] - Host candidate | 1008 | 192.168.1.7 51556 typ host | | 1009 | a=candidate:1 1 UDP 1685987071 | [RFC5245] - Server Reflexive | 1010 | 24.23.204.141 49203 typ srflx | candidate | 1011 | raddr 192.168.1.7 rport 51556 | | 1012 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 1013 +-----------------------------------+-------------------------------+ 1015 Table 8: 5.2.4 SDP Answer 1017 5.2.5. Audio with DTMF Session 1019 In this example, Alice wishes to establish two separate audio 1020 streams, one for normal audio and the other for telephone-events. 1021 Alice offers first audio stream with three codecs and the other with 1022 [RFC2833] tones (for DTMF). Bob accepts both the audio streams by 1023 choosing Opus as the audio codec and telephone-event for the other 1024 stream. 1026 Audio Session with DTMF 1028 Alice Bob 1029 | | 1030 | | 1031 | | 1032 | Offer(Audio:Opus,PCMU,PCMA Audio:telephone-event)| 1033 |-------------------------------------------------->| 1034 | | 1035 | | 1036 | Answer(Audio:Opus, Audio:telephone-event) | 1037 |<--------------------------------------------------| 1038 | | 1039 | | 1040 | Opus audio stream and telephone-event stream | 1041 |...................................................| 1042 | | 1044 +-----------------------------------+-------------------------------+ 1045 | Offer SDP Contents | RFC#/Notes | 1046 +-----------------------------------+-------------------------------+ 1047 | v=0 | [RFC4566] | 1048 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 1049 | | Information | 1050 | s=- | [RFC4566] | 1051 | t=0 0 | [RFC4566] | 1052 | a=group:BUNDLE audio dtmf | [I-D.ietf-mmusic-sdp-bundle-n | 1053 | | egotiation] | 1054 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 1055 | ****** Audio m=line ********* | ***************************** | 1056 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 1057 | 109 0 8 | | 1058 | c=IN IP4 24.23.204.141 | [RFC4566] | 1059 | a=mid:audio | [RFC5888] | 1060 | a=msid:ma ta | Identifies RTCMediaStream ID | 1061 | | (ma) and RTCMediaStreamTrack | 1062 | | ID (ta) | 1063 | a=sendrecv | [RFC3264] - Alice can send | 1064 | | and recv audio | 1065 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] - | 1066 | | Opus Codec 48khz, 2 channels | 1067 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU Audio Codec | 1068 | a=rtpmap:8 PCMA/8000 | [RFC3551] PCMA Audio Codec | 1069 | a=maxptime:120 | [RFC4566] | 1070 | a=ice-ufrag:074c6550 | [RFC5245] - ICE user | 1071 | | fragment | 1072 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] - ICE password | 1073 | 74af08a068 | parameter | 1074 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] - DTLS Fingerprint | 1075 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | for SRTP | 1076 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 1077 | 9:26:33:E8:70:88:A2 | | 1078 | a=setup:actpass | [RFC4145] - Alice can perform | 1079 | | DTLS before Answer arrives | 1080 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 1081 | a=rtcp-mux | [RFC5761] - Alice can perform | 1082 | | RTP/RTCP Muxing | 1083 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 1084 | a=rtcp-rsize | [RFC5506] | 1085 | a=rtcp-fb:109 nack | [RFC5104] - Indicates NACK | 1086 | | RTCP feedback support | 1087 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 1088 | hdrext:ssrc-audio-level | | 1089 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1090 | hdrext:sdes:mid | egotiation] | 1091 | a=candidate:0 1 UDP 2122194687 | [RFC5245] | 1092 | 192.168.1.4 61665 typ host | | 1093 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 1094 | 24.23.204.141 54609 typ srflx | | 1095 | raddr 192.168.1.4 rport 61665 | | 1096 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 1097 | ****** DTMF m=line ********* | ***************************** | 1098 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 1099 | 126 | | 1100 | c=IN IP4 24.23.204.141 | [RFC4566] | 1101 | a=mid:dtmf | [RFC5888] | 1102 | a=msid:ma tb | Identifies RTCMediaStream ID | 1103 | | (ma) and RTCMediaStreamTrack | 1104 | | ID (tb) | 1105 | a=sendonly | [RFC3264] - Alice can send | 1106 | | DTMF Events | 1107 | a=rtpmap:126 telephone-event/8000 | [RFC2833] | 1108 | a=rtcp-fb:109 nack | [RFC5104] - Indicates NACK | 1109 | | RTCP feedback support | 1110 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1111 | hdrext:sdes:mid | egotiation] | 1112 +-----------------------------------+-------------------------------+ 1114 Table 9: 5.2.5 SDP Offer 1116 +-----------------------------------+-------------------------------+ 1117 | Answer SDP Contents | RFC#/Notes | 1118 +-----------------------------------+-------------------------------+ 1119 | v=0 | [RFC4566] | 1120 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 1121 | | Information | 1122 | s=- | [RFC4566] | 1123 | t=0 0 | [RFC4566] | 1124 | a=group:BUNDLE audio dtmf | [I-D.ietf-mmusic-sdp-bundle-n | 1125 | | egotiation] | 1126 | ****** Audio m=line ********* | ***************************** | 1127 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 1128 | 109 | | 1129 | c=IN IP4 98.248.92.77 | [RFC4566] | 1130 | a=mid:audio | [RFC5888] | 1131 | a=msid:ma ta | Identifies RTCMediaStream ID | 1132 | | (ma) and RTCMediaStreamTrack | 1133 | | ID (ta) | 1134 | a=sendrecv | [RFC3264] - Bob can send and | 1135 | | receive Opus audio | 1136 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] - | 1137 | | Bob accepts Opus Codec | 1138 | a=maxptime:120 | [RFC4566] | 1139 | a=ice-ufrag:c300d85b | [RFC5245] - ICE username | 1140 | | frag | 1141 | a=ice-pwd:de4e99bd291c325921d5d47 | [RFC5245] - ICE password | 1142 | efbabd9a2 | | 1143 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] - Fingerprint for | 1144 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | SRTP | 1145 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 1146 | 1:58:D0:A1:2C:19:08 | | 1147 | a=setup:active | [RFC4145] - Bob carries out | 1148 | | DTLS Handshake in parallel | 1149 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 1150 | a=rtcp-mux | [RFC5761] - Bob can perform | 1151 | | RTP/RTCP Muxing on port 49203 | 1152 | a=rtcp-rsize | [RFC5506] - Alice intends to | 1153 | | use reduced size RTCP for | 1154 | | this session | 1155 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 1156 | hdrext:ssrc-audio-level | | 1157 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1158 | hdrext:sdes:mid | egotiation] | 1159 | a=candidate:0 1 UDP 2122194687 | [RFC5245] | 1160 | 192.168.1.7 51556 typ host | | 1161 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 1162 | 98.248.92.77 49203 typ srflx | | 1163 | raddr 192.168.1.7 rport 51556 | | 1164 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 1165 | ****** DTMF m=line ********* | ***************************** | 1166 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 1167 | 126 | | 1168 | c=IN IP4 98.248.92.77 | [RFC4566] | 1169 | a=mid:dtmf | [RFC5888] | 1170 | a=msid:ma tb | Identifies RTCMediaStream ID | 1171 | | (ma) and RTCMediaStreamTrack | 1172 | | ID (tb) | 1173 | a=recvonly | [RFC3264] - Alice can receive | 1174 | | DTMF events | 1175 | a=rtpmap:126 telephone-event/8000 | [RFC2833] | 1176 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1177 | hdrext:sdes:mid | egotiation] | 1178 +-----------------------------------+-------------------------------+ 1180 Table 10: 5.2.5 SDP Answer 1182 5.2.6. One Way Audio/Video Session - Document Camera 1184 In this scenario Alice and Bob engage in a 1 way audio and video 1185 session with Bob receiving Alice's audio and her presentation slides 1186 as video stream. 1188 One Way Audio & Video Session - Document Camera 1190 Alice Bob 1191 | | 1192 | | 1193 | | 1194 | Alice Offers sendonly audio and video streams. | 1195 | The video stream corresponds to her presentation | 1196 | | 1197 | Offer(Audio:Opus, Video: VP8) | 1198 |----------------------------------------------------->| 1199 | | 1200 | | 1201 | (Audio:Opus, Video: VP8) | 1202 |<-----------------------------------------------------| 1203 | | 1204 | | 1205 | One-way Opus Audio, VP8 Video | 1206 |......................................................| 1207 | Bob can hear Alice and see her presentation slides.| 1208 | | 1209 | | 1211 +-----------------------------------+-------------------------------+ 1212 | Offer SDP Contents | RFC#/Notes | 1213 +-----------------------------------+-------------------------------+ 1214 | v=0 | [RFC4566] | 1215 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 1216 | s=- | [RFC4566] | 1217 | t=0 0 | [RFC4566] | 1218 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sdp-bundle-n | 1219 | | egotiation] | 1220 | a=group:LS audio video | [RFC5888] | 1221 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 1222 | ****** Audio m=line ********* | ***************************** | 1223 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 1224 | 109 | | 1225 | c=IN IP4 24.23.204.141 | [RFC4566] | 1226 | a=mid:audio | [RFC5888] | 1227 | a=msid:ma ta | Identifies RTCMediaStream ID | 1228 | | (ma) and RTCMediaStreamTrack | 1229 | | ID (ta) | 1230 | a=sendonly | [RFC3264] - Send only audio | 1231 | | stream | 1232 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 1233 | a=maxptime:120 | [RFC4566] | 1234 | a=ice-ufrag:074c6550 | [RFC5245] | 1235 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 1236 | 74af08a068 | | 1237 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 1238 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 1239 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 1240 | 9:26:33:E8:70:88:A2 | | 1241 | a=setup:actpass | [RFC4145] - Alice can perform | 1242 | | DTLS before Answer arrives | 1243 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 1244 | a=rtcp-mux | [RFC5761] | 1245 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 1246 | a=rtcp-rsize | [RFC5506] | 1247 | a=rtcp-fb:109 nack | [RFC5104] | 1248 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 1249 | hdrext:ssrc-audio-level | | 1250 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1251 | hdrext:sdes:mid | egotiation] | 1252 | a=candidate:0 1 UDP 2122194687 | [RFC5245] | 1253 | 24.23.204.141 54609 typ host | | 1254 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 1255 | ****** Video m=line ********* | ***************************** | 1256 | m=video 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 1257 | 120 | | 1258 | c=IN IP4 24.23.204.141 | [RFC4566] | 1259 | a=mid:video | [RFC5888] | 1260 | a=msid:ma tb | Identifies RTCMediaStream ID | 1261 | | (ma) and RTCMediaStreamTrack | 1262 | | ID (tb) | 1263 | a=sendonly | [RFC3264] - Send only video | 1264 | | stream | 1265 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 1266 | a=content:slides | [RFC4796] -Alice's | 1267 | | presentation video stream | 1268 | a=rtcp-fb:120 nack | [RFC5104] | 1269 | a=rtcp-fb:120 nack pli | [RFC5104] | 1270 | a=rtcp-fb:120 ccm fir | [RFC5104] | 1271 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1272 | hdrext:sdes:mid | egotiation] | 1273 +-----------------------------------+-------------------------------+ 1275 Table 11: 5.2.6 SDP Offer 1277 +-----------------------------------+-------------------------------+ 1278 | Answer SDP Contents | RFC#/Notes | 1279 +-----------------------------------+-------------------------------+ 1280 | v=0 | [RFC4566] | 1281 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] | 1282 | s=- | [RFC4566] | 1283 | t=0 0 | [RFC4566] | 1284 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sdp-bundle-n | 1285 | | egotiation] | 1286 | a=group:LS audio video | [RFC5888] | 1287 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 1288 | ****** Audio m=line ********* | ***************************** | 1289 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 1290 | 109 | | 1291 | c=IN IP4 98.248.92.77 | [RFC4566] | 1292 | a=mid:audio | [RFC5888] | 1293 | a=msid:ma ta | Identifies RTCMediaStream ID | 1294 | | (ma) and RTCMediaStreamTrack | 1295 | | ID (ta) | 1296 | a=recvonly | [RFC3264] - Receive only | 1297 | | audio stream | 1298 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 1299 | a=maxptime:120 | [RFC4566] | 1300 | a=ice-ufrag:c300d85b | [RFC5245] | 1301 | a=ice-pwd:de4e99bd291c325921d5d47 | [RFC5245] | 1302 | efbabd9a2 | | 1303 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] | 1304 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 1305 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 1306 | 1:58:D0:A1:2C:19:08 | | 1307 | a=setup:active | [RFC4145] - Bob carries out | 1308 | | DTLS Handshake in parallel | 1309 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 1310 | a=rtcp-mux | [RFC5761] | 1311 | a=rtcp-rsize | [RFC5506] | 1312 | a=rtcp-fb:109 nack | [RFC5104] | 1313 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 1314 | hdrext:ssrc-audio-level | | 1315 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1316 | hdrext:sdes:mid | egotiation] | 1317 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 1318 | 98.248.92.77 49203 typ host | | 1319 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 1320 | ****** Video m=line ********* | ***************************** | 1321 | m=video 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 1322 | 120 | | 1323 | c=IN IP4 98.248.92.77 | [RFC4566] | 1324 | a=mid:video | [RFC5888] | 1325 | a=msid:ma tb | Identifies RTCMediaStream ID | 1326 | | (ma) and RTCMediaStreamTrack | 1327 | | ID (tb) | 1328 | a=recvonly | [RFC3264] | 1329 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 1330 | a=content:slides | [RFC4796]presentation stream | 1331 | a=rtcp-fb:120 nack | [RFC5104] | 1332 | a=rtcp-fb:120 nack pli | [RFC5104] | 1333 | a=rtcp-fb:120 ccm fir | [RFC5104] | 1334 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1335 | hdrext:sdes:mid | egotiation] | 1336 +-----------------------------------+-------------------------------+ 1338 Table 12: 5.2.6 SDP Answer 1340 5.2.7. Audio, Video Session with BUNDLE Support Unknown 1342 In this example, since Alice is unsure of the Bob's support of the 1343 BUNDLE framework, following steps are performed in order to negotiate 1344 and setup a BUNDLE Address for the session 1346 o An SDP Offer, in which the Alice assigns unique addresses to each 1347 "m=" line in the BUNDLE group, and requests the Answerer to select 1348 the Offerer's BUNDLE address. 1350 o An SDP Answer, in which the Bob indicates its support for BUNDLE, 1351 selects the offerer's BUNDLE address, selects its own BUNDLE 1352 address and associates it with each BUNDLED m=line within the 1353 BUNDLE group. 1355 Once the Offer/Answer exchange completes, both Alice and Bob each end 1356 up using single RTP Session for both the Media Streams. 1358 Two-Way Secure Audio,Video with BUNDLE support unknown 1360 Alice Bob 1361 | | 1362 | | 1363 | Alice offers BUNDLE support with unique address | 1364 | for the audio and video m-line | 1365 | | 1366 | | 1367 | Offer(Audio:Opus Video:VP8) | 1368 |----------------------------------------------------->| 1369 | |Bob 1370 | |supports 1371 | |BUNDLE, 1372 | |Uses 1373 | |identical 1374 | |address 1375 | Answer(Audio:Opus Video:VP8) | 1376 |<-----------------------------------------------------| 1377 | | 1378 | 2 Way Call with Audio and Video Multiplexed | 1379 |......................................................| 1380 | | 1382 +-----------------------------------+-------------------------------+ 1383 | Offer SDP Contents | RFC#/Notes | 1384 +-----------------------------------+-------------------------------+ 1385 | v=0 | [RFC4566] | 1386 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 1387 | s=- | [RFC4566] | 1388 | t=0 0 | [RFC4566] | 1389 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sdp-bundle-n | 1390 | | egotiation] Alice supports | 1391 | | grouping of m=lines under | 1392 | | BUNDLE semantics | 1393 | a=group:LS audio video | [RFC5888] | 1394 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 1395 | ****** Audio m=line ********* | ***************************** | 1396 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 1397 | 109 | | 1398 | c=IN IP4 24.23.204.141 | [RFC4566] | 1399 | a=mid:audio | [RFC5888] Audio m=line part | 1400 | | of BUNDLE group with a unique | 1401 | | port number | 1402 | a=msid:ma ta | Identifies RTCMediaStream ID | 1403 | | (ma) and RTCMediaStreamTrack | 1404 | | ID (ta) | 1405 | a=sendrecv | [RFC3264] | 1406 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 1407 | a=maxptime:120 | [RFC4566] | 1408 | a=ice-ufrag:074c6550 | [RFC5245] | 1409 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 1410 | 74af08a068 | | 1411 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 1412 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 1413 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 1414 | 9:26:33:E8:70:88:A2 | | 1415 | a=setup:actpass | [RFC4145] - Alice can perform | 1416 | | DTLS before Answer arrives | 1417 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 1418 | a=rtcp-mux | [RFC5761] | 1419 | a=rtcp:54610 IN IP4 24.23.204.141 | [RFC3605] - RTCP port | 1420 | | different from RTP Port | 1421 | a=rtcp-rsize | [RFC5506] | 1422 | a=rtcp-fb:109 nack | [RFC5104] | 1423 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 1424 | hdrext:ssrc-audio-level | | 1425 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1426 | hdrext:sdes:mid | egotiation] | 1427 | a=candidate:0 1 UDP 2122194687 | [RFC5245] - RTP host | 1428 | 192.168.1.4 61665 typ host | candidate | 1429 | a=candidate:1 1 UDP 1685987071 | [RFC5245] - RTP Server | 1430 | 24.23.204.141 54609 typ srflx | Reflexive candidate | 1431 | raddr 192.168.1.4 rport 61665 | | 1432 | a=candidate:0 2 UDP 2122194687 | [RFC5245] - RTCP host | 1433 | 192.168.1.4 61666 typ host | candidate | 1434 | a=candidate:1 2 UDP 1685987071 | [RFC5245] - RTCP Server | 1435 | 24.23.204.141 54610 typ srflx | Reflexive candidate | 1436 | raddr 192.168.1.4 rport 61666 | | 1437 | ****** Video m=line ********* | ***************************** | 1438 | m=video 62537 UDP/TLS/RTP/SAVPF | [RFC4566] | 1439 | 120 | | 1440 | c=IN IP4 24.23.204.141 | [RFC4566] | 1441 | a=mid:video | [RFC5888] Video m=line part | 1442 | | of the Bundle group with a | 1443 | | unique port number | 1444 | a=msid:ma tb | Identifies RTCMediaStream ID | 1445 | | (ma) and RTCMediaStreamTrack | 1446 | | ID (tb) | 1447 | a=sendrecv | [RFC3264] | 1448 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 1449 | a=ice-ufrag:6550074c | [RFC5245] | 1450 | a=ice-pwd:74af08a068a28a397a4c3f3 | [RFC5245] | 1451 | 1747d1ee34 | | 1452 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 1453 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 1454 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 1455 | 9:26:33:E8:70:88:A2 | | 1456 | a=setup:actpass | [RFC4145] - Alice can perform | 1457 | | DTLS before Answer arrives | 1458 | a=dtls-id:2 | [I-D.ietf-mmusic-dtls-sdp] | 1459 | a=rtcp-mux | [RFC5761] | 1460 | a=rtcp:62538 IN IP4 24.23.204.141 | [RFC3605] | 1461 | a=rtcp-rsize | [RFC5506] | 1462 | a=rtcp-fb:120 nack | [RFC5104] | 1463 | a=rtcp-fb:120 nack pli | [RFC5104] | 1464 | a=rtcp-fb:120 ccm fir | [RFC5104] | 1465 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1466 | hdrext:sdes:mid | egotiation] | 1467 | a=candidate:0 1 UDP 2122194687 | [RFC5245] - RTP Host | 1468 | 192.168.1.4 61886 typ host | candidate | 1469 | a=candidate:1 1 UDP 1685987071 | [RFC5245] - RTP Server | 1470 | 24.23.204.141 62537 typ srflx | Reflexive candidate | 1471 | raddr 192.168.1.4 rport 61886 | | 1472 | a=candidate:0 2 2122194687 | [RFC5245] - RTCP host | 1473 | 192.168.1.4 61888 typ host | candidate | 1474 | a=candidate:1 2 UDP 1685987071 | [RFC5245] - RTCP Server | 1475 | 24.23.204.141 62538 typ srflx | Reflexive candidate | 1476 | raddr 192.168.1.4 rport 61888 | | 1477 +-----------------------------------+-------------------------------+ 1479 Table 13: 5.2.7 SDP Offer w/BUNDLE 1481 +-----------------------------------+-------------------------------+ 1482 | Answer SDP Contents | RFC#/Notes | 1483 +-----------------------------------+-------------------------------+ 1484 | v=0 | [RFC4566] | 1485 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] | 1486 | s=- | [RFC4566] | 1487 | t=0 0 | [RFC4566] | 1488 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sdp-bundle-n | 1489 | | egotiation] Bob supports | 1490 | | BUNDLE semantics. | 1491 | a=group:LS audio video | [RFC5888] | 1492 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 1493 | ****** Audio m=line ********* | ***************************** | 1494 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 1495 | 109 | | 1496 | c=IN IP4 98.248.92.77 | [RFC4566] | 1497 | a=mid:audio | [RFC5888] Audio m=line part | 1498 | | of the BUNDLE group | 1499 | a=msid:ma ta | Identifies RTCMediaStream ID | 1500 | | (ma) and RTCMediaStreamTrack | 1501 | | ID (ta) | 1502 | a=sendrecv | [RFC3264] | 1503 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 1504 | a=maxptime:120 | [RFC4566] | 1505 | a=ice-ufrag:c300d85b | [RFC5245] | 1506 | a=ice-pwd:de4e99bd291c325921d5d47 | [RFC5245] | 1507 | efbabd9a2 | | 1508 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] | 1509 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 1510 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 1511 | 1:58:D0:A1:2C:19:08 | | 1512 | a=setup:active | [RFC4145] - Bob carries out | 1513 | | DTLS Handshake in parallel | 1514 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 1515 | a=rtcp-mux | [RFC5761] | 1516 | a=rtcp-rsize | [RFC5506] | 1517 | a=rtcp-fb:109 nack | [RFC5104] | 1518 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 1519 | hdrext:ssrc-audio-level | | 1520 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1521 | hdrext:sdes:mid | egotiation] | 1522 | a=candidate:0 1 UDP 2122194687 | [RFC5245] | 1523 | 192.168.1.7 49203 typ host | | 1524 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 1525 | 98.248.92.77 51556 typ srflx | | 1526 | raddr 192.168.1.7 rport 49203 | | 1527 | ****** Video m=line ********* | ***************************** | 1528 | m=video 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 1529 | 120 | | 1530 | c=IN IP4 98.248.92.77 | [RFC4566] | 1531 | a=mid:video | [RFC5888] Video m=line part | 1532 | | of the BUNDLE group with the | 1533 | | port from audio line repeated | 1534 | a=msid:ma tb | Identifies RTCMediaStream ID | 1535 | | (ma) and RTCMediaStreamTrack | 1536 | | ID (tb) | 1537 | a=sendrecv | [RFC3264] | 1538 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 1539 | a=rtcp-fb:120 nack | [RFC5104] | 1540 | a=rtcp-fb:120 nack pli | [RFC5104] | 1541 | a=rtcp-fb:120 ccm fir | [RFC5104] | 1542 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1543 | hdrext:sdes:mid | egotiation] | 1544 +-----------------------------------+-------------------------------+ 1546 Table 14: 5.2.7 SDP Answer w/BUNDLE 1548 5.2.8. Audio, Video and Data Session 1550 This example shows SDP for negotiating a session with Audio, Video 1551 and data streams between Alice and Bob with BUNDLE support known. 1553 Audio,Video,Data with BUNDLE support known 1555 Alice Bob 1556 | | 1557 | | 1558 | Alice indicates BUNDLE support with | 1559 | identical address across all the m=lines | 1560 | | 1561 | | 1562 | Offer(Audio:Opus Video:VP8 Data) | 1563 |------------------------------------------->| 1564 | |Bob does 1565 | |the same 1566 | Answer(Audio:Opus,Video:VP8 Data) | 1567 |<-------------------------------------------| 1568 | | 1569 | | 1570 | | 1571 | Two-way Audio,Video, Data multiplexed | 1572 |............................................| 1573 | | 1574 | | 1576 +-----------------------------------+-------------------------------+ 1577 | Offer SDP Contents | RFC#/Notes | 1578 +-----------------------------------+-------------------------------+ 1579 | v=0 | [RFC4566] | 1580 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 1581 | s=- | [RFC4566] | 1582 | t=0 0 | [RFC4566] | 1583 | a=group:BUNDLE audio video data | [I-D.ietf-mmusic-sdp-bundle-n | 1584 | | egotiation] | 1585 | a=group:LS audio video | [RFC5888] | 1586 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 1587 | ****** Audio m=line ********* | ***************************** | 1588 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 1589 | 109 | | 1590 | c=IN IP4 24.23.204.141 | [RFC4566] | 1591 | a=msid:ma ta | Identifies RTCMediaStream ID | 1592 | | (ma) and RTCMediaStreamTrack | 1593 | | ID (ta) | 1594 | a=mid:audio | [RFC5888] | 1595 | a=sendrecv | [RFC3264] | 1596 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 1597 | a=maxptime:120 | [RFC4566] | 1598 | a=ice-ufrag:074c6550 | [RFC5245] | 1599 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 1600 | 74af08a068 | | 1601 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 1602 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 1603 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 1604 | 9:26:33:E8:70:88:A2 | | 1605 | a=setup:actpass | [RFC4145] | 1606 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 1607 | a=rtcp-mux | [RFC5761] | 1608 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 1609 | a=rtcp-rsize | [RFC5506] | 1610 | a=rtcp-fb:109 nack | [RFC5104] | 1611 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 1612 | hdrext:ssrc-audio-level | | 1613 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1614 | hdrext:sdes:mid | egotiation] | 1615 | a=candidate:0 1 UDP 2122194687 | [RFC5245] | 1616 | 192.168.1.4 61665 typ host | | 1617 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 1618 | 24.23.204.141 54609 typ srflx | | 1619 | raddr 192.168.1.4 rport 61665 | | 1620 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 1621 | ****** Video m=line ********* | ***************************** | 1622 | m=video 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 1623 | 120 | | 1624 | c=IN IP4 24.23.204.141 | [RFC4566] | 1625 | a=mid:video | [RFC5888] | 1626 | a=msid:ma tb | Identifies RTCMediaStream ID | 1627 | | (ma) and RTCMediaStreamTrack | 1628 | | ID (tb) | 1629 | a=sendrecv | [RFC3264] | 1630 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 1631 | a=rtcp-fb:120 nack | [RFC5104] | 1632 | a=rtcp-fb:120 nack pli | [RFC5104] | 1633 | a=rtcp-fb:120 ccm fir | [RFC5104] | 1634 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1635 | hdrext:sdes:mid | egotiation] | 1636 | ****** Application m=line | ***************************** | 1637 | ********* | | 1638 | m=application 54609 UDP/DTLS/SCTP | [I-D.ietf-rtcweb-data-channel | 1639 | webrtc-datachannel | ] | 1640 | c=IN IP4 24.23.204.141 | [RFC4566] | 1641 | a=mid:data | [RFC5888] | 1642 | a=sctp-port:5000 | [I-D.ietf-mmusic-sctp-sdp] | 1643 | a=max-message-size:100000 | [I-D.ietf-mmusic-sctp-sdp] | 1644 | a=sendrecv | [RFC3264] | 1645 +-----------------------------------+-------------------------------+ 1647 Table 15: 5.2.8 SDP Offer 1649 +-----------------------------------+-------------------------------+ 1650 | Answer SDP Contents | RFC#/Notes | 1651 +-----------------------------------+-------------------------------+ 1652 | v=0 | [RFC4566] | 1653 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 1654 | | Information | 1655 | s=- | [RFC4566] | 1656 | t=0 0 | [RFC4566] | 1657 | a=group:BUNDLE audio video data | [I-D.ietf-mmusic-sdp-bundle-n | 1658 | | egotiation] | 1659 | a=group:LS audio video | [RFC5888] | 1660 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 1661 | ****** Audio m=line ********* | ***************************** | 1662 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 1663 | 109 | | 1664 | c=IN IP4 98.248.92.77 | [RFC4566] | 1665 | a=msid:ma ta | Identifies RTCMediaStream ID | 1666 | | (ma) and RTCMediaStreamTrack | 1667 | | ID (ta) | 1668 | a=mid:audio | [RFC5888] | 1669 | a=sendrecv | [RFC3264] | 1670 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 1671 | a=maxptime:120 | [RFC4566] | 1672 | a=ice-ufrag:c300d85b | [RFC5245] | 1673 | a=ice-pwd:de4e99bd291c325921d5d47 | [RFC5245] | 1674 | efbabd9a2 | | 1675 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] | 1676 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 1677 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 1678 | 1:58:D0:A1:2C:19:08 | | 1679 | a=setup:active | [RFC4145] | 1680 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 1681 | a=rtcp-mux | [RFC5761] | 1682 | a=rtcp-rsize | [RFC5506] | 1683 | a=rtcp-fb:109 nack | [RFC5104] | 1684 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 1685 | hdrext:ssrc-audio-level | | 1686 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1687 | hdrext:sdes:mid | egotiation] | 1688 | a=candidate:0 1 UDP 2122194687 | [RFC5245] | 1689 | 192.168.1.7 51556 typ host | | 1690 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 1691 | 98.248.92.77 49203 typ srflx | | 1692 | raddr 192.168.1.7 rport 51556 | | 1693 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 1694 | ****** Video m=line ********* | ***************************** | 1695 | m=video 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 1696 | 120 | | 1697 | c=IN IP4 98.248.92.77 | [RFC4566] | 1698 | a=mid:video | [RFC5888] | 1699 | a=msid:ma tb | Identifies RTCMediaStream ID | 1700 | | (ma) and RTCMediaStreamTrack | 1701 | | ID (tb) | 1702 | a=sendrecv | [RFC3264] | 1703 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 1704 | a=rtcp-fb:120 nack | [RFC5104] | 1705 | a=rtcp-fb:120 nack pli | [RFC5104] | 1706 | a=rtcp-fb:120 ccm fir | [RFC5104] | 1707 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1708 | hdrext:sdes:mid | egotiation] | 1709 | ****** Application m=line | ***************************** | 1710 | ********* | | 1711 | m=application 49203 UDP/DTLS/SCTP | [I-D.ietf-mmusic-sctp-sdp] | 1712 | webrtc-datachannel | | 1713 | c=IN IP4 98.248.92.77 | [RFC4566] | 1714 | a=mid:data | [RFC5888] | 1715 | a=sctp-port:5000 | [I-D.ietf-mmusic-sctp-sdp] | 1716 | a=max-message-size:100000 | [I-D.ietf-mmusic-sctp-sdp] | 1717 | a=sendrecv | [RFC3264] | 1718 +-----------------------------------+-------------------------------+ 1720 Table 16: 5.2.8 SDP Answer 1722 5.2.9. Audio, Video Session with BUNDLE Unsupported 1724 This use-case illustrates SDP Offer/Answer exchange where the far-end 1725 (Bob) either doesn't support media bundling or doesn't want to group 1726 m=lines over a single 5-tuple. 1728 The same is indicated by dropping the "a=group:BUNDLE" line and 1729 BUNDLE RTP header extension in the Answer SDP. 1731 On successful Offer/Answer exchange, Alice and Bob each end up using 1732 unique 5-tuple for audio and video media streams respectively. 1734 Two-Way Secure Audio,Video with BUNDLE Unsupported 1736 Alice Bob 1737 | | 1738 | | 1739 | Alice offers BUNDLE support with unique address | 1740 | for the audio and video m-line | 1741 | | 1742 | | 1743 | Offer(Audio:Opus Video:VP8) | 1744 |----------------------------------------------------->| 1745 | |Bob 1746 | |doesn't 1747 | |support 1748 | |BUNDLE 1749 | Answer(Audio:Opus Video:VP8) | 1750 |<-----------------------------------------------------| 1751 | |Bob uses 1752 | |unique 1753 | |addresses 1754 | |across the 1755 | |m=lines 1756 | | 1757 |2Way Call with Audio and Video on different 5-tuples | 1758 |......................................................| 1759 | | 1760 | | 1762 +-----------------------------------+-------------------------------+ 1763 | Offer SDP Contents | RFC#/Notes | 1764 +-----------------------------------+-------------------------------+ 1765 | v=0 | [RFC4566] | 1766 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 1767 | s=- | [RFC4566] | 1768 | t=0 0 | [RFC4566] | 1769 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sdp-bundle-n | 1770 | | egotiation] Alice supports | 1771 | | grouping of m=lines under | 1772 | | BUNDLE semantics | 1773 | a=group:LS audio video | [RFC5888] | 1774 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 1775 | ****** Audio m=line ********* | ***************************** | 1776 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 1777 | 109 | | 1778 | c=IN IP4 24.23.204.141 | [RFC4566] | 1779 | a=mid:audio | [RFC5888] Audio m=line part | 1780 | | of BUNDLE group with a unique | 1781 | | port number | 1782 | a=msid:ma ta | Identifies RTCMediaStream ID | 1783 | | (ma) and RTCMediaStreamTrack | 1784 | | ID (ta) | 1785 | a=sendrecv | [RFC3264] | 1786 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 1787 | a=maxptime:120 | [RFC4566] | 1788 | a=ice-ufrag:074c6550 | [RFC5245] | 1789 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 1790 | 74af08a068 | | 1791 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 1792 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 1793 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 1794 | 9:26:33:E8:70:88:A2 | | 1795 | a=setup:actpass | [RFC4145] - Alice can perform | 1796 | | DTLS before Answer arrives | 1797 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 1798 | a=rtcp-mux | [RFC5761] | 1799 | a=rtcp:55232 IN IP4 24.23.204.141 | [RFC3605] - RTCP port | 1800 | | different from RTP port | 1801 | a=rtcp-rsize | [RFC5506] | 1802 | a=rtcp-fb:109 nack | [RFC5104] | 1803 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 1804 | hdrext:ssrc-audio-level | | 1805 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1806 | hdrext:sdes:mid | egotiation] | 1807 | a=candidate:0 1 UDP 2122194687 | [RFC5245] | 1808 | 192.168.1.4 61665 typ host | | 1809 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 1810 | 24.23.204.141 54609 typ srflx | | 1811 | raddr 192.168.1.4 rport 61665 | | 1812 | a=candidate:0 2 UDP 2122194687 | [RFC5245] | 1813 | 192.168.1.4 61666 typ host | | 1814 | a=candidate:1 2 UDP 1685987071 | [RFC5245] | 1815 | 24.23.204.141 55232 typ srflx | | 1816 | raddr 192.168.1.4 rport 61666 | | 1817 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 1818 | ****** Video m=line ********* | ***************************** | 1819 | m=video 54332 UDP/TLS/RTP/SAVPF | [RFC4566] | 1820 | 120 | | 1821 | c=IN IP4 24.23.204.141 | [RFC4566] | 1822 | a=mid:video | [RFC5888] Video m=line part | 1823 | | of the BUNDLE group with a | 1824 | | unique port number | 1825 | a=msid:ma tb | Identifies RTCMediaStream ID | 1826 | | (ma) and RTCMediaStreamTrack | 1827 | | ID (tb) | 1828 | a=sendrecv | [RFC3264] | 1829 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 1830 | a=ice-ufrag:7872093 | [RFC5245] | 1831 | a=ice-pwd:ee3474af08a068a28a397a4 | [RFC5245] | 1832 | c3f31747d1 | | 1833 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 1834 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 1835 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 1836 | 9:26:33:E8:70:88:A2 | | 1837 | a=setup:actpass | [RFC4145] - Alice can perform | 1838 | | DTLS before Answer arrives | 1839 | a=dtls-id:2 | [I-D.ietf-mmusic-dtls-sdp] | 1840 | a=rtcp-mux | [RFC5761] | 1841 | a=rtcp:60052 IN IP4 24.23.204.141 | [RFC3605] | 1842 | a=rtcp-rsize | [RFC5506] | 1843 | a=rtcp-fb:120 nack | [RFC5104] | 1844 | a=rtcp-fb:120 nack pli | [RFC5104] | 1845 | a=rtcp-fb:120 ccm fir | [RFC5104] | 1846 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 1847 | hdrext:sdes:mid | egotiation] | 1848 | a=candidate:0 1 UDP 2122194687 | [RFC5245] | 1849 | 192.168.1.4 71775 typ host | | 1850 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 1851 | 24.23.204.141 54332 typ srflx | | 1852 | raddr 192.168.1.4 rport 71775 | | 1853 | a=candidate:0 2 2122194687 | [RFC5245] | 1854 | 192.168.1.4 71776 typ host | | 1855 | a=candidate:1 2 UDP 1685987071 | [RFC5245] | 1856 | 24.23.204.141 60052 typ srflx | | 1857 | raddr 192.168.1.4 rport 71776 | | 1858 +-----------------------------------+-------------------------------+ 1860 Table 17: 5.2.9 SDP Offer w/BUNDLE 1862 +----------------------------------------+--------------------------+ 1863 | Answer SDP Contents | RFC#/Notes | 1864 +----------------------------------------+--------------------------+ 1865 | v=0 | [RFC4566] | 1866 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] | 1867 | s=- | [RFC4566] | 1868 | t=0 0 | [RFC4566] | 1869 | a=group:LS audio video | [RFC5888] | 1870 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle | 1871 | | -ice] | 1872 | ****** Audio m=line ********* | ************************ | 1873 | | ***** | 1874 | m=audio 53214 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 1875 | c=IN IP4 98.248.92.77 | [RFC4566] | 1876 | a=mid:audio | [RFC5888] | 1877 | a=msid:ma ta | Identifies | 1878 | | RTCMediaStream ID (ma) | 1879 | | and RTCMediaStreamTrack | 1880 | | ID (ta) | 1881 | a=sendrecv | [RFC3264] | 1882 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-op | 1883 | | us] | 1884 | a=maxptime:120 | [RFC4566] | 1885 | a=ice-ufrag:c300d85b | [RFC5245] | 1886 | a=ice- | [RFC5245] | 1887 | pwd:de4e99bd291c325921d5d47efbabd9a2 | | 1888 | a=fingerprint:sha-256 6B:8B:F0:65:5F:7 | [RFC5245] | 1889 | 8:E2:51:3B:AC:6F:F3:3F:46:1B:35 :DC:B8 | | 1890 | :5F:64:1A:24:C2:43:F0:A1:58:D0:A1:2C:1 | | 1891 | 9:08 | | 1892 | a=setup:active | [RFC4145] - Bob carries | 1893 | | out DTLS Handshake in | 1894 | | parallel | 1895 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sd | 1896 | | p] | 1897 | a=rtcp-mux | [RFC5761] | 1898 | a=rtcp-rsize | [RFC5506] | 1899 | a=rtcp-fb:109 nack | [RFC5104] | 1900 | a=extmap:1 urn:ietf:params:rtp-hdrext | [RFC6464] | 1901 | :ssrc-audio-level | | 1902 | a=candidate:0 1 UDP 2122194687 | [RFC5245] | 1903 | 192.168.1.7 51556 typ host | | 1904 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 1905 | 98.248.92.77 53214 typ srflx raddr | | 1906 | 192.168.1.7 rport 51556 | | 1907 | a=candidate:0 2 UDP 2122194687 | [RFC5245] | 1908 | 192.168.1.7 51558 typ host | | 1909 | a=candidate:1 2 UDP 1685987071 | [RFC5245] | 1910 | 98.248.92.77 60065 typ srflx raddr | | 1911 | 192.168.1.7 rport 51558 | | 1912 | ****** Video m=line ********* | ************************ | 1913 | | ***** | 1914 | m=video 58679 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 1915 | c=IN IP4 98.248.92.77 | [RFC4566] | 1916 | a=mid:video | [RFC5888] | 1917 | a=msid:ma tb | Identifies | 1918 | | RTCMediaStream ID (ma) | 1919 | | and RTCMediaStreamTrack | 1920 | | ID (tb) | 1921 | a=sendrecv | [RFC3264] | 1922 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 1923 | a=ice-ufrag:85bC300 | [RFC5245] | 1924 | a=ice- | [RFC5245] | 1925 | pwd:325921d5d47efbabd9a2de4e99bd291c | | 1926 | a=fingerprint:sha-256 6B:8B:F0:65:5F:7 | [RFC5245] | 1927 | 8:E2:51:3B:AC:6F:F3:3F:46:1B:35 :DC:B8 | | 1928 | :5F:64:1A:24:C2:43:F0:A1:58:D0:A1:2C:1 | | 1929 | 9:08 | | 1930 | a=setup:active | [RFC4145] - Bob carries | 1931 | | out DTLS Handshake in | 1932 | | parallel | 1933 | a=dtls-id:2 | [I-D.ietf-mmusic-dtls-sd | 1934 | | p] | 1935 | a=rtcp-mux | [RFC5761] | 1936 | a=rtcp-rsize | [RFC5506] | 1937 | a=rtcp-fb:120 nack | [RFC5104] | 1938 | a=rtcp-fb:120 nack pli | [RFC5104] | 1939 | a=rtcp-fb:120 ccm fir | [RFC5104] | 1940 | a=candidate:0 1 UDP 2122194687 | [RFC5245] | 1941 | 192.168.1.7 61556 typ host | | 1942 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 1943 | 98.248.92.77 58679 typ srflx raddr | | 1944 | 192.168.1.7 rport 61556 | | 1945 | a=candidate:0 1 UDP 2122194687 | [RFC5245] | 1946 | 192.168.1.7 61558 typ host | | 1947 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 1948 | 98.248.92.77 56507 typ srflx raddr | | 1949 | 192.168.1.7 rport 61558 | | 1950 +----------------------------------------+--------------------------+ 1952 Table 18: 5.2.9 SDP Answer without BUNDLE 1954 5.2.10. Audio, Video BUNDLED, but Data (Not BUNDLED) 1956 This example show-cases SDP for negotiating a session with Audio, 1957 Video and data streams between Alice and Bob with data stream not 1958 being part of the BUNDLE group. This is shown by assigning unique 1959 port for data media section and not adding the "mid" identification 1960 tag to the BUNDLE group. 1962 Audio, Video, with Data (Not in BUNDLE) 1964 Alice Bob 1965 | | 1966 | | 1967 |Alice wants to multiplex audio, video but not data | 1968 | | 1969 | | 1970 | Offer(Audio:Opus Video:VP8, Data(not in BUNDLE)) | 1971 |----------------------------------------------------->| 1972 | | 1973 | | 1974 | Answer(Audio:Opus Video:VP8, Data) | 1975 |<-----------------------------------------------------| 1976 | | 1977 | | 1978 |2 Way Call with Audio, Video Multiplexed except data | 1979 |......................................................| 1980 | | 1982 +-----------------------------------+-------------------------------+ 1983 | Offer SDP Contents | RFC#/Notes | 1984 +-----------------------------------+-------------------------------+ 1985 | v=0 | [RFC4566] | 1986 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 1987 | s=- | [RFC4566] | 1988 | t=0 0 | [RFC4566] | 1989 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sdp-bundle-n | 1990 | | egotiation] Alice wants to | 1991 | | BUNDLE only audio and video | 1992 | | media. | 1993 | a=group:LS audio video | [RFC5888] | 1994 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 1995 | ****** Audio m=line ********* | ***************************** | 1996 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 1997 | 109 | | 1998 | c=IN IP4 24.23.204.141 | [RFC4566] | 1999 | a=mid:audio | [RFC5888] | 2000 | a=msid:ma ta | Identifies RTCMediaStream ID | 2001 | | (ma) and RTCMediaStreamTrack | 2002 | | ID (ta) | 2003 | a=sendrecv | [RFC3264] | 2004 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 2005 | a=maxptime:120 | [RFC4566] | 2006 | a=ice-ufrag:074c6550 | [RFC5245] | 2007 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 2008 | 74af08a068 | | 2009 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 2010 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 2011 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 2012 | 9:26:33:E8:70:88:A2 | | 2013 | a=setup:actpass | [RFC4145] | 2014 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 2015 | a=rtcp-mux | [RFC5761] | 2016 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 2017 | a=rtcp-rsize | [RFC5506] | 2018 | a=rtcp-fb:109 nack | [RFC5104] | 2019 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 2020 | hdrext:ssrc-audio-level | | 2021 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2022 | hdrext:sdes:mid | egotiation] | 2023 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 2024 | 192.168.1.4 54609 typ host | | 2025 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 2026 | ****** Video m=line ********* | ***************************** | 2027 | m=video 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 2028 | 120 | | 2029 | c=IN IP4 24.23.204.141 | [RFC4566] | 2030 | a=mid:video | [RFC5888] | 2031 | a=msid:ma tb | Identifies RTCMediaStream ID | 2032 | | (ma) and RTCMediaStreamTrack | 2033 | | ID (tb) | 2034 | a=sendrecv | [RFC3264] | 2035 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 2036 | a=rtcp-fb:120 nack | [RFC5104] | 2037 | a=rtcp-fb:120 nack pli | [RFC5104] | 2038 | a=rtcp-fb:120 ccm fir | [RFC5104] | 2039 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2040 | hdrext:sdes:mid | egotiation] | 2041 | ****** Application m=line | ***************************** | 2042 | ********* | | 2043 | m=application 10000 UDP/DTLS/SCTP | [I-D.ietf-rtcweb-data-channel | 2044 | webrtc-datachannel | ] | 2045 | c=IN IP4 24.23.204.141 | [RFC4566] | 2046 | a=mid:data | [RFC5888] | 2047 | a=sctp-port:5000 | [I-D.ietf-mmusic-sctp-sdp] | 2048 | a=max-message-size:100000 | [I-D.ietf-mmusic-sctp-sdp] | 2049 | a=sendrecv | [RFC3264] | 2050 | a=setup:actpass | [RFC4145] | 2051 | a=ice-ufrag:89819013 | [RFC5245] | 2052 | a=ice-pwd:1747d1ee3474af08a068a28 | [RFC5245] | 2053 | a397a4c3f3 | | 2054 | a=fingerprint:sha-256 29:E2:1C:3B | [RFC5245] | 2055 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 2056 | :04: BB:05:2F:70:9F:04:A9:0E:05:E | | 2057 | 9:26:33:E8:70:88:A2 | | 2058 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 2059 | 192.168.1.4 10000 typ host | | 2060 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 2061 +-----------------------------------+-------------------------------+ 2063 Table 19: 5.2.10 SDP Offer 2065 +-----------------------------------+-------------------------------+ 2066 | Answer SDP Contents | RFC#/Notes | 2067 +-----------------------------------+-------------------------------+ 2068 | v=0 | [RFC4566] | 2069 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 2070 | | Information | 2071 | s=- | [RFC4566] | 2072 | t=0 0 | [RFC4566] | 2073 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sdp-bundle-n | 2074 | | egotiation] | 2075 | a=group:LS audio video | [RFC5888] | 2076 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 2077 | ****** Audio m=line ********* | ***************************** | 2078 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 2079 | 109 | | 2080 | c=IN IP4 98.248.92.77 | [RFC4566] | 2081 | a=mid:audio | [RFC5888] | 2082 | a=msid:ma ta | Identifies RTCMediaStream ID | 2083 | | (ma) and RTCMediaStreamTrack | 2084 | | ID (ta) | 2085 | a=sendrecv | [RFC3264] | 2086 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 2087 | a=maxptime:120 | [RFC4566] | 2088 | a=ice-ufrag:c300d85b | [RFC5245] | 2089 | a=ice-pwd:de4e99bd291c325921d5d47 | [RFC5245] | 2090 | efbabd9a2 | | 2091 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] | 2092 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 2093 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 2094 | 1:58:D0:A1:2C:19:08 | | 2095 | a=setup:active | [RFC4145] | 2096 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 2097 | a=rtcp-mux | [RFC5761] | 2098 | a=rtcp-rsize | [RFC5506] | 2099 | a=rtcp-fb:109 nack | [RFC5104] | 2100 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 2101 | hdrext:ssrc-audio-level | | 2102 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2103 | hdrext:sdes:mid | egotiation] | 2104 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 2105 | 192.168.1.7 49203 typ host | | 2106 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 2107 | ****** Video m=line ********* | ***************************** | 2108 | m=video 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 2109 | 120 | | 2110 | c=IN IP4 98.248.92.77 | [RFC4566] | 2111 | a=mid:video | [RFC5888] | 2112 | a=msid:ma tb | Identifies RTCMediaStream ID | 2113 | | (ma) and RTCMediaStreamTrack | 2114 | | ID (tb) | 2115 | a=sendrecv | [RFC3264] | 2116 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 2117 | a=rtcp-fb:120 nack | [RFC5104] | 2118 | a=rtcp-fb:120 nack pli | [RFC5104] | 2119 | a=rtcp-fb:120 ccm fir | [RFC5104] | 2120 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2121 | hdrext:sdes:mid | egotiation] | 2122 | ****** Application m=line | ***************************** | 2123 | ********* | | 2124 | m=application 20000 UDP/DTLS/SCTP | [I-D.ietf-mmusic-sctp-sdp] | 2125 | webrtc-datachannel | | 2126 | c=IN IP4 98.248.92.77 | [RFC4566] | 2127 | a=mid:data | [RFC5888] | 2128 | a=sctp-port:5000 | [I-D.ietf-mmusic-sctp-sdp] | 2129 | a=max-message-size:100000 | [I-D.ietf-mmusic-sctp-sdp] | 2130 | a=setup:active | [RFC4145] | 2131 | a=sendrecv | [RFC3264] | 2132 | a=ice-ufrag:991Ca2a5e | [RFC5245] | 2133 | a=ice-pwd:921d5d47efbabd9a2de4e99 | [RFC5245] | 2134 | bd291c325 | | 2135 | a=fingerprint:sha-256 7B:8B:F0:65 | [RFC5245] | 2136 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 2137 | :35: DC:B8:5F:64:1A:24:C2:43:F0:A | | 2138 | 1:58:D0:A1:2C:19:08 | | 2139 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 2140 | 192.168.1.7 20000 typ host | | 2141 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 2142 +-----------------------------------+-------------------------------+ 2144 Table 20: 5.2.10 SDP Answer 2146 5.2.11. Audio Only, Add Video to BUNDLE 2148 This example involves 2 Offer/Answer exchanges. First one is used to 2149 negotiate and setup BUNDLE support for Audio-only session followed by 2150 an updated Offer/Answer exchange to add video stream to the ongoing 2151 session. Also the newly added video stream is BUNDLED with the audio 2152 stream. 2154 Audio Only , Add Video and BUNDLE 2156 Alice Bob 2157 | | 2158 | | 2159 | Alice indicates support for BUNDLE | 2160 | | 2161 | Offer(Audio:Opus) | 2162 |----------------------------------------------------->| 2163 | |Bob 2164 | |supports 2165 | |BUNDLE 2166 | Answer(Audio:Opus) | 2167 |<-----------------------------------------------------| 2168 | |Alice adds 2169 | |video stream 2170 | Updated Offer(Audio:Opus, Video:VP8) |to BUNDLE 2171 |----------------------------------------------------->| 2172 | | 2173 | |Bob accepts 2174 | Updated Answer(Audio:Opus, Video:VP8) | 2175 |<-----------------------------------------------------| 2176 | | 2177 | 2Way Call with Audio and Video Multiplexed | 2178 |......................................................| 2179 | | 2180 | | 2181 +-----------------------------------+-------------------------------+ 2182 | Offer SDP Contents | RFC#/Notes | 2183 +-----------------------------------+-------------------------------+ 2184 | v=0 | [RFC4566] | 2185 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 2186 | s=- | [RFC4566] | 2187 | t=0 0 | [RFC4566] | 2188 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sdp-bundle-n | 2189 | | egotiation] Alice adds audio | 2190 | | m=line to the BUNDLE group | 2191 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 2192 | ****** Audio m=line ********* | ***************************** | 2193 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 2194 | 109 | | 2195 | c=IN IP4 24.23.204.141 | [RFC4566] | 2196 | a=mid:audio | [RFC5888] | 2197 | a=msid:ma ta | Identifies RTCMediaStream ID | 2198 | | (ma) and RTCMediaStreamTrack | 2199 | | ID (ta) | 2200 | a=sendrecv | [RFC3264] | 2201 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 2202 | a=maxptime:120 | [RFC4566] | 2203 | a=ice-ufrag:074c6550 | [RFC5245] | 2204 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 2205 | 74af08a068 | | 2206 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 2207 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 2208 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 2209 | 9:26:33:E8:70:88:A2 | | 2210 | a=setup:actpass | [RFC4145] | 2211 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 2212 | a=rtcp-mux | [RFC5761] | 2213 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 2214 | a=rtcp-rsize | [RFC5506] | 2215 | a=rtcp-fb:109 nack | [RFC5104] | 2216 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 2217 | hdrext:ssrc-audio-level | | 2218 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2219 | hdrext:sdes:mid | egotiation] | 2220 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 2221 | 192.168.1.4 61665 typ host | | 2222 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 2223 | 24.23.204.141 54609 typ srflx | | 2224 | raddr 192.168.1.4 rport 61665 | | 2225 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 2226 +-----------------------------------+-------------------------------+ 2228 Table 21: 5.2.11 SDP Offer 2230 +-----------------------------------+-------------------------------+ 2231 | Answer SDP Contents | RFC#/Notes | 2232 +-----------------------------------+-------------------------------+ 2233 | v=0 | [RFC4566] | 2234 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 2235 | | Information | 2236 | s=- | [RFC4566] | 2237 | t=0 0 | [RFC4566] | 2238 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sdp-bundle-n | 2239 | | egotiation] | 2240 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 2241 | ****** Audio m=line ********* | ***************************** | 2242 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 2243 | 109 | | 2244 | c=IN IP4 98.248.92.77 | [RFC4566] | 2245 | a=mid:audio | [RFC5888] | 2246 | a=msid:ma ta | Identifies RTCMediaStream ID | 2247 | | (ma) and RTCMediaStreamTrack | 2248 | | ID (ta) | 2249 | a=sendrecv | [RFC3264] | 2250 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 2251 | a=maxptime:120 | [RFC4566] | 2252 | a=ice-ufrag:c300d85b | [RFC5245] | 2253 | a=ice-pwd:de4e99bd291c325921d5d47 | [RFC5245] | 2254 | efbabd9a2 | | 2255 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] | 2256 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 2257 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 2258 | 1:58:D0:A1:2C:19:08 | | 2259 | a=setup:active | [RFC4145] | 2260 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 2261 | a=rtcp-mux | [RFC5761] | 2262 | a=rtcp-rsize | [RFC5506] | 2263 | a=rtcp-fb:109 nack | [RFC5104] | 2264 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 2265 | hdrext:ssrc-audio-level | | 2266 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2267 | hdrext:sdes:mid | egotiation] | 2268 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 2269 | 192.168.1.7 51556 typ host | | 2270 | a=candidate:1 1 UDP 1694302207 | [RFC5245] | 2271 | 98.248.92.77 49203 typ srflx | | 2272 | raddr 192.168.1.7 rport 51556 | | 2273 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 2274 +-----------------------------------+-------------------------------+ 2276 Table 22: 5.2.10 SDP Answer 2278 +-----------------------------------+-------------------------------+ 2279 | Updated Offer SDP Contents | RFC#/Notes | 2280 +-----------------------------------+-------------------------------+ 2281 | v=0 | Version number incremented | 2282 | | [RFC4566] | 2283 | o=- 20518 1 IN IP4 0.0.0.0 | [RFC4566] | 2284 | s=- | [RFC4566] | 2285 | t=0 0 | [RFC4566] | 2286 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sdp-bundle-n | 2287 | | egotiation] | 2288 | a=group:LS audio video | [RFC5888] | 2289 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 2290 | ****** Audio m=line ********* | ***************************** | 2291 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 2292 | 109 | | 2293 | c=IN IP4 24.23.204.141 | [RFC4566] | 2294 | a=mid:audio | [RFC5888] | 2295 | a=msid:ma ta | Identifies RTCMediaStream ID | 2296 | | (ma) and RTCMediaStreamTrack | 2297 | | ID (ta) | 2298 | a=sendrecv | [RFC3264] | 2299 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 2300 | a=maxptime:120 | [RFC4566] | 2301 | a=ice-ufrag:074c6550 | [RFC5245] | 2302 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 2303 | 74af08a068 | | 2304 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 2305 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 2306 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 2307 | 9:26:33:E8:70:88:A2 | | 2308 | a=setup:actpass | [RFC4145] | 2309 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp]Ali | 2310 | | ce want's to use the same | 2311 | | DTLS association | 2312 | a=rtcp-mux | [RFC5761] | 2313 | a=rtcp-rsize | [RFC5506] | 2314 | a=rtcp-fb:109 nack | [RFC5104] | 2315 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 2316 | hdrext:ssrc-audio-level | | 2317 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2318 | hdrext:sdes:mid | egotiation] | 2319 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 2320 | 192.168.1.4 61665 typ host | | 2321 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 2322 | 24.23.204.141 54609 typ srflx | | 2323 | raddr 192.168.1.4 rport 61665 | | 2324 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 2325 | ****** Video m=line ********* | ***************************** | 2326 | m=video 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 2327 | 120 | | 2328 | c=IN IP4 24.23.204.141 | [RFC4566] | 2329 | a=mid:video | [RFC5888] | 2330 | a=msid:ma tb | Identifies RTCMediaStream ID | 2331 | | (ma) and RTCMediaStreamTrack | 2332 | | ID (tb) | 2333 | a=sendrecv | [RFC3264] | 2334 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 2335 | a=rtcp-fb:120 nack | [RFC5104] | 2336 | a=rtcp-fb:120 nack pli | [RFC5104] | 2337 | a=rtcp-fb:120 ccm fir | [RFC5104] | 2338 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2339 | hdrext:sdes:mid | egotiation] | 2340 +-----------------------------------+-------------------------------+ 2342 Table 23: 5.2.11 SDP Updated Offer 2344 +-----------------------------------+-------------------------------+ 2345 | Updated Answer SDP Contents | RFC#/Notes | 2346 +-----------------------------------+-------------------------------+ 2347 | v=0 | [RFC4566] Version number | 2348 | | incremented | 2349 | o=- 16833 1 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 2350 | | Information | 2351 | s=- | [RFC4566] | 2352 | t=0 0 | [RFC4566] | 2353 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sdp-bundle-n | 2354 | | egotiation] | 2355 | a=group:LS audio video | [RFC5888] | 2356 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 2357 | ****** Audio m=line ********* | ***************************** | 2358 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 2359 | 109 | | 2360 | c=IN IP4 98.248.92.77 | [RFC4566] | 2361 | a=mid:audio | [RFC5888] | 2362 | a=msid:ma ta | Identifies RTCMediaStream ID | 2363 | | (ma) and RTCMediaStreamTrack | 2364 | | ID (ta) | 2365 | a=sendrecv | [RFC3264] | 2366 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 2367 | a=maxptime:120 | [RFC4566] | 2368 | a=ice-ufrag:c300d85b | [RFC5245] | 2369 | a=ice-pwd:de4e99bd291c325921d5d47 | [RFC5245] | 2370 | efbabd9a2 | | 2371 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] | 2372 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 2373 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 2374 | 1:58:D0:A1:2C:19:08 | | 2375 | a=setup:active | [RFC4145] | 2376 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp]Bob | 2377 | | agrees to use the same DTLS | 2378 | | association | 2379 | a=rtcp-mux | [RFC5761] | 2380 | a=rtcp-rsize | [RFC5506] | 2381 | a=rtcp-fb:109 nack | [RFC5104] | 2382 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 2383 | hdrext:ssrc-audio-level | | 2384 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2385 | hdrext:sdes:mid | egotiation] | 2386 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 2387 | 192.168.1.7 51556 typ host | | 2388 | a=candidate:1 1 UDP 1694302207 | [RFC5245] | 2389 | 98.248.92.77 49203 typ srflx | | 2390 | raddr 192.168.1.7 rport 51556 | | 2391 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 2392 | ****** Video m=line ********* | ***************************** | 2393 | m=video 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 2394 | 120 | | 2395 | c=IN IP4 98.248.92.77 | [RFC4566] | 2396 | a=mid:video | [RFC5888] | 2397 | a=msid:ma tb | Identifies RTCMediaStream ID | 2398 | | (ma) and RTCMediaStreamTrack | 2399 | | ID (tb) | 2400 | a=sendrecv | [RFC3264] | 2401 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 2402 | a=rtcp-fb:120 nack | [RFC5104] | 2403 | a=rtcp-fb:120 nack pli | [RFC5104] | 2404 | a=rtcp-fb:120 ccm fir | [RFC5104] | 2405 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2406 | hdrext:sdes:mid | egotiation] | 2407 +-----------------------------------+-------------------------------+ 2409 Table 24: 5.2.11 SDP Updated Answer 2411 5.3. MultiResolution, RTX, FEC Examples 2413 This section deals with scenarios related to multi-source, multi- 2414 stream negotiation such as layered coding, simulcast, along with 2415 techniques that deal with providing robustness against transmission 2416 errors such as FEC and RTX. Also to note, mechanisms such as FEC and 2417 RTX could be envisioned in the above basic scenarios as well. 2419 5.3.1. Sendonly Simulcast Session with 2 cameras and 2 encodings per 2420 camera 2422 The SDP below shows Offer/Answer exchange with one audio and two 2423 video sources. Each of the video source can be sent at two different 2424 resolutions. 2426 One video source corresponds to VP8 encoding, while the other 2427 corresponds to H.264 encoding. 2429 [I-D.ietf-mmusic-rid] framework is used to further constrain the 2430 media format encodings and map the payload types (PT) to the 'rid' 2431 identifiers. 2433 [I-D.ietf-mmusic-sdp-simulcast] framework identifies the simulcast 2434 streams via their 'rid' identifiers. 2436 bundle-only attribute is used for the video sources in the Offer to 2437 ensure enabling video sources in the context of BUNDLE alone. 2439 BUNDLE grouping framework enables multiplexing of all the 5 streams 2440 (1 audio stream + 4 video streams) over a single RTP Session. 2442 1 Way Successful Simulcast w/BUNDLE 2444 Alice Bob 2445 | | 2446 | | 2447 | Alice offers 2 sendonly video sources | 2448 | with 2 simulcast encodings per source | 2449 | and bundle-only for video | 2450 | | 2451 | | 2452 | Offer(Audio:Opus,Video1:VP8,Video2:H.264) | 2453 |------------------------------------------------>| 2454 | | 2455 | | 2456 | Answer(Audio:Opus Video1:VP8,Video2:H.264) | 2457 |<------------------------------------------------| 2458 | | 2459 |One-Way 1 Opus, 2 H.264 and 2 VP8 video streams, | 2460 | all multiplexed | 2461 |.................................................| 2462 | | 2463 | | 2464 +-------------------------------------+-----------------------------+ 2465 | Offer SDP Contents | RFC#/Notes | 2466 +-------------------------------------+-----------------------------+ 2467 | v=0 | [RFC4566] | 2468 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 2469 | s=- | [RFC4566] | 2470 | t=0 0 | [RFC4566] | 2471 | a=group:BUNDLE m0 m1 m2 | [I-D.ietf-mmusic-sdp-bundle | 2472 | | -negotiation] Alice | 2473 | | supports grouping of | 2474 | | m=lines under BUNDLE | 2475 | | semantics | 2476 | a=group:LS m0 m1 | [RFC5888] | 2477 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ic | 2478 | | e] | 2479 | ****** Audio m=line ********* | *************************** | 2480 | | ** | 2481 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 2482 | c=IN IP4 24.23.204.141 | [RFC4566] | 2483 | a=mid:m0 | [RFC5888] | 2484 | a=msid:ma ta | Identifies RTCMediaStream | 2485 | | ID (ma) and | 2486 | | RTCMediaStreamTrack ID (ta) | 2487 | a=sendonly | [RFC3264] | 2488 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 2489 | a=maxptime:120 | [RFC4566] | 2490 | a=ice-ufrag:074c6550 | [RFC5245] | 2491 | a=ice-pwd:a28a397a4c3f31747d1ee3474 | [RFC5245] | 2492 | af08a068 | | 2493 | a=fingerprint:sha-256 19:E2:1C:3B:4 | [RFC5245] | 2494 | B:9F:81:E6:B8:5C:F4:A5:A8:D8:73:04 | | 2495 | :BB:05:2F:70:9F:04:A9:0E:05:E9:26:3 | | 2496 | 3:E8:70:88:A2 | | 2497 | a=setup:actpass | [RFC4145] | 2498 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 2499 | a=rtcp-mux | [RFC5761] | 2500 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 2501 | a=rtcp-rsize | [RFC5506] | 2502 | a=rtcp-fb:109 nack | [RFC5104] | 2503 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 2504 | hdrext:ssrc-audio-level | | 2505 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle | 2506 | hdrext:sdes:mid | -negotiation] | 2507 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 2508 | 192.168.1.4 61665 typ host | | 2509 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 2510 | 24.23.204.141 54609 typ srflx raddr | | 2511 | 192.168.1.4 rport 61665 | | 2512 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ic | 2513 | | e] | 2514 | ****** Video-1 m=line ********* | *************************** | 2515 | | ** | 2516 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 | bundle-only video line with | 2517 | | port number set to zero | 2518 | c=IN IP4 24.23.204.141 | [RFC4566] | 2519 | a=bundle-only | [I-D.ietf-mmusic-sdp-bundle | 2520 | | -negotiation] | 2521 | a=mid:m1 | [RFC5888] Video m=line part | 2522 | | of BUNDLE group | 2523 | a=msid:ma tb | Identifies RTCMediaStream | 2524 | | ID (ma) and | 2525 | | RTCMediaStreamTrack ID (tb) | 2526 | a=sendonly | [RFC3264] - Send only video | 2527 | | stream | 2528 | a=rtpmap:98 VP8/90000 | [I-D.ietf-payload-vp8] | 2529 | a=fmtp:98 max-fr=30 | [RFC4566] | 2530 | a=rtpmap:100 VP8/90000 | [I-D.ietf-payload-vp8] | 2531 | a=fmtp:100 max-fr=15 | [RFC4566] | 2532 | a=rtcp-fb:* nack | [RFC5104] | 2533 | a=rtcp-fb:* nack pli | [RFC5104] | 2534 | a=rtcp-fb:* ccm fir | [RFC5104] | 2535 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle | 2536 | hdrext:sdes:mid | -negotiation] | 2537 | a=rid:1 send pt=98;max-width=1280 | [I-D.ietf-mmusic-rid] 1:1 | 2538 | ;max-height=720; | rid mapping to payload type | 2539 | | and specify resolution | 2540 | | constraints | 2541 | a=rid:2 send pt=100;max-width=640 | [I-D.ietf-mmusic-rid] 1:1 | 2542 | ;max-height=480; | rid mapping to payload type | 2543 | | and specify resolution | 2544 | | constraints | 2545 | a=simulcast: send 1;~2 | [I-D.ietf-mmusic-sdp-simulc | 2546 | | ast] Alice can send 2 | 2547 | | resolutions identified by | 2548 | | the 'rid' identifiers Also, | 2549 | | the second stream is | 2550 | | initially paused. | 2551 | ****** Video-2 m=line ********* | *************************** | 2552 | | ** | 2553 | m=video 0 UDP/TLS/RTP/SAVPF 101 102 | bundle-only video line with | 2554 | | port number set to zero | 2555 | c=IN IP4 24.23.204.141 | [RFC4566] | 2556 | a=bundle-only | [I-D.ietf-mmusic-sdp-bundle | 2557 | | -negotiation] | 2558 | a=mid:m2 | [RFC5888] Video m=line part | 2559 | | of BUNDLE group | 2560 | a=msid:ma tc | Identifies RTCMediaStream | 2561 | | ID (ma) and | 2562 | | RTCMediaStreamTrack ID (tc) | 2563 | a=sendonly | [RFC3264] - Send only video | 2564 | | stream | 2565 | a=rtpmap:101 H264/90000 | [RFC3984] | 2566 | a=rtpmap:102 H264/90000 | [RFC3984] | 2567 | a=fmtp:101 profile-level-id=42401f | [RFC3984]Camera-2,Encoding- | 2568 | ;packetization-mode=0;max-fr=30 | 1 | 2569 | a=fmtp:102 profile-level-id=42401f | [RFC3984]Camera-2,Encoding- | 2570 | ;packetization-mode=1;max-fr=15 | 2 | 2571 | a=rtcp-fb:* nack | [RFC5104] | 2572 | a=rtcp-fb:* nack pli | [RFC5104] | 2573 | a=rtcp-fb:* ccm fir | [RFC5104] | 2574 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle | 2575 | hdrext:sdes:mid | -negotiation] | 2576 | a=rid:3 send pt=101;max-width=1280 | [I-D.ietf-mmusic-rid] 1:1 | 2577 | ;max-height=720; | rid mapping to payload type | 2578 | | and specify resolution | 2579 | | constraints | 2580 | a=rid:4 send pt=102;max-width=640 | [I-D.ietf-mmusic-rid] 1:1 | 2581 | ;max-height=360; | rid mapping to payload type | 2582 | | and specify resolution | 2583 | | constraints | 2584 | a=simulcast: send 3;4 | [I-D.ietf-mmusic-sdp-simulc | 2585 | | ast] Alice can send 2 | 2586 | | resolutions identified by | 2587 | | the 'rid' identifiers | 2588 +-------------------------------------+-----------------------------+ 2590 Table 25: 5.3.1 SDP Offer 2592 +-------------------------------------+-----------------------------+ 2593 | Answer SDP Contents | RFC#/Notes | 2594 +-------------------------------------+-----------------------------+ 2595 | v=0 | [RFC4566] | 2596 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 2597 | s=- | [RFC4566] | 2598 | t=0 0 | [RFC4566] | 2599 | a=group:BUNDLE m0 m1 m2 | [I-D.ietf-mmusic-sdp-bundle | 2600 | | -negotiation] Alice | 2601 | | supports grouping of | 2602 | | m=lines under BUNDLE | 2603 | | semantics | 2604 | a=group:LS m0 m1 | [RFC5888] | 2605 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ic | 2606 | | e] | 2607 | ****** Audio m=line ********* | *************************** | 2608 | | ** | 2609 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 2610 | c=IN IP4 98.248.92.77 | [RFC4566] | 2611 | a=mid:m0 | [RFC5888] | 2612 | a=msid:ma ta | Identifies RTCMediaStream | 2613 | | ID (ma) and | 2614 | | RTCMediaStreamTrack ID (ta) | 2615 | a=recvonly | [RFC3264] | 2616 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 2617 | a=rtcp-fb:109 nack | [RFC5104] | 2618 | a=maxptime:120 | [RFC4566] | 2619 | a=ice-ufrag:c300d85b | [RFC5245] | 2620 | a=ice-pwd:de4e99bd291c325921d5d47ef | [RFC5245] | 2621 | babd9a2 | | 2622 | a=fingerprint:sha-256 6B:8B:F0:65:5 | [RFC5245] | 2623 | F:78:E2:51:3B:AC:6F:F3:3F:46:1B:35 | | 2624 | :DC:B8:5F:64:1A:24:C2:43:F0:A1:58:D | | 2625 | 0:A1:2C:19:08 | | 2626 | a=setup:active | [RFC4145] | 2627 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 2628 | a=rtcp-mux | [RFC5761] | 2629 | a=rtcp-rsize | [RFC5506] | 2630 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 2631 | hdrext:ssrc-audio-level | | 2632 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle | 2633 | hdrext:sdes:mid | -negotiation] | 2634 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 2635 | 192.168.1.7 61665 typ host | | 2636 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 2637 | 98.248.92.77 49203 typ srflx raddr | | 2638 | 192.168.1.4 rport 61665 | | 2639 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ic | 2640 | | e] | 2641 | ****** Video-1 m=line ********* | *************************** | 2642 | | ** | 2643 | m=video 49203 UDP/TLS/RTP/SAVPF 98 | BUNDLE accepted with port | 2644 | 100 | repeated from the audio | 2645 | | port | 2646 | c=IN IP4 98.248.92.77 | [RFC4566] | 2647 | a=mid:m1 | [RFC5888] Video m=line part | 2648 | | of BUNDLE group | 2649 | a=msid:ma tb | Identifies RTCMediaStream | 2650 | | ID (ma) and | 2651 | | RTCMediaStreamTrack ID (tb) | 2652 | a=recvonly | [RFC3264] - receive only | 2653 | | video stream | 2654 | a=rtpmap:98 VP8/90000 | [I-D.ietf-payload-vp8] | 2655 | a=rtpmap:100 VP8/90000 | [I-D.ietf-payload-vp8] | 2656 | a=fmtp:98 max-fr=30 | [RFC4566] | 2657 | a=fmtp:100 max-fr=15 | [RFC4566] | 2658 | a=rtcp-fb:* nack | [RFC5104] | 2659 | a=rtcp-fb:* nack pli | [RFC5104] | 2660 | a=rtcp-fb:* ccm fir | [RFC5104] | 2661 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle | 2662 | hdrext:sdes:mid | -negotiation] | 2663 | a=rid:1 recv pt=98;max-width=1280 | [I-D.ietf-mmusic-rid] Bob | 2664 | ;max-height=720; | accepts the offered payload | 2665 | | format constraints | 2666 | a=rid:2 recv pt=100;max-width=640 | [I-D.ietf-mmusic-rid] Bob | 2667 | ;max-height=480; | accepts the offered payload | 2668 | | format constraints | 2669 | a=simulcast: recv 1;2 | [I-D.ietf-mmusic-sdp-simulc | 2670 | | ast] Bob accepts the | 2671 | | offered simulcast streams | 2672 | | and removes the paused | 2673 | | state of stream with 'rid' | 2674 | | value 2. | 2675 | ****** Video-2 m=line ********* | *************************** | 2676 | | ** | 2677 | m=video 49203 UDP/TLS/RTP/SAVPF 101 | BUNDLE accepted with port | 2678 | 102 | repeated from the audio | 2679 | | port | 2680 | c=IN IP4 98.248.92.77 | [RFC4566] | 2681 | a=mid:m2 | [RFC5888] Video m=line part | 2682 | | of BUNDLE group | 2683 | a=msid:ma tc | Identifies RTCMediaStream | 2684 | | ID (ma) and | 2685 | | RTCMediaStreamTrack ID (tc) | 2686 | a=recvonly | [RFC3264] | 2687 | a=rtpmap:101 H264/90000 | [RFC3984] | 2688 | a=rtpmap:102 H264/90000 | [RFC3984] | 2689 | a=fmtp:101 profile-level-id=42401f | [RFC3984] | 2690 | ;packetization-mode=1;max-fr=30 | | 2691 | a=fmtp:102 profile-level-id=42401f | [RFC3984] | 2692 | ;packetization-mode=1;max-fr=15 | | 2693 | a=rtcp-fb:* nack | [RFC5104] | 2694 | a=rtcp-fb:* nack pli | [RFC5104] | 2695 | a=rtcp-fb:* ccm fir | [RFC5104] | 2696 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle | 2697 | hdrext:sdes:mid | -negotiation] | 2698 | a=rid:3 recv pt=101;max-width=1280 | [I-D.ietf-mmusic-rid] Bob | 2699 | ;max-height=720; | accepts the offered payload | 2700 | | format constraints | 2701 | a=rid:4 recv pt=102;max-width=640 | [I-D.ietf-mmusic-rid] Bob | 2702 | ;max-height=360; | accepts the offered payload | 2703 | | format constraints | 2704 | a=simulcast: recv 3;4 | [I-D.ietf-mmusic-sdp-simulc | 2705 | | ast] Bob accepts the | 2706 | | offered simulcast streams. | 2707 +-------------------------------------+-----------------------------+ 2709 Table 26: 5.3.1 SDP Answer 2711 5.3.2. Successful SVC Video Session 2713 This section shows an SDP Offer/Answer for a session with an audio 2714 and a single video source. The video source is encoded as layered 2715 coding at 3 different resolutions based on [RFC5583]. The video 2716 m=line shows 3 streams with last stream (payload 100) dependent on 2717 streams with payload 96 and 97 for decoding. 2719 SVC Session - 3 Layers w/BUNDLE 2721 Alice Bob 2722 | | 2723 | | 2724 | Alice offers 3 sendonly video streams | 2725 | as 3 layers of SVC and bundle-only | 2726 | for video streams. | 2727 | | 2728 | Offer(Video:H.264 SVC) | 2729 |------------------------------------------------>| 2730 | | 2731 | |Bob accepts Alice's 2732 | |offered Codec 2733 | |operation points 2734 | | 2735 | Answer(Video:H.264) | 2736 |<------------------------------------------------| 2737 | | 2738 |One-Way H.264 SVC video streams | 2739 |.................................................| 2740 | | 2741 | | 2743 +-----------------------------------+-------------------------------+ 2744 | Offer SDP Contents | RFC#/Notes | 2745 +-----------------------------------+-------------------------------+ 2746 | v=0 | [RFC4566] | 2747 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 2748 | s=- | [RFC4566] | 2749 | t=0 0 | [RFC4566] | 2750 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sdp-bundle-n | 2751 | | egotiation] Alice supports | 2752 | | grouping of m=lines under | 2753 | | BUNDLE semantics | 2754 | a=group:LS m0 m1 | [RFC5888] | 2755 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 2756 | ****** Audio m=line ********* | ***************************** | 2757 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 2758 | 109 | | 2759 | c=IN IP4 24.23.204.141 | [RFC4566] | 2760 | a=mid:m0 | [RFC5888] Audio m=line part | 2761 | | of BUNDLE group with a unique | 2762 | | port number | 2763 | a=msid:ma ta | Identifies RTCMediaStream ID | 2764 | | (ma) and RTCMediaStreamTrack | 2765 | | ID (ta) | 2766 | a=sendonly | [RFC3264] | 2767 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 2768 | a=maxptime:120 | [RFC4566] | 2769 | a=ice-ufrag:074c6550 | [RFC5245] | 2770 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 2771 | 74af08a068 | | 2772 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 2773 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 2774 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 2775 | 9:26:33:E8:70:88:A2 | | 2776 | a=setup:actpass | [RFC4145] | 2777 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 2778 | a=rtcp-mux | [RFC5761] | 2779 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 2780 | a=rtcp-rsize | [RFC5506] | 2781 | a=rtcp-fb:109 nack | [RFC5104] | 2782 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 2783 | hdrext:ssrc-audio-level | | 2784 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2785 | hdrext:sdes:mid | egotiation] | 2786 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 2787 | 192.168.1.4 61665 typ host | | 2788 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 2789 | 24.23.204.141 54609 typ srflx | | 2790 | raddr 192.168.1.4 rport 61665 | | 2791 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 2792 | ****** Video m=line ********* | ***************************** | 2793 | m=video 0 UDP/TLS/RTP/SAVPF 96 97 | bundle-only video line with | 2794 | 100 | port number set to zero | 2795 | c=IN IP4 24.23.204.141 | [RFC4566] | 2796 | a=bundle-only | [I-D.ietf-mmusic-sdp-bundle-n | 2797 | | egotiation] | 2798 | a=mid:m1 | [RFC5888] Video m=line part | 2799 | | of BUNDLE group | 2800 | a=msid:ma tb | Identifies RTCMediaStream ID | 2801 | | (ma) and RTCMediaStreamTrack | 2802 | | ID (tc) | 2803 | a=sendonly | [RFC3264] - Send only video | 2804 | | stream | 2805 | a=rtpmap:96 H264/90000 | [RFC3984] | 2806 | a=fmtp:96 profile-level- | [RFC3984]H.264 Layer 1 | 2807 | id=4d0028; packetization-mode=1 | | 2808 | ;max-fr=30;max-fs=8040 | | 2809 | a=rtpmap:97 H264/90000 | [RFC3984] | 2810 | a=fmtp:97 profile-level-id=4d0028 | [RFC3984] H.264 Layer 2 | 2811 | ;packetization-mode=1; max-fr=15 | | 2812 | ;max-fs=1200 | | 2813 | a=rtpmap:100 H264-SVC/90000 | [RFC3984] | 2814 | a=fmtp:100 profile-level- | [RFC3984] | 2815 | id=4d0028;packetization-mode=1; | | 2816 | max-fr=30;max-fs=8040 | | 2817 | a=depend:100 lay m1:96,97; | [RFC5583]Layer 3 dependent on | 2818 | | layers 1 and 2 | 2819 | a=rtcp-fb:* nack | [RFC5104] | 2820 | a=rtcp-fb:* nack pli | [RFC5104] | 2821 | a=rtcp-fb:* ccm fir | [RFC5104] | 2822 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2823 | hdrext:sdes:mid | egotiation] | 2824 +-----------------------------------+-------------------------------+ 2826 Table 27: 5.3.2 SDP Offer with SVC 2828 +-----------------------------------+-------------------------------+ 2829 | Answer SDP Contents | RFC#/Notes | 2830 +-----------------------------------+-------------------------------+ 2831 | v=0 | [RFC4566] | 2832 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 2833 | s=- | [RFC4566] | 2834 | t=0 0 | [RFC4566] | 2835 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sdp-bundle-n | 2836 | | egotiation] | 2837 | a=group:LS m0 m1 | [RFC5888] | 2838 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 2839 | ****** Audio m=line ********* | ***************************** | 2840 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 2841 | 109 | | 2842 | c=IN IP4 98.248.92.77 | [RFC4566] | 2843 | a=mid:m0 | [RFC5888] | 2844 | a=msid:ma ta | Identifies RTCMediaStream ID | 2845 | | (ma) and RTCMediaStreamTrack | 2846 | | ID (ta) | 2847 | a=recvonly | [RFC3264] | 2848 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 2849 | a=maxptime:120 | [RFC4566] | 2850 | a=ice-ufrag:074c6550 | [RFC5245] | 2851 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 2852 | 74af08a068 | | 2853 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] | 2854 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 2855 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 2856 | 1:58:D0:A1:2C:19:08 | | 2857 | a=setup:active | [RFC4145] | 2858 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 2859 | a=rtcp-mux | [RFC5761] | 2860 | a=rtcp-rsize | [RFC5506] | 2861 | a=rtcp-fb:109 nack | [RFC5104] | 2862 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 2863 | hdrext:ssrc-audio-level | | 2864 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2865 | hdrext:sdes:mid | egotiation] | 2866 | a=candidate:0 1 UDP 2113667326 | [RFC5245] | 2867 | 192.168.1.7 51556 typ host | | 2868 | a=candidate:1 1 UDP 1694302206 | [RFC5245] | 2869 | 98.248.92.77 49203 typ srflx | | 2870 | raddr 192.168.1.5 rport 51556 | | 2871 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 2872 | ****** Video m=line ********* | ***************************** | 2873 | m=video 49203 UDP/TLS/RTP/SAVPF | BUNDLE accepted Bundle | 2874 | 96 100 | address same as audio m=line. | 2875 | c=IN IP4 98.248.92.77 | [RFC4566] | 2876 | a=mid:m1 | [RFC5888] Video m=line part | 2877 | | of BUNDLE group | 2878 | a=msid:ma tb | Identifies RTCMediaStream ID | 2879 | | (ma) and RTCMediaStreamTrack | 2880 | | ID (tb) | 2881 | a=recvonly | [RFC3264] - Receive only | 2882 | | video stream | 2883 | a=rtpmap:96 H264/90000 | [RFC3984] | 2884 | a=fmtp:96 profile-level-id=4d0028 | [RFC3984]H.264 Layer 1 | 2885 | ;packetization-mode=1; max-fr=30 | | 2886 | ;max-fs=8040 | | 2887 | a=rtpmap:100 H264-SVC/90000 | [RFC3984] | 2888 | a=fmtp:100 profile-level- | [RFC3984] | 2889 | id=4d0028;packetization-mode=1; | | 2890 | max-fr=30;max-fs=8040 | | 2891 | a=depend:100 lay m1:96; | [RFC5583] Bob chooses 2 Codec | 2892 | | Operation points | 2893 | a=rtcp-fb:* nack | [RFC5104] | 2894 | a=rtcp-fb:* nack pli | [RFC5104] | 2895 | a=rtcp-fb:* ccm fir | [RFC5104] | 2896 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2897 | hdrext:sdes:mid | egotiation] | 2898 +-----------------------------------+-------------------------------+ 2900 Table 28: 5.3.2 SDP Answer with SVC 2902 5.3.3. Successful Simulcast Video Session with Retransmission 2904 This section shows an SDP Offer/Answer exchange for a simulcast 2905 scenario with 3 resolutions and has [RFC4588] style re-transmission 2906 flows. 2908 [I-D.ietf-mmusic-rid] framework is used to specify all the (3) 2909 resolution constraints mapped to a single Payload Type (98). 2911 [I-D.ietf-mmusic-sdp-simulcast] framework identifies the simulcast 2912 streams via their 'rid' identifiers. 2914 Simulcast Streams with Retransmission 2916 Alice Bob 2917 | | 2918 | | 2919 |Alice offers single audio and simulcasted video streams | 2920 | | 2921 | | 2922 | Offer(Audio:Opus Video:VP8 with 3 resolutions) | 2923 | & RTX stream | 2924 |-------------------------------------------------------->| 2925 | | 2926 | | 2927 | Answer (Bob accepts Alice's offer) | 2928 |<--------------------------------------------------------| 2929 | | 2930 | | 2931 |One-Way 1 Opus, 3 VP8 and RTX video streams,all muxed | 2932 |.........................................................| 2933 | | 2934 | | 2936 +-----------------------------------+-------------------------------+ 2937 | Offer SDP Contents | RFC#/Notes | 2938 +-----------------------------------+-------------------------------+ 2939 | v=0 | [RFC4566] | 2940 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 2941 | s=- | [RFC4566] | 2942 | t=0 0 | [RFC4566] | 2943 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sdp-bundle-n | 2944 | | egotiation] Alice supports | 2945 | | grouping of m=lines under | 2946 | | BUNDLE semantics | 2947 | a=group:LS m0 m1 | [RFC5888] | 2948 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 2949 | ****** Audio m=line ********* | ***************************** | 2950 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 2951 | 109 | | 2952 | c=IN IP4 24.23.204.141 | [RFC4566] | 2953 | a=mid:m0 | [RFC5888] Audio m=line part | 2954 | | of BUNDLE group with a unique | 2955 | | port number | 2956 | a=msid:ma ta | Identifies RTCMediaStream ID | 2957 | | (ma) and RTCMediaStreamTrack | 2958 | | ID (ta) | 2959 | a=sendonly | [RFC3264] | 2960 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 2961 | a=maxptime:120 | [RFC4566] | 2962 | a=ice-ufrag:074c6550 | [RFC5245] | 2963 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 2964 | 74af08a068 | | 2965 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 2966 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 2967 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 2968 | 9:26:33:E8:70:88:A2 | | 2969 | a=setup:actpass | [RFC4145] | 2970 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 2971 | a=rtcp-mux | [RFC5761] | 2972 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 2973 | a=rtcp-rsize | [RFC5506] | 2974 | a=rtcp-fb:109 nack | [RFC5104] | 2975 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 2976 | hdrext:ssrc-audio-level | | 2977 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 2978 | hdrext:sdes:mid | egotiation] | 2979 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 2980 | 192.168.1.4 61665 typ host | | 2981 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 2982 | 24.23.204.141 54609 typ srflx | | 2983 | raddr 192.168.1.4 rport 61665 | | 2984 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 2985 | ****** Video m=line ********* | ***************************** | 2986 | m=video 0 UDP/TLS/RTP/SAVPF 98 | bundle-only video line with | 2987 | 103 | port number set to zero | 2988 | c=IN IP4 24.23.204.141 | [RFC4566] | 2989 | a=bundle-only | [I-D.ietf-mmusic-sdp-bundle-n | 2990 | | egotiation] | 2991 | a=mid:m1 | [RFC5888] | 2992 | a=msid:ma tb | Identifies RTCMediaStream ID | 2993 | | (ma) and RTCMediaStreamTrack | 2994 | | ID (tb) | 2995 | a=sendonly | [RFC3264] | 2996 | a=rtpmap:98 VP8/90000 | [I-D.ietf-payload-vp8] | 2997 | a=fmtp:98 max-fr=30 | [RFC4566] | 2998 | a=rtpmap:103 rtx/90000 | [RFC4588] | 2999 | a=fmtp:103 apt=98;rtx-time=200 | [RFC4588] | 3000 | a=rtcp-fb:* nack | [RFC5104] | 3001 | a=rtcp-fb:* nack pli | [RFC5104] | 3002 | a=rtcp-fb:* ccm fir | [RFC5104] | 3003 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3004 | hdrext:sdes:mid | egotiation] | 3005 | a=rid:1 send pt=98;max-fs=921600 | [I-D.ietf-mmusic-rid] | 3006 | ;max-fr=30; | | 3007 | a=rid:2 send pt=98;max-fs=614400 | [I-D.ietf-mmusic-rid] | 3008 | ;max-fr=15; | | 3009 | a=rid:3 send pt=98;max-fs=230400 | [I-D.ietf-mmusic-rid] | 3010 | ;max-fr=30; | | 3011 | a=simulcast: send 1;2;3 | [I-D.ietf-mmusic-sdp-simulcas | 3012 | | t] Alice can send all the | 3013 | | simulcast streams | 3014 +-----------------------------------+-------------------------------+ 3016 Table 29: 5.3.3 SDP Offer w/Simulcast, RTX 3018 +-----------------------------------+-------------------------------+ 3019 | Answer SDP Contents | RFC#/Notes | 3020 +-----------------------------------+-------------------------------+ 3021 | v=0 | [RFC4566] | 3022 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3023 | s=- | [RFC4566] | 3024 | t=0 0 | [RFC4566] | 3025 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sdp-bundle-n | 3026 | | egotiation] Bob supports | 3027 | | grouping of m=lines under | 3028 | | BUNDLE semantics | 3029 | a=group:LS m0 m1 | [RFC5888] | 3030 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 3031 | ****** Audio m=line ********* | ***************************** | 3032 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 3033 | 109 | | 3034 | c=IN IP4 98.248.92.77 | [RFC4566] | 3035 | a=mid:m0 | [RFC5888] | 3036 | a=msid:ma ta | Identifies RTCMediaStream ID | 3037 | | (ma) and RTCMediaStreamTrack | 3038 | | ID (ta) | 3039 | a=recvonly | [RFC3264] | 3040 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 3041 | a=maxptime:120 | [RFC4566] | 3042 | a=ice-ufrag:074c6550 | [RFC5245] | 3043 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 3044 | 74af08a068 | | 3045 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] | 3046 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 3047 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 3048 | 1:58:D0:A1:2C:19:08 | | 3049 | a=setup:active | [RFC4145] | 3050 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 3051 | a=rtcp-mux | [RFC5761] | 3052 | a=rtcp-rsize | [RFC5506] | 3053 | a=rtcp-fb:109 nack | [RFC5104] | 3054 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 3055 | hdrext:ssrc-audio-level | | 3056 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3057 | hdrext:sdes:mid | egotiation] | 3058 | a=candidate:0 1 UDP 2113667326 | [RFC5245] | 3059 | 192.168.1.7 51556 typ host | | 3060 | a=candidate:1 1 UDP 1694302206 | [RFC5245] | 3061 | 98.248.92.77 49203 typ srflx | | 3062 | raddr 192.168.1.7 rport 51556 | | 3063 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 3064 | ****** Video m=line ********* | ***************************** | 3065 | m=video 49203 UDP/TLS/RTP/SAVPF | BUNDLE accepted with Bundle | 3066 | 98 100 101 103 | address identical to audio | 3067 | | m-line | 3068 | c=IN IP4 98.248.92.77 | [RFC4566] | 3069 | a=mid:m1 | [RFC5888] Video m=line part | 3070 | | of BUNDLE group | 3071 | a=msid:ma tb | Identifies RTCMediaStream ID | 3072 | | (ma) and RTCMediaStreamTrack | 3073 | | ID (tb) | 3074 | a=recvonly | [RFC3264] | 3075 | a=rtpmap:98 VP8/90000 | [I-D.ietf-payload-vp8] | 3076 | a=fmtp:98 max-fr=30 | [RFC4566] | 3077 | a=rtpmap:103 rtx/90000 | [RFC4588] | 3078 | a=fmtp:103 apt=98;rtx-time=200 | [RFC4588] | 3079 | a=rtcp-fb:* nack | [RFC5104] | 3080 | a=rtcp-fb:* nack pli | [RFC5104] | 3081 | a=rtcp-fb:* ccm fir | [RFC5104] | 3082 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3083 | hdrext:sdes:mid | egotiation] | 3084 | a=rid:1 recv pt=98;max-fs=921600 | [I-D.ietf-mmusic-rid] | 3085 | ;max-fr=30; | | 3086 | a=rid:2 recv pt=98;max-fs=614400 | [I-D.ietf-mmusic-rid] | 3087 | ;max-fr=15; | | 3088 | a=rid:3 recv pt=98;max-fs=230400 | [I-D.ietf-mmusic-rid] | 3089 | ;max-fr=30; | | 3090 | a=simulcast: recv 1;2;3 | [I-D.ietf-mmusic-sdp-simulcas | 3091 | | t] Bob accepts the offered | 3092 | | simulcast streams | 3093 +-----------------------------------+-------------------------------+ 3095 Table 30: 5.3.3 SDP Answer w/Simulcast, RTX 3097 5.3.4. Successful 1-way Simulcast Session with 2 resolutions and RTX - 3098 One resolution rejected 3100 This section shows an SDP Offer/Answer exchange for a simulcast 3101 scenario with 2 two resolutions. 3103 It also showcases where Bob rejects one of the Simulcast Video Stream 3104 which results in the rejection of the associated repair stream 3105 implicitly. 3107 Simulcast Streams with Retransmission Rejected 3109 Alice Bob 3110 | | 3111 | | 3112 |Alice offers single audio and simulcasted video streams | 3113 | with bundle-only for video | 3114 | | 3115 | | 3116 |Offer(Audio:Opus Video:VP8 with 2 resolutions,RTX Stream)| 3117 |-------------------------------------------------------->| 3118 | | 3119 | |Bob accepts 1 3120 | |simulcast,rtx 3121 | |rejects the 3122 | |other 3123 | Answer(Audio:Opus Video:VP8 with 1 res & RTX Stream) | 3124 |<--------------------------------------------------------| 3125 | | 3126 | | 3127 |1-way audio,video session and its associated RTX stream, | 3128 | all multiplexed | 3129 |.........................................................| 3130 | | 3131 | | 3133 +-----------------------------------+-------------------------------+ 3134 | Offer SDP Contents | RFC#/Notes | 3135 +-----------------------------------+-------------------------------+ 3136 | v=0 | [RFC4566] | 3137 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3138 | s=- | [RFC4566] | 3139 | t=0 0 | [RFC4566] | 3140 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sdp-bundle-n | 3141 | | egotiation] Alice supports | 3142 | | grouping of m=lines under | 3143 | | BUNDLE semantics | 3144 | a=group:LS m0 m1 | [RFC5888] | 3145 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 3146 | ****** Audio m=line ********* | ***************************** | 3147 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 3148 | 109 | | 3149 | c=IN IP4 24.23.204.141 | [RFC4566] | 3150 | a=mid:m0 | [RFC5888] | 3151 | a=msid:ma ta | Identifies RTCMediaStream ID | 3152 | | (ma) and RTCMediaStreamTrack | 3153 | | ID (ta) | 3154 | a=sendonly | [RFC3264] | 3155 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 3156 | a=maxptime:120 | [RFC4566] | 3157 | a=ice-ufrag:074c6550 | [RFC5245] | 3158 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 3159 | 74af08a068 | | 3160 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 3161 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 3162 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 3163 | 9:26:33:E8:70:88:A2 | | 3164 | a=setup:actpass | [RFC4145] | 3165 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 3166 | a=rtcp-mux | [RFC5761] | 3167 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 3168 | a=rtcp-rsize | [RFC5506] | 3169 | a=rtcp-fb:109 nack | [RFC5104] | 3170 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 3171 | hdrext:ssrc-audio-level | | 3172 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3173 | hdrext:sdes:mid | egotiation] | 3174 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 3175 | 192.168.1.4 61665 typ host | | 3176 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 3177 | 24.23.204.141 54609 typ srflx | | 3178 | raddr 192.168.1.4 rport 61665 | | 3179 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 3180 | ****** Video m=line ********* | ***************************** | 3181 | m=video 0 UDP/TLS/RTP/SAVPF 98 | bundle-only video line with | 3182 | 100 101 103 | port number set to zero | 3183 | c=IN IP4 24.23.204.141 | [RFC4566] | 3184 | a=bundle-only | [I-D.ietf-mmusic-sdp-bundle-n | 3185 | | egotiation] | 3186 | a=mid:m1 | [RFC5888] | 3187 | a=msid:ma tb | Identifies RTCMediaStream ID | 3188 | | (ma) and RTCMediaStreamTrack | 3189 | | ID (tb | 3190 | a=sendonly | [RFC3264] | 3191 | a=rtpmap:98 VP8/90000 | [I-D.ietf-payload-vp8] | 3192 | a=rtpmap:100 VP8/90000 | [I-D.ietf-payload-vp8] | 3193 | a=rtpmap:101 rtx/90000 | [RFC4588] | 3194 | a=rtpmap:103 rtx/90000 | [RFC4588] | 3195 | a=fmtp:98 max-fr=30;max-fs=8040 | [RFC4566] | 3196 | a=fmtp:100 max-fr=15;max-fs=1200 | [RFC4566] | 3197 | a=fmtp:101 apt=98;rtx-time=200 | [RFC4588] | 3198 | a=fmtp:103 apt=100;rtx-time=200 | [RFC4588] | 3199 | a=rtcp-fb:* nack | [RFC5104] | 3200 | a=rtcp-fb:* nack pli | [RFC5104] | 3201 | a=rtcp-fb:* ccm fir | [RFC5104] | 3202 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3203 | hdrext:sdes:mid | egotiation] | 3204 | a=rid:1 send pt=98; | [I-D.ietf-mmusic-rid] 1:1 | 3205 | | mapping between the PT and | 3206 | | the 'rid' identifier | 3207 | a=rid:2 send pt=100; | [I-D.ietf-mmusic-rid] 1:1 | 3208 | | mapping between the PT and | 3209 | | the 'rid' identifier | 3210 | a=simulcast: send 1;2 | [I-D.ietf-mmusic-sdp-simulcas | 3211 | | t] | 3212 +-----------------------------------+-------------------------------+ 3214 Table 31: 5.3.4 SDP Offer w/Simulcast, RTX 3216 +-----------------------------------+-------------------------------+ 3217 | Answer SDP Contents | RFC#/Notes | 3218 +-----------------------------------+-------------------------------+ 3219 | v=0 | [RFC4566] | 3220 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3221 | s=- | [RFC4566] | 3222 | t=0 0 | [RFC4566] | 3223 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sdp-bundle-n | 3224 | | egotiation] Bob supports | 3225 | | grouping of m=lines under | 3226 | | BUNDLE semantics | 3227 | a=group:LS m0 m1 | [RFC5888] | 3228 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 3229 | ****** Audio m=line ********* | ***************************** | 3230 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 3231 | 109 | | 3232 | c=IN IP4 98.248.92.77 | [RFC4566] | 3233 | a=mid:m0 | [RFC5888] | 3234 | a=msid:ma ta | Identifies RTCMediaStream ID | 3235 | | (ma) and RTCMediaStreamTrack | 3236 | | ID (ta) | 3237 | a=recvonly | [RFC3264] | 3238 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 3239 | a=maxptime:120 | [RFC4566] | 3240 | a=ice-ufrag:074c6550 | [RFC5245] | 3241 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 3242 | 74af08a068 | | 3243 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] | 3244 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 3245 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 3246 | 1:58:D0:A1:2C:19:08 | | 3247 | a=setup:active | [RFC4145] | 3248 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 3249 | a=rtcp-mux | [RFC5761] | 3250 | a=rtcp-rsize | [RFC5506] | 3251 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 3252 | hdrext:ssrc-audio-level | | 3253 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3254 | hdrext:sdes:mid | egotiation] | 3255 | a=candidate:0 1 UDP 2113667326 | [RFC5245] | 3256 | 192.168.1.7 51556 typ host | | 3257 | a=candidate:1 1 UDP 1694302206 | [RFC5245] | 3258 | 98.248.92.77 49203 typ srflx | | 3259 | raddr 192.168.1.7 rport 51556 | | 3260 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 3261 | ****** Video m=line ********* | ***************************** | 3262 | m=video 49203 UDP/TLS/RTP/SAVPF | BUNDLE accepted with Bundle | 3263 | 98 101 | address identical to audio | 3264 | | m-line | 3265 | c=IN IP4 98.248.92.77 | [RFC4566] | 3266 | a=mid:m1 | [RFC5888] | 3267 | a=msid:ma tb | Identifies RTCMediaStream ID | 3268 | | (ma) and RTCMediaStreamTrack | 3269 | | ID (tb) | 3270 | a=recvonly | [RFC3264] | 3271 | a=rtpmap:98 VP8/90000 | [I-D.ietf-payload-vp8] | 3272 | a=rtpmap:101 VP8/90000 | [I-D.ietf-payload-vp8] | 3273 | a=fmtp:98 max-fr=30;max-fs=8040 | [RFC4566] | 3274 | a=fmtp:101 apt=98;rtx-time=200 | [RFC4588] | 3275 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3276 | hdrext:sdes:mid | egotiation] | 3277 | a=rid:1 recv pt=98; | [I-D.ietf-mmusic-rid] | 3278 | a=simulcast: recv 1 | [I-D.ietf-mmusic-sdp-simulcas | 3279 | | t] Bob rejects the second | 3280 | | simulcast stream and the | 3281 | | associated rtx stream. | 3282 +-----------------------------------+-------------------------------+ 3284 Table 32: 5.3.4 SDP Answer (one Simulcast Rejected) 3286 5.3.5. Simulcast Video Session with Forward Error Correction 3288 This section shows an SDP Offer/Answer exchange for Simulcast video 3289 stream at two resolutions and and has [RFC5956] style FEC flows. 3291 On completion of the Offer/Answer exchange mechanism we end up one 3292 audio stream, 2 simulcast video streams and 2 associated FEC streams 3293 are sent over a single 5-tuple. 3295 Simulcast Streams with Forward Error Correction 3297 Alice Bob 3298 | | 3299 | | 3300 | | 3301 |Alice offers single audio and simulcasted video streams | 3302 |with bundle-only | 3303 | | 3304 | | 3305 |Offer(Audio:Opus Video:VP8 with 2 resolutions with FEC Streams)| 3306 |-------------------------------------------------------------->| 3307 | | 3308 | |Bob 3309 | |accepts 3310 | |Alice's 3311 | |offer 3312 |Answer(Audio:Opus Video:VP8 with 2 resolutions w/FEC Streams) | 3313 |<--------------------------------------------------------------| 3314 | | 3315 |One-Way Audio,Video session with 4 video streams(Simulcast | 3316 | and FEC) all multiplexed | 3317 |...............................................................| 3318 | | 3319 | | 3320 | | 3322 +-----------------------------------+-------------------------------+ 3323 | Offer SDP Contents | RFC#/Notes | 3324 +-----------------------------------+-------------------------------+ 3325 | v=0 | [RFC4566] | 3326 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3327 | s=- | [RFC4566] | 3328 | t=0 0 | [RFC4566] | 3329 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sdp-bundle-n | 3330 | | egotiation] Alice supports | 3331 | | grouping of m=lines under | 3332 | | BUNDLE semantics | 3333 | a=group:LS m0 m1 | [RFC5888] | 3334 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 3335 | ****** Audio m=line ********* | ***************************** | 3336 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 3337 | 109 | | 3338 | c=IN IP4 24.23.204.141 | [RFC4566] | 3339 | a=mid:m0 | [RFC5888] | 3340 | a=msid:ma ta | Identifies RTCMediaStream ID | 3341 | | (ma) and RTCMediaStreamTrack | 3342 | | ID (ta) | 3343 | a=sendonly | [RFC3264] | 3344 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 3345 | a=maxptime:120 | [RFC4566] | 3346 | a=ice-ufrag:074c6550 | [RFC5245] | 3347 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 3348 | 74af08a068 | | 3349 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 3350 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 3351 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 3352 | 9:26:33:E8:70:88:A2 | | 3353 | a=setup:actpass | [RFC4145] | 3354 | a=rtcp-mux | [RFC5761] | 3355 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 3356 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 3357 | a=rtcp-rsize | [RFC5506] | 3358 | a=rtcp-fb:109 nack | [RFC5104] | 3359 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 3360 | hdrext:ssrc-audio-level | | 3361 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3362 | hdrext:sdes:mid | egotiation] | 3363 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 3364 | 192.168.1.4 61665 typ host | | 3365 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 3366 | 24.23.204.141 54609 typ srflx | | 3367 | raddr 192.168.1.4 rport 61665 | | 3368 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 3369 | ****** Video m=line ********* | ***************************** | 3370 | m=video 0 UDP/TLS/RTP/SAVPF 98 | bundle-only video line with | 3371 | 100 101 103 | port number set to zero | 3372 | c=IN IP4 24.23.204.141 | [RFC4566] | 3373 | a=bundle-only | [I-D.ietf-mmusic-sdp-bundle-n | 3374 | | egotiation] | 3375 | a=mid:m1 | [RFC5888] Video m=line part | 3376 | | of BUNDLE group | 3377 | a=msid:ma tb | Identifies RTCMediaStream ID | 3378 | | (ma) and RTCMediaStreamTrack | 3379 | | ID (tb) | 3380 | a=sendonly | [RFC3264] | 3381 | a=rtpmap:98 VP8/90000 | [I-D.ietf-payload-vp8] | 3382 | a=rtpmap:100 VP8/90000 | [I-D.ietf-payload-vp8] | 3383 | a=rtpmap:101 flexfec/90000 | [I-D.ietf-payload-flexible-fe | 3384 | | c-scheme] | 3385 | a=rtpmap:103 flexfec/90000 | [I-D.ietf-payload-flexible-fe | 3386 | | c-scheme] | 3387 | a=fmtp:98 max-fr=30;max-fs=8040 | [RFC4566] | 3388 | a=fmtp:100 max-fr=15;max-fs=1200 | [RFC4566] | 3389 | a=fmtp:101 L=5; D=10; ToP=2; | [I-D.ietf-payload-flexible-fe | 3390 | repair-window=200000 | c-scheme] | 3391 | a=fmtp:103 L=5; D=10; ToP=2; | [I-D.ietf-payload-flexible-fe | 3392 | repair-window=200000 | c-scheme] | 3393 | a=rtcp-fb:* nack | [RFC5104] | 3394 | a=rtcp-fb:* nack pli | [RFC5104] | 3395 | a=rtcp-fb:* ccm fir | [RFC5104] | 3396 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3397 | hdrext:sdes:mid | egotiation] | 3398 | a=rid:1 send pt=98; | [I-D.ietf-mmusic-rid] 1:1 | 3399 | | mapping between the PT and | 3400 | | the 'rid' identifier | 3401 | a=rid:2 send pt=100; | [I-D.ietf-mmusic-rid] 1:1 | 3402 | | mapping between the PT and | 3403 | | the 'rid' identifier | 3404 | a=simulcast: send 1;2 | [I-D.ietf-mmusic-sdp-simulcas | 3405 | | t] | 3406 +-----------------------------------+-------------------------------+ 3408 Table 33: 5.3.5 SDP Offer 3410 +-----------------------------------+-------------------------------+ 3411 | Answer SDP Contents | RFC#/Notes | 3412 +-----------------------------------+-------------------------------+ 3413 | v=0 | [RFC4566] | 3414 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3415 | s=- | [RFC4566] | 3416 | t=0 0 | [RFC4566] | 3417 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sdp-bundle-n | 3418 | | egotiation] | 3419 | a=group:LS m0 m1 | [RFC5888] | 3420 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 3421 | ****** Audio m=line ********* | ***************************** | 3422 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 3423 | 109 | | 3424 | c=IN IP4 98.248.92.77 | [RFC4566] | 3425 | a=mid:m0 | [RFC5888] Audio m=line part | 3426 | | of BUNDLE group with a unique | 3427 | | port number | 3428 | a=msid:ma ta | Identifies RTCMediaStream ID | 3429 | | (ma) and RTCMediaStreamTrack | 3430 | | ID (ta) | 3431 | a=recvonly | [RFC3264] | 3432 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 3433 | a=maxptime:120 | [RFC4566] | 3434 | a=ice-ufrag:074c6550 | [RFC5245] | 3435 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 3436 | 74af08a068 | | 3437 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] | 3438 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 3439 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 3440 | 1:58:D0:A1:2C:19:08 | | 3441 | a=setup:active | [RFC4145] | 3442 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 3443 | a=rtcp-mux | [RFC5761] | 3444 | a=rtcp-rsize | [RFC5506] | 3445 | a=rtcp-fb:109 nack | [RFC5104] | 3446 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 3447 | hdrext:ssrc-audio-level | | 3448 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3449 | hdrext:sdes:mid | egotiation] | 3450 | a=candidate:0 1 UDP 2113667326 | [RFC5245] | 3451 | 192.168.1.7 51556 typ host | | 3452 | a=candidate:1 1 UDP 1694302206 | [RFC5245] | 3453 | 98.248.92.77 49203 typ srflx | | 3454 | raddr 192.168.1.7 rport 51556 | | 3455 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 3456 | ****** Video m=line ********* | ***************************** | 3457 | m=video 49203 UDP/TLS/RTP/SAVPF | BUNDLE accepted with Bundle | 3458 | 98 100 101 103 | Address identical to audio | 3459 | | m=line. | 3460 | c=IN IP4 98.248.92.77 | [RFC4566] | 3461 | a=mid:m1 | [RFC5888] Video m=line part | 3462 | | of BUNDLE group | 3463 | a=msid:ma tb | Identifies RTCMediaStream ID | 3464 | | (ma) and RTCMediaStreamTrack | 3465 | | ID (tb) | 3466 | a=recvonly | [RFC3264] | 3467 | a=rtpmap:98 VP8/90000 | [I-D.ietf-payload-vp8] | 3468 | a=rtpmap:100 VP8/90000 | [I-D.ietf-payload-vp8] | 3469 | a=rtpmap:101 flexfec/90000 | [I-D.ietf-payload-flexible-fe | 3470 | | c-scheme] | 3471 | a=rtpmap:103 flexfec/90000 | [I-D.ietf-payload-flexible-fe | 3472 | | c-scheme] | 3473 | a=fmtp:98 max-fr=30;max-fs=8040 | [RFC4566] | 3474 | a=fmtp:100 max-fr=15;max-fs=1200 | [RFC4566] | 3475 | a=fmtp:101 L=5; D=10; ToP=2; | [I-D.ietf-payload-flexible-fe | 3476 | repair-window=200000 | c-scheme] | 3477 | a=fmtp:103 L=5; D=10; ToP=2; | [I-D.ietf-payload-flexible-fe | 3478 | repair-window=200000 | c-scheme] | 3479 | a=rtcp-fb:* nack | [RFC5104] | 3480 | a=rtcp-fb:* nack pli | [RFC5104] | 3481 | a=rtcp-fb:* ccm fir | [RFC5104] | 3482 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3483 | hdrext:sdes:mid | egotiation] | 3484 | a=rid:1 recv pt=98; | [I-D.ietf-mmusic-rid] | 3485 | a=rid:2 recv pt=100; | [I-D.ietf-mmusic-rid] | 3486 | a=simulcast: recv 1;2 | [I-D.ietf-mmusic-sdp-simulcas | 3487 | | t] | 3488 +-----------------------------------+-------------------------------+ 3490 Table 34: 5.3.5 SDP Answer 3492 5.4. Others 3494 The examples in the section provide SDP Offer/Answer exchange for a 3495 variety of scenarios related to RTP Header extension for conference 3496 usages, Legacy Interop scenarios and more. 3498 5.4.1. Audio Session - Voice Activity Detection 3500 This example shows Alice indicating the support of the RTP header 3501 extension to include the audio-level of the audio sample carried in 3502 the RTP packet. 3504 2-Way Audio with VAD 3506 Alice Bob 3507 | | 3508 | | 3509 |Alice indicates support for including | 3510 |audio level in RTP header | 3511 | | 3512 | Offer(Audio:Opus,PCMU,PCMA) | 3513 |---------------------------------------->| 3514 | | 3515 | | 3516 | Answer(Audio:Opus,PCMU,PCMA) | 3517 |<----------------------------------------| 3518 | | 3519 | |Bob accepts and 3520 | |indicates his 3521 | |support as well 3522 | | 3523 | Two way Opus Audio | 3524 |.........................................| 3525 | | 3526 |Per packet audio-level is included in the| 3527 |RTP header | 3528 | | 3530 +-----------------------------------+-------------------------------+ 3531 | Offer SDP Contents | RFC#/Notes | 3532 +-----------------------------------+-------------------------------+ 3533 | v=0 | [RFC4566] | 3534 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 3535 | s=- | [RFC4566] | 3536 | t=0 0 | [RFC4566] | 3537 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sdp-bundle-n | 3538 | | egotiation] | 3539 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 3540 | ****** Audio m=line ********* | ***************************** | 3541 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 3542 | 109 0 8 | | 3543 | c=IN IP4 24.23.204.141 | [RFC4566] | 3544 | a=mid:audio | [RFC5888] | 3545 | a=msid:ma ta | Identifies RTCMediaStream ID | 3546 | | (ma) and RTCMediaStreamTrack | 3547 | | ID (ta) | 3548 | a=sendrecv | [RFC3264] | 3549 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 3550 | a=rtpmap:0 PCMU/8000 | [RFC3551] | 3551 | a=rtpmap:8 PCMA/8000 | [RFC3551] | 3552 | a=maxptime:120 | [RFC4566] | 3553 | a=ice-ufrag:074c6550 | [RFC5245] | 3554 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 3555 | 74af08a068 | | 3556 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 3557 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 3558 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 3559 | 9:26:33:E8:70:88:A2 | | 3560 | a=setup:actpass | [RFC4145] | 3561 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 3562 | a=rtcp-mux | [RFC5761] | 3563 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 3564 | a=rtcp-rsize | [RFC5506] | 3565 | a=rtcp-fb:* nack | [RFC5104] | 3566 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 3567 | hdrext:ssrc-audio-level | | 3568 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3569 | hdrext:sdes:mid | egotiation] | 3570 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 3571 | 192.168.1.4 61665 typ host | | 3572 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 3573 | 24.23.204.141 54609 typ srflx | | 3574 | raddr 192.168.1.4 rport 61665 | | 3575 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 3576 +-----------------------------------+-------------------------------+ 3578 Table 35: 5.4.1 SDP Offer 3580 +-----------------------------------+-------------------------------+ 3581 | Answer SDP Contents | RFC#/Notes | 3582 +-----------------------------------+-------------------------------+ 3583 | v=0 | [RFC4566] | 3584 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] | 3585 | s=- | [RFC4566] | 3586 | t=0 0 | [RFC4566] | 3587 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sdp-bundle-n | 3588 | | egotiation] | 3589 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 3590 | ****** Audio m=line ********* | ***************************** | 3591 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 3592 | 109 0 98 | | 3593 | c=IN IP4 98.248.92.77 | [RFC4566] | 3594 | a=mid:audio | [RFC5888] | 3595 | a=msid:ma ta | Identifies RTCMediaStream ID | 3596 | | (ma) and RTCMediaStreamTrack | 3597 | | ID (ta) | 3598 | a=sendrecv | [RFC3264] - Bob can send and | 3599 | | recv audio | 3600 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] - | 3601 | | Bob accepts only Opus Codec | 3602 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU Audio Codec | 3603 | a=rtpmap:0 PCMA/8000 | [RFC3551] PCMA Audio Codec | 3604 | a=maxptime:120 | [RFC4566] | 3605 | a=ice-ufrag:c300d85b | [RFC5245] | 3606 | a=ice-pwd:de4e99bd291c325921d5d47 | [RFC5245] | 3607 | efbabd9a2 | | 3608 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] | 3609 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 3610 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 3611 | 1:58:D0:A1:2C:19:08 | | 3612 | a=setup:active | [RFC4145] | 3613 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 3614 | a=rtcp-mux | [RFC5761] - Bob can perform | 3615 | | RTP/RTCP Muxing on port 49203 | 3616 | a=rtcp-rsize | [RFC5506] | 3617 | a=rtcp-fb:* nack | [RFC5104] | 3618 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 3619 | hdrext:ssrc-audio-level | | 3620 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3621 | hdrext:sdes:mid | egotiation] | 3622 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 3623 | 192.168.1.7 51556 typ host | | 3624 | a=candidate:1 1 UDP 1694302207 | [RFC5245] | 3625 | 98.248.92.77 49203 typ srflx | | 3626 | raddr 192.168.1.7 rport 51556 | | 3627 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 3628 +-----------------------------------+-------------------------------+ 3630 Table 36: 5.4.1 SDP Answer 3632 5.4.2. Audio Conference - Voice Activity Detection 3634 This example shows SDP for RTP header extension that allows RTP-level 3635 mixers in audio conferences to deliver information about the audio 3636 level of individual participants. 3638 Audio Conference with VAD Support 3640 Alice Mixer 3641 | | 3642 |Alice indicates her interest to audio | 3643 |levels for the contributing sources | 3644 | | 3645 |Offer(Audio:Opus,PCMU,PCMA) | 3646 |---------------------------------------->| 3647 | | 3648 | | 3649 |Answer(Audio:Opus,PCMU,PCMA) | 3650 |<----------------------------------------| 3651 | | 3652 | |Mixer indicates 3653 | |it can provide 3654 | |audio-levels 3655 |Two way Opus Audio | 3656 |.........................................| 3657 | | 3658 |Audio-levels per CSRCS is included in the| 3659 |RTP header | 3660 | | 3662 +-----------------------------------+-------------------------------+ 3663 | Offer SDP Contents | RFC#/Notes | 3664 +-----------------------------------+-------------------------------+ 3665 | v=0 | [RFC4566] | 3666 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 3667 | | Information | 3668 | s=- | [RFC4566] | 3669 | t=0 0 | [RFC4566] | 3670 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sdp-bundle-n | 3671 | | egotiation] | 3672 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 3673 | ****** Audio m=line ********* | ***************************** | 3674 | m=audio 54609 UDP/TLS/RTP/SAVPF | [RFC4566] | 3675 | 109 0 8 | | 3676 | c=IN IP4 24.23.204.141 | [RFC4566] | 3677 | a=mid:audio | [RFC5888] | 3678 | a=msid:ma ta | Identifies RTCMediaStream ID | 3679 | | (ma) and RTCMediaStreamTrack | 3680 | | ID (ta) | 3681 | a=sendrecv | [RFC3264] - Alice can send | 3682 | | and recv audio | 3683 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 3684 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU Audio Codec | 3685 | a=rtpmap:0 PCMA/8000 | [RFC3551] PCMA Audio Codec | 3686 | a=maxptime:120 | [RFC4566] | 3687 | a=ice-ufrag:074c6550 | [RFC5245] | 3688 | a=ice-pwd:a28a397a4c3f31747d1ee34 | [RFC5245] | 3689 | 74af08a068 | | 3690 | a=fingerprint:sha-256 19:E2:1C:3B | [RFC5245] | 3691 | :4B:9F:81:E6:B8:5C:F4:A5:A8:D8:73 | | 3692 | :04 :BB:05:2F:70:9F:04:A9:0E:05:E | | 3693 | 9:26:33:E8:70:88:A2 | | 3694 | a=setup:actpass | [RFC4145] | 3695 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 3696 | a=rtcp-mux | [RFC5761] | 3697 | a=rtcp:54609 IN IP4 24.23.204.141 | [RFC3605] | 3698 | a=rtcp-rsize | [RFC5506] | 3699 | a=rtcp-fb:* nack | [RFC5104] | 3700 | a=extmap:1/recvonly | [RFC6465] | 3701 | urn:ietf:params:rtp-hdrext:csrc- | | 3702 | audio-level | | 3703 | a=extmap:2 urn:ietf:params:rtp- | [RFC6464] | 3704 | hdrext:ssrc-audio-level | | 3705 | a=extmap:3 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3706 | hdrext:sdes:mid | egotiation] | 3707 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 3708 | 192.168.1.4 61665 typ host | | 3709 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 3710 | 24.23.204.141 54609 typ srflx | | 3711 | raddr 192.168.1.4 rport 61665 | | 3712 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 3713 +-----------------------------------+-------------------------------+ 3715 Table 37: 5.4.2 SDP Offer 3717 +-----------------------------------+-------------------------------+ 3718 | Answer SDP Contents | RFC#/Notes | 3719 +-----------------------------------+-------------------------------+ 3720 | v=0 | [RFC4566] | 3721 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session Origin | 3722 | | Information | 3723 | s=- | [RFC4566] | 3724 | t=0 0 | [RFC4566] | 3725 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sdp-bundle-n | 3726 | | egotiation] | 3727 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ice] | 3728 | ****** Audio m=line ********* | ***************************** | 3729 | m=audio 49203 UDP/TLS/RTP/SAVPF | [RFC4566] | 3730 | 109 0 98 | | 3731 | c=IN IP4 98.248.92.77 | [RFC4566] | 3732 | a=mid:audio | [RFC5888] | 3733 | a=msid:ma ta | Identifies RTCMediaStream ID | 3734 | | (ma) and RTCMediaStreamTrack | 3735 | | ID (ta) | 3736 | a=sendrecv | [RFC3264] | 3737 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 3738 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU Audio Codec | 3739 | a=rtpmap:0 PCMA/8000 | [RFC3551] PCMA Audio Codec | 3740 | a=maxptime:120 | [RFC4566] | 3741 | a=ice-ufrag:c300d85b | [RFC5245] | 3742 | a=ice-pwd:de4e99bd291c325921d5d47 | [RFC5245] | 3743 | efbabd9a2 | | 3744 | a=fingerprint:sha-256 6B:8B:F0:65 | [RFC5245] | 3745 | :5F:78:E2:51:3B:AC:6F:F3:3F:46:1B | | 3746 | :35 :DC:B8:5F:64:1A:24:C2:43:F0:A | | 3747 | 1:58:D0:A1:2C:19:08 | | 3748 | a=setup:active | [RFC4145] | 3749 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 3750 | a=rtcp-mux | [RFC5761] | 3751 | a=rtcp-rsize | [RFC5506] | 3752 | a=rtcp-fb:* nack | [RFC5104] | 3753 | a=extmap:1/sendonly | [RFC6465] | 3754 | urn:ietf:params:rtp-hdrext:csrc- | | 3755 | audio-level | | 3756 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle-n | 3757 | hdrext:sdes:mid | egotiation] | 3758 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 3759 | 192.168.1.7 51556 typ host | | 3760 | a=candidate:1 1 UDP 1694302207 | [RFC5245] | 3761 | 98.248.92.77 49203 typ srflx | | 3762 | raddr 192.168.1.7 rport 51556 | | 3763 | a=end-of-candidates | [I-D.ietf-mmusic-trickle-ice] | 3764 +-----------------------------------+-------------------------------+ 3766 Table 38: 5.4.2 SDP Answer 3768 5.4.3. Successful legacy Interop Fallback with bundle-only 3770 In the scenario described below, Alice is a multi-stream capable 3771 WebRTC endpoint while Bob is a legacy VOIP end-point. The SDP Offer/ 3772 Answer exchange demonstrates successful session setup with fallback 3773 to audio only stream negotiated via bundle-only framework between the 3774 end-points. Specifically, 3776 o Offer from Alice describes 2 cameras via 2 video m=lines with both 3777 marked as bundle-only. 3779 o Since Bob doesnot recognize either the BUNDLE mechanism or the 3780 bundle-only attribute, he accepts only the audio stream from 3781 Alice. 3783 NOTE: Since Alice is unaware of Bob's support for BUNDLE framework, 3784 Alice ensures to include separate RTP/RTCP ports and candidate 3785 information. 3787 Successful 2-Way WebRTC <-> VOIP Interop 3789 Alice Bob 3790 | | 3791 | | 3792 | Alice is a multistream capable WebRTC end-point | 3793 | & Bob is behind a legacy VOIP system | 3794 | | 3795 |Offer(Audio:Opus Video:2 VP8,2 H2.64 Streams) with | 3796 | bundle-only | 3797 |---------------------------------------------------------->| 3798 | Alice marks both the video streams as bundle-only | 3799 | | 3800 | | 3801 | Answer(Audio:Opus) | 3802 |<----------------------------------------------------------| 3803 | |Bob 3804 | |accepts 3805 | |audio 3806 | |stream, 3807 | |since he 3808 | |doesn't 3809 | |recognize 3810 | |bundle-only 3811 | | 3812 | Two way Opus Audio | 3813 |...........................................................| 3814 | | 3815 | | 3817 +-------------------------------------+-----------------------------+ 3818 | Offer SDP Contents | RFC#/Notes | 3819 +-------------------------------------+-----------------------------+ 3820 | v=0 | [RFC4566] | 3821 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3822 | s=- | [RFC4566] | 3823 | t=0 0 | [RFC4566] | 3824 | a=group:BUNDLE m0 m1 m2 | [I-D.ietf-mmusic-sdp-bundle | 3825 | | -negotiation] Alice | 3826 | | supports grouping of | 3827 | | m=lines under BUNDLE | 3828 | | semantics | 3829 | a=group:LS m0 m1 | [RFC5888] | 3830 | a=ice-options:trickle | [I-D.ietf-mmusic-trickle-ic | 3831 | | e] | 3832 | ****** Audio m=line ********* | *************************** | 3833 | | ** | 3834 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 3835 | c=IN IP4 24.23.204.141 | [RFC4566] | 3836 | a=mid:m0 | [RFC5888] Audio m=line part | 3837 | | of BUNDLE group with a | 3838 | | unique port number | 3839 | a=msid:ma ta | Identifies RTCMediaStream | 3840 | | ID (ma) and | 3841 | | RTCMediaStreamTrack ID (ta) | 3842 | a=sendrecv | [RFC3264] | 3843 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-opus] | 3844 | a=rtcp-fb:109 nack | [RFC5104] | 3845 | a=maxptime:120 | [RFC4566] | 3846 | a=ice-ufrag:074c6550 | [RFC5245] | 3847 | a=ice-pwd:a28a397a4c3f31747d1ee3474 | [RFC5245] | 3848 | af08a068 | | 3849 | a=fingerprint:sha-256 19:E2:1C:3B:4 | [RFC5245] | 3850 | B:9F:81:E6:B8:5C:F4:A5:A8:D8:73:04 | | 3851 | :BB:05:2F:70:9F:04:A9:0E:05:E9:26:3 | | 3852 | 3:E8:70:88:A2 | | 3853 | a=setup:actpass | [RFC4145] | 3854 | a=dtls-id:1 | [I-D.ietf-mmusic-dtls-sdp] | 3855 | a=rtcp-mux | [RFC5761] | 3856 | a=rtcp:64678 IN IP4 24.23.204.141 | [RFC3605] | 3857 | a=rtcp-rsize | [RFC5506] | 3858 | a=extmap:1 urn:ietf:params:rtp- | [RFC6464] | 3859 | hdrext:ssrc-audio-level | | 3860 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle | 3861 | hdrext:sdes:mid | -negotiation] | 3862 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 3863 | 192.168.1.4 61665 typ host | | 3864 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 3865 | 24.23.204.141 54609 typ srflx raddr | | 3866 | 192.168.1.4 rport 61665 | | 3867 | a=candidate:0 1 UDP 2113667326 | [RFC5245] | 3868 | 192.168.1.4 61667 typ host | | 3869 | a=candidate:1 1 UDP 1694302206 | [RFC5245] | 3870 | 24.23.204.141 64678 typ srflx raddr | | 3871 | 192.168.1.4 rport 61667 | | 3872 | ****** Video-1 m=line ********* | *************************** | 3873 | | ** | 3874 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 | bundle-only video line with | 3875 | | port number set to zero | 3876 | c=IN IP4 24.23.204.141 | [RFC4566] | 3877 | a=bundle-only | [I-D.ietf-mmusic-sdp-bundle | 3878 | | -negotiation] | 3879 | a=mid:m1 | [RFC5888] Video m=line part | 3880 | | of BUNDLE group | 3881 | a=msid:ma tb | Identifies RTCMediaStream | 3882 | | ID (ma) and | 3883 | | RTCMediaStreamTrack ID (tb) | 3884 | a=sendrecv | [RFC3264] | 3885 | a=rtpmap:98 VP8/90000 | [I-D.ietf-payload-vp8] | 3886 | a=imageattr:98 [x=1280,y=720] | [RFC6236] | 3887 | a=fmtp:98 max-fr=30 | [RFC4566] | 3888 | a=rtcp-fb:* nack | [RFC5104] | 3889 | a=rtcp-fb:* nack pli | [RFC5104] | 3890 | a=rtcp-fb:* ccm fir | [RFC5104] | 3891 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle | 3892 | hdrext:sdes:mid | -negotiation] | 3893 | ****** Video-2 m=line ********* | *************************** | 3894 | | ** | 3895 | m=video 0 UDP/TLS/RTP/SAVPF 101 103 | bundle-only video line with | 3896 | | port number set to zero | 3897 | c=IN IP4 24.23.204.141 | [RFC4566] | 3898 | a=bundle-only | [I-D.ietf-mmusic-sdp-bundle | 3899 | | -negotiation] | 3900 | a=mid:m2 | [RFC5888] Video m=line part | 3901 | | of BUNDLE group | 3902 | a=msid:ma tc | Identifies RTCMediaStream | 3903 | | ID (ma) and | 3904 | | RTCMediaStreamTrack ID (tc) | 3905 | a=sendrecv | [RFC3264] | 3906 | a=rtpmap:101 H264/90000 | [RFC3984] | 3907 | a=rtpmap:103 H264/90000 | [RFC3984] | 3908 | a=fmtp:101 profile-level-id=4d0028 | [RFC3984]Camera-2,Encoding- | 3909 | ;packetization-mode=1;max-fr=30 | 1 Resolution | 3910 | a=rtcp-fb:* nack | [RFC5104] | 3911 | a=rtcp-fb:* nack pli | [RFC5104] | 3912 | a=rtcp-fb:* ccm fir | [RFC5104] | 3913 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sdp-bundle | 3914 | hdrext:sdes:mid | -negotiation] | 3915 +-------------------------------------+-----------------------------+ 3917 Table 39: 5.4.3 SDP Simulcast bundle-only 3919 +----------------------------------------+--------------------------+ 3920 | Answer SDP Contents | RFC#/Notes | 3921 +----------------------------------------+--------------------------+ 3922 | v=0 | [RFC4566] | 3923 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3924 | s=- | [RFC4566] | 3925 | t=0 0 | [RFC4566] | 3926 | ****** Audio m=line ********* | ************************ | 3927 | | ***** | 3928 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 3929 | c=IN IP4 24.23.204.141 | [RFC4566] | 3930 | a=rtcp:60065 IN IP4 24.23.204.141 | [RFC3605] | 3931 | a=sendrecv | [RFC3264] | 3932 | a=rtpmap:109 opus/48000/2 | [I-D.ietf-payload-rtp-op | 3933 | | us] | 3934 | a=maxptime:120 | [RFC4566] | 3935 | a=ice-ufrag:ufrag:c300d85b | [RFC5245] | 3936 | a=ice- | [RFC5245] | 3937 | pwd:de4e99bd291c325921d5d47efbabd9a2 | | 3938 | a=fingerprint:sha-256 6B:8B:F0:65:5F:7 | [RFC5245] | 3939 | 8:E2:51:3B:AC:6F:F3:3F:46:1B:35 :DC:B8 | | 3940 | :5F:64:1A:24:C2:43:F0:A1:58:D0:A1:2C:1 | | 3941 | 9:08 | | 3942 | a=setup:active | [RFC4145] | 3943 | a=rtcp-rsize | [RFC5506] | 3944 | a=rtcp-fb:109 nack | [RFC5104] | 3945 | a=extmap:1 urn:ietf:params:rtp-hdrext | [RFC6464] | 3946 | :ssrc-audio-level | | 3947 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 3948 | 192.168.1.7 51556 typ host | | 3949 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 3950 | 98.248.92.77 49203 typ srflx raddr | | 3951 | 192.168.1.7 rport 51556 | | 3952 | a=candidate:0 2 UDP 2113667326 | [RFC5245] | 3953 | 192.168.1.7 51558 typ host | | 3954 | a=candidate:1 2 UDP 1694302206 | [RFC5245] | 3955 | 98.248.92.77 60065 typ srflx raddr | | 3956 | 192.168.1.7 rport 51558 | | 3957 | ****** Video m=line ********* | ************************ | 3958 | | ***** | 3959 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 | Bob doesn't recognize | 3960 | | bundle-only and hence | 3961 | | the m=line is rejected | 3962 | | implicitly due to port 0 | 3963 | ****** Video m=line ********* | ************************ | 3964 | | ***** | 3965 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 | Bob doesn't recognize | 3966 | | bundle-only and hence | 3967 | | the m=line is rejected | 3968 | | implicitly due to port 0 | 3969 +----------------------------------------+--------------------------+ 3971 Table 40: 5.4.3 SDP Answer 3973 5.4.4. Legacy Interop with RTP/AVP profile 3975 In the scenario desribed below, Alice is a legacy end-point which 3976 sends [RFC3264] Offer with RTP/AVP based audio and video descriptions 3977 along with DTLS fingerprint and RTCP feedback information. 3979 On the other hand, Bob being a WebRTC end-point follows the 3980 procedures in section 5.1.2 of [I-D.ietf-rtcweb-jsep] and accepts the 3981 Alice's offer for DTLS-SRTP based session with RTCP feedback. 3983 Successful 2-Way WebRTC <-> VOIP Interop 3985 Alice Bob 3986 | | 3987 | | 3988 | Alice is a legacy VOIP End-point & Bob is a WebRTC End-Point | 3989 | | 3990 | | 3991 | | 3992 | Offer(Audio:Opus Video:H.264) | 3993 |-------------------------------------------------------------->| 3994 | | 3995 | | 3996 |Alice includes : | 3997 |Legacy compliant media description (RTP/AVP) with dtls | 3998 |fingerprint and rtcp feedback support | 3999 | | 4000 | Answer(Audio:Opus, Video:H.264) | 4001 |<--------------------------------------------------------------| 4002 | |Bob 4003 | |accepts 4004 | |"legacy 4005 | |compliant" 4006 | |m=line 4007 | | 4008 | | 4009 | Two way Opus Audio, H.264 Video | 4010 |...............................................................| 4011 | Session also suports RTP/RTCP Mux, RTCP Feedback | 4012 | | 4013 +----------------------------------------+--------------------------+ 4014 | Offer SDP Contents | RFC#/Notes | 4015 +----------------------------------------+--------------------------+ 4016 | v=0 | [RFC4566] | 4017 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 4018 | s=- | [RFC4566] | 4019 | t=0 0 | [RFC4566] | 4020 | a=ice-ufrag:074c6550 | [RFC5245] | 4021 | a=ice- | [RFC5245] | 4022 | pwd:a28a397a4c3f31747d1ee3474af08a068 | | 4023 | a=rtcp-rsize | [RFC5506] | 4024 | ****** Audio m=line ********* | ************************ | 4025 | | ***** | 4026 | m=audio 54732 RTP/AVP 109 | [RFC4566]Alice includes | 4027 | | RTP/AVP audio stream | 4028 | | description | 4029 | c=IN IP4 24.23.204.141 | [RFC4566] | 4030 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9 | [RFC5245] | 4031 | F:81:E6:B8:5C:F4:A5:A8:D8:73:04 :BB:05 | | 4032 | :2F:70:9F:04:A9:0E:05:E9:26:33:E8:70:8 | | 4033 | 8:A2 | | 4034 | a=rtpmap:109 opus/48000 | | 4035 | a=ptime:20 | | 4036 | a=sendrecv | [RFC3264] | 4037 | a=rtcp-mux | [RFC5761]Alice still | 4038 | | includes RTP/RTCP Mux | 4039 | | support | 4040 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 4041 | 192.168.1.4 54732 typ host | | 4042 | a=candidate:1 1 UDP 694302207 | [RFC5245] | 4043 | 24.23.204.141 54732 typ srflx raddr | | 4044 | 192.168.1.4 rport 54732 | | 4045 | a=candidate:0 2 UDP 2113667326 | [RFC5245] | 4046 | 192.168.1.4 64678 typ host | | 4047 | a=candidate:1 2 UDP 1694302206 | [RFC5245] | 4048 | 24.23.204.141 64678 typ srflx raddr | | 4049 | 192.168.1.4 rport 64678 | | 4050 | a=rtcp-fb:109 nack | [RFC5104]She adds her | 4051 | | intent for NACK RTCP | 4052 | | feedback support | 4053 | ****** Video m=line ********* | ************************ | 4054 | | ***** | 4055 | m=video 62445 RTP/AVP 120 | [RFC4566]Alice includes | 4056 | | RTP/AVP video stream | 4057 | | description | 4058 | c=IN IP4 24.23.204.141 | [RFC4566] | 4059 | a=fingerprint:sha-256 DC:B8:5F:64:1A:2 | [RFC5245] | 4060 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 :6B:8B | | 4061 | :F0:65:5F:78:E2:51:3B:AC:6F:F3:3F:46:1 | | 4062 | B:35 | | 4063 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 4064 | a=sendrecv | [RFC3264] | 4065 | a=rtcp-mux | [RFC5761]Alice intends | 4066 | | to perform RTP/RTCP Mux | 4067 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 4068 | 192.168.1.4 62445 typ host | | 4069 | a=candidate:1 1 UDP 1694302207 | [RFC5245] | 4070 | 24.23.204.141 62537 typ srflx raddr | | 4071 | 192.168.1.4 rport 62445 | | 4072 | a=candidate:0 2 2113667326 192.168.1.4 | [RFC5245] | 4073 | 54721 typ host | | 4074 | a=candidate:1 2 UDP 1694302206 | [RFC5245] | 4075 | 24.23.204.141 54721 typ srflx raddr | | 4076 | 192.168.1.4 rport 54721 | | 4077 | a=rtcp-fb:120 nack pli | [RFC5104] Alice | 4078 | | indicates support for | 4079 | | Picture loss Indication | 4080 | | and NACK RTCP feedback | 4081 | a=rtcp-fb:120 ccm fir | [RFC5104] | 4082 +----------------------------------------+--------------------------+ 4084 Table 41: 5.4.5 SDP Offer 4086 +----------------------------------------+--------------------------+ 4087 | Answer SDP Contents | RFC#/Notes | 4088 +----------------------------------------+--------------------------+ 4089 | v=0 | [RFC4566] | 4090 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] | 4091 | s=- | [RFC4566] | 4092 | t=0 0 | [RFC4566] | 4093 | ****** Audio m=line ********* | ************************ | 4094 | | ***** | 4095 | m=audio 49203 RTP/AVP 109 | [RFC4566] Bob accepts | 4096 | | RTP/AVP based audio | 4097 | | stream | 4098 | c=IN IP4 98.248.92.77 | [RFC4566] | 4099 | a=rtpmap:109 opus/48000 | | 4100 | a=ptime:20 | | 4101 | a=sendrecv | [RFC3264] | 4102 | a=ice-ufrag:c300d85b | [RFC5245] | 4103 | a=ice- | [RFC5245] | 4104 | pwd:de4e99bd291c325921d5d47efbabd9a2 | | 4105 | a=fingerprint:sha-256 BB:05:2F:70:9F:0 | [RFC5245] | 4106 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 :19:E2 | | 4107 | :1C:3B:4B:9F:81:E6:B8:5C:F4:A5:A8:D8:7 | | 4108 | 3:04 | | 4109 | a=rtcp-mux | [RFC5761] | 4110 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 4111 | 192.168.1.7 49203 typ host | | 4112 | a=candidate:1 1 UDP 1694302207 | [RFC5245] | 4113 | 98.248.92.77 49203 typ srflx raddr | | 4114 | 192.168.1.7 rport 49203 | | 4115 | a=candidate:0 2 UDP 2113667326 | [RFC5245] | 4116 | 192.168.1.7 60065 typ host | | 4117 | a=candidate:1 2 UDP 1694302206 | [RFC5245] | 4118 | 98.248.92.77 60065 typ srflx raddr | | 4119 | 192.168.1.7 rport 60065 | | 4120 | a=rtcp-fb:109 nack | [RFC5104] | 4121 | ****** Video m=line ********* | ************************ | 4122 | | ***** | 4123 | m=video 63130 RTP/SAVP 120 | [RFC4566] Bob accepts | 4124 | | RTP/AVP based video | 4125 | | stram | 4126 | c=IN IP4 98.248.92.77 | [RFC4566] | 4127 | a=rtpmap:120 VP8/90000 | [I-D.ietf-payload-vp8] | 4128 | a=sendrecv | [RFC3264] | 4129 | a=ice-ufrag:e39091na | [RFC5245] | 4130 | a=ice- | [RFC5245] | 4131 | pwd:dbc325921d5dd29e4e99147efbabd9a2 | | 4132 | a=fingerprint:sha-256 BB:0A9:0E:05:E9: | [RFC5245] | 4133 | 26:33:E8:70:88:A25:2F:70:9F:04: :19:E2 | | 4134 | :1C:3B:4B:9F:81:5:2F:70:9F:04::F4:A5:A | | 4135 | 8:D8: | | 4136 | a=rtcp-mux | [RFC5761] | 4137 | a=candidate:0 1 UDP 2113667327 | [RFC5245] | 4138 | 192.168.1.7 63130 typ host | | 4139 | a=candidate:1 1 UDP 1694302207 | [RFC5245] | 4140 | 98.248.92.77 63130 typ srflx raddr | | 4141 | 192.168.1.7 rport 63130 | | 4142 | a=candidate:0 2 UDP 2113667326 | [RFC5245] | 4143 | 192.168.1.7 56607 typ host | | 4144 | a=candidate:1 2 UDP 1694302206 | [RFC5245] | 4145 | 98.248.92.77 56607 typ srflx raddr | | 4146 | 192.168.1.7 rport 56607 | | 4147 | a=rtcp-fb:120 nack pli | [RFC5104] | 4148 | a=rtcp-fb:120 ccm fir | [RFC5104] | 4149 +----------------------------------------+--------------------------+ 4151 Table 42: 5.4.5 SDP Answer 4153 6. IANA Considerations 4155 This document requires no actions from IANA. 4157 7. Acknowledgments 4159 We would like to thank Justin Uberti, Chris Flo, Paul Kyzivat for 4160 their detailed review and inputs. 4162 8. Change Log 4164 [RFC EDITOR NOTE: Please remove this section when publishing] 4166 Changes from draft-ietf-rtcweb-sdp-02 to draft-ietf-rtcweb-sdp-04 4168 o Alignment with JSEP-19. 4170 o Added a=identity example. 4172 o Added a=dtls-id, a=group:LS in the examples. 4174 o Added Appendix section to capture list of checklists for the 4175 attributes. 4177 o Removed SSRC lines to match JSEP-19. 4179 o Closed open issues on a=fingerprint, a=rtcp and a=rtcp-mux-only 4180 from ietf96 to reflect JSEP-19. 4182 o Simplied Inter-op example 4184 Changes from draft-ietf-rtcweb-sdp-02 4186 o Version increment to avoid expiry 4188 Changes from draft-ietf-rtcweb-sdp-01 4190 o Complete face-lift 4192 o Added visual markers around m=lines to indicate their type, added 4193 spacing between tables for aiding readers 4195 o Updated table names to indicate offer vs answer 4197 o Attempted to align to latest versions of SCTP, BUNDLE, MSID drafts 4199 o Added mid header extensions to all the lines 4200 o Harmonized BUNDLE semantics and conventions updated. 4202 Changes from draft-ietf-rtcweb-sdp-00 4204 o Updated Simulcast/FEC/RTX examples to use RID framework 4206 o Fixed BUNDLE references for a=bundle-only 4208 Changes from draft-nandakumar-rtcweb-sdp-08 4210 o Fixed typos 4212 o Moved to a WG version 4214 Changes from draft-nandakumar-rtcweb-sdp-06 and draft-nandakumar- 4215 rtcweb-sdp-07 4217 o Added clarification on Call-Flow diagram usage 4219 o More cleanups 4221 Changes from draft-nandakumar-rtcweb-sdp-05 4223 o Added Ascii chart for all the SDP Eaxamples 4225 o Improved text and updated SDP Examples for Simulcast and FEC 4227 o Fixed MediaStream ID Semantics SDP Errors 4229 Changes from draft-nandakumar-rtcweb-sdp-04 4231 o Interim version of the draft to avert expiry 4233 o Corrected placement of c= line as per RFC4566 4235 o Updated simulcast SDP to reflect draft-westerlund-avtcore-rtp- 4236 simulcast-04 4238 Changes from draft-nandakumar-rtcweb-sdp-03 4240 o Aligned more closely with JSEP version -05 4242 o Added Conventions to help readability 4244 o Add more examples to clarify BUNDLE use-cases 4246 Changes from draft-nandakumar-rtcweb-sdp-02 4247 o Major refactoring was done to group the examples in to categories 4249 o SDP was updated through out to reflect JSEP-04 style of defining 4250 attributes per m=line than at the session level. 4252 o Added 8 new examples. 4254 o Updated references for Trickle, Unified Plan 4256 o Add section to explain the syntax conventions followed in the 4257 examples. 4259 Changes from draft-nandakumar-rtcweb-sdp-01 4261 o Updated references to OPUS RTP Payload Specification. 4263 o Updated BUNDLE examples based on the latest draft-ietf-mmusic-sdp- 4264 bundle-negotiation. 4266 o Added examples for multiple audio and video flows based on Unified 4267 Plan. 4269 o Added new examples for RTX and FEC streams 4271 o Updated Simulcast and SVC examples 4273 Changes from draft-nandakumar-rtcweb-sdp-00 4275 o Fixed editorial comments on the mailing list. 4277 o Updated Data-channel SDP information based on draft-ietf-mmusic- 4278 sctp-sdp. 4280 o Updated BUNDLE examples based on draft-ietf-mmusic-sdp-bundle- 4281 negotiation. 4283 o Added examples for few more BUNDLE variants 4285 o Added new examples for Simulcast and SVC 4287 9. Informative References 4289 [RFC3264] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model 4290 with Session Description Protocol (SDP)", RFC 3264, DOI 4291 10.17487/RFC3264, June 2002, 4292 . 4294 [RFC4145] Yon, D. and G. Camarillo, "TCP-Based Media Transport in 4295 the Session Description Protocol (SDP)", RFC 4145, DOI 4296 10.17487/RFC4145, September 2005, 4297 . 4299 [RFC4566] Handley, M., Jacobson, V., and C. Perkins, "SDP: Session 4300 Description Protocol", RFC 4566, DOI 10.17487/RFC4566, 4301 July 2006, . 4303 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 4304 Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/ 4305 RFC2119, March 1997, 4306 . 4308 [RFC5245] Rosenberg, J., "Interactive Connectivity Establishment 4309 (ICE): A Protocol for Network Address Translator (NAT) 4310 Traversal for Offer/Answer Protocols", RFC 5245, DOI 4311 10.17487/RFC5245, April 2010, 4312 . 4314 [RFC5506] Johansson, I. and M. Westerlund, "Support for Reduced-Size 4315 Real-Time Transport Control Protocol (RTCP): Opportunities 4316 and Consequences", RFC 5506, DOI 10.17487/RFC5506, April 4317 2009, . 4319 [RFC3551] Schulzrinne, H. and S. Casner, "RTP Profile for Audio and 4320 Video Conferences with Minimal Control", STD 65, RFC 3551, 4321 DOI 10.17487/RFC3551, July 2003, 4322 . 4324 [RFC3952] Duric, A. and S. Andersen, "Real-time Transport Protocol 4325 (RTP) Payload Format for internet Low Bit Rate Codec 4326 (iLBC) Speech", RFC 3952, DOI 10.17487/RFC3952, December 4327 2004, . 4329 [RFC4796] Hautakorpi, J. and G. Camarillo, "The Session Description 4330 Protocol (SDP) Content Attribute", RFC 4796, DOI 10.17487/ 4331 RFC4796, February 2007, 4332 . 4334 [RFC5761] Perkins, C. and M. Westerlund, "Multiplexing RTP Data and 4335 Control Packets on a Single Port", RFC 5761, DOI 10.17487/ 4336 RFC5761, April 2010, 4337 . 4339 [RFC3556] Casner, S., "Session Description Protocol (SDP) Bandwidth 4340 Modifiers for RTP Control Protocol (RTCP) Bandwidth", RFC 4341 3556, DOI 10.17487/RFC3556, July 2003, 4342 . 4344 [RFC5104] Wenger, S., Chandra, U., Westerlund, M., and B. Burman, 4345 "Codec Control Messages in the RTP Audio-Visual Profile 4346 with Feedback (AVPF)", RFC 5104, DOI 10.17487/RFC5104, 4347 February 2008, . 4349 [RFC4588] Rey, J., Leon, D., Miyazaki, A., Varsa, V., and R. 4350 Hakenberg, "RTP Retransmission Payload Format", RFC 4588, 4351 DOI 10.17487/RFC4588, July 2006, 4352 . 4354 [RFC5956] Begen, A., "Forward Error Correction Grouping Semantics in 4355 the Session Description Protocol", RFC 5956, DOI 10.17487/ 4356 RFC5956, September 2010, 4357 . 4359 [RFC5888] Camarillo, G. and H. Schulzrinne, "The Session Description 4360 Protocol (SDP) Grouping Framework", RFC 5888, DOI 4361 10.17487/RFC5888, June 2010, 4362 . 4364 [RFC6236] Johansson, I. and K. Jung, "Negotiation of Generic Image 4365 Attributes in the Session Description Protocol (SDP)", RFC 4366 6236, DOI 10.17487/RFC6236, May 2011, 4367 . 4369 [RFC3984] Wenger, S., Hannuksela, M., Stockhammer, T., Westerlund, 4370 M., and D. Singer, "RTP Payload Format for H.264 Video", 4371 RFC 3984, DOI 10.17487/RFC3984, February 2005, 4372 . 4374 [RFC5583] Schierl, T. and S. Wenger, "Signaling Media Decoding 4375 Dependency in the Session Description Protocol (SDP)", RFC 4376 5583, DOI 10.17487/RFC5583, July 2009, 4377 . 4379 [RFC5576] Lennox, J., Ott, J., and T. Schierl, "Source-Specific 4380 Media Attributes in the Session Description Protocol 4381 (SDP)", RFC 5576, DOI 10.17487/RFC5576, June 2009, 4382 . 4384 [RFC3550] Schulzrinne, H., Casner, S., Frederick, R., and V. 4385 Jacobson, "RTP: A Transport Protocol for Real-Time 4386 Applications", STD 64, RFC 3550, DOI 10.17487/RFC3550, 4387 July 2003, . 4389 [RFC3261] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, 4390 A., Peterson, J., Sparks, R., Handley, M., and E. 4391 Schooler, "SIP: Session Initiation Protocol", RFC 3261, 4392 DOI 10.17487/RFC3261, June 2002, 4393 . 4395 [RFC2326] Schulzrinne, H., Rao, A., and R. Lanphier, "Real Time 4396 Streaming Protocol (RTSP)", RFC 2326, DOI 10.17487/ 4397 RFC2326, April 1998, 4398 . 4400 [RFC3605] Huitema, C., "Real Time Control Protocol (RTCP) attribute 4401 in Session Description Protocol (SDP)", RFC 3605, DOI 4402 10.17487/RFC3605, October 2003, 4403 . 4405 [RFC2833] Schulzrinne, H. and S. Petrack, "RTP Payload for DTMF 4406 Digits, Telephony Tones and Telephony Signals", RFC 2833, 4407 DOI 10.17487/RFC2833, May 2000, 4408 . 4410 [RFC6464] Lennox, J., Ed., Ivov, E., and E. Marocco, "A Real-time 4411 Transport Protocol (RTP) Header Extension for Client-to- 4412 Mixer Audio Level Indication", RFC 6464, DOI 10.17487/ 4413 RFC6464, December 2011, 4414 . 4416 [RFC6465] Ivov, E., Ed., Marocco, E., Ed., and J. Lennox, "A Real- 4417 time Transport Protocol (RTP) Header Extension for Mixer- 4418 to-Client Audio Level Indication", RFC 6465, DOI 10.17487/ 4419 RFC6465, December 2011, 4420 . 4422 [RFC7022] Begen, A., Perkins, C., Wing, D., and E. Rescorla, 4423 "Guidelines for Choosing RTP Control Protocol (RTCP) 4424 Canonical Names (CNAMEs)", RFC 7022, DOI 10.17487/RFC7022, 4425 September 2013, . 4427 [I-D.ietf-mmusic-sdp-bundle-negotiation] 4428 Holmberg, C., Alvestrand, H., and C. Jennings, 4429 "Negotiating Media Multiplexing Using the Session 4430 Description Protocol (SDP)", draft-ietf-mmusic-sdp-bundle- 4431 negotiation-24 (work in progress), January 2016. 4433 [I-D.ietf-mmusic-sdp-simulcast] 4434 Burman, B., Westerlund, M., Nandakumar, S., and M. Zanaty, 4435 "Using Simulcast in SDP and RTP Sessions", draft-ietf- 4436 mmusic-sdp-simulcast-03 (work in progress), October 2015. 4438 [I-D.ietf-mmusic-rid] 4439 Thatcher, P., Zanaty, M., Nandakumar, S., Burman, B., 4440 Roach, A., and B. Campen, "RTP Payload Format 4441 Constraints", draft-ietf-mmusic-rid-04 (work in progress), 4442 February 2016. 4444 [I-D.ietf-payload-rtp-opus] 4445 Spittka, J., Vos, K., and J. Valin, "RTP Payload Format 4446 for the Opus Speech and Audio Codec", draft-ietf-payload- 4447 rtp-opus-11 (work in progress), April 2015. 4449 [I-D.ietf-payload-vp8] 4450 Westin, P., Lundin, H., Glover, M., Uberti, J., and F. 4451 Galligan, "RTP Payload Format for VP8 Video", draft-ietf- 4452 payload-vp8-17 (work in progress), September 2015. 4454 [I-D.ietf-rtcweb-jsep] 4455 Uberti, J., Jennings, C., and E. Rescorla, "Javascript 4456 Session Establishment Protocol", draft-ietf-rtcweb-jsep-12 4457 (work in progress), October 2015. 4459 [I-D.ietf-mmusic-trickle-ice] 4460 Ivov, E., Rescorla, E., and J. Uberti, "Trickle ICE: 4461 Incremental Provisioning of Candidates for the Interactive 4462 Connectivity Establishment (ICE) Protocol", draft-ietf- 4463 mmusic-trickle-ice-02 (work in progress), January 2015. 4465 [I-D.ietf-mmusic-msid] 4466 Alvestrand, H., "WebRTC MediaStream Identification in the 4467 Session Description Protocol", draft-ietf-mmusic-msid-11 4468 (work in progress), October 2015. 4470 [I-D.ietf-mmusic-sctp-sdp] 4471 Holmberg, C., Loreto, S., and G. Camarillo, "Stream 4472 Control Transmission Protocol (SCTP)-Based Media Transport 4473 in the Session Description Protocol (SDP)", draft-ietf- 4474 mmusic-sctp-sdp-15 (work in progress), September 2015. 4476 [I-D.ietf-rtcweb-data-channel] 4477 Jesup, R., Loreto, S., and M. Tuexen, "WebRTC Data 4478 Channels", draft-ietf-rtcweb-data-channel-13 (work in 4479 progress), January 2015. 4481 [I-D.ietf-payload-flexible-fec-scheme] 4482 Singh, V., Begen, A., Zanaty, M., and G. Mandyam, "RTP 4483 Payload Format for Flexible Forward Error Correction 4484 (FEC)", draft-ietf-payload-flexible-fec-scheme-01 (work in 4485 progress), October 2015. 4487 [I-D.ietf-mmusic-mux-exclusive] 4488 Holmberg, C., "Indicating Exclusive Support of RTP/RTCP 4489 Multiplexing using SDP", draft-ietf-mmusic-mux- 4490 exclusive-08 (work in progress), June 2016. 4492 [I-D.ietf-mmusic-dtls-sdp] 4493 Holmberg, C. and R. Shpount, "Using the SDP Offer/Answer 4494 Mechanism for DTLS", draft-ietf-mmusic-dtls-sdp-22 (work 4495 in progress), March 2017. 4497 [I-D.ietf-rtcweb-security-arch] 4498 Rescorla, E., "WebRTC Security Architecture", draft-ietf- 4499 rtcweb-security-arch-11 (work in progress), March 2015. 4501 [WebRTC] W3C, "WebRTC 1.0: Real-time Communication Between 4502 Browsers", 4503 , . 4505 Appendix A. Appendix 4507 A.1. JSEP SDP Attributes Checklist 4509 This section compiles a high-level checklist of required SDP 4510 attributes to be verified against the examples defined in this 4511 specification. The goal here is to ensure that the examples are 4512 compliant to the rules defined in section 5 of the 4513 [I-D.ietf-rtcweb-jsep] specification. 4515 A.1.1. Common Checklist 4517 This subsection lists SDP attributes that mostly apply at the session 4518 level. 4520 o v=0 MUST be the first SDP line 4522 o o= line MUST follow with values '-' for username, 64 bit value for 4523 session id and dummy values for 'nettype', 'addrtype' and 4524 'unicast-address' (such as IN IP4 0.0.0.0) 4526 o o= line MUST have the session version incremented in the cases of 4527 subsequent offers. 4529 o s= MUST be the third line with value '-'. 4531 o t= line MUST follow with values for 'start-time' and 'stop-time' 4532 set to zeroes. 4534 o a=identity line MUST be included at the session level if WEBRTC 4535 Identity is being used. 4537 o a=ice-options:trickle MUST be present at the session level in all 4538 offers and answers when supported. 4540 A.1.2. RTP Media Description Checklist 4542 Following set of checklist items apply to RTP audio and video media 4543 descriptions. 4545 o The media description's port value MUST either be set to dummy 4546 value of '9' or MUST use the port from the default candidate, if 4547 available. 4549 o The media description's proto value MUST be 'UDP/TLS/RTP/SAVPF' 4550 for JSEP offers. 4552 o JSEP answerer MUST support any combination of RTP/[S]AVP[F] for 4553 interoperability scenarios as defined in section 5 of 4554 [I-D.ietf-rtcweb-jsep] 4556 o c= line MUST be the first line in a media description. A dummy 4557 value of 'IN IP 0.0.0.0' is set if there are no candidates 4558 gathered or its value MUST match the default candidate. 4560 o a=mid attribute MUST be in included. 4562 o One of a=sendrecv/a=sendonly/a=recvonly/a=inactive SDP direction 4563 attributes MUST be present. 4565 o a=rtpmap and a=fmtp attributes per primary, retransmission and 4566 forward error correction media format MUST be included. 4568 o a=rtcp-fb lines for each supported feedback mechanism MUST be 4569 included when using RTP with feedback 4571 o a=imageattr can be optionally present for video media 4572 descriptions. 4574 o a=msid line MUST be included for all the media senders identifying 4575 the MediaStreamTrack (i.e when a=sendonly/a=sendrecv attribute is 4576 present). 4578 o a=extmap line identifying the BUNDLE header extension MUST be 4579 present. 4581 o a=extmap lines for other supported RTP header extensions MUST be 4582 included. 4584 o a=rid line 'per encoding' with the direction of 'send' MUST be 4585 included when further constraining the media format or multiple 4586 encodings per media format is needed. 4588 o a=simulcast line MUST be present if there exists more than one 4589 'a=rid' lines for the media senders. 4591 o a=bundle-only attribute MUST be present for media descriptions 4592 that are impacted by various bundle policies (such as max-bundle/ 4593 balanced) 4595 o For media descriptions that aren't "a=bundle-only" and that have 4596 unique address, following attributes MUST be present: 4598 * a=ice-ufrag and a=ice-pwd 4600 * a=fingerprint 4602 * a=setup with value 'actpass' in the offers and a value of 4603 'active'/'passive' in the answerer. 4605 * a=dtls-id 4607 * a=rtcp 4609 * a=rtcp-mux 4611 * For offerers requiring RTCP to be multiplexed, 'a=rtcp-mux- 4612 only' line 4614 * a=rtcp-rsize 4616 o a=group:BUNDLE line with all the 'mid' identifiers part of BUNDLE 4617 is included at the session level. 4619 o a=group:LS session level attribute MUST be included wth 'mid' 4620 identifiers that are part of the lip same sync group. 4622 A.1.3. DataChannel Media Description checklist 4624 If a datachannel is required, an 'application' type media description 4625 MUST be included with the following properties: 4627 o Media description's proto value MUST be 'UDP/DTLS/SCTP' in the 4628 JSEP offers. 4630 o An JSEP answerer MUST support reception of 4631 'UDP/DTLS/SCTP'/'TCP/DTLS/SCTP'/'DTLS/SCTP' for backward 4632 compatibility reasons. 4634 o A value of 'webrtc-datachannel' MUST be used for the media 4635 description 'fmt' value. 4637 o a=mid line MUST be present. 4639 o a=sctp-port with SCTP port number MUST be included. 4641 o a=max-message-size MAY be included, if appropriate. 4643 Authors' Addresses 4645 Suhas Nandakumar 4646 Cisco 4647 170 West Tasman Drive 4648 San Jose, CA 95134 4649 USA 4651 Email: snandaku@cisco.com 4653 Cullen Jennings 4654 Cisco 4655 170 West Tasman Drive 4656 San Jose, CA 95134 4657 USA 4659 Phone: +1 408 421-9990 4660 Email: fluffy@cisco.com