idnits 2.17.1 draft-ietf-rtcweb-sdp-09.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 : ---------------------------------------------------------------------------- == There are 4 instances of lines with non-RFC6890-compliant IPv4 addresses in the document. If these are example addresses, they should be changed. 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 2, 2018) is 2245 days in the past. Is this intentional? Checking references for intended status: Informational ---------------------------------------------------------------------------- == Unused Reference: 'I-D.ietf-mmusic-trickle-ice' is defined on line 5204, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-mmusic-msid' is defined on line 5210, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-mmusic-sctp-sdp' is defined on line 5215, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-rtcweb-data-channel' is defined on line 5223, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-payload-flexible-fec-scheme' is defined on line 5228, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-mmusic-mux-exclusive' is defined on line 5234, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-mmusic-dtls-sdp' is defined on line 5239, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-avtext-rid' is defined on line 5254, 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) == Outdated reference: A later version (-54) exists of draft-ietf-mmusic-sdp-bundle-negotiation-48 == Outdated reference: A later version (-14) exists of draft-ietf-mmusic-sdp-simulcast-11 == Outdated reference: A later version (-15) exists of draft-ietf-mmusic-rid-14 == Outdated reference: A later version (-26) exists of draft-ietf-rtcweb-jsep-24 == Outdated reference: A later version (-17) exists of draft-ietf-mmusic-msid-16 == Outdated reference: A later version (-20) exists of draft-ietf-payload-flexible-fec-scheme-05 == Outdated reference: A later version (-20) exists of draft-ietf-rtcweb-security-arch-13 == Outdated reference: A later version (-12) exists of draft-ietf-rtcweb-security-10 Summary: 0 errors (**), 0 flaws (~~), 19 warnings (==), 3 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 3, 2018 March 2, 2018 7 Annotated Example SDP for WebRTC 8 draft-ietf-rtcweb-sdp-09 10 Abstract 12 The Real-Time Communications in WEB-browsers (Rtcweb) working group 13 is charged to provide protocol support for direct interactive rich 14 communication using audio, video and data between two peers' web 15 browsers. With in the Rtcweb framework, Session Description protocol 16 (SDP) is used for negotiating session capabilities between the peers. 17 Such a negotiation happens based on the SDP Offer/Answer exchange 18 mechanism. 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 Rtcweb use-cases. 24 Status of This Memo 26 This Internet-Draft is submitted in full conformance with the 27 provisions of BCP 78 and BCP 79. 29 Internet-Drafts are working documents of the Internet Engineering 30 Task Force (IETF). Note that other groups may also distribute 31 working documents as Internet-Drafts. The list of current Internet- 32 Drafts is at http://datatracker.ietf.org/drafts/current/. 34 Internet-Drafts are draft documents valid for a maximum of six months 35 and may be updated, replaced, or obsoleted by other documents at any 36 time. It is inappropriate to use Internet-Drafts as reference 37 material or to cite them other than as "work in progress." 39 This Internet-Draft will expire on September 3, 2018. 41 Copyright Notice 43 Copyright (c) 2018 IETF Trust and the persons identified as the 44 document authors. All rights reserved. 46 This document is subject to BCP 78 and the IETF Trust's Legal 47 Provisions Relating to IETF Documents 48 (http://trustee.ietf.org/license-info) in effect on the date of 49 publication of this document. Please review these documents 50 carefully, as they describe your rights and restrictions with respect 51 to this document. Code Components extracted from this document must 52 include Simplified BSD License text as described in Section 4.e of 53 the Trust Legal Provisions and are provided without warranty as 54 described in the Simplified BSD License. 56 Table of Contents 58 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 59 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3 60 3. SDP and the WebRTC . . . . . . . . . . . . . . . . . . . . . 3 61 4. Offer/Answer and the WebRTC . . . . . . . . . . . . . . . . . 5 62 5. WebRTC Session Description Examples . . . . . . . . . . . . . 6 63 5.1. Some Conventions . . . . . . . . . . . . . . . . . . . . 7 64 5.2. Basic Examples . . . . . . . . . . . . . . . . . . . . . 9 65 5.2.1. Audio Only Session . . . . . . . . . . . . . . . . . 9 66 5.2.2. Audio/Video Session . . . . . . . . . . . . . . . . . 13 67 5.2.2.1. IPv4 audio/video session . . . . . . . . . . . . 14 68 5.2.2.2. Dual Stack audio/video session . . . . . . . . . 19 69 5.2.3. Data Only Session . . . . . . . . . . . . . . . . . . 24 70 5.2.4. Audio Call On Hold . . . . . . . . . . . . . . . . . 27 71 5.2.5. Audio with DTMF Session . . . . . . . . . . . . . . . 30 72 5.2.6. One Way Audio/Video Session - Document Camera . . . . 34 73 5.2.7. Audio, Video Session with BUNDLE Support Unknown . . 38 74 5.2.8. Audio, Video and Data Session . . . . . . . . . . . . 43 75 5.2.9. Audio, Video Session with BUNDLE Unsupported . . . . 48 76 5.2.10. Audio, Video BUNDLED, but Data (Not BUNDLED) . . . . 53 77 5.2.11. Audio Only, Add Video to BUNDLE . . . . . . . . . . . 58 78 5.3. MultiResolution, RTX, FEC Examples . . . . . . . . . . . 65 79 5.3.1. Sendonly Simulcast Session with 2 cameras and 2 80 encodings per camera . . . . . . . . . . . . . . 65 81 5.3.2. Successful SVC Video Session . . . . . . . . . . . . 72 82 5.3.3. Successful Simulcast Video Session with 83 Retransmission . . . . . . . . . . . . . . . . . . . 77 84 5.3.4. Successful 1-way Simulcast Session with 2 resolutions 85 and RTX - One resolution rejected . . . . . . 82 86 5.3.5. Simulcast Video Session with Forward Error Correction 87 87 5.4. Others . . . . . . . . . . . . . . . . . . . . . . . . . 92 88 5.4.1. Audio Session - Voice Activity Detection . . . . . . 93 89 5.4.2. Audio Conference - Voice Activity Detection . . . . . 96 90 5.4.3. Successful legacy Interop Fallback with bundle-only . 99 91 5.4.4. Legacy Interop with RTP/AVP profile . . . . . . . . . 104 92 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 108 93 7. Security Considerations . . . . . . . . . . . . . . . . . . . 108 94 8. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 108 95 9. Change Log . . . . . . . . . . . . . . . . . . . . . . . . . 108 96 10. Informative References . . . . . . . . . . . . . . . . . . . 112 97 Appendix A. Appendix . . . . . . . . . . . . . . . . . . . . . . 116 98 A.1. JSEP SDP Attributes Checklist . . . . . . . . . . . . . . 116 99 A.1.1. Common Checklist . . . . . . . . . . . . . . . . . . 116 100 A.1.2. RTP Media Description Checklist . . . . . . . . . . . 117 101 A.1.3. DataChannel Media Description checklist . . . . . . . 119 102 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 119 104 1. Introduction 106 Javascript Session Establishment Protocol(JSEP) 107 [I-D.ietf-rtcweb-jsep] specifies a generic protocol needed to 108 generate [RFC3264] Offers and Answers negotiated between the [WebRTC] 109 peers for setting up, updating and tearing down a WebRTC session. 110 For this purpose, SDP is used to construct [RFC3264] Offers/Answers 111 for describing (media and non-media) streams as appropriate for the 112 recipients of the session description to participate in the session. 114 The remainder of this document is organized as follows: Sections 3 115 and 4 provides an overview of SDP and the Offer/Answer exchange 116 mechanism. Section 5 provides sample SDP generated for the most 117 common WebRTC use-cases. 119 2. Terminology 121 The key words "MUST", "MUST NOT", "REQUIRED", "SHOULD", "SHOULD NOT", 122 "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be 123 interpreted as described in [RFC2119]. 125 3. SDP and the WebRTC 127 The purpose of this section is to provide a general overview of SDP 128 and its components. For a more in-depth understanding, the readers 129 are advised to refer to [RFC4566]. 131 The Session Description Protocol (SDP) [RFC4566] describes multimedia 132 sessions, which can contain audio, video, whiteboard, fax, modem, and 133 other streams. SDP provides a general purpose, standard 134 representation to describe various aspects of multimedia session such 135 as media capabilities, transport addresses and related metadata in a 136 transport agnostic manner, for the purposes of session announcement, 137 session invitation and parameter negotiation. 139 As of today SDP is widely used in the context of Session Initiation 140 Protocol [RFC3261], Real-time Transport Protocol [RFC3550] and Real- 141 time Streaming Protocol applications [RFC7826]. 143 Below figure introduces high-level breakup of SDP into components 144 that semantically describe a multimedia session, in our case, a 145 WebRTC session [WebRTC]. It by no means captures everything about 146 SDP and hence, should be used for informational purposes only. 148 +---------------------+ 149 | v= | 150 +---------------------+ 151 +---------------------+ +---------------------+ 152 ==== | Session Metadata | ===== | o= | 153 | +---------------------+ +---------------------- 154 | +---------------------+ 155 | | t= | 156 | +---------------------+ 157 | 158 | 159 | +---------------------+ 160 | | c= | 161 | +---------------------+ 162 | +---------------------+ 163 ==== | Network Description | ===== 164 | +---------------------+ 165 | +---------------------+ 166 | | a=candidate | 167 | +---------------------+ 168 | 169 | 170 | +---------------------+ 171 | | m= | 172 | +---------------------+ 173 | +---------------------+ +---------------------+ 174 ==== | Stream Description | ===== | a=rtpmap | 175 | +---------------------+ +---------------------- 176 | +---------------------+ 177 | | a=fmtp | 178 | +---------------------+ 179 | +---------------------+ 180 | | a=sendrecv.. | 181 | +---------------------+ 182 +---------------+ 183 | SEMANTIC | 184 | COMPONENTS OF | 185 | SDP | 186 +---------------+ 187 | +---------------------+ 188 | | a=crypto | 189 | +---------------------+ 190 | +---------------------+ +---------------------+ 191 ==== |Security Descriptions| =====| a=ice-frag | 192 | +---------------------+ +---------------------- 193 | +---------------------+ 194 | | a=ice-pwd | 195 | +---------------------+ 196 | +---------------------+ 197 | | a=fingerprint | 198 | +---------------------+ 199 | 200 | 201 | 202 | +---------------------+ 203 | | a=rtcp-fb | 204 | +---------------------+ 205 | +---------------------+ +---------------------+ 206 ==== | Qos,Grouping | | | 207 | Descriptions | =====| a=group | 208 +---------------------+ +---------------------- 209 +---------------------+ 210 | a=rtcpmux | 211 +---------------------+ 213 Figure 1: Semantic Components of SDP 215 [WebRTC] proposes JavaScript application to fully specify and control 216 the signaling plane of a multimedia session as described in the JSEP 217 specification [I-D.ietf-rtcweb-jsep]. JSEP provides mechanisms to 218 create session characterization and media definition information to 219 conduct the session based on SDP exchanges. 221 In this context, SDP serves two purposes: 223 1. Provide grammatical structure syntactically. 225 2. Semantically convey participant's intention and capabilities 226 required to successfully negotiate a session. 228 4. Offer/Answer and the WebRTC 230 This section introduces SDP Offer/Answer Exchange mechanism mandated 231 by WebRTC for negotiating session capabilities while setting up, 232 updating and tearing down a WebRTC session. This section is 233 intentionally brief in nature and interested readers are recommended 234 to refer [RFC3264] for specific details on the protocol operation. 236 The Offer/Answer [RFC3264] model specifies rule for the bilateral 237 exchange of Session Description Protocol (SDP) messages for creation 238 of multimedia streams. It defines protocol with involved 239 participants exchanging desired session characteristics from each 240 others perspective constructed as SDP to negotiate the session 241 between them. 243 In the most basic form,the protocol operation begins by one of the 244 participants sending an initial SDP Offer describing its intent to 245 start a multimedia communication session. The participant receiving 246 the offer MAY generate an SDP Answer accepting the offer or it MAY 247 reject the offer. If the session is accepted the Offer/Answer model 248 guarantees a common view of the multimedia session between the 249 participants. 251 At any time, either participant MAY generate a new SDP offer that 252 updates the session in progress. 254 With in the context of WebRTC, the Offer/Answer model defines the 255 state-machinery for WebRTC peers to negotiate session descriptions 256 between them during the initial setup stages as well as for eventual 257 session updates. JSEP specification [I-D.ietf-rtcweb-jsep] for 258 WebRTC provides the mechanism for generating [RFC3264] SDP Offers and 259 Answers in order for both sides of the session to agree upon the 260 details such as the list of media formats to be sent/received, 261 bandwidth information, crypto parameters, transport parameters, for 262 example. 264 5. WebRTC Session Description Examples 266 A typical web based real-time multimedia communication session can be 267 characterized as below: 269 o It has zero or more Audio only, Video only or Audio/Video RTP 270 Sessions, 272 o MAY contain zero or more non-media data sessions, 274 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 o Supports BUNDLE based grouping of media streams over a single 284 5-tuple transport. 286 5.1. Some Conventions 288 The examples given in this document follow the conventions listed 289 below: 291 o In all the examples, Alice and Bob are assumed to be the WebRTC 292 peers. 294 o It is assumed that for most of the examples, the support for 295 [I-D.ietf-mmusic-sdp-bundle-negotiation] is established apriori 296 either out-of-band or as a consequence of successful Offer/Answer 297 negotiation between Alice and Bob, unless explicitly stated 298 otherwise. 300 o Call-flow diagrams that accompany the use-cases capture only the 301 prominent aspects of the system behavior and intentionally is not 302 detailed to improve readability. 304 o Eventhough the call-flow diagrams shows SDP being exchanged 305 between the parties, it doesn't represent the only way an WebRTC 306 setup is expected to work. Other approaches may involve WebRTC 307 applications to exchange the media setup information via non-SDP 308 mechanisms as long as they confirm to the [I-D.ietf-rtcweb-jsep] 309 API specification. 311 o The SDP examples deviate from actual on-the-wire SDP notation in 312 several ways. This is done to facilitate readability and to 313 conform to the restrictions imposed by the RFC formatting rules. 315 * Visual markers/Empty lines in any SDP example are inserted to 316 make functional divisions in the SDP clearer, and are not 317 actually part of the SDP syntax. 319 * Any SDP line that is indented (compared to the initial line in 320 the SDP block) is a continuation of the preceding line. The 321 line break and indent are to be interpreted as a single space 322 character. 324 * Excepting the above two conventions, line endings are to be 325 interpreted as pairs (that is, an ASCII 13 followed by 326 an ASCII 10). 328 o Against each SDP line, pointers to the appropriate RFCs are 329 provided for further informational reference. Also an attempt has 330 been made to provide explanatory notes to enable better 331 understanding of the SDP usage, wherever appropriate. 333 o Following SDP details are common across all the use-cases defined 334 in this document unless mentioned otherwise. 336 * DTLS fingerprint for SRTP (a=fingerprint) 338 * RTP/RTCP Multiplexing (a=rtcp-mux) 340 * RTCP Feedback support (a=rtcp-fb) 342 * Host and server-reflexive candidate lines (a=candidate) 344 * SRTP Setup framework parameters (a=setup) 346 * RTCP attribute (a=rtcp) 348 * RTP header extension indicating audio-levels from client to the 349 mixer 351 For specific details, readers must refer to [I-D.ietf-rtcweb-jsep] 352 specification. 354 o The term "Session" is used rather loosely in this document to 355 refer to either a "Communication Session" or a "RTP Session" or a 356 "RTP Stream" depending on the context. 358 o Payload type 109 is usually used for OPUS, 0 for PCMU, 8 for PCMA, 359 99 for H.264 and 120 for VP8 in most of the examples to maintain 360 uniformity. 362 o The IP Address:Port combinations '192.0.2.4:61665' (host) and 363 '203.0.113.141:54609' (Server Reflexive) is typically used for 364 Alice. 366 o The IP Address:Port combinations '198.51.100.7:51556' (host) and 367 '203.0.113.77:49203' (Server Reflexive) is typically used for Bob. 369 o The IPv6 addresses 2001:DB8:8101:3a55:4858:a2a9:22ff:99b9 and 370 2001:DB8:30c:1266:5916:3779:22f6:77f7 are used to represent Alice 371 and Bob host addresses respectively. 373 o In the actual use the values that represent SSRCs, ICE candidate 374 foundations, WebRTC Mediastream, MediaStreamTrack Ids values shall 375 be much larger and/or random than the ones shown in the examples. 377 o tls-id attribute values 89J2LRATQ3ULA24G9AHWVR31VJWSLB68 and 378 UKA29UQLTF69OJW4WNPNUO2Y0GF1FJOZ are used for Alice. The values 379 CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 and 380 9AIFS8AQ009IXF5D6QQUJ7P8BXPEZJ8G are used for Bob. 382 o identity attribute values are split across multiple lines to 383 enhance readability, thus any line breaks and indentations in the 384 value must be ignored. 386 o SDP attributes in the examples closely follow the checklist 387 defined in section Appendix A.1. 389 5.2. Basic Examples 391 5.2.1. Audio Only Session 393 This common scenario shows SDP for secure two-way audio session with 394 Alice offering Opus, PCMU, PCMA and Bob accepting all the offered 395 audio codecs. 397 2-Way Audio Only Session 399 Alice Bob 400 | | 401 | | 402 | Offer(Audio:Opus,PCMU,PCMA) | 403 |------------------------------------>| 404 | | 405 | | 406 | Answer(Audio:Opus,PCMU,PCMA) | 407 |<------------------------------------| 408 | | 409 | | 410 |Two-way Opus Audio (preferred-codec) | 411 |.....................................| 412 | | 413 | | 415 +---------------------------------------------+---------------------+ 416 | Offer SDP Contents | RFC#/Notes | 417 +---------------------------------------------+---------------------+ 418 | v=0 | [RFC4566] | 419 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 420 | | Origin Information | 421 | s=- | [RFC4566] | 422 | t=0 0 | [RFC4566] | 423 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sd | 424 | | p-bundle-negotiatio | 425 | | n] | 426 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 427 | | ickle-ice] | 428 | a=identity:eyJpZHAiOnsiZG9tYWluIjoibmlpZi5o | Section 5.6 of [I-D | 429 | dSIsInByb3RvY29sIjoiaWRwLmh0bWwifSwiYXNzZXJ | .ietf-rtcweb-securi | 430 | 0a W9uIjoiZXlKaGJHY2lPaUpTVXpJMU5pSXNJblI1Y | ty-arch] | 431 | 0NJNklrcFhVeUo5LmV5SmpiMjUwWlc1MGN5STZleUpt | | 432 | YVc1b lpYSndjbWx1ZENJNlczc2lZV3huYjNKcGRHaH | | 433 | RJam9pYzJoaExUSTFOaUlzSW1ScFoyVnpkQ0k2SWpre | | 434 | k9rTXdPa kl6T2pKR09rRXlPakF3T2pBd09qQkVPalV | | 435 | 4T2tGRE9rUXlPalUwT2pZMU9rWTBPak5DT2pkRU9qa3 | | 436 | lPa1JET2pnN E9qTXpPalV4T2pJek9qUXdPamN5T2pr | | 437 | eE9qZ3pPalZDT2pBeE9qSkdPalV3T2pjNE9qTkdJbjF | | 438 | kZlN3aWFXUmxib lJwZEhraU9pSnRhWE5wUUc1cGFXW | | 439 | XVhSFVpZlEuSTVQdGhKNFFDT05TOFVXd25OOUh3MEda | | 440 | TDl3d0RBVGRrTWtFW llmdlNVTTJ6Umd5R09WSGgzRm | | 441 | pnc2FPZklkRnFsNUx6azBFbndVOTNQOUlCQ0xZOWtia | | 442 | 3V1c0V1S25YRGVNLTNIN WFmdTJvZl9CTlZjUnB3Mmd | | 443 | BdlNBbVR6SlltcEpqMFEtdmV0TmtVT1huZE9HLUIzT3 | | 444 | ZGb3QwZVNENlZSNUdhb2wyc GduS3FSTktOd3dacEZ1 | | 445 | eUZZbFRodHJIdGNiT19WV3o4QnZpTThKS25OdExWd1J | | 446 | xNUhMX2ZLTlRCNzFDYkoyWmh5W XU1UEdwWDhXcXJMW | | 447 | C1ybm5YSFY3RnhoTTh5OHdrLWd5cnRZazVnbFlZeUFr | | 448 | cTVqZklSXzRzWER5d19Qc1BWTW1aZ XltenVGV3BQTz | | 449 | VFWlJYR0ZpRjFET0o4Q0Q3Z3Zta2dUdlBXSWpkemtBI | | 450 | n0= | | 451 | ****** Audio m=line ********* | ******************* | 452 | | ********** | 453 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 0 8 | [RFC4566] | 454 | c=IN IP4 203.0.113.141 | [RFC4566] | 455 | a=mid:audio | [RFC5888] | 456 | a=msid:ma ta | Identifies | 457 | | RTCMediaStream ID | 458 | | (ma) and | 459 | | RTCMediaStreamTrack | 460 | | ID (ta) | 461 | a=sendrecv | [RFC3264] - Alice | 462 | | can send and recv | 463 | | audio | 464 | a=rtpmap:109 opus/48000/2 | [RFC7587] - Opus | 465 | | Codec 48khz, 2 | 466 | | channels | 467 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU | 468 | | Audio Codec | 469 | a=rtpmap:8 PCMA/8000 | [RFC3551] PCMA | 470 | | Audio Codec | 471 | a=maxptime:120 | [RFC4566] | 472 | a=ice-ufrag:074c6550 | [RFC5245] - ICE | 473 | | user fragment | 474 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] - ICE | 475 | | password | 476 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] - DTLS | 477 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | Fingerprint for | 478 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | SRTP | 479 | a=setup:actpass | [RFC5763] - Alice | 480 | | can act as DTLS | 481 | | client or server | 482 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 483 | | ls-sdp] | 484 | a=rtcp-mux | [RFC5761] - Alice | 485 | | can perform | 486 | | RTP/RTCP Muxing | 487 | a=rtcp:60065 IN IP4 203.0.113.141 | [RFC3605] | 488 | a=rtcp-rsize | [RFC5506] - Alice | 489 | | intends to use | 490 | | reduced size RTCP | 491 | | for this session | 492 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] Alice | 493 | audio-level | supports RTP header | 494 | | extension to | 495 | | indicate audio | 496 | | levels | 497 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 498 | hdrext:sdes:mid | p-bundle-negotiatio | 499 | | n] | 500 | a=candidate:0 1 UDP 2122194687 192.0.2.4 | [RFC5245] - RTP | 501 | 61665 typ host | Host Candidate | 502 | a=candidate:1 1 UDP 1685987071 | [RFC5245] - RTP | 503 | 203.0.113.141 54609 typ srflx raddr | Server Reflexive | 504 | 192.0.2.4 rport 61665 | ICE Candidate | 505 | a=candidate:0 2 UDP 2122194687 192.0.2.4 | [RFC5245] - RTCP | 506 | 61667 typ host | Host Candidate | 507 | a=candidate:1 2 UDP 1685987071 | [RFC5245] - RTCP | 508 | 203.0.113.141 60065 typ srflx raddr | Server Reflexive | 509 | 192.0.2.4 rport 61667 | ICE Candidate | 510 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 511 | | ickle-ice] | 512 +---------------------------------------------+---------------------+ 514 Table 1: 5.2.1 SDP Offer 516 +---------------------------------------------+---------------------+ 517 | Answer SDP Contents | RFC#/Notes | 518 +---------------------------------------------+---------------------+ 519 | v=0 | [RFC4566] | 520 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 521 | | Origin Information | 522 | s=- | [RFC4566] | 523 | t=0 0 | [RFC4566] | 524 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sd | 525 | | p-bundle-negotiatio | 526 | | n] | 527 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 528 | | ickle-ice] | 529 | a=identity:ew0KICAiaWRwIjp7DQogICAgImRvbWFp | Section 5.6 of [I-D | 530 | biI6ICJjaXNjb3NwYXJrLmNvbSIsDQogICAg InByb3 | .ietf-rtcweb-securi | 531 | RvY29sIjogImRlZmF1bHQiDQogIH0sDQogICJhc3Nlc | ty-arch] | 532 | nRpb24iOiAibEp3WkVocmFVOXBTblJo V0U1d1VVYzF | | 533 | jR0ZYV1hWaFNGVnBabEV1U1RWUWRHaEtORkZEVDA1VE | | 534 | 9GVlhkMjVPT1VoM01FZGFURGwz ZDBSQlZHUnJUV3RG | | 535 | Vw0KICAgICAgICAgICAgICBsbG1kbE5WVFRKNlVtZDV | | 536 | SMDlXU0dnelJtcG5jMkZQ Wmtsa1JuRnNOVXg2YXpCR | | 537 | mJuZFZPVE5RT1VsQ1EweFpPV3RpYTNWMWMwVjFTMjVZ | | 538 | UkdWTkxUTklODQog ICAgICAgICAgICAgIFdGbWRUSn | | 539 | ZabDlDVGxaalVuQjNNbWRCZGxOQmJWUjZTbGx0Y0Vwc | | 540 | U1GRXRkbVYw VG10VlQxaHVaRTlITFVJelQzWkdiM1F | | 541 | 3WlZORU5sWlNOVWRoYjJ3eWMNCiAgICAgICAgICAgIC | | 542 | AgR2R1 UzNGU1RrdE9kM2RhY0VaMWVVWlpiRlJvZEhK | | 543 | SWRHTmlUMTlXVjNvNFFuWnBUVGhLUzI1T2RFeFdkMUp | | 544 | 4 TlVoTVgyWkxUbFJDTnpGRFlrb3lXbWg1VyINCn0= | | 545 | ****** Audio m=line ********* | ******************* | 546 | | ********** | 547 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 0 8 | [RFC4566] | 548 | c=IN IP4 203.0.113.77 | [RFC4566] | 549 | a=mid:audio | [RFC5888] | 550 | a=msid:ma ta | [I-D.ietf-mmusic-ms | 551 | | id] Identifies | 552 | | RTCMediaStream ID | 553 | | (ma) and | 554 | | RTCMediaStreamTrack | 555 | | ID (ta) | 556 | a=sendrecv | [RFC3264] - Bob can | 557 | | send and recv audio | 558 | a=rtpmap:109 opus/48000/2 | [RFC7587] Opus | 559 | | Codec | 560 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU | 561 | | Audio Codec | 562 | a=rtpmap:8 PCMA/8000 | [RFC3551] PCMA | 563 | | Audio Codec | 564 | a=maxptime:120 | [RFC4566] | 565 | a=ice-ufrag:05067423 | [RFC5245] - ICE | 566 | | user fragment | 567 | a=ice-pwd:1747d1ee3474a28a397a4c3f3af08a068 | [RFC5245] - ICE | 568 | | password parameter | 569 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] - DTLS | 570 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | Fingerprint for | 571 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | SRTP | 572 | a=setup:active | [RFC5763] - Bob is | 573 | | the DTLS client | 574 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 575 | | ls-sdp] | 576 | a=rtcp-mux | [RFC5761] - Bob can | 577 | | perform RTP/RTCP | 578 | | Muxing on port | 579 | | 49203 | 580 | a=rtcp-rsize | [RFC5506] - Bob | 581 | | intends to use | 582 | | reduced size RTCP | 583 | | for this session | 584 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] Bob | 585 | audio-level | supports audio | 586 | | level RTP header | 587 | | extension as well | 588 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 589 | hdrext:sdes:mid | p-bundle-negotiatio | 590 | | n] | 591 | a=candidate:0 1 UDP 2122194687 198.51.100.7 | [RFC5245] - | 592 | 51556 typ host | RTP/RTCP Host ICE | 593 | | Candidate | 594 | a=candidate:1 1 UDP 1685987071 203.0.113.77 | [RFC5245] - | 595 | 49203 typ srflx raddr 198.51.100.7 rport | RTP/RTCP Server | 596 | 51556 | Reflexive ICE | 597 | | Candidate | 598 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 599 | | ickle-ice] | 600 +---------------------------------------------+---------------------+ 602 Table 2: 5.2.1 SDP Answer 604 5.2.2. Audio/Video Session 606 Alice and Bob establish a two-way audio and video session with Opus 607 as the audio codec and H.264 as the video codec. 609 2-Way Audio,Video Session 611 Alice Bob 612 | | 613 | | 614 |Offer(Audio:Opus,PCMU,PCMA Video:H.264,VP8) | 615 |------------------------------------------->| 616 | | 617 | | 618 | Answer(Audio:Opus,Video:H.264) | 619 |<-------------------------------------------| 620 | | 621 | | 622 | Two-way Opus Audio, H.264 Video | 623 |............................................| 624 | | 626 5.2.2.1. IPv4 audio/video session 628 This section shows the IPv4 only Offer/Answer exchange. 630 +---------------------------------------------+---------------------+ 631 | Offer SDP Contents | RFC#/Notes | 632 +---------------------------------------------+---------------------+ 633 | v=0 | [RFC4566] | 634 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 635 | | Origin Information | 636 | s=- | [RFC4566] | 637 | t=0 0 | [RFC4566] | 638 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 639 | | p-bundle-negotiatio | 640 | | n] | 641 | a=group:LS audio video | [RFC5888] - Alice | 642 | | wants to lip sync | 643 | | her audio and video | 644 | | sreams | 645 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 646 | | ickle-ice] | 647 | ****** Audio m=line ********* | ******************* | 648 | | ********** | 649 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 0 8 | [RFC4566] | 650 | c=IN IP4 203.0.113.141 | [RFC4566] | 651 | a=mid:audio | [RFC5888] | 652 | a=msid:ma ta | [I-D.ietf-mmusic-ms | 653 | | id] Identifies | 654 | | RTCMediaStream ID | 655 | | (ma) and | 656 | | RTCMediaStreamTrack | 657 | | ID (ta) | 658 | a=sendrecv | [RFC3264] - Alice | 659 | | can send and recv | 660 | | audio | 661 | a=rtpmap:109 opus/48000/2 | [RFC7587] - Opus | 662 | | Codec 48khz, 2 | 663 | | channels | 664 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU | 665 | | Audio Codec | 666 | a=rtpmap:8 PCMA/8000 | [RFC3551] PCMA | 667 | | Audio Codec | 668 | a=maxptime:120 | [RFC4566] | 669 | a=ice-ufrag:074c6550 | [RFC5245] - ICE | 670 | | user fragment | 671 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] - ICE | 672 | | password parameter | 673 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] - DTLS | 674 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | Fingerprint for | 675 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | SRTP | 676 | a=setup:actpass | [RFC5763] - Alice | 677 | | can act as DTLS | 678 | | client or server | 679 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 680 | | ls-sdp] | 681 | a=rtcp-mux | [RFC5761] - Alice | 682 | | can perform | 683 | | RTP/RTCP Muxing | 684 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 685 | | x-exclusive] | 686 | a=rtcp-rsize | [RFC5506] - Alice | 687 | | intends to use | 688 | | reduced size RTCP | 689 | | for this session | 690 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 691 | audio-level | | 692 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 693 | hdrext:sdes:mid | p-bundle-negotiatio | 694 | | n] | 695 | a=candidate:0 1 UDP 2122194687 192.0.2.4 | [RFC5245] - | 696 | 61665 typ host | RTP/RTCP Host | 697 | | Candidate | 698 | a=candidate:1 1 UDP 1685987071 | [RFC5245] - | 699 | 203.0.113.141 54609 typ srflx raddr | RTP/RTCP Server | 700 | 192.0.2.4 rport 61665 | Reflexive ICE | 701 | | Candidate | 702 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 703 | | ickle-ice] | 704 | ****** Video m=line ********* | ******************* | 705 | | ********** | 706 | m=video 0 UDP/TLS/RTP/SAVPF 99 120 | [RFC4566] | 707 | c=IN IP4 203.0.113.141 | [RFC4566] | 708 | a=bundle-only | [I-D.ietf-mmusic-sd | 709 | | p-bundle-negotiatio | 710 | | n] | 711 | a=mid:video | [RFC5888] | 712 | a=msid:ma tb | Identifies | 713 | | RTCMediaStream ID | 714 | | (ma) and | 715 | | RTCMediaStreamTrack | 716 | | ID (tb) | 717 | a=sendrecv | [RFC3264] - Alice | 718 | | can send and recv | 719 | | video | 720 | a=rtpmap:99 H264/90000 | [RFC6184] - H.264 | 721 | | Video Codec | 722 | a=fmtp:99 profile-level- | [RFC6184] | 723 | id=4d0028;packetization-mode=1 | | 724 | a=rtpmap:120 VP8/90000 | [RFC7741] - VP8 | 725 | | video codec | 726 | a=rtcp-fb:99 nack | [RFC5104] - | 727 | | Indicates NACK RTCP | 728 | | feedback support | 729 | a=rtcp-fb:99 nack pli | [RFC5104] - | 730 | | Indicates support | 731 | | for Picture loss | 732 | | Indication and NACK | 733 | a=rtcp-fb:99 ccm fir | [RFC5104] - Full | 734 | | Intra Frame | 735 | | Request-Codec | 736 | | Control Message | 737 | | support | 738 | a=rtcp-fb:120 nack | [RFC5104] - | 739 | | Indicates NACK RTCP | 740 | | feedback support | 741 | a=rtcp-fb:120 nack pli | [RFC5104] - | 742 | | Indicates support | 743 | | for Picture loss | 744 | | Indication and NACK | 745 | a=rtcp-fb:120 ccm fir | [RFC5104] - Full | 746 | | Intra Frame | 747 | | Request-Codec | 748 | | Control Message | 749 | | support | 750 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 751 | hdrext:sdes:mid | p-bundle-negotiatio | 752 | | n] | 753 +---------------------------------------------+---------------------+ 755 Table 3: 5.2.2.1 SDP Offer 757 +---------------------------------------------+---------------------+ 758 | Answer SDP Contents | RFC#/Notes | 759 +---------------------------------------------+---------------------+ 760 | v=0 | [RFC4566] | 761 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 762 | | Origin Information | 763 | s=- | [RFC4566] | 764 | t=0 0 | [RFC4566] | 765 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 766 | | p-bundle-negotiatio | 767 | | n] | 768 | a=group:LS audio video | [RFC5888] - Bob | 769 | | agrees to do the | 770 | | same | 771 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 772 | | ickle-ice] | 773 | ****** Audio m=line ********* | ******************* | 774 | | ********** | 775 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 776 | c=IN IP4 203.0.113.77 | [RFC4566] | 777 | a=mid:audio | [RFC5888] | 778 | a=msid:ma ta | Identifies | 779 | | RTCMediaStream ID | 780 | | (ma) and | 781 | | RTCMediaStreamTrack | 782 | | ID (ta) | 783 | a=sendrecv | [RFC3264] - Bob can | 784 | | send and recv audio | 785 | a=rtpmap:109 opus/48000/2 | [RFC7587] - Bob | 786 | | accepts only Opus | 787 | | Codec | 788 | a=maxptime:120 | [RFC4566] | 789 | a=ice-ufrag:c300d85b | [RFC5245] - ICE | 790 | | username frag | 791 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] - ICE | 792 | | password | 793 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] - DTLS | 794 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | Fingerprint for | 795 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | SRTP | 796 | a=setup:active | [RFC5763] - Bob is | 797 | | the DTLS client | 798 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 799 | | ls-sdp] | 800 | a=rtcp-mux | [RFC5761] - Bob can | 801 | | perform RTP/RTCP | 802 | | Muxing | 803 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 804 | | x-exclusive] | 805 | a=rtcp-rsize | [RFC5506] - Bob | 806 | | intends to use | 807 | | reduced size RTCP | 808 | | for this session | 809 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 810 | audio-level | | 811 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 812 | hdrext:sdes:mid | p-bundle-negotiatio | 813 | | n] | 814 | a=candidate:0 1 UDP 3618095783 198.51.100.7 | [RFC5245] - | 815 | 49203 typ host | RTP/RTCP Host ICE | 816 | | Candidate | 817 | a=candidate:1 1 UDP 565689203 203.0.113.77 | [RFC5245] - | 818 | 49203 typ srflx raddr 198.51.100.7 rport | RTP/RTCP Server | 819 | 51556 | Reflexive ICE | 820 | | Candidate | 821 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 822 | | ickle-ice] | 823 | ****** Video m=line ********* | ******************* | 824 | | ********** | 825 | m=video 0 UDP/TLS/RTP/SAVPF 99 | [RFC4566] | 826 | c=IN IP4 203.0.113.77 | [RFC4566] | 827 | a=bundle-only | [I-D.ietf-mmusic-sd | 828 | | p-bundle-negotiatio | 829 | | n] | 830 | a=mid:video | [RFC5888] | 831 | a=msid:ma tb | Identifies | 832 | | RTCMediaStream ID | 833 | | (ma) and | 834 | | RTCMediaStreamTrack | 835 | | ID (tb) | 836 | a=sendrecv | [RFC3264] - Bob can | 837 | | send and recv video | 838 | a=rtpmap:99 H264/90000 | [RFC6184] - Bob | 839 | | accepts H.264 Video | 840 | | Codec. | 841 | a=fmtp:99 profile-level- | [RFC6184] | 842 | id=4d0028;packetization-mode=1 | | 843 | a=rtcp-fb:99 nack | [RFC5104] - | 844 | | Indicates support | 845 | | for NACK based RTCP | 846 | | feedback | 847 | a=rtcp-fb:99 nack pli | [RFC5104] - | 848 | | Indicates support | 849 | | for Picture loss | 850 | | Indication and NACK | 851 | a=rtcp-fb:99 ccm fir | [RFC5104] - Full | 852 | | Intra Frame | 853 | | Request- Codec | 854 | | Control Message | 855 | | support | 856 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 857 | hdrext:sdes:mid | p-bundle-negotiatio | 858 | | n] | 859 +---------------------------------------------+---------------------+ 861 Table 4: 5.2.2.1 SDP Answer 863 5.2.2.2. Dual Stack audio/video session 865 This section captures offer/answer exchange when Alice and Bob 866 support both IPv4 and IPv6 host addresses. 868 +---------------------------------------------+---------------------+ 869 | Offer SDP Contents | RFC#/Notes | 870 +---------------------------------------------+---------------------+ 871 | v=0 | [RFC4566] | 872 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 873 | | Origin Information | 874 | s=- | [RFC4566] | 875 | t=0 0 | [RFC4566] | 876 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 877 | | p-bundle-negotiatio | 878 | | n] | 879 | a=group:LS audio video | [RFC5888] - Alice | 880 | | wants to lip sync | 881 | | her audio and video | 882 | | sreams | 883 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 884 | | ickle-ice] | 885 | ****** Audio m=line ********* | ******************* | 886 | | ********** | 887 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 0 8 | [RFC4566] | 888 | c=IN IP4 203.0.113.141 | [RFC4566] | 889 | a=mid:audio | [RFC5888] | 890 | a=msid:ma ta | Identifies | 891 | | RTCMediaStream ID | 892 | | (ma) and | 893 | | RTCMediaStreamTrack | 894 | | ID (ta) | 895 | a=sendrecv | [RFC3264] - Alice | 896 | | can send and recv | 897 | | audio | 898 | a=rtpmap:109 opus/48000/2 | [RFC7587] - Opus | 899 | | Codec 48khz, 2 | 900 | | channels | 901 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU | 902 | | Audio Codec | 903 | a=rtpmap:8 PCMA/8000 | [RFC3551] PCMA | 904 | | Audio Codec | 905 | a=maxptime:120 | [RFC4566] | 906 | a=ice-ufrag:074c6550 | [RFC5245] - ICE | 907 | | user fragment | 908 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] - ICE | 909 | | password parameter | 910 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] - DTLS | 911 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | Fingerprint for | 912 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | SRTP | 913 | a=setup:actpass | [RFC5763] - Alice | 914 | | can act as DTLS | 915 | | client or server | 916 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 917 | | ls-sdp] | 918 | a=rtcp-mux | [RFC5761] - Alice | 919 | | can perform | 920 | | RTP/RTCP Muxing | 921 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 922 | | x-exclusive] | 923 | a=rtcp-rsize | [RFC5506] - Alice | 924 | | intends to use | 925 | | reduced size RTCP | 926 | | for this session | 927 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 928 | audio-level | | 929 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 930 | hdrext:sdes:mid | p-bundle-negotiatio | 931 | | n] | 932 | a=candidate:0 1 UDP 2122194687 192.0.2.4 | [RFC5245] - | 933 | 61665 typ host | RTP/RTCP Host | 934 | | Candidate | 935 | a=candidate:0 1 UDP 2122194687 | [RFC5245] - | 936 | 2001:DB8:8101:3a55:4858:a2a9:22ff:99b9 | RTP/RTCP IPv6 Host | 937 | 61665 typ host | Candidate | 938 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 939 | | ickle-ice] | 940 | ****** Video m=line ********* | ******************* | 941 | | ********** | 942 | m=video 0 UDP/TLS/RTP/SAVPF 99 120 | [RFC4566] | 943 | c=IN IP4 203.0.113.141 | [RFC4566] | 944 | a=bundle-only | [I-D.ietf-mmusic-sd | 945 | | p-bundle-negotiatio | 946 | | n] | 947 | a=mid:video | [RFC5888] | 948 | a=msid:ma tb | Identifies | 949 | | RTCMediaStream ID | 950 | | (ma) and | 951 | | RTCMediaStreamTrack | 952 | | ID (tb) | 953 | a=sendrecv | [RFC3264] - Alice | 954 | | can send and recv | 955 | | video | 956 | a=rtpmap:99 H264/90000 | [RFC6184] - H.264 | 957 | | Video Codec | 958 | a=fmtp:99 profile-level- | [RFC6184] | 959 | id=4d0028;packetization-mode=1 | | 960 | a=rtpmap:120 VP8/90000 | [RFC7741] - VP8 | 961 | | video codec | 962 | a=rtcp-fb:99 nack | [RFC5104] - | 963 | | Indicates NACK RTCP | 964 | | feedback support | 965 | a=rtcp-fb:99 nack pli | [RFC5104] - | 966 | | Indicates support | 967 | | for Picture loss | 968 | | Indication and NACK | 969 | a=rtcp-fb:99 ccm fir | [RFC5104] - Full | 970 | | Intra Frame | 971 | | Request-Codec | 972 | | Control Message | 973 | | support | 974 | a=rtcp-fb:120 nack | [RFC5104] - | 975 | | Indicates NACK RTCP | 976 | | feedback support | 977 | a=rtcp-fb:120 nack pli | [RFC5104] - | 978 | | Indicates support | 979 | | for Picture loss | 980 | | Indication and NACK | 981 | a=rtcp-fb:120 ccm fir | [RFC5104] - Full | 982 | | Intra Frame | 983 | | Request-Codec | 984 | | Control Message | 985 | | support | 986 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 987 | hdrext:sdes:mid | p-bundle-negotiatio | 988 | | n] | 989 +---------------------------------------------+---------------------+ 991 Table 5: 5.2.2.2 SDP Offer 993 +---------------------------------------------+---------------------+ 994 | Answer SDP Contents | RFC#/Notes | 995 +---------------------------------------------+---------------------+ 996 | v=0 | [RFC4566] | 997 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 998 | | Origin Information | 999 | s=- | [RFC4566] | 1000 | t=0 0 | [RFC4566] | 1001 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 1002 | | p-bundle-negotiatio | 1003 | | n] | 1004 | a=group:LS audio video | [RFC5888] - Bob | 1005 | | agrees to do the | 1006 | | same | 1007 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 1008 | | ickle-ice] | 1009 | ****** Audio m=line ********* | ******************* | 1010 | | ********** | 1011 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 1012 | c=IN IP4 203.0.113.77 | [RFC4566] | 1013 | a=mid:audio | [RFC5888] | 1014 | a=msid:ma ta | Identifies | 1015 | | RTCMediaStream ID | 1016 | | (ma) and | 1017 | | RTCMediaStreamTrack | 1018 | | ID (ta) | 1019 | a=sendrecv | [RFC3264] - Bob can | 1020 | | send and recv audio | 1021 | a=rtpmap:109 opus/48000/2 | [RFC7587] - Bob | 1022 | | accepts only Opus | 1023 | | Codec | 1024 | a=maxptime:120 | [RFC4566] | 1025 | a=ice-ufrag:c300d85b | [RFC5245] - ICE | 1026 | | username frag | 1027 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] - ICE | 1028 | | password | 1029 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] - DTLS | 1030 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | Fingerprint for | 1031 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | SRTP | 1032 | a=setup:active | [RFC5763] - Bob is | 1033 | | the DTLS client | 1034 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 1035 | | ls-sdp] | 1036 | a=rtcp-mux | [RFC5761] - Bob can | 1037 | | perform RTP/RTCP | 1038 | | Muxing | 1039 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 1040 | | x-exclusive] | 1041 | a=rtcp-rsize | [RFC5506] - Bob | 1042 | | intends to use | 1043 | | reduced size RTCP | 1044 | | for this session | 1045 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 1046 | audio-level | | 1047 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1048 | hdrext:sdes:mid | p-bundle-negotiatio | 1049 | | n] | 1050 | a=candidate:0 1 UDP 3618095783 198.51.100.7 | [RFC5245] - | 1051 | 49203 typ host | RTP/RTCP Host ICE | 1052 | | Candidate | 1053 | a=candidate:0 1 UDP 3618095783 | [RFC5245] - | 1054 | 2001:DB8:30c:1266:5916:3779:22f6:77f7 49203 | RTP/RTCP IPv6 Host | 1055 | typ host | ICE Candidate | 1056 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 1057 | | ickle-ice] | 1058 | ****** Video m=line ********* | ******************* | 1059 | | ********** | 1060 | m=video 0 UDP/TLS/RTP/SAVPF 99 | [RFC4566] | 1061 | c=IN IP4 203.0.113.77 | [RFC4566] | 1062 | a=bundle-only | [I-D.ietf-mmusic-sd | 1063 | | p-bundle-negotiatio | 1064 | | n] | 1065 | a=mid:video | [RFC5888] | 1066 | a=msid:ma tb | Identifies | 1067 | | RTCMediaStream ID | 1068 | | (ma) and | 1069 | | RTCMediaStreamTrack | 1070 | | ID (tb) | 1071 | a=sendrecv | [RFC3264] - Bob can | 1072 | | send and recv video | 1073 | a=rtpmap:99 H264/90000 | [RFC6184] - Bob | 1074 | | accepts H.264 Video | 1075 | | Codec. | 1076 | a=fmtp:99 profile-level- | [RFC6184] | 1077 | id=4d0028;packetization-mode=1 | | 1078 | a=rtcp-fb:99 nack | [RFC5104] - | 1079 | | Indicates support | 1080 | | for NACK based RTCP | 1081 | | feedback | 1082 | a=rtcp-fb:99 nack pli | [RFC5104] - | 1083 | | Indicates support | 1084 | | for Picture loss | 1085 | | Indication and NACK | 1086 | a=rtcp-fb:99 ccm fir | [RFC5104] - Full | 1087 | | Intra Frame | 1088 | | Request- Codec | 1089 | | Control Message | 1090 | | support | 1091 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1092 | hdrext:sdes:mid | p-bundle-negotiatio | 1093 | | n] | 1094 +---------------------------------------------+---------------------+ 1096 Table 6: 5.2.2.2 SDP Answer 1098 5.2.3. Data Only Session 1100 This scenario illustrates the SDP negotiated to setup a data-only 1101 session based on the SCTP Data Channel, thus enabling use-cases such 1102 as file-transfer, real-time game control for example. 1104 2-Way DataChannel Session 1106 Alice Bob 1107 | | 1108 | | 1109 | | 1110 | Offer(DataChannel) | 1111 |-------------------------------->| 1112 | | 1113 | | 1114 | Answer(DataChannel) | 1115 |<--------------------------------| 1116 | | 1117 | | 1118 | Two-way SCTP based DataChannel | 1119 |.................................| 1120 | | 1121 | | 1122 +---------------------------------------------+---------------------+ 1123 | Offer SDP Contents | RFC#/Notes | 1124 +---------------------------------------------+---------------------+ 1125 | v=0 | [RFC4566] | 1126 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 1127 | | Origin Information | 1128 | s=- | [RFC4566] | 1129 | t=0 0 | [RFC4566] | 1130 | a=group:BUNDLE data | [I-D.ietf-mmusic-sd | 1131 | | p-bundle-negotiatio | 1132 | | n] | 1133 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 1134 | | ickle-ice] | 1135 | ****** Application m=line ********* | ******************* | 1136 | | ********** | 1137 | m=application 54609 UDP/DTLS/SCTP webrtc- | [I-D.ietf-rtcweb-da | 1138 | datachannel | ta-channel] | 1139 | c=IN IP4 203.0.113.141 | [RFC4566] | 1140 | a=mid:data | [RFC5888] | 1141 | a=sendrecv | [RFC3264] - Alice | 1142 | | can send and recv | 1143 | | non-media data | 1144 | a=sctp-port:5000 | [I-D.ietf-mmusic-sc | 1145 | | tp-sdp] | 1146 | a=max-message-size:100000 | [I-D.ietf-mmusic-sc | 1147 | | tp-sdp] | 1148 | a=setup:actpass | [RFC5763] - Alice | 1149 | | can act as DTLS | 1150 | | client or server | 1151 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 1152 | | ls-sdp] | 1153 | a=ice-ufrag:074c6550 | [RFC5245] - Session | 1154 | | Level ICE parameter | 1155 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] - Session | 1156 | | Level ICE parameter | 1157 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] - Session | 1158 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | DTLS Fingerprint | 1159 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | for SRTP | 1160 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 1161 | 61665 typ host | | 1162 | a=candidate:1 1 UDP 1694302207 | [RFC5245] | 1163 | 203.0.113.141 54609 typ srflx raddr | | 1164 | 192.0.2.4 rport 61665 | | 1165 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 1166 | | ickle-ice] | 1167 +---------------------------------------------+---------------------+ 1169 Table 7: 5.2.3 SDP Offer 1171 +---------------------------------------------+---------------------+ 1172 | Answer SDP Contents | RFC#/Notes | 1173 +---------------------------------------------+---------------------+ 1174 | v=0 | [RFC4566] | 1175 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 1176 | | Origin Information | 1177 | s=- | [RFC4566] | 1178 | t=0 0 | [RFC4566] | 1179 | a=group:BUNDLE data | [I-D.ietf-mmusic-sd | 1180 | | p-bundle-negotiatio | 1181 | | n] | 1182 | ****** Application m=line ********* | ******************* | 1183 | | ********** | 1184 | m=application 49203 UDP/DTLS/SCTP webrtc- | [I-D.ietf-mmusic-sc | 1185 | datachannel | tp-sdp] | 1186 | c=IN IP4 203.0.113.77 | [RFC4566] | 1187 | a=mid:data | [RFC5888] | 1188 | a=sendrecv | [RFC3264] - Bob can | 1189 | | send and recv non- | 1190 | | media data | 1191 | a=sctp-port:5000 | [I-D.ietf-mmusic-sc | 1192 | | tp-sdp] | 1193 | a=max-message-size:100000 | [I-D.ietf-mmusic-sc | 1194 | | tp-sdp] | 1195 | a=setup:active | [RFC5763] - Bob is | 1196 | | the DTLS client | 1197 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 1198 | | ls-sdp] | 1199 | a=ice-ufrag:c300d85b | [RFC5245] - Session | 1200 | | Level ICE username | 1201 | | frag | 1202 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] - Session | 1203 | | Level ICE password | 1204 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] - Session | 1205 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | DTLS Fingerprint | 1206 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | for SRTP | 1207 | a=candidate:0 1 UDP 2113667327 198.51.100.7 | [RFC5245] | 1208 | 51556 typ host | | 1209 | a=candidate:1 1 UDP 1694302207 203.0.113.77 | [RFC5245] | 1210 | 49203 typ srflx raddr 198.51.100.7 rport | | 1211 | 51556 | | 1212 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 1213 | | ickle-ice] | 1214 +---------------------------------------------+---------------------+ 1216 Table 8: 5.2.3 SDP Answer 1218 5.2.4. Audio Call On Hold 1220 Alice calls Bob, but when Bob answers he places Alice on hold by 1221 setting the SDP direction attribute to a=inactive in the Answer. 1223 Audio On Hold 1225 Alice Bob 1226 | | 1227 | | 1228 | Offer(Audio:Opus) | 1229 |-------------------------------->| 1230 | | 1231 | | 1232 | Answer(Audio:Opus,a=inactive) | 1233 |<--------------------------------| 1234 | | 1235 | | 1236 | One-way Opus Audio | 1237 |.................................| 1238 | | 1239 | 1241 +---------------------------------------------+---------------------+ 1242 | Offer SDP Contents | RFC#/Notes | 1243 +---------------------------------------------+---------------------+ 1244 | v=0 | [RFC4566] | 1245 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 1246 | | Origin Information | 1247 | s=- | [RFC4566] | 1248 | t=0 0 | [RFC4566] | 1249 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sd | 1250 | | p-bundle-negotiatio | 1251 | | n] | 1252 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 1253 | | ickle-ice] | 1254 | ****** Audio m=line ********* | ******************* | 1255 | | ********** | 1256 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 1257 | c=IN IP4 203.0.113.141 | [RFC4566] | 1258 | a=mid:audio | [RFC5888] | 1259 | a=msid:ma ta | Identifies | 1260 | | RTCMediaStream ID | 1261 | | (ma) and | 1262 | | RTCMediaStreamTrack | 1263 | | ID (ta) | 1264 | a=sendrecv | [RFC3264] - Alice | 1265 | | can send and recv | 1266 | | audio | 1267 | a=rtpmap:109 opus/48000/2 | [RFC7587] - Opus | 1268 | | Codec 48khz, 2 | 1269 | | channels | 1270 | a=maxptime:120 | [RFC4566] | 1271 | a=ice-ufrag:074c6550 | [RFC5245] - ICE | 1272 | | user fragment | 1273 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] - ICE | 1274 | | password | 1275 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] - DTLS | 1276 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | Fingerprint for | 1277 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | SRTP | 1278 | a=setup:actpass | [RFC5763] - Alice | 1279 | | can act as DTLS | 1280 | | client or server | 1281 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 1282 | | ls-sdp] | 1283 | a=rtcp-mux | [RFC5761] - Alice | 1284 | | can perform | 1285 | | RTP/RTCP Muxing | 1286 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 1287 | | x-exclusive] | 1288 | a=rtcp-rsize | [RFC5506] | 1289 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 1290 | audio-level | | 1291 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1292 | hdrext:sdes:mid | p-bundle-negotiatio | 1293 | | n] | 1294 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 1295 | 61665 typ host | | 1296 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 1297 | 203.0.113.141 54609 typ srflx raddr | | 1298 | 192.0.2.4 rport 61665 | | 1299 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 1300 | | ickle-ice] | 1301 +---------------------------------------------+---------------------+ 1303 Table 9: 5.2.4 SDP Offer 1305 +---------------------------------------------+---------------------+ 1306 | Answer SDP Contents | RFC#/Notes | 1307 +---------------------------------------------+---------------------+ 1308 | v=0 | [RFC4566] | 1309 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 1310 | | Origin Information | 1311 | s=- | [RFC4566] | 1312 | t=0 0 | [RFC4566] | 1313 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sd | 1314 | | p-bundle-negotiatio | 1315 | | n] | 1316 | ****** Audio m=line ********* | ******************* | 1317 | | ********** | 1318 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 1319 | c=IN IP4 203.0.113.77 | [RFC4566] | 1320 | a=mid:audio | [RFC5888] | 1321 | a=msid:ma ta | Identifies | 1322 | | RTCMediaStream ID | 1323 | | (ma) and | 1324 | | RTCMediaStreamTrack | 1325 | | ID (ta) | 1326 | a=inactive | [RFC3264] - Bob | 1327 | | puts call On Hold | 1328 | a=rtpmap:109 opus/48000/2 | [RFC7587] - Bob | 1329 | | accepts Opus Codec | 1330 | a=maxptime:120 | [RFC4566] | 1331 | a=ice-ufrag:c300d85b | [RFC5245] - ICE | 1332 | | username frag | 1333 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] - ICE | 1334 | | password | 1335 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] - DTLS | 1336 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | Fingerprint for | 1337 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | SRTP | 1338 | a=setup:active | [RFC5763] - Bob is | 1339 | | the DTLS client | 1340 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 1341 | | ls-sdp] | 1342 | a=rtcp-mux | [RFC5761] - Bob can | 1343 | | perform RTP/RTCP | 1344 | | Muxing | 1345 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 1346 | | x-exclusive] | 1347 | a=rtcp-rsize | [RFC5506] | 1348 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 1349 | audio-level | | 1350 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1351 | hdrext:sdes:mid | p-bundle-negotiatio | 1352 | | n] | 1353 | a=candidate:0 1 UDP 2113667327 198.51.100.7 | [RFC5245] - Host | 1354 | 51556 typ host | candidate | 1355 | a=candidate:1 1 UDP 1685987071 | [RFC5245] - Server | 1356 | 203.0.113.141 49203 typ srflx raddr | Reflexive candidate | 1357 | 198.51.100.7 rport 51556 | | 1358 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 1359 | | ickle-ice] | 1360 +---------------------------------------------+---------------------+ 1362 Table 10: 5.2.4 SDP Answer 1364 5.2.5. Audio with DTMF Session 1366 In this example, Alice wishes to establish two separate audio 1367 streams, one for normal audio and the other for telephone-events. 1368 Alice offers first audio stream with three codecs and the other with 1369 [RFC4733] tones (for DTMF). Bob accepts both the audio streams by 1370 choosing Opus as the audio codec and telephone-event for the other 1371 stream. 1373 Audio Session with DTMF 1375 Alice Bob 1376 | | 1377 | | 1378 | | 1379 | Offer(Audio:Opus,PCMU,PCMA Audio:telephone-event)| 1380 |-------------------------------------------------->| 1381 | | 1382 | | 1383 | Answer(Audio:Opus, Audio:telephone-event) | 1384 |<--------------------------------------------------| 1385 | | 1386 | | 1387 | Opus audio stream and telephone-event stream | 1388 |...................................................| 1389 | | 1391 +---------------------------------------------+---------------------+ 1392 | Offer SDP Contents | RFC#/Notes | 1393 +---------------------------------------------+---------------------+ 1394 | v=0 | [RFC4566] | 1395 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 1396 | | Origin Information | 1397 | s=- | [RFC4566] | 1398 | t=0 0 | [RFC4566] | 1399 | a=group:BUNDLE audio dtmf | [I-D.ietf-mmusic-sd | 1400 | | p-bundle-negotiatio | 1401 | | n] | 1402 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 1403 | | ickle-ice] | 1404 | ****** Audio m=line ********* | ******************* | 1405 | | ********** | 1406 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 0 8 | [RFC4566] | 1407 | c=IN IP4 203.0.113.141 | [RFC4566] | 1408 | a=mid:audio | [RFC5888] | 1409 | a=msid:ma ta | Identifies | 1410 | | RTCMediaStream ID | 1411 | | (ma) and | 1412 | | RTCMediaStreamTrack | 1413 | | ID (ta) | 1414 | a=sendrecv | [RFC3264] - Alice | 1415 | | can send and recv | 1416 | | audio | 1417 | a=rtpmap:109 opus/48000/2 | [RFC7587] - Opus | 1418 | | Codec 48khz, 2 | 1419 | | channels | 1420 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU | 1421 | | Audio Codec | 1422 | a=rtpmap:8 PCMA/8000 | [RFC3551] PCMA | 1423 | | Audio Codec | 1424 | a=maxptime:120 | [RFC4566] | 1425 | a=ice-ufrag:074c6550 | [RFC5245] - ICE | 1426 | | user fragment | 1427 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] - ICE | 1428 | | password parameter | 1429 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] - DTLS | 1430 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | Fingerprint for | 1431 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | SRTP | 1432 | a=setup:actpass | [RFC5763] - Alice | 1433 | | can act as DTLS | 1434 | | client or server | 1435 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 1436 | | ls-sdp] | 1437 | a=rtcp-mux | [RFC5761] - Alice | 1438 | | can perform | 1439 | | RTP/RTCP Muxing | 1440 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 1441 | | x-exclusive] | 1442 | a=rtcp-rsize | [RFC5506] | 1443 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 1444 | audio-level | | 1445 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1446 | hdrext:sdes:mid | p-bundle-negotiatio | 1447 | | n] | 1448 | a=candidate:0 1 UDP 2122194687 192.0.2.4 | [RFC5245] | 1449 | 61665 typ host | | 1450 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 1451 | 203.0.113.141 54609 typ srflx raddr | | 1452 | 192.0.2.4 rport 61665 | | 1453 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 1454 | | ickle-ice] | 1455 | ****** DTMF m=line ********* | ******************* | 1456 | | ********** | 1457 | m=audio 0 UDP/TLS/RTP/SAVPF 126 | [RFC4566] | 1458 | c=IN IP4 203.0.113.141 | [RFC4566] | 1459 | a=bundle-only | [I-D.ietf-mmusic-sd | 1460 | | p-bundle-negotiatio | 1461 | | n] | 1462 | a=mid:dtmf | [RFC5888] | 1463 | a=msid:ma tb | Identifies | 1464 | | RTCMediaStream ID | 1465 | | (ma) and | 1466 | | RTCMediaStreamTrack | 1467 | | ID (tb) | 1468 | a=sendonly | [RFC3264] - Alice | 1469 | | can send DTMF | 1470 | | Events | 1471 | a=rtpmap:126 telephone-event/8000 | [RFC4733] | 1472 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1473 | hdrext:sdes:mid | p-bundle-negotiatio | 1474 | | n] | 1475 +---------------------------------------------+---------------------+ 1477 Table 11: 5.2.5 SDP Offer 1479 +---------------------------------------------+---------------------+ 1480 | Answer SDP Contents | RFC#/Notes | 1481 +---------------------------------------------+---------------------+ 1482 | v=0 | [RFC4566] | 1483 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 1484 | | Origin Information | 1485 | s=- | [RFC4566] | 1486 | t=0 0 | [RFC4566] | 1487 | a=group:BUNDLE audio dtmf | [I-D.ietf-mmusic-sd | 1488 | | p-bundle-negotiatio | 1489 | | n] | 1490 | ****** Audio m=line ********* | ******************* | 1491 | | ********** | 1492 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 1493 | c=IN IP4 203.0.113.77 | [RFC4566] | 1494 | a=mid:audio | [RFC5888] | 1495 | a=msid:ma ta | Identifies | 1496 | | RTCMediaStream ID | 1497 | | (ma) and | 1498 | | RTCMediaStreamTrack | 1499 | | ID (ta) | 1500 | a=sendrecv | [RFC3264] - Bob can | 1501 | | send and receive | 1502 | | Opus audio | 1503 | a=rtpmap:109 opus/48000/2 | [RFC7587] - Bob | 1504 | | accepts Opus Codec | 1505 | a=maxptime:120 | [RFC4566] | 1506 | a=ice-ufrag:c300d85b | [RFC5245] - ICE | 1507 | | username frag | 1508 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] - ICE | 1509 | | password | 1510 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] - | 1511 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | Fingerprint for | 1512 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | SRTP | 1513 | a=setup:active | [RFC5763] - Bob is | 1514 | | the DTLS client | 1515 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 1516 | | ls-sdp] | 1517 | a=rtcp-mux | [RFC5761] - Bob can | 1518 | | perform RTP/RTCP | 1519 | | Muxing on port | 1520 | | 49203 | 1521 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 1522 | | x-exclusive] | 1523 | a=rtcp-rsize | [RFC5506] - Alice | 1524 | | intends to use | 1525 | | reduced size RTCP | 1526 | | for this session | 1527 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 1528 | audio-level | | 1529 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1530 | hdrext:sdes:mid | p-bundle-negotiatio | 1531 | | n] | 1532 | a=candidate:0 1 UDP 2122194687 198.51.100.7 | [RFC5245] | 1533 | 51556 typ host | | 1534 | a=candidate:1 1 UDP 1685987071 203.0.113.77 | [RFC5245] | 1535 | 49203 typ srflx raddr 198.51.100.7 rport | | 1536 | 51556 | | 1537 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 1538 | | ickle-ice] | 1539 | ****** DTMF m=line ********* | ******************* | 1540 | | ********** | 1541 | m=audio 0 UDP/TLS/RTP/SAVPF 126 | [RFC4566] | 1542 | c=IN IP4 203.0.113.77 | [RFC4566] | 1543 | a=bundle-only | [I-D.ietf-mmusic-sd | 1544 | | p-bundle-negotiatio | 1545 | | n] | 1546 | a=mid:dtmf | [RFC5888] | 1547 | a=msid:ma tb | Identifies | 1548 | | RTCMediaStream ID | 1549 | | (ma) and | 1550 | | RTCMediaStreamTrack | 1551 | | ID (tb) | 1552 | a=recvonly | [RFC3264] - Alice | 1553 | | can receive DTMF | 1554 | | events | 1555 | a=rtpmap:126 telephone-event/8000 | [RFC4733] | 1556 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1557 | hdrext:sdes:mid | p-bundle-negotiatio | 1558 | | n] | 1559 +---------------------------------------------+---------------------+ 1561 Table 12: 5.2.5 SDP Answer 1563 5.2.6. One Way Audio/Video Session - Document Camera 1565 In this scenario Alice and Bob engage in a 1 way audio and video 1566 session with Bob receiving Alice's audio and her presentation slides 1567 as video stream. 1569 One Way Audio & Video Session - Document Camera 1571 Alice Bob 1572 | | 1573 | | 1574 | | 1575 | Alice Offers sendonly audio and video streams. | 1576 | The video stream corresponds to her presentation | 1577 | | 1578 | Offer(Audio:Opus, Video: VP8) | 1579 |----------------------------------------------------->| 1580 | | 1581 | | 1582 | (Audio:Opus, Video: VP8) | 1583 |<-----------------------------------------------------| 1584 | | 1585 | | 1586 | One-way Opus Audio, VP8 Video | 1587 |......................................................| 1588 | Bob can hear Alice and see her presentation slides.| 1589 | | 1590 | | 1591 +---------------------------------------------+---------------------+ 1592 | Offer SDP Contents | RFC#/Notes | 1593 +---------------------------------------------+---------------------+ 1594 | v=0 | [RFC4566] | 1595 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 1596 | s=- | [RFC4566] | 1597 | t=0 0 | [RFC4566] | 1598 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 1599 | | p-bundle-negotiatio | 1600 | | n] | 1601 | a=group:LS audio video | [RFC5888] | 1602 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 1603 | | ickle-ice] | 1604 | ****** Audio m=line ********* | ******************* | 1605 | | ********** | 1606 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 1607 | c=IN IP4 203.0.113.141 | [RFC4566] | 1608 | a=mid:audio | [RFC5888] | 1609 | a=msid:ma ta | Identifies | 1610 | | RTCMediaStream ID | 1611 | | (ma) and | 1612 | | RTCMediaStreamTrack | 1613 | | ID (ta) | 1614 | a=sendonly | [RFC3264] - Send | 1615 | | only audio stream | 1616 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 1617 | a=maxptime:120 | [RFC4566] | 1618 | a=ice-ufrag:074c6550 | [RFC5245] | 1619 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 1620 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 1621 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 1622 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 1623 | a=setup:actpass | [RFC5763] - Alice | 1624 | | can act as DTLS | 1625 | | client or server | 1626 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 1627 | | ls-sdp] | 1628 | a=rtcp-mux | [RFC5761] | 1629 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 1630 | | x-exclusive] | 1631 | a=rtcp-rsize | [RFC5506] | 1632 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 1633 | audio-level | | 1634 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1635 | hdrext:sdes:mid | p-bundle-negotiatio | 1636 | | n] | 1637 | a=candidate:0 1 UDP 2122194687 | [RFC5245] | 1638 | 203.0.113.141 54609 typ host | | 1639 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 1640 | | ickle-ice] | 1641 | ****** Video m=line ********* | ******************* | 1642 | | ********** | 1643 | m=video 0 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 1644 | c=IN IP4 203.0.113.141 | [RFC4566] | 1645 | a=bundle-only | [I-D.ietf-mmusic-sd | 1646 | | p-bundle-negotiatio | 1647 | | n] | 1648 | a=mid:video | [RFC5888] | 1649 | a=msid:ma tb | Identifies | 1650 | | RTCMediaStream ID | 1651 | | (ma) and | 1652 | | RTCMediaStreamTrack | 1653 | | ID (tb) | 1654 | a=sendonly | [RFC3264] - Send | 1655 | | only video stream | 1656 | a=rtpmap:120 VP8/90000 | [RFC7741] | 1657 | a=content:slides | [RFC4796] - Alice's | 1658 | | presentation video | 1659 | | stream | 1660 | a=rtcp-fb:120 nack | [RFC5104] | 1661 | a=rtcp-fb:120 nack pli | [RFC5104] | 1662 | a=rtcp-fb:120 ccm fir | [RFC5104] | 1663 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1664 | hdrext:sdes:mid | p-bundle-negotiatio | 1665 | | n] | 1666 +---------------------------------------------+---------------------+ 1668 Table 13: 5.2.6 SDP Offer 1670 +---------------------------------------------+---------------------+ 1671 | Answer SDP Contents | RFC#/Notes | 1672 +---------------------------------------------+---------------------+ 1673 | v=0 | [RFC4566] | 1674 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] | 1675 | s=- | [RFC4566] | 1676 | t=0 0 | [RFC4566] | 1677 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 1678 | | p-bundle-negotiatio | 1679 | | n] | 1680 | a=group:LS audio video | [RFC5888] | 1681 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 1682 | | ickle-ice] | 1683 | ****** Audio m=line ********* | ******************* | 1684 | | ********** | 1685 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 1686 | c=IN IP4 203.0.113.77 | [RFC4566] | 1687 | a=mid:audio | [RFC5888] | 1688 | a=msid:ma ta | Identifies | 1689 | | RTCMediaStream ID | 1690 | | (ma) and | 1691 | | RTCMediaStreamTrack | 1692 | | ID (ta) | 1693 | a=recvonly | [RFC3264] - Receive | 1694 | | only audio stream | 1695 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 1696 | a=maxptime:120 | [RFC4566] | 1697 | a=ice-ufrag:c300d85b | [RFC5245] | 1698 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] | 1699 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 1700 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 1701 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 1702 | a=setup:active | [RFC5763] - Bob is | 1703 | | the DTLS client | 1704 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 1705 | | ls-sdp] | 1706 | a=rtcp-mux | [RFC5761] | 1707 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 1708 | | x-exclusive] | 1709 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 1710 | audio-level | | 1711 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1712 | hdrext:sdes:mid | p-bundle-negotiatio | 1713 | | n] | 1714 | a=candidate:0 1 UDP 2113667327 203.0.113.77 | [RFC5245] | 1715 | 49203 typ host | | 1716 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 1717 | | ickle-ice] | 1718 | ****** Video m=line ********* | ******************* | 1719 | | ********** | 1720 | m=video 0 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 1721 | c=IN IP4 203.0.113.77 | [RFC4566] | 1722 | a=bundle-only | [I-D.ietf-mmusic-sd | 1723 | | p-bundle-negotiatio | 1724 | | n] | 1725 | a=mid:video | [RFC5888] | 1726 | a=msid:ma tb | Identifies | 1727 | | RTCMediaStream ID | 1728 | | (ma) and | 1729 | | RTCMediaStreamTrack | 1730 | | ID (tb) | 1731 | a=recvonly | [RFC3264] | 1732 | a=rtpmap:120 VP8/90000 | [RFC7741] | 1733 | a=content:slides | [RFC4796] - | 1734 | | presentation stream | 1735 | a=rtcp-fb:120 nack | [RFC5104] | 1736 | a=rtcp-fb:120 nack pli | [RFC5104] | 1737 | a=rtcp-fb:120 ccm fir | [RFC5104] | 1738 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1739 | hdrext:sdes:mid | p-bundle-negotiatio | 1740 | | n] | 1741 +---------------------------------------------+---------------------+ 1743 Table 14: 5.2.6 SDP Answer 1745 5.2.7. Audio, Video Session with BUNDLE Support Unknown 1747 In this example, since Alice is unsure of the Bob's support of the 1748 BUNDLE framework, following steps are performed in order to negotiate 1749 and setup a BUNDLE Address for the session 1751 o An SDP Offer, in which the Alice assigns unique addresses to each 1752 "m=" line in the BUNDLE group, and requests the Answerer to select 1753 the Offerer's BUNDLE address. 1755 o An SDP Answer, in which the Bob indicates its support for BUNDLE, 1756 selects the offerer's BUNDLE address, selects its own BUNDLE 1757 address and associates it with each BUNDLED m=line within the 1758 BUNDLE group. 1760 Once the Offer/Answer exchange completes, both Alice and Bob each end 1761 up using single RTP Session for both the Media Streams. 1763 Two-Way Secure Audio,Video with BUNDLE support unknown 1765 Alice Bob 1766 | | 1767 | | 1768 | Alice offers BUNDLE support with unique address | 1769 | for the audio and video m-line | 1770 | | 1771 | | 1772 | Offer(Audio:Opus Video:VP8) | 1773 |----------------------------------------------------->| 1774 | |Bob 1775 | |supports 1776 | |BUNDLE, 1777 | |Uses 1778 | |identical 1779 | |address 1780 | Answer(Audio:Opus Video:VP8) | 1781 |<-----------------------------------------------------| 1782 | | 1783 | 2 Way Call with Audio and Video Multiplexed | 1784 |......................................................| 1785 | | 1787 +---------------------------------------------+---------------------+ 1788 | Offer SDP Contents | RFC#/Notes | 1789 +---------------------------------------------+---------------------+ 1790 | v=0 | [RFC4566] | 1791 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 1792 | s=- | [RFC4566] | 1793 | t=0 0 | [RFC4566] | 1794 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 1795 | | p-bundle-negotiatio | 1796 | | n] Alice supports | 1797 | | grouping of m=lines | 1798 | | under BUNDLE | 1799 | | semantics | 1800 | a=group:LS audio video | [RFC5888] | 1801 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 1802 | | ickle-ice] | 1803 | ****** Audio m=line ********* | ******************* | 1804 | | ********** | 1805 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 1806 | c=IN IP4 203.0.113.141 | [RFC4566] | 1807 | a=mid:audio | [RFC5888] Audio | 1808 | | m=line part of | 1809 | | BUNDLE group with a | 1810 | | unique port number | 1811 | a=msid:ma ta | Identifies | 1812 | | RTCMediaStream ID | 1813 | | (ma) and | 1814 | | RTCMediaStreamTrack | 1815 | | ID (ta) | 1816 | a=sendrecv | [RFC3264] | 1817 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 1818 | a=maxptime:120 | [RFC4566] | 1819 | a=ice-ufrag:074c6550 | [RFC5245] | 1820 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 1821 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 1822 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 1823 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 1824 | a=setup:actpass | [RFC5763] - Alice | 1825 | | can act as DTLS | 1826 | | client or server | 1827 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 1828 | | ls-sdp] | 1829 | a=rtcp-mux | [RFC5761] | 1830 | a=rtcp:54610 IN IP4 203.0.113.141 | [RFC3605] - RTCP | 1831 | | port different from | 1832 | | RTP Port | 1833 | a=rtcp-rsize | [RFC5506] | 1834 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 1835 | audio-level | | 1836 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1837 | hdrext:sdes:mid | p-bundle-negotiatio | 1838 | | n] | 1839 | a=candidate:0 1 UDP 2122194687 192.0.2.4 | [RFC5245] - RTP | 1840 | 61665 typ host | host candidate | 1841 | a=candidate:1 1 UDP 1685987071 | [RFC5245] - RTP | 1842 | 203.0.113.141 54609 typ srflx raddr | Server Reflexive | 1843 | 192.0.2.4 rport 61665 | candidate | 1844 | a=candidate:0 2 UDP 2122194687 192.0.2.4 | [RFC5245] - RTCP | 1845 | 61666 typ host | host candidate | 1846 | a=candidate:1 2 UDP 1685987071 | [RFC5245] - RTCP | 1847 | 203.0.113.141 54610 typ srflx raddr | Server Reflexive | 1848 | 192.0.2.4 rport 61666 | candidate | 1849 | ****** Video m=line ********* | ******************* | 1850 | | ********** | 1851 | m=video 62537 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 1852 | c=IN IP4 203.0.113.141 | [RFC4566] | 1853 | a=mid:video | [RFC5888] Video | 1854 | | m=line part of the | 1855 | | Bundle group with a | 1856 | | unique port number | 1857 | a=msid:ma tb | Identifies | 1858 | | RTCMediaStream ID | 1859 | | (ma) and | 1860 | | RTCMediaStreamTrack | 1861 | | ID (tb) | 1862 | a=sendrecv | [RFC3264] | 1863 | a=rtpmap:120 VP8/90000 | [RFC7741] | 1864 | a=ice-ufrag:6550074c | [RFC5245] | 1865 | a=ice-pwd:74af08a068a28a397a4c3f31747d1ee34 | [RFC5245] | 1866 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 1867 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 1868 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 1869 | a=setup:actpass | [RFC5763] - Alice | 1870 | | can act as DTLS | 1871 | | client or server | 1872 | a=tls-id:UKA29UQLTF69OJW4WNPNUO2Y0GF1FJOZ | [I-D.ietf-mmusic-dt | 1873 | | ls-sdp] | 1874 | a=rtcp-mux | [RFC5761] | 1875 | a=rtcp:62538 IN IP4 203.0.113.141 | [RFC3605] | 1876 | a=rtcp-rsize | [RFC5506] | 1877 | a=rtcp-fb:120 nack | [RFC5104] | 1878 | a=rtcp-fb:120 nack pli | [RFC5104] | 1879 | a=rtcp-fb:120 ccm fir | [RFC5104] | 1880 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1881 | hdrext:sdes:mid | p-bundle-negotiatio | 1882 | | n] | 1883 | a=candidate:0 1 UDP 2122194687 192.0.2.4 | [RFC5245] - RTP | 1884 | 61886 typ host | Host candidate | 1885 | a=candidate:1 1 UDP 1685987071 | [RFC5245] - RTP | 1886 | 203.0.113.141 62537 typ srflx raddr | Server Reflexive | 1887 | 192.0.2.4 rport 61886 | candidate | 1888 | a=candidate:0 2 UDP 2122194687 192.0.2.4 | [RFC5245] - RTCP | 1889 | 61888 typ host | host candidate | 1890 | a=candidate:1 2 UDP 1685987071 | [RFC5245] - RTCP | 1891 | 203.0.113.141 62538 typ srflx raddr | Server Reflexive | 1892 | 192.0.2.4 rport 61888 | candidate | 1893 +---------------------------------------------+---------------------+ 1895 Table 15: 5.2.7 SDP Offer w/BUNDLE 1897 +---------------------------------------------+---------------------+ 1898 | Answer SDP Contents | RFC#/Notes | 1899 +---------------------------------------------+---------------------+ 1900 | v=0 | [RFC4566] | 1901 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] | 1902 | s=- | [RFC4566] | 1903 | t=0 0 | [RFC4566] | 1904 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 1905 | | p-bundle-negotiatio | 1906 | | n] Bob supports | 1907 | | BUNDLE semantics. | 1908 | a=group:LS audio video | [RFC5888] | 1909 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 1910 | | ickle-ice] | 1911 | ****** Audio m=line ********* | ******************* | 1912 | | ********** | 1913 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 1914 | c=IN IP4 203.0.113.77 | [RFC4566] | 1915 | a=mid:audio | [RFC5888] Audio | 1916 | | m=line part of the | 1917 | | BUNDLE group | 1918 | a=msid:ma ta | Identifies | 1919 | | RTCMediaStream ID | 1920 | | (ma) and | 1921 | | RTCMediaStreamTrack | 1922 | | ID (ta) | 1923 | a=sendrecv | [RFC3264] | 1924 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 1925 | a=maxptime:120 | [RFC4566] | 1926 | a=ice-ufrag:c300d85b | [RFC5245] | 1927 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] | 1928 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 1929 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 1930 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 1931 | a=setup:active | [RFC5763] - Bob is | 1932 | | the DTLS client | 1933 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 1934 | | ls-sdp] | 1935 | a=rtcp-mux | [RFC5761] | 1936 | a=rtcp-rsize | [RFC5506] | 1937 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 1938 | audio-level | | 1939 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1940 | hdrext:sdes:mid | p-bundle-negotiatio | 1941 | | n] | 1942 | a=candidate:0 1 UDP 2122194687 198.51.100.7 | [RFC5245] | 1943 | 49203 typ host | | 1944 | a=candidate:1 1 UDP 1685987071 203.0.113.77 | [RFC5245] | 1945 | 51556 typ srflx raddr 198.51.100.7 rport | | 1946 | 49203 | | 1947 | ****** Video m=line ********* | ******************* | 1948 | | ********** | 1949 | m=video 0 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 1950 | c=IN IP4 203.0.113.77 | [RFC4566] | 1951 | a=bundle-only | [I-D.ietf-mmusic-sd | 1952 | | p-bundle-negotiatio | 1953 | | n] | 1954 | a=mid:video | [RFC5888] Video | 1955 | | m=line part of the | 1956 | | BUNDLE group with | 1957 | | the port from audio | 1958 | | line repeated | 1959 | a=msid:ma tb | Identifies | 1960 | | RTCMediaStream ID | 1961 | | (ma) and | 1962 | | RTCMediaStreamTrack | 1963 | | ID (tb) | 1964 | a=sendrecv | [RFC3264] | 1965 | a=rtpmap:120 VP8/90000 | [RFC7741] | 1966 | a=rtcp-fb:120 nack | [RFC5104] | 1967 | a=rtcp-fb:120 nack pli | [RFC5104] | 1968 | a=rtcp-fb:120 ccm fir | [RFC5104] | 1969 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 1970 | hdrext:sdes:mid | p-bundle-negotiatio | 1971 | | n] | 1972 +---------------------------------------------+---------------------+ 1974 Table 16: 5.2.7 SDP Answer w/BUNDLE 1976 5.2.8. Audio, Video and Data Session 1978 This example shows SDP for negotiating a session with Audio, Video 1979 and data streams between Alice and Bob with BUNDLE support known. 1981 Audio,Video,Data with BUNDLE support known 1983 Alice Bob 1984 | | 1985 | | 1986 | Alice indicates BUNDLE support with | 1987 | identical address across all the m=lines | 1988 | | 1989 | | 1990 | Offer(Audio:Opus Video:VP8 Data) | 1991 |------------------------------------------->| 1992 | |Bob does 1993 | |the same 1994 | Answer(Audio:Opus,Video:VP8 Data) | 1995 |<-------------------------------------------| 1996 | | 1997 | | 1998 | | 1999 | Two-way Audio,Video, Data multiplexed | 2000 |............................................| 2001 | | 2002 | | 2004 +---------------------------------------------+---------------------+ 2005 | Offer SDP Contents | RFC#/Notes | 2006 +---------------------------------------------+---------------------+ 2007 | v=0 | [RFC4566] | 2008 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 2009 | s=- | [RFC4566] | 2010 | t=0 0 | [RFC4566] | 2011 | a=group:BUNDLE audio video data | [I-D.ietf-mmusic-sd | 2012 | | p-bundle-negotiatio | 2013 | | n] | 2014 | a=group:LS audio video | [RFC5888] | 2015 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 2016 | | ickle-ice] | 2017 | ****** Audio m=line ********* | ******************* | 2018 | | ********** | 2019 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 2020 | c=IN IP4 203.0.113.141 | [RFC4566] | 2021 | a=msid:ma ta | Identifies | 2022 | | RTCMediaStream ID | 2023 | | (ma) and | 2024 | | RTCMediaStreamTrack | 2025 | | ID (ta) | 2026 | a=mid:audio | [RFC5888] | 2027 | a=sendrecv | [RFC3264] | 2028 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 2029 | a=maxptime:120 | [RFC4566] | 2030 | a=ice-ufrag:074c6550 | [RFC5245] | 2031 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 2032 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 2033 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 2034 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 2035 | a=setup:actpass | [RFC5763] | 2036 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 2037 | | ls-sdp] | 2038 | a=rtcp-mux | [RFC5761] | 2039 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 2040 | | x-exclusive] | 2041 | a=rtcp-rsize | [RFC5506] | 2042 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 2043 | audio-level | | 2044 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2045 | hdrext:sdes:mid | p-bundle-negotiatio | 2046 | | n] | 2047 | a=candidate:0 1 UDP 2122194687 192.0.2.4 | [RFC5245] | 2048 | 61665 typ host | | 2049 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 2050 | 203.0.113.141 54609 typ srflx raddr | | 2051 | 192.0.2.4 rport 61665 | | 2052 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 2053 | | ickle-ice] | 2054 | ****** Video m=line ********* | ******************* | 2055 | | ********** | 2056 | m=video 0 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 2057 | c=IN IP4 203.0.113.141 | [RFC4566] | 2058 | a=bundle-only | [I-D.ietf-mmusic-sd | 2059 | | p-bundle-negotiatio | 2060 | | n] | 2061 | a=mid:video | [RFC5888] | 2062 | a=msid:ma tb | Identifies | 2063 | | RTCMediaStream ID | 2064 | | (ma) and | 2065 | | RTCMediaStreamTrack | 2066 | | ID (tb) | 2067 | a=sendrecv | [RFC3264] | 2068 | a=rtpmap:120 VP8/90000 | [RFC7741] | 2069 | a=rtcp-fb:120 nack | [RFC5104] | 2070 | a=rtcp-fb:120 nack pli | [RFC5104] | 2071 | a=rtcp-fb:120 ccm fir | [RFC5104] | 2072 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2073 | hdrext:sdes:mid | p-bundle-negotiatio | 2074 | | n] | 2075 | ****** Application m=line ********* | ******************* | 2076 | | ********** | 2077 | m=application 0 UDP/DTLS/SCTP webrtc- | [I-D.ietf-rtcweb-da | 2078 | datachannel | ta-channel] | 2079 | c=IN IP4 203.0.113.141 | [RFC4566] | 2080 | a=bundle-only | [I-D.ietf-mmusic-sd | 2081 | | p-bundle-negotiatio | 2082 | | n] | 2083 | a=mid:data | [RFC5888] | 2084 | a=sctp-port:5000 | [I-D.ietf-mmusic-sc | 2085 | | tp-sdp] | 2086 | a=max-message-size:100000 | [I-D.ietf-mmusic-sc | 2087 | | tp-sdp] | 2088 | a=sendrecv | [RFC3264] | 2089 +---------------------------------------------+---------------------+ 2091 Table 17: 5.2.8 SDP Offer 2093 +---------------------------------------------+---------------------+ 2094 | Answer SDP Contents | RFC#/Notes | 2095 +---------------------------------------------+---------------------+ 2096 | v=0 | [RFC4566] | 2097 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 2098 | | Origin Information | 2099 | s=- | [RFC4566] | 2100 | t=0 0 | [RFC4566] | 2101 | a=group:BUNDLE audio video data | [I-D.ietf-mmusic-sd | 2102 | | p-bundle-negotiatio | 2103 | | n] | 2104 | a=group:LS audio video | [RFC5888] | 2105 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 2106 | | ickle-ice] | 2107 | ****** Audio m=line ********* | ******************* | 2108 | | ********** | 2109 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 2110 | c=IN IP4 203.0.113.77 | [RFC4566] | 2111 | a=msid:ma ta | Identifies | 2112 | | RTCMediaStream ID | 2113 | | (ma) and | 2114 | | RTCMediaStreamTrack | 2115 | | ID (ta) | 2116 | a=mid:audio | [RFC5888] | 2117 | a=sendrecv | [RFC3264] | 2118 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 2119 | a=maxptime:120 | [RFC4566] | 2120 | a=ice-ufrag:c300d85b | [RFC5245] | 2121 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] | 2122 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 2123 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 2124 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 2125 | a=setup:active | [RFC5763] | 2126 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 2127 | | ls-sdp] | 2128 | a=rtcp-mux | [RFC5761] | 2129 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 2130 | | x-exclusive] | 2131 | a=rtcp-rsize | [RFC5506] | 2132 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 2133 | audio-level | | 2134 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2135 | hdrext:sdes:mid | p-bundle-negotiatio | 2136 | | n] | 2137 | a=candidate:0 1 UDP 2122194687 198.51.100.7 | [RFC5245] | 2138 | 51556 typ host | | 2139 | a=candidate:1 1 UDP 1685987071 203.0.113.77 | [RFC5245] | 2140 | 49203 typ srflx raddr 198.51.100.7 rport | | 2141 | 51556 | | 2142 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 2143 | | ickle-ice] | 2144 | ****** Video m=line ********* | ******************* | 2145 | | ********** | 2146 | m=video 0 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 2147 | c=IN IP4 203.0.113.77 | [RFC4566] | 2148 | a=bundle-only | [I-D.ietf-mmusic-sd | 2149 | | p-bundle-negotiatio | 2150 | | n] | 2151 | a=mid:video | [RFC5888] | 2152 | a=msid:ma tb | Identifies | 2153 | | RTCMediaStream ID | 2154 | | (ma) and | 2155 | | RTCMediaStreamTrack | 2156 | | ID (tb) | 2157 | a=sendrecv | [RFC3264] | 2158 | a=rtpmap:120 VP8/90000 | [RFC7741] | 2159 | a=rtcp-fb:120 nack | [RFC5104] | 2160 | a=rtcp-fb:120 nack pli | [RFC5104] | 2161 | a=rtcp-fb:120 ccm fir | [RFC5104] | 2162 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2163 | hdrext:sdes:mid | p-bundle-negotiatio | 2164 | | n] | 2165 | ****** Application m=line ********* | ******************* | 2166 | | ********** | 2167 | m=application 0 UDP/DTLS/SCTP webrtc- | [I-D.ietf-mmusic-sc | 2168 | datachannel | tp-sdp] | 2169 | c=IN IP4 203.0.113.77 | [RFC4566] | 2170 | a=bundle-only | [I-D.ietf-mmusic-sd | 2171 | | p-bundle-negotiatio | 2172 | | n] | 2173 | a=mid:data | [RFC5888] | 2174 | a=sctp-port:5000 | [I-D.ietf-mmusic-sc | 2175 | | tp-sdp] | 2176 | a=max-message-size:100000 | [I-D.ietf-mmusic-sc | 2177 | | tp-sdp] | 2178 | a=sendrecv | [RFC3264] | 2179 +---------------------------------------------+---------------------+ 2181 Table 18: 5.2.8 SDP Answer 2183 5.2.9. Audio, Video Session with BUNDLE Unsupported 2185 This use-case illustrates SDP Offer/Answer exchange where the far-end 2186 (Bob) either doesn't support media bundling or doesn't want to group 2187 m=lines over a single 5-tuple. 2189 The same is indicated by dropping the "a=group:BUNDLE" line and 2190 BUNDLE RTP header extension in the Answer SDP. 2192 On successful Offer/Answer exchange, Alice and Bob each end up using 2193 unique 5-tuple for audio and video media streams respectively. 2195 Two-Way Secure Audio,Video with BUNDLE Unsupported 2197 Alice Bob 2198 | | 2199 | | 2200 | Alice offers BUNDLE support with unique address | 2201 | for the audio and video m-line | 2202 | | 2203 | | 2204 | Offer(Audio:Opus Video:VP8) | 2205 |----------------------------------------------------->| 2206 | |Bob 2207 | |doesn't 2208 | |support 2209 | |BUNDLE 2210 | Answer(Audio:Opus Video:VP8) | 2211 |<-----------------------------------------------------| 2212 | |Bob uses 2213 | |unique 2214 | |addresses 2215 | |across the 2216 | |m=lines 2217 | | 2218 |2Way Call with Audio and Video on different 5-tuples | 2219 |......................................................| 2220 | | 2221 | | 2223 +---------------------------------------------+---------------------+ 2224 | Offer SDP Contents | RFC#/Notes | 2225 +---------------------------------------------+---------------------+ 2226 | v=0 | [RFC4566] | 2227 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 2228 | s=- | [RFC4566] | 2229 | t=0 0 | [RFC4566] | 2230 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 2231 | | p-bundle-negotiatio | 2232 | | n] Alice supports | 2233 | | grouping of m=lines | 2234 | | under BUNDLE | 2235 | | semantics | 2236 | a=group:LS audio video | [RFC5888] | 2237 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 2238 | | ickle-ice] | 2239 | ****** Audio m=line ********* | ******************* | 2240 | | ********** | 2241 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 2242 | c=IN IP4 203.0.113.141 | [RFC4566] | 2243 | a=mid:audio | [RFC5888] Audio | 2244 | | m=line part of | 2245 | | BUNDLE group with a | 2246 | | unique port number | 2247 | a=msid:ma ta | Identifies | 2248 | | RTCMediaStream ID | 2249 | | (ma) and | 2250 | | RTCMediaStreamTrack | 2251 | | ID (ta) | 2252 | a=sendrecv | [RFC3264] | 2253 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 2254 | a=maxptime:120 | [RFC4566] | 2255 | a=ice-ufrag:074c6550 | [RFC5245] | 2256 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 2257 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 2258 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 2259 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 2260 | a=setup:actpass | [RFC5763] - Alice | 2261 | | can act as DTLS | 2262 | | client or server | 2263 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 2264 | | ls-sdp] | 2265 | a=rtcp-mux | [RFC5761] | 2266 | a=rtcp:55232 IN IP4 203.0.113.141 | [RFC3605] - RTCP | 2267 | | port different from | 2268 | | RTP port | 2269 | a=rtcp-rsize | [RFC5506] | 2270 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 2271 | audio-level | | 2272 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2273 | hdrext:sdes:mid | p-bundle-negotiatio | 2274 | | n] | 2275 | a=candidate:0 1 UDP 2122194687 192.0.2.4 | [RFC5245] | 2276 | 61665 typ host | | 2277 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 2278 | 203.0.113.141 54609 typ srflx raddr | | 2279 | 192.0.2.4 rport 61665 | | 2280 | a=candidate:0 2 UDP 2122194687 192.0.2.4 | [RFC5245] | 2281 | 61666 typ host | | 2282 | a=candidate:1 2 UDP 1685987071 | [RFC5245] | 2283 | 203.0.113.141 55232 typ srflx raddr | | 2284 | 192.0.2.4 rport 61666 | | 2285 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 2286 | | ickle-ice] | 2287 | ****** Video m=line ********* | ******************* | 2288 | | ********** | 2289 | m=video 54332 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 2290 | c=IN IP4 203.0.113.141 | [RFC4566] | 2291 | a=mid:video | [RFC5888] Video | 2292 | | m=line part of the | 2293 | | BUNDLE group with a | 2294 | | unique port number | 2295 | a=msid:ma tb | Identifies | 2296 | | RTCMediaStream ID | 2297 | | (ma) and | 2298 | | RTCMediaStreamTrack | 2299 | | ID (tb) | 2300 | a=sendrecv | [RFC3264] | 2301 | a=rtpmap:120 VP8/90000 | [RFC7741] | 2302 | a=ice-ufrag:7872093 | [RFC5245] | 2303 | a=ice-pwd:ee3474af08a068a28a397a4c3f31747d1 | [RFC5245] | 2304 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 2305 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 2306 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 2307 | a=setup:actpass | [RFC5763] - Alice | 2308 | | can act as DTLS | 2309 | | client or server | 2310 | a=tls-id:UKA29UQLTF69OJW4WNPNUO2Y0GF1FJOZ | [I-D.ietf-mmusic-dt | 2311 | | ls-sdp] | 2312 | a=rtcp-mux | [RFC5761] | 2313 | a=rtcp:60052 IN IP4 203.0.113.141 | [RFC3605] | 2314 | a=rtcp-rsize | [RFC5506] | 2315 | a=rtcp-fb:120 nack | [RFC5104] | 2316 | a=rtcp-fb:120 nack pli | [RFC5104] | 2317 | a=rtcp-fb:120 ccm fir | [RFC5104] | 2318 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2319 | hdrext:sdes:mid | p-bundle-negotiatio | 2320 | | n] | 2321 | a=candidate:0 1 UDP 2122194687 192.0.2.4 | [RFC5245] | 2322 | 71775 typ host | | 2323 | a=candidate:1 1 UDP 1685987071 | [RFC5245] | 2324 | 203.0.113.141 54332 typ srflx raddr | | 2325 | 192.0.2.4 rport 71775 | | 2326 | a=candidate:0 2 UDP 2122194687 192.0.2.4 | [RFC5245] | 2327 | 71776 typ host | | 2328 | a=candidate:1 2 UDP 1685987071 | [RFC5245] | 2329 | 203.0.113.141 60052 typ srflx raddr | | 2330 | 192.0.2.4 rport 71776 | | 2331 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 2332 | | ickle-ice] | 2333 +---------------------------------------------+---------------------+ 2335 Table 19: 5.2.9 SDP Offer w/BUNDLE 2337 +-------------------------------------------------+-----------------+ 2338 | Answer SDP Contents | RFC#/Notes | 2339 +-------------------------------------------------+-----------------+ 2340 | v=0 | [RFC4566] | 2341 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] | 2342 | s=- | [RFC4566] | 2343 | t=0 0 | [RFC4566] | 2344 | a=group:LS audio video | [RFC5888] | 2345 | a=ice-options:trickle | [I-D.ietf-mmusi | 2346 | | c-trickle-ice] | 2347 | ****** Audio m=line ********* | *************** | 2348 | | ************** | 2349 | m=audio 53214 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 2350 | c=IN IP4 203.0.113.77 | [RFC4566] | 2351 | a=mid:audio | [RFC5888] | 2352 | a=msid:ma ta | Identifies | 2353 | | RTCMediaStream | 2354 | | ID (ma) and RTC | 2355 | | MediaStreamTrac | 2356 | | k ID (ta) | 2357 | a=sendrecv | [RFC3264] | 2358 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 2359 | a=maxptime:120 | [RFC4566] | 2360 | a=ice-ufrag:c300d85b | [RFC5245] | 2361 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] | 2362 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2:51:3 | [RFC5245] | 2363 | B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:24:C2:43: | | 2364 | F0:A1:58:D0:A1:2C:19:08 | | 2365 | a=setup:active | [RFC5763] - Bob | 2366 | | is the DTLS | 2367 | | client | 2368 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusi | 2369 | | c-dtls-sdp] | 2370 | a=rtcp-mux | [RFC5761] | 2371 | a=rtcp-rsize | [RFC5506] | 2372 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 2373 | audio-level | | 2374 | a=candidate:0 1 UDP 2122194687 198.51.100.7 | [RFC5245] | 2375 | 51556 typ host | | 2376 | a=candidate:1 1 UDP 1685987071 203.0.113.77 | [RFC5245] | 2377 | 53214 typ srflx raddr 198.51.100.7 rport 51556 | | 2378 | a=candidate:0 2 UDP 2122194687 198.51.100.7 | [RFC5245] | 2379 | 51558 typ host | | 2380 | a=candidate:1 2 UDP 1685987071 203.0.113.77 | [RFC5245] | 2381 | 60065 typ srflx raddr 198.51.100.7 rport 51558 | | 2382 | ****** Video m=line ********* | *************** | 2383 | | ************** | 2384 | m=video 58679 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 2385 | c=IN IP4 203.0.113.77 | [RFC4566] | 2386 | a=mid:video | [RFC5888] | 2387 | a=msid:ma tb | Identifies | 2388 | | RTCMediaStream | 2389 | | ID (ma) and RTC | 2390 | | MediaStreamTrac | 2391 | | k ID (tb) | 2392 | a=sendrecv | [RFC3264] | 2393 | a=rtpmap:120 VP8/90000 | [RFC7741] | 2394 | a=ice-ufrag:85bC300 | [RFC5245] | 2395 | a=ice-pwd:325921d5d47efbabd9a2de4e99bd291c | [RFC5245] | 2396 | a=fingerprint:sha-256 | [RFC5245] | 2397 | 6B:8B:F0:65:5F:78:E2:51:3B:AC:6F:F3:3F:46:1B:35 | | 2398 | :DC:B8:5F:64:1A:24:C2:43:F0:A1:58:D0:A1:2C:19:0 | | 2399 | 8 | | 2400 | a=setup:active | [RFC5763] - Bob | 2401 | | is the DTLS | 2402 | | client | 2403 | a=tls-id:9AIFS8AQ009IXF5D6QQUJ7P8BXPEZJ8G | [I-D.ietf-mmusi | 2404 | | c-dtls-sdp] | 2405 | a=rtcp-mux | [RFC5761] | 2406 | a=rtcp-rsize | [RFC5506] | 2407 | a=rtcp-fb:120 nack | [RFC5104] | 2408 | a=rtcp-fb:120 nack pli | [RFC5104] | 2409 | a=rtcp-fb:120 ccm fir | [RFC5104] | 2410 | a=candidate:0 1 UDP 2122194687 198.51.100.7 | [RFC5245] | 2411 | 61556 typ host | | 2412 | a=candidate:1 1 UDP 1685987071 203.0.113.77 | [RFC5245] | 2413 | 58679 typ srflx raddr 198.51.100.7 rport 61556 | | 2414 | a=end-of-candidates | [I-D.ietf-mmusi | 2415 | | c-trickle-ice] | 2416 +-------------------------------------------------+-----------------+ 2418 Table 20: 5.2.9 SDP Answer without BUNDLE 2420 5.2.10. Audio, Video BUNDLED, but Data (Not BUNDLED) 2422 This example show-cases SDP for negotiating a session with Audio, 2423 Video and data streams between Alice and Bob with data stream not 2424 being part of the BUNDLE group. This is shown by assigning unique 2425 port for data media section and not adding the "mid" identification 2426 tag to the BUNDLE group. 2428 Audio, Video, with Data (Not in BUNDLE) 2430 Alice Bob 2431 | | 2432 | | 2433 |Alice wants to multiplex audio, video but not data | 2434 | | 2435 | | 2436 | Offer(Audio:Opus Video:VP8, Data(not in BUNDLE)) | 2437 |----------------------------------------------------->| 2438 | | 2439 | | 2440 | Answer(Audio:Opus Video:VP8, Data) | 2441 |<-----------------------------------------------------| 2442 | | 2443 | | 2444 |2 Way Call with Audio, Video Multiplexed except data | 2445 |......................................................| 2446 | | 2448 +---------------------------------------------+---------------------+ 2449 | Offer SDP Contents | RFC#/Notes | 2450 +---------------------------------------------+---------------------+ 2451 | v=0 | [RFC4566] | 2452 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 2453 | s=- | [RFC4566] | 2454 | t=0 0 | [RFC4566] | 2455 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 2456 | | p-bundle-negotiatio | 2457 | | n] Alice wants to | 2458 | | BUNDLE only audio | 2459 | | and video media. | 2460 | a=group:LS audio video | [RFC5888] | 2461 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 2462 | | ickle-ice] | 2463 | ****** Audio m=line ********* | ******************* | 2464 | | ********** | 2465 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 2466 | c=IN IP4 203.0.113.141 | [RFC4566] | 2467 | a=mid:audio | [RFC5888] | 2468 | a=msid:ma ta | Identifies | 2469 | | RTCMediaStream ID | 2470 | | (ma) and | 2471 | | RTCMediaStreamTrack | 2472 | | ID (ta) | 2473 | a=sendrecv | [RFC3264] | 2474 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 2475 | a=maxptime:120 | [RFC4566] | 2476 | a=ice-ufrag:074c6550 | [RFC5245] | 2477 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 2478 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 2479 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 2480 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 2481 | a=setup:actpass | [RFC5763] | 2482 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 2483 | | ls-sdp] | 2484 | a=rtcp-mux | [RFC5761] | 2485 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 2486 | | x-exclusive] | 2487 | a=rtcp-rsize | [RFC5506] | 2488 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 2489 | audio-level | | 2490 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2491 | hdrext:sdes:mid | p-bundle-negotiatio | 2492 | | n] | 2493 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 2494 | 54609 typ host | | 2495 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 2496 | | ickle-ice] | 2497 | ****** Video m=line ********* | ******************* | 2498 | | ********** | 2499 | m=video 0 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 2500 | c=IN IP4 203.0.113.141 | [RFC4566] | 2501 | a=bundle-only | [I-D.ietf-mmusic-sd | 2502 | | p-bundle-negotiatio | 2503 | | n] | 2504 | a=mid:video | [RFC5888] | 2505 | a=msid:ma tb | Identifies | 2506 | | RTCMediaStream ID | 2507 | | (ma) and | 2508 | | RTCMediaStreamTrack | 2509 | | ID (tb) | 2510 | a=sendrecv | [RFC3264] | 2511 | a=rtpmap:120 VP8/90000 | [RFC7741] | 2512 | a=rtcp-fb:120 nack | [RFC5104] | 2513 | a=rtcp-fb:120 nack pli | [RFC5104] | 2514 | a=rtcp-fb:120 ccm fir | [RFC5104] | 2515 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2516 | hdrext:sdes:mid | p-bundle-negotiatio | 2517 | | n] | 2518 | ****** Application m=line ********* | ******************* | 2519 | | ********** | 2520 | m=application 10000 UDP/DTLS/SCTP webrtc- | [I-D.ietf-rtcweb-da | 2521 | datachannel | ta-channel] | 2522 | c=IN IP4 203.0.113.141 | [RFC4566] | 2523 | a=mid:data | [RFC5888] | 2524 | a=sctp-port:5000 | [I-D.ietf-mmusic-sc | 2525 | | tp-sdp] | 2526 | a=max-message-size:100000 | [I-D.ietf-mmusic-sc | 2527 | | tp-sdp] | 2528 | a=sendrecv | [RFC3264] | 2529 | a=setup:actpass | [RFC5763] | 2530 | a=tls-id:UKA29UQLTF69OJW4WNPNUO2Y0GF1FJOZ | [I-D.ietf-mmusic-dt | 2531 | | ls-sdp] | 2532 | a=ice-ufrag:89819013 | [RFC5245] | 2533 | a=ice-pwd:1747d1ee3474af08a068a28a397a4c3f3 | [RFC5245] | 2534 | a=fingerprint:sha-256 29:E2:1C:3B:4B:9F:81: | [RFC5245] | 2535 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 2536 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 2537 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 2538 | 10000 typ host | | 2539 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 2540 | | ickle-ice] | 2541 +---------------------------------------------+---------------------+ 2543 Table 21: 5.2.10 SDP Offer 2545 +---------------------------------------------+---------------------+ 2546 | Answer SDP Contents | RFC#/Notes | 2547 +---------------------------------------------+---------------------+ 2548 | v=0 | [RFC4566] | 2549 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 2550 | | Origin Information | 2551 | s=- | [RFC4566] | 2552 | t=0 0 | [RFC4566] | 2553 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 2554 | | p-bundle-negotiatio | 2555 | | n] | 2556 | a=group:LS audio video | [RFC5888] | 2557 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 2558 | | ickle-ice] | 2559 | ****** Audio m=line ********* | ******************* | 2560 | | ********** | 2561 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 2562 | c=IN IP4 203.0.113.77 | [RFC4566] | 2563 | a=mid:audio | [RFC5888] | 2564 | a=msid:ma ta | Identifies | 2565 | | RTCMediaStream ID | 2566 | | (ma) and | 2567 | | RTCMediaStreamTrack | 2568 | | ID (ta) | 2569 | a=sendrecv | [RFC3264] | 2570 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 2571 | a=maxptime:120 | [RFC4566] | 2572 | a=ice-ufrag:c300d85b | [RFC5245] | 2573 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] | 2574 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 2575 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 2576 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 2577 | a=setup:active | [RFC5763] | 2578 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 2579 | | ls-sdp] | 2580 | a=rtcp-mux | [RFC5761] | 2581 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 2582 | | x-exclusive] | 2583 | a=rtcp-rsize | [RFC5506] | 2584 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 2585 | audio-level | | 2586 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2587 | hdrext:sdes:mid | p-bundle-negotiatio | 2588 | | n] | 2589 | a=candidate:0 1 UDP 2113667327 198.51.100.7 | [RFC5245] | 2590 | 49203 typ host | | 2591 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 2592 | | ickle-ice] | 2593 | ****** Video m=line ********* | ******************* | 2594 | | ********** | 2595 | m=video 0 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 2596 | c=IN IP4 203.0.113.77 | [RFC4566] | 2597 | a=bundle-only | [I-D.ietf-mmusic-sd | 2598 | | p-bundle-negotiatio | 2599 | | n] | 2600 | a=mid:video | [RFC5888] | 2601 | a=msid:ma tb | Identifies | 2602 | | RTCMediaStream ID | 2603 | | (ma) and | 2604 | | RTCMediaStreamTrack | 2605 | | ID (tb) | 2606 | a=sendrecv | [RFC3264] | 2607 | a=rtpmap:120 VP8/90000 | [RFC7741] | 2608 | a=rtcp-fb:120 nack | [RFC5104] | 2609 | a=rtcp-fb:120 nack pli | [RFC5104] | 2610 | a=rtcp-fb:120 ccm fir | [RFC5104] | 2611 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2612 | hdrext:sdes:mid | p-bundle-negotiatio | 2613 | | n] | 2614 | ****** Application m=line ********* | ******************* | 2615 | | ********** | 2616 | m=application 20000 UDP/DTLS/SCTP webrtc- | [I-D.ietf-mmusic-sc | 2617 | datachannel | tp-sdp] | 2618 | c=IN IP4 203.0.113.77 | [RFC4566] | 2619 | a=mid:data | [RFC5888] | 2620 | a=sctp-port:5000 | [I-D.ietf-mmusic-sc | 2621 | | tp-sdp] | 2622 | a=max-message-size:100000 | [I-D.ietf-mmusic-sc | 2623 | | tp-sdp] | 2624 | a=setup:active | [RFC5763] | 2625 | a=tls-id:9AIFS8AQ009IXF5D6QQUJ7P8BXPEZJ8G | [I-D.ietf-mmusic-dt | 2626 | | ls-sdp] | 2627 | a=sendrecv | [RFC3264] | 2628 | a=ice-ufrag:991Ca2a5e | [RFC5245] | 2629 | a=ice-pwd:921d5d47efbabd9a2de4e99bd291c325 | [RFC5245] | 2630 | a=fingerprint:sha-256 7B:8B:F0:65:5F:78:E2: | [RFC5245] | 2631 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 2632 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 2633 | a=candidate:0 1 UDP 2113667327 198.51.100.7 | [RFC5245] | 2634 | 20000 typ host | | 2635 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 2636 | | ickle-ice] | 2637 +---------------------------------------------+---------------------+ 2639 Table 22: 5.2.10 SDP Answer 2641 5.2.11. Audio Only, Add Video to BUNDLE 2643 This example involves 2 Offer/Answer exchanges. First one is used to 2644 negotiate and setup BUNDLE support for Audio-only session followed by 2645 an updated Offer/Answer exchange to add video stream to the ongoing 2646 session. Also the newly added video stream is BUNDLED with the audio 2647 stream. 2649 Audio Only , Add Video and BUNDLE 2651 Alice Bob 2652 | | 2653 | | 2654 | Alice indicates support for BUNDLE | 2655 | | 2656 | Offer(Audio:Opus) | 2657 |----------------------------------------------------->| 2658 | |Bob 2659 | |supports 2660 | |BUNDLE 2661 | Answer(Audio:Opus) | 2662 |<-----------------------------------------------------| 2663 | |Alice adds 2664 | |video stream 2665 | Updated Offer(Audio:Opus, Video:VP8) |to BUNDLE 2666 |----------------------------------------------------->| 2667 | | 2668 | |Bob accepts 2669 | Updated Answer(Audio:Opus, Video:VP8) | 2670 |<-----------------------------------------------------| 2671 | | 2672 | 2Way Call with Audio and Video Multiplexed | 2673 |......................................................| 2674 | | 2675 | | 2677 +---------------------------------------------+---------------------+ 2678 | Offer SDP Contents | RFC#/Notes | 2679 +---------------------------------------------+---------------------+ 2680 | v=0 | [RFC4566] | 2681 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 2682 | s=- | [RFC4566] | 2683 | t=0 0 | [RFC4566] | 2684 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sd | 2685 | | p-bundle-negotiatio | 2686 | | n] Alice adds audio | 2687 | | m=line to the | 2688 | | BUNDLE group | 2689 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 2690 | | ickle-ice] | 2691 | ****** Audio m=line ********* | ******************* | 2692 | | ********** | 2693 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 2694 | c=IN IP4 203.0.113.141 | [RFC4566] | 2695 | a=mid:audio | [RFC5888] | 2696 | a=msid:ma ta | Identifies | 2697 | | RTCMediaStream ID | 2698 | | (ma) and | 2699 | | RTCMediaStreamTrack | 2700 | | ID (ta) | 2701 | a=sendrecv | [RFC3264] | 2702 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 2703 | a=maxptime:120 | [RFC4566] | 2704 | a=ice-ufrag:074c6550 | [RFC5245] | 2705 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 2706 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 2707 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 2708 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 2709 | a=setup:actpass | [RFC5763] | 2710 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 2711 | | ls-sdp] | 2712 | a=rtcp-mux | [RFC5761] | 2713 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 2714 | | x-exclusive] | 2715 | a=rtcp-rsize | [RFC5506] | 2716 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 2717 | audio-level | | 2718 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2719 | hdrext:sdes:mid | p-bundle-negotiatio | 2720 | | n] | 2721 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 2722 | 61665 typ host | | 2723 | a=candidate:1 1 UDP 694302207 203.0.113.141 | [RFC5245] | 2724 | 54609 typ srflx raddr 192.0.2.4 rport 61665 | | 2725 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 2726 | | ickle-ice] | 2727 +---------------------------------------------+---------------------+ 2729 Table 23: 5.2.11 SDP Offer 2731 +---------------------------------------------+---------------------+ 2732 | Answer SDP Contents | RFC#/Notes | 2733 +---------------------------------------------+---------------------+ 2734 | v=0 | [RFC4566] | 2735 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 2736 | | Origin Information | 2737 | s=- | [RFC4566] | 2738 | t=0 0 | [RFC4566] | 2739 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sd | 2740 | | p-bundle-negotiatio | 2741 | | n] | 2742 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 2743 | | ickle-ice] | 2744 | ****** Audio m=line ********* | ******************* | 2745 | | ********** | 2746 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 2747 | c=IN IP4 203.0.113.77 | [RFC4566] | 2748 | a=mid:audio | [RFC5888] | 2749 | a=msid:ma ta | Identifies | 2750 | | RTCMediaStream ID | 2751 | | (ma) and | 2752 | | RTCMediaStreamTrack | 2753 | | ID (ta) | 2754 | a=sendrecv | [RFC3264] | 2755 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 2756 | a=maxptime:120 | [RFC4566] | 2757 | a=ice-ufrag:c300d85b | [RFC5245] | 2758 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] | 2759 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 2760 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 2761 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 2762 | a=setup:active | [RFC5763] | 2763 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 2764 | | ls-sdp] | 2765 | a=rtcp-mux | [RFC5761] | 2766 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 2767 | | x-exclusive] | 2768 | a=rtcp-rsize | [RFC5506] | 2769 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 2770 | audio-level | | 2771 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2772 | hdrext:sdes:mid | p-bundle-negotiatio | 2773 | | n] | 2774 | a=candidate:0 1 UDP 2113667327 198.51.100.7 | [RFC5245] | 2775 | 51556 typ host | | 2776 | a=candidate:1 1 UDP 1694302207 203.0.113.77 | [RFC5245] | 2777 | 49203 typ srflx raddr 198.51.100.7 rport | | 2778 | 51556 | | 2779 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 2780 | | ickle-ice] | 2781 +---------------------------------------------+---------------------+ 2783 Table 24: 5.2.10 SDP Answer 2785 +---------------------------------------------+---------------------+ 2786 | Updated Offer SDP Contents | RFC#/Notes | 2787 +---------------------------------------------+---------------------+ 2788 | v=0 | Version number | 2789 | | incremented | 2790 | | [RFC4566] | 2791 | o=- 20518 1 IN IP4 0.0.0.0 | [RFC4566] | 2792 | s=- | [RFC4566] | 2793 | t=0 0 | [RFC4566] | 2794 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 2795 | | p-bundle-negotiatio | 2796 | | n] | 2797 | a=group:LS audio video | [RFC5888] | 2798 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 2799 | | ickle-ice] | 2800 | ****** Audio m=line ********* | ******************* | 2801 | | ********** | 2802 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 2803 | c=IN IP4 203.0.113.141 | [RFC4566] | 2804 | a=mid:audio | [RFC5888] | 2805 | a=msid:ma ta | Identifies | 2806 | | RTCMediaStream ID | 2807 | | (ma) and | 2808 | | RTCMediaStreamTrack | 2809 | | ID (ta) | 2810 | a=sendrecv | [RFC3264] | 2811 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 2812 | a=maxptime:120 | [RFC4566] | 2813 | a=ice-ufrag:074c6550 | [RFC5245] | 2814 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 2815 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 2816 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 2817 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 2818 | a=setup:actpass | [RFC5763] | 2819 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 2820 | | ls-sdp]Alice want's | 2821 | | to use the same | 2822 | | DTLS association | 2823 | a=rtcp-mux | [RFC5761] | 2824 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 2825 | | x-exclusive] | 2826 | a=rtcp-rsize | [RFC5506] | 2827 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 2828 | audio-level | | 2829 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2830 | hdrext:sdes:mid | p-bundle-negotiatio | 2831 | | n] | 2832 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 2833 | 61665 typ host | | 2834 | a=candidate:1 1 UDP 694302207 203.0.113.141 | [RFC5245] | 2835 | 54609 typ srflx raddr 192.0.2.4 rport 61665 | | 2836 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 2837 | | ickle-ice] | 2838 | ****** Video m=line ********* | ******************* | 2839 | | ********** | 2840 | m=video 0 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 2841 | c=IN IP4 203.0.113.141 | [RFC4566] | 2842 | a=bundle-only | [I-D.ietf-mmusic-sd | 2843 | | p-bundle-negotiatio | 2844 | | n] | 2845 | a=mid:video | [RFC5888] | 2846 | a=msid:ma tb | Identifies | 2847 | | RTCMediaStream ID | 2848 | | (ma) and | 2849 | | RTCMediaStreamTrack | 2850 | | ID (tb) | 2851 | a=sendrecv | [RFC3264] | 2852 | a=rtpmap:120 VP8/90000 | [RFC7741] | 2853 | a=rtcp-fb:120 nack | [RFC5104] | 2854 | a=rtcp-fb:120 nack pli | [RFC5104] | 2855 | a=rtcp-fb:120 ccm fir | [RFC5104] | 2856 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2857 | hdrext:sdes:mid | p-bundle-negotiatio | 2858 | | n] | 2859 +---------------------------------------------+---------------------+ 2861 Table 25: 5.2.11 SDP Updated Offer 2863 +---------------------------------------------+---------------------+ 2864 | Updated Answer SDP Contents | RFC#/Notes | 2865 +---------------------------------------------+---------------------+ 2866 | v=0 | [RFC4566] Version | 2867 | | number incremented | 2868 | o=- 16833 1 IN IP4 0.0.0.0 | [RFC4566] - Session | 2869 | | Origin Information | 2870 | s=- | [RFC4566] | 2871 | t=0 0 | [RFC4566] | 2872 | a=group:BUNDLE audio video | [I-D.ietf-mmusic-sd | 2873 | | p-bundle-negotiatio | 2874 | | n] | 2875 | a=group:LS audio video | [RFC5888] | 2876 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 2877 | | ickle-ice] | 2878 | ****** Audio m=line ********* | ******************* | 2879 | | ********** | 2880 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 2881 | c=IN IP4 203.0.113.77 | [RFC4566] | 2882 | a=mid:audio | [RFC5888] | 2883 | a=msid:ma ta | Identifies | 2884 | | RTCMediaStream ID | 2885 | | (ma) and | 2886 | | RTCMediaStreamTrack | 2887 | | ID (ta) | 2888 | a=sendrecv | [RFC3264] | 2889 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 2890 | a=maxptime:120 | [RFC4566] | 2891 | a=ice-ufrag:c300d85b | [RFC5245] | 2892 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] | 2893 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 2894 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 2895 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 2896 | a=setup:active | [RFC5763] | 2897 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 2898 | | ls-sdp] - Bob | 2899 | | agrees to use the | 2900 | | same DTLS | 2901 | | association | 2902 | a=rtcp-mux | [RFC5761] | 2903 | a=rtcp-mux-only | [I-D.ietf-mmusic-mu | 2904 | | x-exclusive] | 2905 | a=rtcp-rsize | [RFC5506] | 2906 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 2907 | audio-level | | 2908 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2909 | hdrext:sdes:mid | p-bundle-negotiatio | 2910 | | n] | 2911 | a=candidate:0 1 UDP 2113667327 198.51.100.7 | [RFC5245] | 2912 | 51556 typ host | | 2913 | a=candidate:1 1 UDP 1694302207 203.0.113.77 | [RFC5245] | 2914 | 49203 typ srflx raddr 198.51.100.7 rport | | 2915 | 51556 | | 2916 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 2917 | | ickle-ice] | 2918 | ****** Video m=line ********* | ******************* | 2919 | | ********** | 2920 | m=video 0 UDP/TLS/RTP/SAVPF 120 | [RFC4566] | 2921 | c=IN IP4 203.0.113.77 | [RFC4566] | 2922 | a=bundle-only | [I-D.ietf-mmusic-sd | 2923 | | p-bundle-negotiatio | 2924 | | n] | 2925 | a=mid:video | [RFC5888] | 2926 | a=msid:ma tb | Identifies | 2927 | | RTCMediaStream ID | 2928 | | (ma) and | 2929 | | RTCMediaStreamTrack | 2930 | | ID (tb) | 2931 | a=sendrecv | [RFC3264] | 2932 | a=rtpmap:120 VP8/90000 | [RFC7741] | 2933 | a=rtcp-fb:120 nack | [RFC5104] | 2934 | a=rtcp-fb:120 nack pli | [RFC5104] | 2935 | a=rtcp-fb:120 ccm fir | [RFC5104] | 2936 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 2937 | hdrext:sdes:mid | p-bundle-negotiatio | 2938 | | n] | 2939 +---------------------------------------------+---------------------+ 2941 Table 26: 5.2.11 SDP Updated Answer 2943 5.3. MultiResolution, RTX, FEC Examples 2945 This section deals with scenarios related to multi-source, multi- 2946 stream negotiation such as layered coding, simulcast, along with 2947 techniques that deal with providing robustness against transmission 2948 errors such as FEC and RTX. Also to note, mechanisms such as FEC and 2949 RTX could be envisioned in the above basic scenarios as well. 2951 5.3.1. Sendonly Simulcast Session with 2 cameras and 2 encodings per 2952 camera 2954 The SDP below shows Offer/Answer exchange with one audio and two 2955 video sources. Each of the video source can be sent at two different 2956 resolutions. 2958 One video source corresponds to VP8 encoding, while the other 2959 corresponds to H.264 encoding. 2961 [I-D.ietf-mmusic-rid] framework is used to further constrain the 2962 media format encodings and map the payload types (PT) to the 'rid' 2963 identifiers. 2965 [I-D.ietf-mmusic-sdp-simulcast] framework identifies the simulcast 2966 streams via their 'rid' identifiers. 2968 bundle-only attribute is used for the video sources in the Offer to 2969 ensure enabling video sources in the context of BUNDLE alone. 2971 BUNDLE grouping framework enables multiplexing of all the 5 streams 2972 (1 audio stream + 4 video streams) over a single RTP Session. 2974 1 Way Successful Simulcast w/BUNDLE 2976 Alice Bob 2977 | | 2978 | | 2979 | Alice offers 2 sendonly video sources | 2980 | with 2 simulcast encodings per source | 2981 | and bundle-only for video | 2982 | | 2983 | | 2984 | Offer(Audio:Opus,Video1:VP8,Video2:H.264) | 2985 |------------------------------------------------>| 2986 | | 2987 | | 2988 | Answer(Audio:Opus Video1:VP8,Video2:H.264) | 2989 |<------------------------------------------------| 2990 | | 2991 |One-Way 1 Opus, 2 H.264 and 2 VP8 video streams, | 2992 | all multiplexed | 2993 |.................................................| 2994 | | 2995 | | 2997 +---------------------------------------------+---------------------+ 2998 | Offer SDP Contents | RFC#/Notes | 2999 +---------------------------------------------+---------------------+ 3000 | v=0 | [RFC4566] | 3001 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3002 | s=- | [RFC4566] | 3003 | t=0 0 | [RFC4566] | 3004 | a=group:BUNDLE m0 m1 m2 | [I-D.ietf-mmusic-sd | 3005 | | p-bundle-negotiatio | 3006 | | n] Alice supports | 3007 | | grouping of m=lines | 3008 | | under BUNDLE | 3009 | | semantics | 3010 | a=group:LS m0 m1 | [RFC5888] | 3011 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 3012 | | ickle-ice] | 3013 | ****** Audio m=line ********* | ******************* | 3014 | | ********** | 3015 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 3016 | c=IN IP4 203.0.113.141 | [RFC4566] | 3017 | a=mid:m0 | [RFC5888] | 3018 | a=msid:ma ta | Identifies | 3019 | | RTCMediaStream ID | 3020 | | (ma) and | 3021 | | RTCMediaStreamTrack | 3022 | | ID (ta) | 3023 | a=sendonly | [RFC3264] | 3024 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 3025 | a=maxptime:120 | [RFC4566] | 3026 | a=ice-ufrag:074c6550 | [RFC5245] | 3027 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 3028 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 3029 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 3030 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 3031 | a=setup:actpass | [RFC5763] | 3032 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 3033 | | ls-sdp] | 3034 | a=rtcp-mux | [RFC5761] | 3035 | a=rtcp-rsize | [RFC5506] | 3036 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 3037 | audio-level | | 3038 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3039 | hdrext:sdes:mid | p-bundle-negotiatio | 3040 | | n] | 3041 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 3042 | 61665 typ host | | 3043 | a=candidate:1 1 UDP 694302207 203.0.113.141 | [RFC5245] | 3044 | 54609 typ srflx raddr 192.0.2.4 rport 61665 | | 3045 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 3046 | | ickle-ice] | 3047 | ****** Video-1 m=line ********* | ******************* | 3048 | | ********** | 3049 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 | bundle-only video | 3050 | | line with port | 3051 | | number set to zero | 3052 | c=IN IP4 203.0.113.141 | [RFC4566] | 3053 | a=bundle-only | [I-D.ietf-mmusic-sd | 3054 | | p-bundle-negotiatio | 3055 | | n] | 3056 | a=mid:m1 | [RFC5888] Video | 3057 | | m=line part of | 3058 | | BUNDLE group | 3059 | a=msid:ma tb | Identifies | 3060 | | RTCMediaStream ID | 3061 | | (ma) and | 3062 | | RTCMediaStreamTrack | 3063 | | ID (tb) | 3064 | a=sendonly | [RFC3264] - Send | 3065 | | only video stream | 3066 | a=rtpmap:98 VP8/90000 | [RFC7741] | 3067 | a=fmtp:98 max-fr=30 | [RFC4566] | 3068 | a=rtpmap:100 VP8/90000 | [RFC7741] | 3069 | a=fmtp:100 max-fr=15 | [RFC4566] | 3070 | a=rtcp-fb:* nack | [RFC5104] | 3071 | a=rtcp-fb:* nack pli | [RFC5104] | 3072 | a=rtcp-fb:* ccm fir | [RFC5104] | 3073 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3074 | hdrext:sdes:mid | p-bundle-negotiatio | 3075 | | n] | 3076 | a=extmap:3 urn:ietf:params:rtp- | [I-D.ietf-avtext-ri | 3077 | hdrext:sdes:rtp-stream-id | d] | 3078 | a=rid:1 send pt=98;max-width=1280;max- | [I-D.ietf-mmusic-ri | 3079 | height=720 | d] 1:1 rid mapping | 3080 | | to payload type and | 3081 | | specify resolution | 3082 | | constraints | 3083 | a=rid:2 send pt=100;max-width=640;max- | [I-D.ietf-mmusic-ri | 3084 | height=480 | d] 1:1 rid mapping | 3085 | | to payload type and | 3086 | | specify resolution | 3087 | | constraints | 3088 | a=simulcast:send 1;~2 | [I-D.ietf-mmusic-sd | 3089 | | p-simulcast] Alice | 3090 | | can send 2 | 3091 | | resolutions | 3092 | | identified by the | 3093 | | 'rid' identifiers | 3094 | | Also, the second | 3095 | | stream is initially | 3096 | | paused. | 3097 | ****** Video-2 m=line ********* | ******************* | 3098 | | ********** | 3099 | m=video 0 UDP/TLS/RTP/SAVPF 101 102 | bundle-only video | 3100 | | line with port | 3101 | | number set to zero | 3102 | c=IN IP4 203.0.113.141 | [RFC4566] | 3103 | a=bundle-only | [I-D.ietf-mmusic-sd | 3104 | | p-bundle-negotiatio | 3105 | | n] | 3106 | a=mid:m2 | [RFC5888] Video | 3107 | | m=line part of | 3108 | | BUNDLE group | 3109 | a=msid:ma tc | Identifies | 3110 | | RTCMediaStream ID | 3111 | | (ma) and | 3112 | | RTCMediaStreamTrack | 3113 | | ID (tc) | 3114 | a=sendonly | [RFC3264] - Send | 3115 | | only video stream | 3116 | a=rtpmap:101 H264/90000 | [RFC6184] | 3117 | a=rtpmap:102 H264/90000 | [RFC6184] | 3118 | a=fmtp:101 profile-level- | [RFC6184]Camera-2,E | 3119 | id=42401f;packetization-mode=0;max-fr=30 | ncoding-1 | 3120 | a=fmtp:102 profile-level- | [RFC6184]Camera-2,E | 3121 | id=42401f;packetization-mode=1;max-fr=15 | ncoding-2 | 3122 | a=rtcp-fb:* nack | [RFC5104] | 3123 | a=rtcp-fb:* nack pli | [RFC5104] | 3124 | a=rtcp-fb:* ccm fir | [RFC5104] | 3125 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3126 | hdrext:sdes:mid | p-bundle-negotiatio | 3127 | | n] | 3128 | a=extmap:3 urn:ietf:params:rtp- | [I-D.ietf-avtext-ri | 3129 | hdrext:sdes:rtp-stream-id | d] | 3130 | a=rid:3 send pt=101;max-width=1280;max- | [I-D.ietf-mmusic-ri | 3131 | height=720 | d] 1:1 rid mapping | 3132 | | to payload type and | 3133 | | specify resolution | 3134 | | constraints | 3135 | a=rid:4 send pt=102;max-width=640;max- | [I-D.ietf-mmusic-ri | 3136 | height=360 | d] 1:1 rid mapping | 3137 | | to payload type and | 3138 | | specify resolution | 3139 | | constraints | 3140 | a=simulcast:send 3;4 | [I-D.ietf-mmusic-sd | 3141 | | p-simulcast] Alice | 3142 | | can send 2 | 3143 | | resolutions | 3144 | | identified by the | 3145 | | 'rid' identifiers | 3146 +---------------------------------------------+---------------------+ 3148 Table 27: 5.3.1 SDP Offer 3150 +---------------------------------------------+---------------------+ 3151 | Answer SDP Contents | RFC#/Notes | 3152 +---------------------------------------------+---------------------+ 3153 | v=0 | [RFC4566] | 3154 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3155 | s=- | [RFC4566] | 3156 | t=0 0 | [RFC4566] | 3157 | a=group:BUNDLE m0 m1 m2 | [I-D.ietf-mmusic-sd | 3158 | | p-bundle-negotiatio | 3159 | | n] Alice supports | 3160 | | grouping of m=lines | 3161 | | under BUNDLE | 3162 | | semantics | 3163 | a=group:LS m0 m1 | [RFC5888] | 3164 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 3165 | | ickle-ice] | 3166 | ****** Audio m=line ********* | ******************* | 3167 | | ********** | 3168 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 3169 | c=IN IP4 203.0.113.77 | [RFC4566] | 3170 | a=mid:m0 | [RFC5888] | 3171 | a=msid:ma ta | Identifies | 3172 | | RTCMediaStream ID | 3173 | | (ma) and | 3174 | | RTCMediaStreamTrack | 3175 | | ID (ta) | 3176 | a=recvonly | [RFC3264] | 3177 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 3178 | a=maxptime:120 | [RFC4566] | 3179 | a=ice-ufrag:c300d85b | [RFC5245] | 3180 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] | 3181 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 3182 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 3183 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 3184 | a=setup:active | [RFC5763] | 3185 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 3186 | | ls-sdp] | 3187 | a=rtcp-mux | [RFC5761] | 3188 | a=rtcp-rsize | [RFC5506] | 3189 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 3190 | audio-level | | 3191 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3192 | hdrext:sdes:mid | p-bundle-negotiatio | 3193 | | n] | 3194 | a=candidate:0 1 UDP 2113667327 198.51.100.7 | [RFC5245] | 3195 | 61665 typ host | | 3196 | a=candidate:1 1 UDP 694302207 203.0.113.77 | [RFC5245] | 3197 | 49203 typ srflx raddr 198.51.100.7 rport | | 3198 | 61665 | | 3199 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 3200 | | ickle-ice] | 3201 | ****** Video-1 m=line ********* | ******************* | 3202 | | ********** | 3203 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 | BUNDLE accepted | 3204 | c=IN IP4 203.0.113.77 | [RFC4566] | 3205 | a=bundle-only | [I-D.ietf-mmusic-sd | 3206 | | p-bundle-negotiatio | 3207 | | n] | 3208 | a=mid:m1 | [RFC5888] Video | 3209 | | m=line part of | 3210 | | BUNDLE group | 3211 | a=msid:ma tb | Identifies | 3212 | | RTCMediaStream ID | 3213 | | (ma) and | 3214 | | RTCMediaStreamTrack | 3215 | | ID (tb) | 3216 | a=recvonly | [RFC3264] - receive | 3217 | | only video stream | 3218 | a=rtpmap:98 VP8/90000 | [RFC7741] | 3219 | a=rtpmap:100 VP8/90000 | [RFC7741] | 3220 | a=fmtp:98 max-fr=30 | [RFC4566] | 3221 | a=fmtp:100 max-fr=15 | [RFC4566] | 3222 | a=rtcp-fb:* nack | [RFC5104] | 3223 | a=rtcp-fb:* nack pli | [RFC5104] | 3224 | a=rtcp-fb:* ccm fir | [RFC5104] | 3225 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3226 | hdrext:sdes:mid | p-bundle-negotiatio | 3227 | | n] | 3228 | a=extmap:3 urn:ietf:params:rtp- | [I-D.ietf-avtext-ri | 3229 | hdrext:sdes:rtp-stream-id | d] | 3230 | a=rid:1 recv pt=98;max-width=1280;max- | [I-D.ietf-mmusic-ri | 3231 | height=720 | d] Bob accepts the | 3232 | | offered payload | 3233 | | format constraints | 3234 | a=rid:2 recv pt=100;max-width=640;max- | [I-D.ietf-mmusic-ri | 3235 | height=480 | d] Bob accepts the | 3236 | | offered payload | 3237 | | format constraints | 3238 | a=simulcast:recv 1;2 | [I-D.ietf-mmusic-sd | 3239 | | p-simulcast] Bob | 3240 | | accepts the offered | 3241 | | simulcast streams | 3242 | | and removes the | 3243 | | paused state of | 3244 | | stream with 'rid' | 3245 | | value 2. | 3246 | ****** Video-2 m=line ********* | ******************* | 3247 | | ********** | 3248 | m=video 0 UDP/TLS/RTP/SAVPF 101 102 | BUNDLE accepted | 3249 | c=IN IP4 203.0.113.77 | [RFC4566] | 3250 | a=bundle-only | [I-D.ietf-mmusic-sd | 3251 | | p-bundle-negotiatio | 3252 | | n] | 3253 | a=mid:m2 | [RFC5888] Video | 3254 | | m=line part of | 3255 | | BUNDLE group | 3256 | a=msid:ma tc | Identifies | 3257 | | RTCMediaStream ID | 3258 | | (ma) and | 3259 | | RTCMediaStreamTrack | 3260 | | ID (tc) | 3261 | a=recvonly | [RFC3264] | 3262 | a=rtpmap:101 H264/90000 | [RFC6184] | 3263 | a=rtpmap:102 H264/90000 | [RFC6184] | 3264 | a=fmtp:101 profile-level- | [RFC6184] | 3265 | id=42401f;packetization-mode=1;max-fr=30 | | 3266 | a=fmtp:102 profile-level- | [RFC6184] | 3267 | id=42401f;packetization-mode=1;max-fr=15 | | 3268 | a=rtcp-fb:* nack | [RFC5104] | 3269 | a=rtcp-fb:* nack pli | [RFC5104] | 3270 | a=rtcp-fb:* ccm fir | [RFC5104] | 3271 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3272 | hdrext:sdes:mid | p-bundle-negotiatio | 3273 | | n] | 3274 | a=extmap:3 urn:ietf:params:rtp- | [I-D.ietf-avtext-ri | 3275 | hdrext:sdes:rtp-stream-id | d] | 3276 | a=rid:3 recv pt=101;max-width=1280;max- | [I-D.ietf-mmusic-ri | 3277 | height=720 | d] Bob accepts the | 3278 | | offered payload | 3279 | | format constraints | 3280 | a=rid:4 recv pt=102;max-width=640;max- | [I-D.ietf-mmusic-ri | 3281 | height=360 | d] Bob accepts the | 3282 | | offered payload | 3283 | | format constraints | 3284 | a=simulcast:recv 3;4 | [I-D.ietf-mmusic-sd | 3285 | | p-simulcast] Bob | 3286 | | accepts the offered | 3287 | | simulcast streams. | 3288 +---------------------------------------------+---------------------+ 3290 Table 28: 5.3.1 SDP Answer 3292 5.3.2. Successful SVC Video Session 3294 This section shows an SDP Offer/Answer for a session with an audio 3295 and a single video source. The video source is encoded as layered 3296 coding at 3 different resolutions based on [RFC5583]. The video 3297 m=line shows 3 streams with last stream (payload 100) dependent on 3298 streams with payload 96 and 97 for decoding. 3300 SVC Session - 3 Layers w/BUNDLE 3302 Alice Bob 3303 | | 3304 | | 3305 | Alice offers 3 sendonly video streams | 3306 | as 3 layers of SVC and bundle-only | 3307 | for video streams. | 3308 | | 3309 | Offer(Video:H.264 SVC) | 3310 |------------------------------------------------>| 3311 | | 3312 | |Bob accepts Alice's 3313 | |offered Codec 3314 | |operation points 3315 | | 3316 | Answer(Video:H.264) | 3317 |<------------------------------------------------| 3318 | | 3319 |One-Way H.264 SVC video streams | 3320 |.................................................| 3321 | | 3322 | | 3324 +---------------------------------------------+---------------------+ 3325 | Offer SDP Contents | RFC#/Notes | 3326 +---------------------------------------------+---------------------+ 3327 | v=0 | [RFC4566] | 3328 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3329 | s=- | [RFC4566] | 3330 | t=0 0 | [RFC4566] | 3331 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sd | 3332 | | p-bundle-negotiatio | 3333 | | n] Alice supports | 3334 | | grouping of m=lines | 3335 | | under BUNDLE | 3336 | | semantics | 3337 | a=group:LS m0 m1 | [RFC5888] | 3338 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 3339 | | ickle-ice] | 3340 | ****** Audio m=line ********* | ******************* | 3341 | | ********** | 3342 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 3343 | c=IN IP4 203.0.113.141 | [RFC4566] | 3344 | a=mid:m0 | [RFC5888] Audio | 3345 | | m=line part of | 3346 | | BUNDLE group with a | 3347 | | unique port number | 3348 | a=msid:ma ta | Identifies | 3349 | | RTCMediaStream ID | 3350 | | (ma) and | 3351 | | RTCMediaStreamTrack | 3352 | | ID (ta) | 3353 | a=sendonly | [RFC3264] | 3354 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 3355 | a=maxptime:120 | [RFC4566] | 3356 | a=ice-ufrag:074c6550 | [RFC5245] | 3357 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 3358 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 3359 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 3360 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 3361 | a=setup:actpass | [RFC5763] | 3362 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 3363 | | ls-sdp] | 3364 | a=rtcp-mux | [RFC5761] | 3365 | a=rtcp-rsize | [RFC5506] | 3366 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 3367 | audio-level | | 3368 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3369 | hdrext:sdes:mid | p-bundle-negotiatio | 3370 | | n] | 3371 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 3372 | 61665 typ host | | 3373 | a=candidate:1 1 UDP 694302207 203.0.113.141 | [RFC5245] | 3374 | 54609 typ srflx raddr 192.0.2.4 rport 61665 | | 3375 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 3376 | | ickle-ice] | 3377 | ****** Video m=line ********* | ******************* | 3378 | | ********** | 3379 | m=video 0 UDP/TLS/RTP/SAVPF 96 97 100 | bundle-only video | 3380 | | line with port | 3381 | | number set to zero | 3382 | c=IN IP4 203.0.113.141 | [RFC4566] | 3383 | a=bundle-only | [I-D.ietf-mmusic-sd | 3384 | | p-bundle-negotiatio | 3385 | | n] | 3386 | a=mid:m1 | [RFC5888] Video | 3387 | | m=line part of | 3388 | | BUNDLE group | 3389 | a=msid:ma tb | Identifies | 3390 | | RTCMediaStream ID | 3391 | | (ma) and | 3392 | | RTCMediaStreamTrack | 3393 | | ID (tc) | 3394 | a=sendonly | [RFC3264] - Send | 3395 | | only video stream | 3396 | a=rtpmap:96 H264/90000 | [RFC6184] | 3397 | a=fmtp:96 profile-level-id=4d0028; | [RFC6184]H.264 | 3398 | packetization-mode=1;max-fr=30;max-fs=8040 | Layer 1 | 3399 | a=rtpmap:97 H264/90000 | [RFC6184] | 3400 | a=fmtp:97 profile-level- | [RFC6184] H.264 | 3401 | id=4d0028;packetization-mode=1; max- | Layer 2 | 3402 | fr=15;max-fs=1200 | | 3403 | a=rtpmap:100 H264-SVC/90000 | [RFC6184] | 3404 | a=fmtp:100 profile-level- | [RFC6184] | 3405 | id=4d0028;packetization-mode=1; max- | | 3406 | fr=30;max-fs=8040 | | 3407 | a=depend:100 lay m1:96,97 | [RFC5583]Layer 3 | 3408 | | dependent on layers | 3409 | | 1 and 2 | 3410 | a=rtcp-fb:* nack | [RFC5104] | 3411 | a=rtcp-fb:* nack pli | [RFC5104] | 3412 | a=rtcp-fb:* ccm fir | [RFC5104] | 3413 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3414 | hdrext:sdes:mid | p-bundle-negotiatio | 3415 | | n] | 3416 +---------------------------------------------+---------------------+ 3418 Table 29: 5.3.2 SDP Offer with SVC 3420 +---------------------------------------------+---------------------+ 3421 | Answer SDP Contents | RFC#/Notes | 3422 +---------------------------------------------+---------------------+ 3423 | v=0 | [RFC4566] | 3424 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3425 | s=- | [RFC4566] | 3426 | t=0 0 | [RFC4566] | 3427 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sd | 3428 | | p-bundle-negotiatio | 3429 | | n] | 3430 | a=group:LS m0 m1 | [RFC5888] | 3431 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 3432 | | ickle-ice] | 3433 | ****** Audio m=line ********* | ******************* | 3434 | | ********** | 3435 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 3436 | c=IN IP4 203.0.113.77 | [RFC4566] | 3437 | a=mid:m0 | [RFC5888] | 3438 | a=msid:ma ta | Identifies | 3439 | | RTCMediaStream ID | 3440 | | (ma) and | 3441 | | RTCMediaStreamTrack | 3442 | | ID (ta) | 3443 | a=recvonly | [RFC3264] | 3444 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 3445 | a=maxptime:120 | [RFC4566] | 3446 | a=ice-ufrag:074c6550 | [RFC5245] | 3447 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 3448 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 3449 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 3450 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 3451 | a=setup:active | [RFC5763] | 3452 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 3453 | | ls-sdp] | 3454 | a=rtcp-mux | [RFC5761] | 3455 | a=rtcp-rsize | [RFC5506] | 3456 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 3457 | audio-level | | 3458 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3459 | hdrext:sdes:mid | p-bundle-negotiatio | 3460 | | n] | 3461 | a=candidate:0 1 UDP 2113667326 198.51.100.7 | [RFC5245] | 3462 | 51556 typ host | | 3463 | a=candidate:1 1 UDP 1694302206 203.0.113.77 | [RFC5245] | 3464 | 49203 typ srflx raddr 198.51.100.7 rport | | 3465 | 51556 | | 3466 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 3467 | | ickle-ice] | 3468 | ****** Video m=line ********* | ******************* | 3469 | | ********** | 3470 | m=video 0 UDP/TLS/RTP/SAVPF 96 100 | BUNDLE accepted. | 3471 | c=IN IP4 203.0.113.77 | [RFC4566] | 3472 | a=bundle-only | [I-D.ietf-mmusic-sd | 3473 | | p-bundle-negotiatio | 3474 | | n] | 3475 | a=mid:m1 | [RFC5888] Video | 3476 | | m=line part of | 3477 | | BUNDLE group | 3478 | a=msid:ma tb | Identifies | 3479 | | RTCMediaStream ID | 3480 | | (ma) and | 3481 | | RTCMediaStreamTrack | 3482 | | ID (tb) | 3483 | a=recvonly | [RFC3264] - Receive | 3484 | | only video stream | 3485 | a=rtpmap:96 H264/90000 | [RFC6184] | 3486 | a=fmtp:96 profile-level- | [RFC6184]H.264 | 3487 | id=4d0028;packetization-mode=1; max- | Layer 1 | 3488 | fr=30;max-fs=8040 | | 3489 | a=rtpmap:100 H264-SVC/90000 | [RFC6184] | 3490 | a=fmtp:100 profile-level- | [RFC6184] | 3491 | id=4d0028;packetization-mode=1; max- | | 3492 | fr=30;max-fs=8040 | | 3493 | a=depend:100 lay m1:96 | [RFC5583] Bob | 3494 | | chooses 2 Codec | 3495 | | Operation points | 3496 | a=rtcp-fb:* nack | [RFC5104] | 3497 | a=rtcp-fb:* nack pli | [RFC5104] | 3498 | a=rtcp-fb:* ccm fir | [RFC5104] | 3499 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3500 | hdrext:sdes:mid | p-bundle-negotiatio | 3501 | | n] | 3502 +---------------------------------------------+---------------------+ 3504 Table 30: 5.3.2 SDP Answer with SVC 3506 5.3.3. Successful Simulcast Video Session with Retransmission 3508 This section shows an SDP Offer/Answer exchange for a simulcast 3509 scenario with 3 resolutions and has [RFC4588] style re-transmission 3510 flows. 3512 [I-D.ietf-mmusic-rid] framework is used to specify all the (3) 3513 resolution constraints mapped to a single Payload Type (98). 3515 [I-D.ietf-mmusic-sdp-simulcast] framework identifies the simulcast 3516 streams via their 'rid' identifiers. 3518 Simulcast Streams with Retransmission 3520 Alice Bob 3521 | | 3522 | | 3523 |Alice offers single audio and simulcasted video streams | 3524 | | 3525 | | 3526 | Offer(Audio:Opus Video:VP8 with 3 resolutions) | 3527 | & RTX stream | 3528 |-------------------------------------------------------->| 3529 | | 3530 | | 3531 | Answer (Bob accepts Alice's offer) | 3532 |<--------------------------------------------------------| 3533 | | 3534 | | 3535 |One-Way 1 Opus, 3 VP8 and RTX video streams,all muxed | 3536 |.........................................................| 3537 | | 3538 | | 3540 +---------------------------------------------+---------------------+ 3541 | Offer SDP Contents | RFC#/Notes | 3542 +---------------------------------------------+---------------------+ 3543 | v=0 | [RFC4566] | 3544 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3545 | s=- | [RFC4566] | 3546 | t=0 0 | [RFC4566] | 3547 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sd | 3548 | | p-bundle-negotiatio | 3549 | | n] Alice supports | 3550 | | grouping of m=lines | 3551 | | under BUNDLE | 3552 | | semantics | 3553 | a=group:LS m0 m1 | [RFC5888] | 3554 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 3555 | | ickle-ice] | 3556 | ****** Audio m=line ********* | ******************* | 3557 | | ********** | 3558 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 3559 | c=IN IP4 203.0.113.141 | [RFC4566] | 3560 | a=mid:m0 | [RFC5888] Audio | 3561 | | m=line part of | 3562 | | BUNDLE group with a | 3563 | | unique port number | 3564 | a=msid:ma ta | Identifies | 3565 | | RTCMediaStream ID | 3566 | | (ma) and | 3567 | | RTCMediaStreamTrack | 3568 | | ID (ta) | 3569 | a=sendonly | [RFC3264] | 3570 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 3571 | a=maxptime:120 | [RFC4566] | 3572 | a=ice-ufrag:074c6550 | [RFC5245] | 3573 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 3574 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 3575 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 3576 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 3577 | a=setup:actpass | [RFC5763] | 3578 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 3579 | | ls-sdp] | 3580 | a=rtcp-mux | [RFC5761] | 3581 | a=rtcp-rsize | [RFC5506] | 3582 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 3583 | audio-level | | 3584 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3585 | hdrext:sdes:mid | p-bundle-negotiatio | 3586 | | n] | 3587 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 3588 | 61665 typ host | | 3589 | a=candidate:1 1 UDP 694302207 203.0.113.141 | [RFC5245] | 3590 | 54609 typ srflx raddr 192.0.2.4 rport 61665 | | 3591 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 3592 | | ickle-ice] | 3593 | ****** Video m=line ********* | ******************* | 3594 | | ********** | 3595 | m=video 0 UDP/TLS/RTP/SAVPF 98 103 | bundle-only video | 3596 | | line with port | 3597 | | number set to zero | 3598 | c=IN IP4 203.0.113.141 | [RFC4566] | 3599 | a=bundle-only | [I-D.ietf-mmusic-sd | 3600 | | p-bundle-negotiatio | 3601 | | n] | 3602 | a=mid:m1 | [RFC5888] | 3603 | a=msid:ma tb | Identifies | 3604 | | RTCMediaStream ID | 3605 | | (ma) and | 3606 | | RTCMediaStreamTrack | 3607 | | ID (tb) | 3608 | a=sendonly | [RFC3264] | 3609 | a=rtpmap:98 VP8/90000 | [RFC7741] | 3610 | a=fmtp:98 max-fr=30 | [RFC4566] | 3611 | a=rtpmap:103 rtx/90000 | [RFC4588] | 3612 | a=fmtp:103 apt=98;rtx-time=200 | [RFC4588] | 3613 | a=rtcp-fb:* nack | [RFC5104] | 3614 | a=rtcp-fb:* nack pli | [RFC5104] | 3615 | a=rtcp-fb:* ccm fir | [RFC5104] | 3616 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3617 | hdrext:sdes:mid | p-bundle-negotiatio | 3618 | | n] | 3619 | a=extmap:3 urn:ietf:params:rtp- | [I-D.ietf-avtext-ri | 3620 | hdrext:sdes:rtp-stream-id | d] | 3621 | a=rid:1 send pt=98;max-fs=921600;max-fr=30 | [I-D.ietf-mmusic-ri | 3622 | | d] | 3623 | a=rid:2 send pt=98;max-fs=614400;max-fr=15 | [I-D.ietf-mmusic-ri | 3624 | | d] | 3625 | a=rid:3 send pt=98;max-fs=230400;max-fr=30 | [I-D.ietf-mmusic-ri | 3626 | | d] | 3627 | a=simulcast:send 1;2;3 | [I-D.ietf-mmusic-sd | 3628 | | p-simulcast] Alice | 3629 | | can send all the | 3630 | | simulcast streams | 3631 +---------------------------------------------+---------------------+ 3633 Table 31: 5.3.3 SDP Offer w/Simulcast, RTX 3635 +---------------------------------------------+---------------------+ 3636 | Answer SDP Contents | RFC#/Notes | 3637 +---------------------------------------------+---------------------+ 3638 | v=0 | [RFC4566] | 3639 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3640 | s=- | [RFC4566] | 3641 | t=0 0 | [RFC4566] | 3642 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sd | 3643 | | p-bundle-negotiatio | 3644 | | n] Bob supports | 3645 | | grouping of m=lines | 3646 | | under BUNDLE | 3647 | | semantics | 3648 | a=group:LS m0 m1 | [RFC5888] | 3649 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 3650 | | ickle-ice] | 3651 | ****** Audio m=line ********* | ******************* | 3652 | | ********** | 3653 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 3654 | c=IN IP4 203.0.113.77 | [RFC4566] | 3655 | a=mid:m0 | [RFC5888] | 3656 | a=msid:ma ta | Identifies | 3657 | | RTCMediaStream ID | 3658 | | (ma) and | 3659 | | RTCMediaStreamTrack | 3660 | | ID (ta) | 3661 | a=recvonly | [RFC3264] | 3662 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 3663 | a=maxptime:120 | [RFC4566] | 3664 | a=ice-ufrag:074c6550 | [RFC5245] | 3665 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 3666 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 3667 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 3668 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 3669 | a=setup:active | [RFC5763] | 3670 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 3671 | | ls-sdp] | 3672 | a=rtcp-mux | [RFC5761] | 3673 | a=rtcp-rsize | [RFC5506] | 3674 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 3675 | audio-level | | 3676 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3677 | hdrext:sdes:mid | p-bundle-negotiatio | 3678 | | n] | 3679 | a=candidate:0 1 UDP 2113667326 198.51.100.7 | [RFC5245] | 3680 | 51556 typ host | | 3681 | a=candidate:1 1 UDP 1694302206 203.0.113.77 | [RFC5245] | 3682 | 49203 typ srflx raddr 198.51.100.7 rport | | 3683 | 51556 | | 3684 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 3685 | | ickle-ice] | 3686 | ****** Video m=line ********* | ******************* | 3687 | | ********** | 3688 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 101 103 | BUNDLE accepted | 3689 | c=IN IP4 203.0.113.77 | [RFC4566] | 3690 | a=bundle-only | [I-D.ietf-mmusic-sd | 3691 | | p-bundle-negotiatio | 3692 | | n] | 3693 | a=mid:m1 | [RFC5888] Video | 3694 | | m=line part of | 3695 | | BUNDLE group | 3696 | a=msid:ma tb | Identifies | 3697 | | RTCMediaStream ID | 3698 | | (ma) and | 3699 | | RTCMediaStreamTrack | 3700 | | ID (tb) | 3701 | a=recvonly | [RFC3264] | 3702 | a=rtpmap:98 VP8/90000 | [RFC7741] | 3703 | a=fmtp:98 max-fr=30 | [RFC4566] | 3704 | a=rtpmap:103 rtx/90000 | [RFC4588] | 3705 | a=fmtp:103 apt=98;rtx-time=200 | [RFC4588] | 3706 | a=rtcp-fb:* nack | [RFC5104] | 3707 | a=rtcp-fb:* nack pli | [RFC5104] | 3708 | a=rtcp-fb:* ccm fir | [RFC5104] | 3709 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3710 | hdrext:sdes:mid | p-bundle-negotiatio | 3711 | | n] | 3712 | a=extmap:3 urn:ietf:params:rtp- | [I-D.ietf-avtext-ri | 3713 | hdrext:sdes:rtp-stream-id | d] | 3714 | a=rid:1 recv pt=98;max-fs=921600;max-fr=30 | [I-D.ietf-mmusic-ri | 3715 | | d] | 3716 | a=rid:2 recv pt=98;max-fs=614400;max-fr=15 | [I-D.ietf-mmusic-ri | 3717 | | d] | 3718 | a=rid:3 recv pt=98;max-fs=230400;max-fr=30 | [I-D.ietf-mmusic-ri | 3719 | | d] | 3720 | a=simulcast:recv 1;2;3 | [I-D.ietf-mmusic-sd | 3721 | | p-simulcast] Bob | 3722 | | accepts the offered | 3723 | | simulcast streams | 3724 +---------------------------------------------+---------------------+ 3726 Table 32: 5.3.3 SDP Answer w/Simulcast, RTX 3728 5.3.4. Successful 1-way Simulcast Session with 2 resolutions and RTX - 3729 One resolution rejected 3731 This section shows an SDP Offer/Answer exchange for a simulcast 3732 scenario with 2 two resolutions. 3734 It also showcases where Bob rejects one of the Simulcast Video Stream 3735 which results in the rejection of the associated repair stream 3736 implicitly. 3738 Simulcast Streams with Retransmission Rejected 3740 Alice Bob 3741 | | 3742 | | 3743 |Alice offers single audio and simulcasted video streams | 3744 | with bundle-only for video | 3745 | | 3746 | | 3747 |Offer(Audio:Opus Video:VP8 with 2 resolutions,RTX Stream)| 3748 |-------------------------------------------------------->| 3749 | | 3750 | |Bob accepts 1 3751 | |simulcast,rtx 3752 | |rejects the 3753 | |other 3754 | Answer(Audio:Opus Video:VP8 with 1 res & RTX Stream) | 3755 |<--------------------------------------------------------| 3756 | | 3757 | | 3758 |1-way audio,video session and its associated RTX stream, | 3759 | all multiplexed | 3760 |.........................................................| 3761 | | 3762 | | 3764 +---------------------------------------------+---------------------+ 3765 | Offer SDP Contents | RFC#/Notes | 3766 +---------------------------------------------+---------------------+ 3767 | v=0 | [RFC4566] | 3768 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3769 | s=- | [RFC4566] | 3770 | t=0 0 | [RFC4566] | 3771 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sd | 3772 | | p-bundle-negotiatio | 3773 | | n] Alice supports | 3774 | | grouping of m=lines | 3775 | | under BUNDLE | 3776 | | semantics | 3777 | a=group:LS m0 m1 | [RFC5888] | 3778 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 3779 | | ickle-ice] | 3780 | ****** Audio m=line ********* | ******************* | 3781 | | ********** | 3782 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 3783 | c=IN IP4 203.0.113.141 | [RFC4566] | 3784 | a=mid:m0 | [RFC5888] | 3785 | a=msid:ma ta | Identifies | 3786 | | RTCMediaStream ID | 3787 | | (ma) and | 3788 | | RTCMediaStreamTrack | 3789 | | ID (ta) | 3790 | a=sendonly | [RFC3264] | 3791 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 3792 | a=maxptime:120 | [RFC4566] | 3793 | a=ice-ufrag:074c6550 | [RFC5245] | 3794 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 3795 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 3796 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 3797 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 3798 | a=setup:actpass | [RFC5763] | 3799 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 3800 | | ls-sdp] | 3801 | a=rtcp-mux | [RFC5761] | 3802 | a=rtcp-rsize | [RFC5506] | 3803 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 3804 | audio-level | | 3805 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3806 | hdrext:sdes:mid | p-bundle-negotiatio | 3807 | | n] | 3808 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 3809 | 61665 typ host | | 3810 | a=candidate:1 1 UDP 694302207 203.0.113.141 | [RFC5245] | 3811 | 54609 typ srflx raddr 192.0.2.4 rport 61665 | | 3812 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 3813 | | ickle-ice] | 3814 | ****** Video m=line ********* | ******************* | 3815 | | ********** | 3816 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 101 103 | bundle-only video | 3817 | | line with port | 3818 | | number set to zero | 3819 | c=IN IP4 203.0.113.141 | [RFC4566] | 3820 | a=bundle-only | [I-D.ietf-mmusic-sd | 3821 | | p-bundle-negotiatio | 3822 | | n] | 3823 | a=mid:m1 | [RFC5888] | 3824 | a=msid:ma tb | Identifies | 3825 | | RTCMediaStream ID | 3826 | | (ma) and | 3827 | | RTCMediaStreamTrack | 3828 | | ID (tb | 3829 | a=sendonly | [RFC3264] | 3830 | a=rtpmap:98 VP8/90000 | [RFC7741] | 3831 | a=rtpmap:100 VP8/90000 | [RFC7741] | 3832 | a=rtpmap:101 rtx/90000 | [RFC4588] | 3833 | a=rtpmap:103 rtx/90000 | [RFC4588] | 3834 | a=fmtp:98 max-fr=30;max-fs=8040 | [RFC4566] | 3835 | a=fmtp:100 max-fr=15;max-fs=1200 | [RFC4566] | 3836 | a=fmtp:101 apt=98;rtx-time=200 | [RFC4588] | 3837 | a=fmtp:103 apt=100;rtx-time=200 | [RFC4588] | 3838 | a=rtcp-fb:* nack | [RFC5104] | 3839 | a=rtcp-fb:* nack pli | [RFC5104] | 3840 | a=rtcp-fb:* ccm fir | [RFC5104] | 3841 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3842 | hdrext:sdes:mid | p-bundle-negotiatio | 3843 | | n] | 3844 | a=extmap:3 urn:ietf:params:rtp- | [I-D.ietf-avtext-ri | 3845 | hdrext:sdes:rtp-stream-id | d] | 3846 | a=rid:1 send pt=98 | [I-D.ietf-mmusic-ri | 3847 | | d] 1:1 mapping | 3848 | | between the PT and | 3849 | | the 'rid' | 3850 | | identifier | 3851 | a=rid:2 send pt=100 | [I-D.ietf-mmusic-ri | 3852 | | d] 1:1 mapping | 3853 | | between the PT and | 3854 | | the 'rid' | 3855 | | identifier | 3856 | a=simulcast:send 1;2 | [I-D.ietf-mmusic-sd | 3857 | | p-simulcast] | 3858 +---------------------------------------------+---------------------+ 3860 Table 33: 5.3.4 SDP Offer w/Simulcast, RTX 3862 +---------------------------------------------+---------------------+ 3863 | Answer SDP Contents | RFC#/Notes | 3864 +---------------------------------------------+---------------------+ 3865 | v=0 | [RFC4566] | 3866 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3867 | s=- | [RFC4566] | 3868 | t=0 0 | [RFC4566] | 3869 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sd | 3870 | | p-bundle-negotiatio | 3871 | | n] Bob supports | 3872 | | grouping of m=lines | 3873 | | under BUNDLE | 3874 | | semantics | 3875 | a=group:LS m0 m1 | [RFC5888] | 3876 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 3877 | | ickle-ice] | 3878 | ****** Audio m=line ********* | ******************* | 3879 | | ********** | 3880 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 3881 | c=IN IP4 203.0.113.77 | [RFC4566] | 3882 | a=mid:m0 | [RFC5888] | 3883 | a=msid:ma ta | Identifies | 3884 | | RTCMediaStream ID | 3885 | | (ma) and | 3886 | | RTCMediaStreamTrack | 3887 | | ID (ta) | 3888 | a=recvonly | [RFC3264] | 3889 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 3890 | a=maxptime:120 | [RFC4566] | 3891 | a=ice-ufrag:074c6550 | [RFC5245] | 3892 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 3893 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 3894 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 3895 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 3896 | a=setup:active | [RFC5763] | 3897 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 3898 | | ls-sdp] | 3899 | a=rtcp-mux | [RFC5761] | 3900 | a=rtcp-rsize | [RFC5506] | 3901 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 3902 | audio-level | | 3903 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3904 | hdrext:sdes:mid | p-bundle-negotiatio | 3905 | | n] | 3906 | a=candidate:0 1 UDP 2113667326 198.51.100.7 | [RFC5245] | 3907 | 51556 typ host | | 3908 | a=candidate:1 1 UDP 1694302206 203.0.113.77 | [RFC5245] | 3909 | 49203 typ srflx raddr 198.51.100.7 rport | | 3910 | 51556 | | 3911 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 3912 | | ickle-ice] | 3913 | ****** Video m=line ********* | ******************* | 3914 | | ********** | 3915 | m=video 0 UDP/TLS/RTP/SAVPF 98 101 | BUNDLE accepted | 3916 | c=IN IP4 203.0.113.77 | [RFC4566] | 3917 | a=bundle-only | [I-D.ietf-mmusic-sd | 3918 | | p-bundle-negotiatio | 3919 | | n] | 3920 | a=mid:m1 | [RFC5888] | 3921 | a=msid:ma tb | Identifies | 3922 | | RTCMediaStream ID | 3923 | | (ma) and | 3924 | | RTCMediaStreamTrack | 3925 | | ID (tb) | 3926 | a=recvonly | [RFC3264] | 3927 | a=rtpmap:98 VP8/90000 | [RFC7741] | 3928 | a=rtpmap:101 VP8/90000 | [RFC7741] | 3929 | a=fmtp:98 max-fr=30;max-fs=8040 | [RFC4566] | 3930 | a=fmtp:101 apt=98;rtx-time=200 | [RFC4588] | 3931 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 3932 | hdrext:sdes:mid | p-bundle-negotiatio | 3933 | | n] | 3934 | a=extmap:3 urn:ietf:params:rtp- | [I-D.ietf-avtext-ri | 3935 | hdrext:sdes:rtp-stream-id | d] | 3936 | a=rid:1 recv pt=98 | [I-D.ietf-mmusic-ri | 3937 | | d] | 3938 | a=simulcast:recv 1 | [I-D.ietf-mmusic-sd | 3939 | | p-simulcast] Bob | 3940 | | rejects the second | 3941 | | simulcast stream | 3942 | | and the associated | 3943 | | rtx stream. | 3944 +---------------------------------------------+---------------------+ 3946 Table 34: 5.3.4 SDP Answer (one Simulcast Rejected) 3948 5.3.5. Simulcast Video Session with Forward Error Correction 3950 This section shows an SDP Offer/Answer exchange for Simulcast video 3951 stream at two resolutions and and has [RFC5956] style FEC flows. 3953 On completion of the Offer/Answer exchange mechanism we end up one 3954 audio stream, 2 simulcast video streams and 2 associated FEC streams 3955 are sent over a single 5-tuple. 3957 Simulcast Streams with Forward Error Correction 3959 Alice Bob 3960 | | 3961 | | 3962 | | 3963 |Alice offers single audio and simulcasted video streams | 3964 |with bundle-only | 3965 | | 3966 | | 3967 |Offer(Audio:Opus Video:VP8 with 2 resolutions with FEC Streams)| 3968 |-------------------------------------------------------------->| 3969 | | 3970 | |Bob 3971 | |accepts 3972 | |Alice's 3973 | |offer 3974 |Answer(Audio:Opus Video:VP8 with 2 resolutions w/FEC Streams) | 3975 |<--------------------------------------------------------------| 3976 | | 3977 |One-Way Audio,Video session with 4 video streams(Simulcast | 3978 | and FEC) all multiplexed | 3979 |...............................................................| 3980 | | 3981 | | 3982 | | 3984 +---------------------------------------------+---------------------+ 3985 | Offer SDP Contents | RFC#/Notes | 3986 +---------------------------------------------+---------------------+ 3987 | v=0 | [RFC4566] | 3988 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 3989 | s=- | [RFC4566] | 3990 | t=0 0 | [RFC4566] | 3991 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sd | 3992 | | p-bundle-negotiatio | 3993 | | n] Alice supports | 3994 | | grouping of m=lines | 3995 | | under BUNDLE | 3996 | | semantics | 3997 | a=group:LS m0 m1 | [RFC5888] | 3998 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 3999 | | ickle-ice] | 4000 | ****** Audio m=line ********* | ******************* | 4001 | | ********** | 4002 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 4003 | c=IN IP4 203.0.113.141 | [RFC4566] | 4004 | a=mid:m0 | [RFC5888] | 4005 | a=msid:ma ta | Identifies | 4006 | | RTCMediaStream ID | 4007 | | (ma) and | 4008 | | RTCMediaStreamTrack | 4009 | | ID (ta) | 4010 | a=sendonly | [RFC3264] | 4011 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 4012 | a=maxptime:120 | [RFC4566] | 4013 | a=ice-ufrag:074c6550 | [RFC5245] | 4014 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 4015 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 4016 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 4017 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 4018 | a=setup:actpass | [RFC5763] | 4019 | a=rtcp-mux | [RFC5761] | 4020 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 4021 | | ls-sdp] | 4022 | a=rtcp-rsize | [RFC5506] | 4023 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 4024 | audio-level | | 4025 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 4026 | hdrext:sdes:mid | p-bundle-negotiatio | 4027 | | n] | 4028 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 4029 | 61665 typ host | | 4030 | a=candidate:1 1 UDP 694302207 203.0.113.141 | [RFC5245] | 4031 | 54609 typ srflx raddr 192.0.2.4 rport 61665 | | 4032 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 4033 | | ickle-ice] | 4034 | ****** Video m=line ********* | ******************* | 4035 | | ********** | 4036 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 101 103 | bundle-only video | 4037 | | line with port | 4038 | | number set to zero | 4039 | c=IN IP4 203.0.113.141 | [RFC4566] | 4040 | a=bundle-only | [I-D.ietf-mmusic-sd | 4041 | | p-bundle-negotiatio | 4042 | | n] | 4043 | a=mid:m1 | [RFC5888] Video | 4044 | | m=line part of | 4045 | | BUNDLE group | 4046 | a=msid:ma tb | Identifies | 4047 | | RTCMediaStream ID | 4048 | | (ma) and | 4049 | | RTCMediaStreamTrack | 4050 | | ID (tb) | 4051 | a=sendonly | [RFC3264] | 4052 | a=rtpmap:98 VP8/90000 | [RFC7741] | 4053 | a=rtpmap:100 VP8/90000 | [RFC7741] | 4054 | a=rtpmap:101 flexfec/90000 | [I-D.ietf-payload-f | 4055 | | lexible-fec-scheme] | 4056 | a=rtpmap:103 flexfec/90000 | [I-D.ietf-payload-f | 4057 | | lexible-fec-scheme] | 4058 | a=fmtp:98 max-fr=30;max-fs=8040 | [RFC4566] | 4059 | a=fmtp:100 max-fr=15;max-fs=1200 | [RFC4566] | 4060 | a=fmtp:101 L=5; D=10; ToP=2; repair- | [I-D.ietf-payload-f | 4061 | window=200000 | lexible-fec-scheme] | 4062 | a=fmtp:103 L=5; D=10; ToP=2; repair- | [I-D.ietf-payload-f | 4063 | window=200000 | lexible-fec-scheme] | 4064 | a=rtcp-fb:* nack | [RFC5104] | 4065 | a=rtcp-fb:* nack pli | [RFC5104] | 4066 | a=rtcp-fb:* ccm fir | [RFC5104] | 4067 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 4068 | hdrext:sdes:mid | p-bundle-negotiatio | 4069 | | n] | 4070 | a=extmap:3 urn:ietf:params:rtp- | [I-D.ietf-avtext-ri | 4071 | hdrext:sdes:rtp-stream-id | d] | 4072 | a=rid:1 send pt=98 | [I-D.ietf-mmusic-ri | 4073 | | d] 1:1 mapping | 4074 | | between the PT and | 4075 | | the 'rid' | 4076 | | identifier | 4077 | a=rid:2 send pt=100 | [I-D.ietf-mmusic-ri | 4078 | | d] 1:1 mapping | 4079 | | between the PT and | 4080 | | the 'rid' | 4081 | | identifier | 4082 | a=simulcast:send 1;2 | [I-D.ietf-mmusic-sd | 4083 | | p-simulcast] | 4084 +---------------------------------------------+---------------------+ 4086 Table 35: 5.3.5 SDP Offer 4088 +---------------------------------------------+---------------------+ 4089 | Answer SDP Contents | RFC#/Notes | 4090 +---------------------------------------------+---------------------+ 4091 | v=0 | [RFC4566] | 4092 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 4093 | s=- | [RFC4566] | 4094 | t=0 0 | [RFC4566] | 4095 | a=group:BUNDLE m0 m1 | [I-D.ietf-mmusic-sd | 4096 | | p-bundle-negotiatio | 4097 | | n] | 4098 | a=group:LS m0 m1 | [RFC5888] | 4099 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 4100 | | ickle-ice] | 4101 | ****** Audio m=line ********* | ******************* | 4102 | | ********** | 4103 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 4104 | c=IN IP4 203.0.113.77 | [RFC4566] | 4105 | a=mid:m0 | [RFC5888] Audio | 4106 | | m=line part of | 4107 | | BUNDLE group with a | 4108 | | unique port number | 4109 | a=msid:ma ta | Identifies | 4110 | | RTCMediaStream ID | 4111 | | (ma) and | 4112 | | RTCMediaStreamTrack | 4113 | | ID (ta) | 4114 | a=recvonly | [RFC3264] | 4115 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 4116 | a=maxptime:120 | [RFC4566] | 4117 | a=ice-ufrag:074c6550 | [RFC5245] | 4118 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 4119 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 4120 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 4121 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 4122 | a=setup:active | [RFC5763] | 4123 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 4124 | | ls-sdp] | 4125 | a=rtcp-mux | [RFC5761] | 4126 | a=rtcp-rsize | [RFC5506] | 4127 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 4128 | audio-level | | 4129 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 4130 | hdrext:sdes:mid | p-bundle-negotiatio | 4131 | | n] | 4132 | a=candidate:0 1 UDP 2113667326 198.51.100.7 | [RFC5245] | 4133 | 51556 typ host | | 4134 | a=candidate:1 1 UDP 1694302206 203.0.113.77 | [RFC5245] | 4135 | 49203 typ srflx raddr 198.51.100.7 rport | | 4136 | 51556 | | 4137 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 4138 | | ickle-ice] | 4139 | ****** Video m=line ********* | ******************* | 4140 | | ********** | 4141 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 101 103 | BUNDLE accepted. | 4142 | c=IN IP4 203.0.113.77 | [RFC4566] | 4143 | a=bundle-only | [I-D.ietf-mmusic-sd | 4144 | | p-bundle-negotiatio | 4145 | | n] | 4146 | a=mid:m1 | [RFC5888] Video | 4147 | | m=line part of | 4148 | | BUNDLE group | 4149 | a=msid:ma tb | Identifies | 4150 | | RTCMediaStream ID | 4151 | | (ma) and | 4152 | | RTCMediaStreamTrack | 4153 | | ID (tb) | 4154 | a=recvonly | [RFC3264] | 4155 | a=rtpmap:98 VP8/90000 | [RFC7741] | 4156 | a=rtpmap:100 VP8/90000 | [RFC7741] | 4157 | a=rtpmap:101 flexfec/90000 | [I-D.ietf-payload-f | 4158 | | lexible-fec-scheme] | 4159 | a=rtpmap:103 flexfec/90000 | [I-D.ietf-payload-f | 4160 | | lexible-fec-scheme] | 4161 | a=fmtp:98 max-fr=30;max-fs=8040 | [RFC4566] | 4162 | a=fmtp:100 max-fr=15;max-fs=1200 | [RFC4566] | 4163 | a=fmtp:101 L=5; D=10; ToP=2; repair- | [I-D.ietf-payload-f | 4164 | window=200000 | lexible-fec-scheme] | 4165 | a=fmtp:103 L=5; D=10; ToP=2; repair- | [I-D.ietf-payload-f | 4166 | window=200000 | lexible-fec-scheme] | 4167 | a=rtcp-fb:* nack | [RFC5104] | 4168 | a=rtcp-fb:* nack pli | [RFC5104] | 4169 | a=rtcp-fb:* ccm fir | [RFC5104] | 4170 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 4171 | hdrext:sdes:mid | p-bundle-negotiatio | 4172 | | n] | 4173 | a=extmap:3 urn:ietf:params:rtp- | [I-D.ietf-avtext-ri | 4174 | hdrext:sdes:rtp-stream-id | d] | 4175 | a=rid:1 recv pt=98 | [I-D.ietf-mmusic-ri | 4176 | | d] | 4177 | a=rid:2 recv pt=100 | [I-D.ietf-mmusic-ri | 4178 | | d] | 4179 | a=simulcast:recv 1;2 | [I-D.ietf-mmusic-sd | 4180 | | p-simulcast] | 4181 +---------------------------------------------+---------------------+ 4183 Table 36: 5.3.5 SDP Answer 4185 5.4. Others 4187 The examples in the section provide SDP Offer/Answer exchange for a 4188 variety of scenarios related to RTP Header extension for conference 4189 usages, Legacy Interop scenarios and more. 4191 5.4.1. Audio Session - Voice Activity Detection 4193 This example shows Alice indicating the support of the RTP header 4194 extension to include the audio-level of the audio sample carried in 4195 the RTP packet. 4197 2-Way Audio with VAD 4199 Alice Bob 4200 | | 4201 | | 4202 |Alice indicates support for including | 4203 |audio level in RTP header | 4204 | | 4205 | Offer(Audio:Opus,PCMU,PCMA) | 4206 |---------------------------------------->| 4207 | | 4208 | | 4209 | Answer(Audio:Opus,PCMU,PCMA) | 4210 |<----------------------------------------| 4211 | | 4212 | |Bob accepts and 4213 | |indicates his 4214 | |support as well 4215 | | 4216 | Two way Opus Audio | 4217 |.........................................| 4218 | | 4219 |Per packet audio-level is included in the| 4220 |RTP header | 4221 | | 4223 +---------------------------------------------+---------------------+ 4224 | Offer SDP Contents | RFC#/Notes | 4225 +---------------------------------------------+---------------------+ 4226 | v=0 | [RFC4566] | 4227 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 4228 | s=- | [RFC4566] | 4229 | t=0 0 | [RFC4566] | 4230 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sd | 4231 | | p-bundle-negotiatio | 4232 | | n] | 4233 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 4234 | | ickle-ice] | 4235 | ****** Audio m=line ********* | ******************* | 4236 | | ********** | 4237 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 0 8 | [RFC4566] | 4238 | c=IN IP4 203.0.113.141 | [RFC4566] | 4239 | a=mid:audio | [RFC5888] | 4240 | a=msid:ma ta | Identifies | 4241 | | RTCMediaStream ID | 4242 | | (ma) and | 4243 | | RTCMediaStreamTrack | 4244 | | ID (ta) | 4245 | a=sendrecv | [RFC3264] | 4246 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 4247 | a=rtpmap:0 PCMU/8000 | [RFC3551] | 4248 | a=rtpmap:8 PCMA/8000 | [RFC3551] | 4249 | a=maxptime:120 | [RFC4566] | 4250 | a=ice-ufrag:074c6550 | [RFC5245] | 4251 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 4252 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 4253 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 4254 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 4255 | a=setup:actpass | [RFC5763] | 4256 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 4257 | | ls-sdp] | 4258 | a=rtcp-mux | [RFC5761] | 4259 | a=rtcp-rsize | [RFC5506] | 4260 | a=rtcp-fb:* nack | [RFC5104] | 4261 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 4262 | audio-level | | 4263 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 4264 | hdrext:sdes:mid | p-bundle-negotiatio | 4265 | | n] | 4266 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 4267 | 61665 typ host | | 4268 | a=candidate:1 1 UDP 694302207 203.0.113.141 | [RFC5245] | 4269 | 54609 typ srflx raddr 192.0.2.4 rport 61665 | | 4270 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 4271 | | ickle-ice] | 4272 +---------------------------------------------+---------------------+ 4274 Table 37: 5.4.1 SDP Offer 4276 +---------------------------------------------+---------------------+ 4277 | Answer SDP Contents | RFC#/Notes | 4278 +---------------------------------------------+---------------------+ 4279 | v=0 | [RFC4566] | 4280 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] | 4281 | s=- | [RFC4566] | 4282 | t=0 0 | [RFC4566] | 4283 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sd | 4284 | | p-bundle-negotiatio | 4285 | | n] | 4286 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 4287 | | ickle-ice] | 4288 | ****** Audio m=line ********* | ******************* | 4289 | | ********** | 4290 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 0 98 | [RFC4566] | 4291 | c=IN IP4 203.0.113.77 | [RFC4566] | 4292 | a=mid:audio | [RFC5888] | 4293 | a=msid:ma ta | Identifies | 4294 | | RTCMediaStream ID | 4295 | | (ma) and | 4296 | | RTCMediaStreamTrack | 4297 | | ID (ta) | 4298 | a=sendrecv | [RFC3264] - Bob can | 4299 | | send and recv audio | 4300 | a=rtpmap:109 opus/48000/2 | [RFC7587] - Bob | 4301 | | accepts only Opus | 4302 | | Codec | 4303 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU | 4304 | | Audio Codec | 4305 | a=rtpmap:0 PCMA/8000 | [RFC3551] PCMA | 4306 | | Audio Codec | 4307 | a=maxptime:120 | [RFC4566] | 4308 | a=ice-ufrag:c300d85b | [RFC5245] | 4309 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] | 4310 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 4311 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 4312 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 4313 | a=setup:active | [RFC5763] | 4314 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 4315 | | ls-sdp] | 4316 | a=rtcp-mux | [RFC5761] - Bob can | 4317 | | perform RTP/RTCP | 4318 | | Muxing on port | 4319 | | 49203 | 4320 | a=rtcp-rsize | [RFC5506] | 4321 | a=rtcp-fb:* nack | [RFC5104] | 4322 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 4323 | audio-level | | 4324 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 4325 | hdrext:sdes:mid | p-bundle-negotiatio | 4326 | | n] | 4327 | a=candidate:0 1 UDP 2113667327 198.51.100.7 | [RFC5245] | 4328 | 51556 typ host | | 4329 | a=candidate:1 1 UDP 1694302207 203.0.113.77 | [RFC5245] | 4330 | 49203 typ srflx raddr 198.51.100.7 rport | | 4331 | 51556 | | 4332 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 4333 | | ickle-ice] | 4334 +---------------------------------------------+---------------------+ 4336 Table 38: 5.4.1 SDP Answer 4338 5.4.2. Audio Conference - Voice Activity Detection 4340 This example shows SDP for RTP header extension that allows RTP-level 4341 mixers in audio conferences to deliver information about the audio 4342 level of individual participants. 4344 Audio Conference with VAD Support 4346 Alice Mixer 4347 | | 4348 |Alice indicates her interest to audio | 4349 |levels for the contributing sources | 4350 | | 4351 |Offer(Audio:Opus,PCMU,PCMA) | 4352 |---------------------------------------->| 4353 | | 4354 | | 4355 |Answer(Audio:Opus,PCMU,PCMA) | 4356 |<----------------------------------------| 4357 | | 4358 | |Mixer indicates 4359 | |it can provide 4360 | |audio-levels 4361 |Two way Opus Audio | 4362 |.........................................| 4363 | | 4364 |Audio-levels per CSRCS is included in the| 4365 |RTP header | 4366 | | 4368 +---------------------------------------------+---------------------+ 4369 | Offer SDP Contents | RFC#/Notes | 4370 +---------------------------------------------+---------------------+ 4371 | v=0 | [RFC4566] | 4372 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 4373 | | Origin Information | 4374 | s=- | [RFC4566] | 4375 | t=0 0 | [RFC4566] | 4376 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sd | 4377 | | p-bundle-negotiatio | 4378 | | n] | 4379 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 4380 | | ickle-ice] | 4381 | ****** Audio m=line ********* | ******************* | 4382 | | ********** | 4383 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 0 8 | [RFC4566] | 4384 | c=IN IP4 203.0.113.141 | [RFC4566] | 4385 | a=mid:audio | [RFC5888] | 4386 | a=msid:ma ta | Identifies | 4387 | | RTCMediaStream ID | 4388 | | (ma) and | 4389 | | RTCMediaStreamTrack | 4390 | | ID (ta) | 4391 | a=sendrecv | [RFC3264] - Alice | 4392 | | can send and recv | 4393 | | audio | 4394 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 4395 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU | 4396 | | Audio Codec | 4397 | a=rtpmap:0 PCMA/8000 | [RFC3551] PCMA | 4398 | | Audio Codec | 4399 | a=maxptime:120 | [RFC4566] | 4400 | a=ice-ufrag:074c6550 | [RFC5245] | 4401 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 4402 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 4403 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 4404 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 4405 | a=setup:actpass | [RFC5763] | 4406 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 4407 | | ls-sdp] | 4408 | a=rtcp-mux | [RFC5761] | 4409 | a=rtcp-rsize | [RFC5506] | 4410 | a=rtcp-fb:* nack | [RFC5104] | 4411 | a=extmap:1/recvonly urn:ietf:params:rtp- | [RFC6465] | 4412 | hdrext:csrc-audio-level | | 4413 | a=extmap:2 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 4414 | audio-level | | 4415 | a=extmap:3 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 4416 | hdrext:sdes:mid | p-bundle-negotiatio | 4417 | | n] | 4418 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 4419 | 61665 typ host | | 4420 | a=candidate:1 1 UDP 694302207 203.0.113.141 | [RFC5245] | 4421 | 54609 typ srflx raddr 192.0.2.4 rport 61665 | | 4422 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 4423 | | ickle-ice] | 4424 +---------------------------------------------+---------------------+ 4426 Table 39: 5.4.2 SDP Offer 4428 +---------------------------------------------+---------------------+ 4429 | Answer SDP Contents | RFC#/Notes | 4430 +---------------------------------------------+---------------------+ 4431 | v=0 | [RFC4566] | 4432 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] - Session | 4433 | | Origin Information | 4434 | s=- | [RFC4566] | 4435 | t=0 0 | [RFC4566] | 4436 | a=group:BUNDLE audio | [I-D.ietf-mmusic-sd | 4437 | | p-bundle-negotiatio | 4438 | | n] | 4439 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 4440 | | ickle-ice] | 4441 | ****** Audio m=line ********* | ******************* | 4442 | | ********** | 4443 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 0 98 | [RFC4566] | 4444 | c=IN IP4 203.0.113.77 | [RFC4566] | 4445 | a=mid:audio | [RFC5888] | 4446 | a=msid:ma ta | Identifies | 4447 | | RTCMediaStream ID | 4448 | | (ma) and | 4449 | | RTCMediaStreamTrack | 4450 | | ID (ta) | 4451 | a=sendrecv | [RFC3264] | 4452 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 4453 | a=rtpmap:0 PCMU/8000 | [RFC3551] PCMU | 4454 | | Audio Codec | 4455 | a=rtpmap:0 PCMA/8000 | [RFC3551] PCMA | 4456 | | Audio Codec | 4457 | a=maxptime:120 | [RFC4566] | 4458 | a=ice-ufrag:c300d85b | [RFC5245] | 4459 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] | 4460 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2: | [RFC5245] | 4461 | 51:3B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:2 | | 4462 | 4:C2:43:F0:A1:58:D0:A1:2C:19:08 | | 4463 | a=setup:active | [RFC5763] | 4464 | a=tls-id:CJ6FF9ZZMJW7MDRJIR7XVIQM48GE1G31 | [I-D.ietf-mmusic-dt | 4465 | | ls-sdp] | 4466 | a=rtcp-mux | [RFC5761] | 4467 | a=rtcp-rsize | [RFC5506] | 4468 | a=rtcp-fb:* nack | [RFC5104] | 4469 | a=extmap:1/sendonly urn:ietf:params:rtp- | [RFC6465] | 4470 | hdrext:csrc-audio-level | | 4471 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 4472 | hdrext:sdes:mid | p-bundle-negotiatio | 4473 | | n] | 4474 | a=candidate:0 1 UDP 2113667327 198.51.100.7 | [RFC5245] | 4475 | 51556 typ host | | 4476 | a=candidate:1 1 UDP 1694302207 203.0.113.77 | [RFC5245] | 4477 | 49203 typ srflx raddr 198.51.100.7 rport | | 4478 | 51556 | | 4479 | a=end-of-candidates | [I-D.ietf-mmusic-tr | 4480 | | ickle-ice] | 4481 +---------------------------------------------+---------------------+ 4483 Table 40: 5.4.2 SDP Answer 4485 5.4.3. Successful legacy Interop Fallback with bundle-only 4487 In the scenario described below, Alice is a multi-stream capable 4488 WebRTC endpoint while Bob is a legacy VOIP end-point. The SDP Offer/ 4489 Answer exchange demonstrates successful session setup with fallback 4490 to audio only stream negotiated via bundle-only framework between the 4491 end-points. Specifically, 4493 o Offer from Alice describes 2 cameras via 2 video m=lines with both 4494 marked as bundle-only. 4496 o Since Bob doesnot recognize either the BUNDLE mechanism or the 4497 bundle-only attribute, he accepts only the audio stream from 4498 Alice. 4500 NOTE: Since Alice is unaware of Bob's support for BUNDLE framework, 4501 Alice ensures to include separate RTP/RTCP ports and candidate 4502 information. 4504 Successful 2-Way WebRTC <-> VOIP Interop 4506 Alice Bob 4507 | | 4508 | | 4509 | Alice is a multistream capable WebRTC end-point | 4510 | & Bob is behind a legacy VOIP system | 4511 | | 4512 |Offer(Audio:Opus Video:2 VP8,2 H2.64 Streams) with | 4513 | bundle-only | 4514 |---------------------------------------------------------->| 4515 | Alice marks both the video streams as bundle-only | 4516 | | 4517 | | 4518 | Answer(Audio:Opus) | 4519 |<----------------------------------------------------------| 4520 | |Bob 4521 | |accepts 4522 | |audio 4523 | |stream, 4524 | |since he 4525 | |doesn't 4526 | |recognize 4527 | |bundle-only 4528 | | 4529 | Two way Opus Audio | 4530 |...........................................................| 4531 | | 4532 | | 4534 +---------------------------------------------+---------------------+ 4535 | Offer SDP Contents | RFC#/Notes | 4536 +---------------------------------------------+---------------------+ 4537 | v=0 | [RFC4566] | 4538 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 4539 | s=- | [RFC4566] | 4540 | t=0 0 | [RFC4566] | 4541 | a=group:BUNDLE m0 m1 m2 | [I-D.ietf-mmusic-sd | 4542 | | p-bundle-negotiatio | 4543 | | n] Alice supports | 4544 | | grouping of m=lines | 4545 | | under BUNDLE | 4546 | | semantics | 4547 | a=group:LS m0 m1 | [RFC5888] | 4548 | a=ice-options:trickle | [I-D.ietf-mmusic-tr | 4549 | | ickle-ice] | 4550 | ****** Audio m=line ********* | ******************* | 4551 | | ********** | 4552 | m=audio 54609 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 4553 | c=IN IP4 203.0.113.141 | [RFC4566] | 4554 | a=mid:m0 | [RFC5888] Audio | 4555 | | m=line part of | 4556 | | BUNDLE group with a | 4557 | | unique port number | 4558 | a=msid:ma ta | Identifies | 4559 | | RTCMediaStream ID | 4560 | | (ma) and | 4561 | | RTCMediaStreamTrack | 4562 | | ID (ta) | 4563 | a=sendrecv | [RFC3264] | 4564 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 4565 | a=maxptime:120 | [RFC4566] | 4566 | a=ice-ufrag:074c6550 | [RFC5245] | 4567 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 4568 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81: | [RFC5245] | 4569 | E6:B8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:0 | | 4570 | 4:A9:0E:05:E9:26:33:E8:70:88:A2 | | 4571 | a=setup:actpass | [RFC5763] | 4572 | a=tls-id:89J2LRATQ3ULA24G9AHWVR31VJWSLB68 | [I-D.ietf-mmusic-dt | 4573 | | ls-sdp] | 4574 | a=rtcp-mux | [RFC5761] | 4575 | a=rtcp:64678 IN IP4 203.0.113.141 | [RFC3605] | 4576 | a=rtcp-rsize | [RFC5506] | 4577 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 4578 | audio-level | | 4579 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 4580 | hdrext:sdes:mid | p-bundle-negotiatio | 4581 | | n] | 4582 | a=candidate:0 1 UDP 2113667327 192.0.2.4 | [RFC5245] | 4583 | 61665 typ host | | 4584 | a=candidate:1 1 UDP 694302207 203.0.113.141 | [RFC5245] | 4585 | 54609 typ srflx raddr 192.0.2.4 rport 61665 | | 4586 | a=candidate:0 1 UDP 2113667326 192.0.2.4 | [RFC5245] | 4587 | 61667 typ host | | 4588 | a=candidate:1 1 UDP 1694302206 | [RFC5245] | 4589 | 203.0.113.141 64678 typ srflx raddr | | 4590 | 192.0.2.4 rport 61667 | | 4591 | ****** Video-1 m=line ********* | ******************* | 4592 | | ********** | 4593 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 | bundle-only video | 4594 | | line with port | 4595 | | number set to zero | 4596 | c=IN IP4 203.0.113.141 | [RFC4566] | 4597 | a=bundle-only | [I-D.ietf-mmusic-sd | 4598 | | p-bundle-negotiatio | 4599 | | n] | 4600 | a=mid:m1 | [RFC5888] Video | 4601 | | m=line part of | 4602 | | BUNDLE group | 4603 | a=msid:ma tb | Identifies | 4604 | | RTCMediaStream ID | 4605 | | (ma) and | 4606 | | RTCMediaStreamTrack | 4607 | | ID (tb) | 4608 | a=sendrecv | [RFC3264] | 4609 | a=rtpmap:98 VP8/90000 | [RFC7741] | 4610 | a=imageattr:98 [x=1280,y=720] | [RFC6236] | 4611 | a=fmtp:98 max-fr=30 | [RFC4566] | 4612 | a=rtcp-fb:* nack | [RFC5104] | 4613 | a=rtcp-fb:* nack pli | [RFC5104] | 4614 | a=rtcp-fb:* ccm fir | [RFC5104] | 4615 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 4616 | hdrext:sdes:mid | p-bundle-negotiatio | 4617 | | n] | 4618 | ****** Video-2 m=line ********* | ******************* | 4619 | | ********** | 4620 | m=video 0 UDP/TLS/RTP/SAVPF 101 103 | bundle-only video | 4621 | | line with port | 4622 | | number set to zero | 4623 | c=IN IP4 203.0.113.141 | [RFC4566] | 4624 | a=bundle-only | [I-D.ietf-mmusic-sd | 4625 | | p-bundle-negotiatio | 4626 | | n] | 4627 | a=mid:m2 | [RFC5888] Video | 4628 | | m=line part of | 4629 | | BUNDLE group | 4630 | a=msid:ma tc | Identifies | 4631 | | RTCMediaStream ID | 4632 | | (ma) and | 4633 | | RTCMediaStreamTrack | 4634 | | ID (tc) | 4635 | a=sendrecv | [RFC3264] | 4636 | a=rtpmap:101 H264/90000 | [RFC6184] | 4637 | a=rtpmap:103 H264/90000 | [RFC6184] | 4638 | a=fmtp:101 profile-level- | [RFC6184]Camera-2,E | 4639 | id=4d0028;packetization-mode=1;max-fr=30 | ncoding-1 | 4640 | | Resolution | 4641 | a=rtcp-fb:* nack | [RFC5104] | 4642 | a=rtcp-fb:* nack pli | [RFC5104] | 4643 | a=rtcp-fb:* ccm fir | [RFC5104] | 4644 | a=extmap:2 urn:ietf:params:rtp- | [I-D.ietf-mmusic-sd | 4645 | hdrext:sdes:mid | p-bundle-negotiatio | 4646 | | n] | 4647 +---------------------------------------------+---------------------+ 4649 Table 41: 5.4.3 SDP Simulcast bundle-only 4651 +-------------------------------------------------+-----------------+ 4652 | Answer SDP Contents | RFC#/Notes | 4653 +-------------------------------------------------+-----------------+ 4654 | v=0 | [RFC4566] | 4655 | o=- 20519 0 IN IP4 0.0.0.0 | [RFC4566] | 4656 | s=- | [RFC4566] | 4657 | t=0 0 | [RFC4566] | 4658 | ****** Audio m=line ********* | *************** | 4659 | | ************** | 4660 | m=audio 49203 UDP/TLS/RTP/SAVPF 109 | [RFC4566] | 4661 | c=IN IP4 203.0.113.141 | [RFC4566] | 4662 | a=rtcp:60065 IN IP4 203.0.113.141 | [RFC3605] | 4663 | a=sendrecv | [RFC3264] | 4664 | a=rtpmap:109 opus/48000/2 | [RFC7587] | 4665 | a=maxptime:120 | [RFC4566] | 4666 | a=ice-ufrag:c300d85b | [RFC5245] | 4667 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] | 4668 | a=fingerprint:sha-256 6B:8B:F0:65:5F:78:E2:51:3 | [RFC5245] | 4669 | B:AC:6F:F3:3F:46:1B:35:DC:B8:5F:64:1A:24:C2:43: | | 4670 | F0:A1:58:D0:A1:2C:19:08 | | 4671 | a=setup:active | [RFC5763] | 4672 | a=rtcp-rsize | [RFC5506] | 4673 | a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc- | [RFC6464] | 4674 | audio-level | | 4675 | a=candidate:0 1 UDP 2113667327 198.51.100.7 | [RFC5245] | 4676 | 51556 typ host | | 4677 | a=candidate:1 1 UDP 694302207 203.0.113.77 | [RFC5245] | 4678 | 49203 typ srflx raddr 198.51.100.7 rport 51556 | | 4679 | a=candidate:0 2 UDP 2113667326 198.51.100.7 | [RFC5245] | 4680 | 51558 typ host | | 4681 | a=candidate:1 2 UDP 1694302206 203.0.113.77 | [RFC5245] | 4682 | 60065 typ srflx raddr 198.51.100.7 rport 51558 | | 4683 | ****** Video m=line ********* | *************** | 4684 | | ************** | 4685 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 | Bob doesn't | 4686 | | recognize | 4687 | | bundle-only and | 4688 | | hence the | 4689 | | m=line is | 4690 | | rejected | 4691 | | implicitly due | 4692 | | to port 0 | 4693 | ****** Video m=line ********* | *************** | 4694 | | ************** | 4695 | m=video 0 UDP/TLS/RTP/SAVPF 98 100 | Bob doesn't | 4696 | | recognize | 4697 | | bundle-only and | 4698 | | hence the | 4699 | | m=line is | 4700 | | rejected | 4701 | | implicitly due | 4702 | | to port 0 | 4703 +-------------------------------------------------+-----------------+ 4705 Table 42: 5.4.3 SDP Answer 4707 5.4.4. Legacy Interop with RTP/AVP profile 4709 In the scenario desribed below, Alice is a legacy end-point which 4710 sends [RFC3264] Offer with RTP/AVP based audio and video descriptions 4711 along with DTLS fingerprint and RTCP feedback information. 4713 On the other hand, Bob being a WebRTC end-point follows the 4714 procedures in section 5.1.2 of [I-D.ietf-rtcweb-jsep] and accepts the 4715 Alice's offer for DTLS-SRTP based session with RTCP feedback. 4717 Successful 2-Way WebRTC <-> VOIP Interop 4719 Alice Bob 4720 | | 4721 | | 4722 |Alice is a legacy VOIP End-point & Bob is a WebRTC End-Point| 4723 | | 4724 | | 4725 | | 4726 | Offer(Audio:Opus Video:H.264) | 4727 |----------------------------------------------------------->| 4728 | | 4729 | | 4730 |Alice includes : | 4731 |Legacy compliant media description (RTP/AVP) with dtls | 4732 |fingerprint and rtcp feedback support | 4733 | | 4734 | Answer(Audio:Opus, Video:H.264) | 4735 |<-----------------------------------------------------------| 4736 | |Bob 4737 | |accepts 4738 | |"legacy 4739 | |compliant" 4740 | |m=line 4741 | | 4742 | | 4743 | Two way Opus Audio, H.264 Video | 4744 |............................................................| 4745 | Session also suports RTP/RTCP Mux, RTCP Feedback | 4746 | | 4748 +-------------------------------------------------+-----------------+ 4749 | Offer SDP Contents | RFC#/Notes | 4750 +-------------------------------------------------+-----------------+ 4751 | v=0 | [RFC4566] | 4752 | o=- 20518 0 IN IP4 0.0.0.0 | [RFC4566] | 4753 | s=- | [RFC4566] | 4754 | t=0 0 | [RFC4566] | 4755 | a=ice-ufrag:074c6550 | [RFC5245] | 4756 | a=ice-pwd:a28a397a4c3f31747d1ee3474af08a068 | [RFC5245] | 4757 | a=rtcp-rsize | [RFC5506] | 4758 | ****** Audio m=line ********* | *************** | 4759 | | ************** | 4760 | m=audio 54732 RTP/AVP 109 | [RFC4566]Alice | 4761 | | includes | 4762 | | RTP/AVP audio | 4763 | | stream | 4764 | | description | 4765 | c=IN IP4 203.0.113.141 | [RFC4566] | 4766 | a=fingerprint:sha-256 19:E2:1C:3B:4B:9F:81:E6:B | [RFC5245] | 4767 | 8:5C:F4:A5:A8:D8:73:04:BB:05:2F:70:9F:04:A9:0E: | | 4768 | 05:E9:26:33:E8:70:88:A2 | | 4769 | a=rtpmap:109 opus/48000 | | 4770 | a=ptime:20 | | 4771 | a=sendrecv | [RFC3264] | 4772 | a=rtcp-mux | [RFC5761]Alice | 4773 | | still includes | 4774 | | RTP/RTCP Mux | 4775 | | support | 4776 | a=rtcp:64678 IN IP4 203.0.113.141 | [RFC3605] | 4777 | a=candidate:0 1 UDP 2113667327 192.0.2.4 54732 | [RFC5245] | 4778 | typ host | | 4779 | a=candidate:1 1 UDP 694302207 203.0.113.141 | [RFC5245] | 4780 | 54732 typ srflx raddr 192.0.2.4 rport 54732 | | 4781 | a=candidate:0 2 UDP 2113667326 192.0.2.4 64678 | [RFC5245] | 4782 | typ host | | 4783 | a=candidate:1 2 UDP 1694302206 203.0.113.141 | [RFC5245] | 4784 | 64678 typ srflx raddr 192.0.2.4 rport 64678 | | 4785 | ****** Video m=line ********* | *************** | 4786 | | ************** | 4787 | m=video 62445 RTP/AVP 120 | [RFC4566]Alice | 4788 | | includes | 4789 | | RTP/AVP video | 4790 | | stream | 4791 | | description | 4792 | c=IN IP4 203.0.113.141 | [RFC4566] | 4793 | a=fingerprint:sha-256 DC:B8:5F:64:1A:24:C2:43:F | [RFC5245] | 4794 | 0:A1:58:D0:A1:2C:19:08:6B:8B:F0:65:5F:78:E2:51: | | 4795 | 3B:AC:6F:F3:3F:46:1B:35 | | 4796 | a=rtpmap:120 VP8/90000 | [RFC7741] | 4797 | a=sendrecv | [RFC3264] | 4798 | a=rtcp-mux | [RFC5761]Alice | 4799 | | intends to | 4800 | | perform | 4801 | | RTP/RTCP Mux | 4802 | a=rtcp:54721 IN IP4 203.0.113.141 | [RFC3605] | 4803 | a=candidate:0 1 UDP 2113667327 192.0.2.4 62445 | [RFC5245] | 4804 | typ host | | 4805 | a=candidate:1 1 UDP 1694302207 203.0.113.141 | [RFC5245] | 4806 | 62537 typ srflx raddr 192.0.2.4 rport 62445 | | 4807 | a=candidate:0 2 UDP 2113667326 192.0.2.4 54721 | [RFC5245] | 4808 | typ host | | 4809 | a=candidate:1 2 UDP 1694302206 203.0.113.141 | [RFC5245] | 4810 | 54721 typ srflx raddr 192.0.2.4 rport 54721 | | 4811 | a=rtcp-fb:120 nack pli | [RFC5104] Alice | 4812 | | indicates | 4813 | | support for | 4814 | | Picture loss | 4815 | | Indication and | 4816 | | NACK RTCP | 4817 | | feedback | 4818 | a=rtcp-fb:120 ccm fir | [RFC5104] | 4819 +-------------------------------------------------+-----------------+ 4821 Table 43: 5.4.5 SDP Offer 4823 +-------------------------------------------------+-----------------+ 4824 | Answer SDP Contents | RFC#/Notes | 4825 +-------------------------------------------------+-----------------+ 4826 | v=0 | [RFC4566] | 4827 | o=- 16833 0 IN IP4 0.0.0.0 | [RFC4566] | 4828 | s=- | [RFC4566] | 4829 | t=0 0 | [RFC4566] | 4830 | ****** Audio m=line ********* | *************** | 4831 | | ************** | 4832 | m=audio 49203 RTP/AVP 109 | [RFC4566] Bob | 4833 | | accepts RTP/AVP | 4834 | | based audio | 4835 | | stream | 4836 | c=IN IP4 203.0.113.77 | [RFC4566] | 4837 | a=rtpmap:109 opus/48000 | | 4838 | a=ptime:20 | | 4839 | a=sendrecv | [RFC3264] | 4840 | a=ice-ufrag:c300d85b | [RFC5245] | 4841 | a=ice-pwd:de4e99bd291c325921d5d47efbabd9a2 | [RFC5245] | 4842 | a=fingerprint:sha-256 BB:05:2F:70:9F:04:A9:0E:0 | [RFC5245] | 4843 | 5:E9:26:33:E8:70:88:A2:19:E2:1C:3B:4B:9F:81:E6: | | 4844 | B8:5C:F4:A5:A8:D8:73:04 | | 4845 | a=rtcp-mux | [RFC5761] | 4846 | a=candidate:0 1 UDP 2113667327 198.51.100.7 | [RFC5245] | 4847 | 49203 typ host | | 4848 | a=candidate:1 1 UDP 1694302207 203.0.113.77 | [RFC5245] | 4849 | 49203 typ srflx raddr 198.51.100.7 rport 49203 | | 4850 | ****** Video m=line ********* | *************** | 4851 | | ************** | 4852 | m=video 63130 RTP/SAVP 120 | [RFC4566] Bob | 4853 | | accepts RTP/AVP | 4854 | | based video | 4855 | | stram | 4856 | c=IN IP4 203.0.113.77 | [RFC4566] | 4857 | a=rtpmap:120 VP8/90000 | [RFC7741] | 4858 | a=sendrecv | [RFC3264] | 4859 | a=ice-ufrag:e39091na | [RFC5245] | 4860 | a=ice-pwd:dbc325921d5dd29e4e99147efbabd9a2 | [RFC5245] | 4861 | a=fingerprint:sha-256 BB:0A:0E:05:E9:26:33:E8:7 | [RFC5245] | 4862 | 0:88:A2:2F:70:9F:04:19:E2:1C:3B:4B:9F:81:56:2F: | | 4863 | 70:9F:04:F4:A5:A8:D8 | | 4864 | a=rtcp-mux | [RFC5761] | 4865 | a=candidate:0 1 UDP 2113667327 198.51.100.7 | [RFC5245] | 4866 | 63130 typ host | | 4867 | a=candidate:1 1 UDP 1694302207 203.0.113.77 | [RFC5245] | 4868 | 63130 typ srflx raddr 198.51.100.7 rport 63130 | | 4869 | a=rtcp-fb:120 nack pli | [RFC5104] | 4870 | a=rtcp-fb:120 ccm fir | [RFC5104] | 4871 +-------------------------------------------------+-----------------+ 4873 Table 44: 5.4.5 SDP Answer 4875 6. IANA Considerations 4877 This document requires no actions from IANA. 4879 7. Security Considerations 4881 The IETF has published separate documents 4882 [I-D.ietf-rtcweb-security-arch] [I-D.ietf-rtcweb-security] describing 4883 the security architecture for WebRTC as a whole. 4885 In addition, since the SDP offer and answer messages can contain 4886 private information about addresses and sessions to be established 4887 between parties, if this information needs to be kept private, some 4888 security mechanism (using TLS transport for example) in the protocol 4889 used to carry the offers and answers must be used. 4891 8. Acknowledgments 4893 We would like to thank Justin Uberti, Chris Flo, Paul Kyzivat, Nils 4894 Ohlmeier for their detailed review and inputs. Thanks to Adam Roach 4895 for providing syntax validation script to help highlight syntax and 4896 formatting errors. 4898 9. Change Log 4900 [RFC EDITOR NOTE: Please remove this section when publishing] 4902 Changes from draft-ietf-rtcweb-sdp-08 4903 o Fixed formatting and syntax issues pointed out by Adam Roach's 4904 validator script. List of issues are here: 4905 https://github.com/fluffy/ietf/issues?q=is%3Aissue+is%3Aclosed 4907 o Align examples to match latest bundle specification as pointed by 4908 Christer Holmberg 4910 Changes from draft-ietf-rtcweb-sdp-07 4912 o Incorporate review from Nils. 4914 Changes from draft-ietf-rtcweb-sdp-06 4916 o Keep Alive Version. 4918 Changes from draft-ietf-rtcweb-sdp-05 4920 o Title change. 4922 Changes from draft-ietf-rtcweb-sdp-04 4924 o Add IPv6 Example. 4926 o Add a=rtcp-mux-only and fix a=rtcp in examples. 4928 o Fix Idnits. 4930 o Add Security Considerations section. 4932 Changes from draft-ietf-rtcweb-sdp-02 to draft-ietf-rtcweb-sdp-04 4934 o Alignment with JSEP-19. 4936 o Added a=identity example. 4938 o Added a=dtls-id, a=group:LS in the examples. 4940 o Added Appendix section to capture list of checklists for the 4941 attributes. 4943 o Removed SSRC lines to match JSEP-19. 4945 o Closed open issues on a=fingerprint, a=rtcp and a=rtcp-mux-only 4946 from ietf96 to reflect JSEP-19. 4948 o Simplied Inter-op example 4950 Changes from draft-ietf-rtcweb-sdp-02 4951 o Version increment to avoid expiry 4953 Changes from draft-ietf-rtcweb-sdp-01 4955 o Complete face-lift 4957 o Added visual markers around m=lines to indicate their type, added 4958 spacing between tables for aiding readers 4960 o Updated table names to indicate offer vs answer 4962 o Attempted to align to latest versions of SCTP, BUNDLE, MSID drafts 4964 o Added mid header extensions to all the lines 4966 o Harmonized BUNDLE semantics and conventions updated. 4968 Changes from draft-ietf-rtcweb-sdp-00 4970 o Updated Simulcast/FEC/RTX examples to use RID framework 4972 o Fixed BUNDLE references for a=bundle-only 4974 Changes from draft-nandakumar-rtcweb-sdp-08 4976 o Fixed typos 4978 o Moved to a WG version 4980 Changes from draft-nandakumar-rtcweb-sdp-06 and draft-nandakumar- 4981 rtcweb-sdp-07 4983 o Added clarification on Call-Flow diagram usage 4985 o More cleanups 4987 Changes from draft-nandakumar-rtcweb-sdp-05 4989 o Added Ascii chart for all the SDP Eaxamples 4991 o Improved text and updated SDP Examples for Simulcast and FEC 4993 o Fixed MediaStream ID Semantics SDP Errors 4995 Changes from draft-nandakumar-rtcweb-sdp-04 4997 o Interim version of the draft to avert expiry 4998 o Corrected placement of c= line as per RFC4566 5000 o Updated simulcast SDP to reflect draft-westerlund-avtcore-rtp- 5001 simulcast-04 5003 Changes from draft-nandakumar-rtcweb-sdp-03 5005 o Aligned more closely with JSEP version -05 5007 o Added Conventions to help readability 5009 o Add more examples to clarify BUNDLE use-cases 5011 Changes from draft-nandakumar-rtcweb-sdp-02 5013 o Major refactoring was done to group the examples in to categories 5015 o SDP was updated through out to reflect JSEP-04 style of defining 5016 attributes per m=line than at the session level. 5018 o Added 8 new examples. 5020 o Updated references for Trickle, Unified Plan 5022 o Add section to explain the syntax conventions followed in the 5023 examples. 5025 Changes from draft-nandakumar-rtcweb-sdp-01 5027 o Updated references to OPUS RTP Payload Specification. 5029 o Updated BUNDLE examples based on the latest draft-ietf-mmusic-sdp- 5030 bundle-negotiation. 5032 o Added examples for multiple audio and video flows based on Unified 5033 Plan. 5035 o Added new examples for RTX and FEC streams 5037 o Updated Simulcast and SVC examples 5039 Changes from draft-nandakumar-rtcweb-sdp-00 5041 o Fixed editorial comments on the mailing list. 5043 o Updated Data-channel SDP information based on draft-ietf-mmusic- 5044 sctp-sdp. 5046 o Updated BUNDLE examples based on draft-ietf-mmusic-sdp-bundle- 5047 negotiation. 5049 o Added examples for few more BUNDLE variants 5051 o Added new examples for Simulcast and SVC 5053 10. Informative References 5055 [RFC3264] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model 5056 with Session Description Protocol (SDP)", RFC 3264, 5057 DOI 10.17487/RFC3264, June 2002, . 5060 [RFC4566] Handley, M., Jacobson, V., and C. Perkins, "SDP: Session 5061 Description Protocol", RFC 4566, DOI 10.17487/RFC4566, 5062 July 2006, . 5064 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 5065 Requirement Levels", BCP 14, RFC 2119, 5066 DOI 10.17487/RFC2119, March 1997, . 5069 [RFC5245] Rosenberg, J., "Interactive Connectivity Establishment 5070 (ICE): A Protocol for Network Address Translator (NAT) 5071 Traversal for Offer/Answer Protocols", RFC 5245, 5072 DOI 10.17487/RFC5245, April 2010, . 5075 [RFC5506] Johansson, I. and M. Westerlund, "Support for Reduced-Size 5076 Real-Time Transport Control Protocol (RTCP): Opportunities 5077 and Consequences", RFC 5506, DOI 10.17487/RFC5506, April 5078 2009, . 5080 [RFC3551] Schulzrinne, H. and S. Casner, "RTP Profile for Audio and 5081 Video Conferences with Minimal Control", STD 65, RFC 3551, 5082 DOI 10.17487/RFC3551, July 2003, . 5085 [RFC4796] Hautakorpi, J. and G. Camarillo, "The Session Description 5086 Protocol (SDP) Content Attribute", RFC 4796, 5087 DOI 10.17487/RFC4796, February 2007, . 5090 [RFC5761] Perkins, C. and M. Westerlund, "Multiplexing RTP Data and 5091 Control Packets on a Single Port", RFC 5761, 5092 DOI 10.17487/RFC5761, April 2010, . 5095 [RFC5763] Fischl, J., Tschofenig, H., and E. Rescorla, "Framework 5096 for Establishing a Secure Real-time Transport Protocol 5097 (SRTP) Security Context Using Datagram Transport Layer 5098 Security (DTLS)", RFC 5763, DOI 10.17487/RFC5763, May 5099 2010, . 5101 [RFC5104] Wenger, S., Chandra, U., Westerlund, M., and B. Burman, 5102 "Codec Control Messages in the RTP Audio-Visual Profile 5103 with Feedback (AVPF)", RFC 5104, DOI 10.17487/RFC5104, 5104 February 2008, . 5106 [RFC4588] Rey, J., Leon, D., Miyazaki, A., Varsa, V., and R. 5107 Hakenberg, "RTP Retransmission Payload Format", RFC 4588, 5108 DOI 10.17487/RFC4588, July 2006, . 5111 [RFC5956] Begen, A., "Forward Error Correction Grouping Semantics in 5112 the Session Description Protocol", RFC 5956, 5113 DOI 10.17487/RFC5956, September 2010, . 5116 [RFC5888] Camarillo, G. and H. Schulzrinne, "The Session Description 5117 Protocol (SDP) Grouping Framework", RFC 5888, 5118 DOI 10.17487/RFC5888, June 2010, . 5121 [RFC6236] Johansson, I. and K. Jung, "Negotiation of Generic Image 5122 Attributes in the Session Description Protocol (SDP)", 5123 RFC 6236, DOI 10.17487/RFC6236, May 2011, 5124 . 5126 [RFC6184] Wang, Y., Even, R., Kristensen, T., and R. Jesup, "RTP 5127 Payload Format for H.264 Video", RFC 6184, 5128 DOI 10.17487/RFC6184, May 2011, . 5131 [RFC5583] Schierl, T. and S. Wenger, "Signaling Media Decoding 5132 Dependency in the Session Description Protocol (SDP)", 5133 RFC 5583, DOI 10.17487/RFC5583, July 2009, 5134 . 5136 [RFC3550] Schulzrinne, H., Casner, S., Frederick, R., and V. 5137 Jacobson, "RTP: A Transport Protocol for Real-Time 5138 Applications", STD 64, RFC 3550, DOI 10.17487/RFC3550, 5139 July 2003, . 5141 [RFC3261] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, 5142 A., Peterson, J., Sparks, R., Handley, M., and E. 5143 Schooler, "SIP: Session Initiation Protocol", RFC 3261, 5144 DOI 10.17487/RFC3261, June 2002, . 5147 [RFC3605] Huitema, C., "Real Time Control Protocol (RTCP) attribute 5148 in Session Description Protocol (SDP)", RFC 3605, 5149 DOI 10.17487/RFC3605, October 2003, . 5152 [RFC4733] Schulzrinne, H. and T. Taylor, "RTP Payload for DTMF 5153 Digits, Telephony Tones, and Telephony Signals", RFC 4733, 5154 DOI 10.17487/RFC4733, December 2006, . 5157 [RFC6464] Lennox, J., Ed., Ivov, E., and E. Marocco, "A Real-time 5158 Transport Protocol (RTP) Header Extension for Client-to- 5159 Mixer Audio Level Indication", RFC 6464, 5160 DOI 10.17487/RFC6464, December 2011, . 5163 [RFC6465] Ivov, E., Ed., Marocco, E., Ed., and J. Lennox, "A Real- 5164 time Transport Protocol (RTP) Header Extension for Mixer- 5165 to-Client Audio Level Indication", RFC 6465, 5166 DOI 10.17487/RFC6465, December 2011, . 5169 [RFC7587] Spittka, J., Vos, K., and JM. Valin, "RTP Payload Format 5170 for the Opus Speech and Audio Codec", RFC 7587, 5171 DOI 10.17487/RFC7587, June 2015, . 5174 [RFC7741] Westin, P., Lundin, H., Glover, M., Uberti, J., and F. 5175 Galligan, "RTP Payload Format for VP8 Video", RFC 7741, 5176 DOI 10.17487/RFC7741, March 2016, . 5179 [RFC7826] Schulzrinne, H., Rao, A., Lanphier, R., Westerlund, M., 5180 and M. Stiemerling, Ed., "Real-Time Streaming Protocol 5181 Version 2.0", RFC 7826, DOI 10.17487/RFC7826, December 5182 2016, . 5184 [I-D.ietf-mmusic-sdp-bundle-negotiation] 5185 Holmberg, C., Alvestrand, H., and C. Jennings, 5186 "Negotiating Media Multiplexing Using the Session 5187 Description Protocol (SDP)", draft-ietf-mmusic-sdp-bundle- 5188 negotiation-48 (work in progress), January 2018. 5190 [I-D.ietf-mmusic-sdp-simulcast] 5191 Burman, B., Westerlund, M., Nandakumar, S., and M. Zanaty, 5192 "Using Simulcast in SDP and RTP Sessions", draft-ietf- 5193 mmusic-sdp-simulcast-11 (work in progress), December 2017. 5195 [I-D.ietf-mmusic-rid] 5196 Roach, A., "RTP Payload Format Restrictions", draft-ietf- 5197 mmusic-rid-14 (work in progress), February 2018. 5199 [I-D.ietf-rtcweb-jsep] 5200 Uberti, J., Jennings, C., and E. Rescorla, "JavaScript 5201 Session Establishment Protocol", draft-ietf-rtcweb-jsep-24 5202 (work in progress), October 2017. 5204 [I-D.ietf-mmusic-trickle-ice] 5205 Ivov, E., Rescorla, E., and J. Uberti, "Trickle ICE: 5206 Incremental Provisioning of Candidates for the Interactive 5207 Connectivity Establishment (ICE) Protocol", draft-ietf- 5208 mmusic-trickle-ice-02 (work in progress), January 2015. 5210 [I-D.ietf-mmusic-msid] 5211 Alvestrand, H., "WebRTC MediaStream Identification in the 5212 Session Description Protocol", draft-ietf-mmusic-msid-16 5213 (work in progress), February 2017. 5215 [I-D.ietf-mmusic-sctp-sdp] 5216 Holmberg, C., Shpount, R., Loreto, S., and G. Camarillo, 5217 "Session Description Protocol (SDP) Offer/Answer 5218 Procedures For Stream Control Transmission Protocol (SCTP) 5219 over Datagram Transport Layer Security (DTLS) Transport.", 5220 draft-ietf-mmusic-sctp-sdp-26 (work in progress), April 5221 2017. 5223 [I-D.ietf-rtcweb-data-channel] 5224 Jesup, R., Loreto, S., and M. Tuexen, "WebRTC Data 5225 Channels", draft-ietf-rtcweb-data-channel-13 (work in 5226 progress), January 2015. 5228 [I-D.ietf-payload-flexible-fec-scheme] 5229 Singh, V., Begen, A., Zanaty, M., and G. Mandyam, "RTP 5230 Payload Format for Flexible Forward Error Correction 5231 (FEC)", draft-ietf-payload-flexible-fec-scheme-05 (work in 5232 progress), July 2017. 5234 [I-D.ietf-mmusic-mux-exclusive] 5235 Holmberg, C., "Indicating Exclusive Support of RTP/RTCP 5236 Multiplexing using SDP", draft-ietf-mmusic-mux- 5237 exclusive-12 (work in progress), May 2017. 5239 [I-D.ietf-mmusic-dtls-sdp] 5240 Holmberg, C. and R. Shpount, "Session Description Protocol 5241 (SDP) Offer/Answer Considerations for Datagram Transport 5242 Layer Security (DTLS) and Transport Layer Security (TLS)", 5243 draft-ietf-mmusic-dtls-sdp-32 (work in progress), October 5244 2017. 5246 [I-D.ietf-rtcweb-security-arch] 5247 Rescorla, E., "WebRTC Security Architecture", draft-ietf- 5248 rtcweb-security-arch-13 (work in progress), October 2017. 5250 [I-D.ietf-rtcweb-security] 5251 Rescorla, E., "Security Considerations for WebRTC", draft- 5252 ietf-rtcweb-security-10 (work in progress), January 2018. 5254 [I-D.ietf-avtext-rid] 5255 Roach, A., Nandakumar, S., and P. Thatcher, "RTP Stream 5256 Identifier Source Description (SDES)", draft-ietf-avtext- 5257 rid-09 (work in progress), October 2016. 5259 [WebRTC] W3C, "WebRTC 1.0: Real-time Communication Between 5260 Browsers", 5261 . 5263 Appendix A. Appendix 5265 A.1. JSEP SDP Attributes Checklist 5267 This section compiles a high-level checklist of the required SDP 5268 attributes to be verified against the examples defined in this 5269 specification. The goal here is to ensure that the examples are 5270 compliant to the rules defined in section 5 of the 5271 [I-D.ietf-rtcweb-jsep] specification. 5273 A.1.1. Common Checklist 5275 This subsection lists SDP attributes that mostly apply at the session 5276 level. 5278 o v=0 MUST be the first SDP line. 5280 o o= line MUST follow with values '-' for username, 64 bit value for 5281 session id and dummy values for 'nettype', 'addrtype' and 5282 'unicast-address' (for example: IN IP4 0.0.0.0). 5284 o o= line MUST have the session version incremented in the cases of 5285 subsequent offers. 5287 o s= MUST be the third line with the value of '-'. 5289 o t= line MUST follow with the values for 'start-time' and 'stop- 5290 time' set to zeroes. 5292 o a=identity line MUST be included at the session level if WEBRTC 5293 Identity mechanism is being used. 5295 o a=ice-options:trickle MUST be present at the session level in all 5296 offers and answers when supported. 5298 A.1.2. RTP Media Description Checklist 5300 Following set of checklist items apply to RTP audio and video media 5301 descriptions. 5303 o The media description's port value MUST either be set to dummy 5304 value of '9' or MUST use the port from the default candidate, if 5305 available. 5307 o The media description's proto value MUST be 'UDP/TLS/RTP/SAVPF' 5308 for JSEP offers. 5310 o JSEP answerer MUST support any combination of "RTP/[S]AVP[F]" for 5311 interoperability scenarios as defined in section 5 of 5312 [I-D.ietf-rtcweb-jsep] 5314 o c= line MUST be the first line in a media description. A dummy 5315 value of 'IN IP 0.0.0.0' is set if there are no candidates 5316 gathered or its value MUST match the default candidate. 5318 o a=mid attribute MUST be in included. 5320 o One of a=sendrecv/a=sendonly/a=recvonly/a=inactive SDP direction 5321 attributes MUST be present. 5323 o a=rtpmap and a=fmtp attributes per primary, retransmission and 5324 forward error correction media format MUST be included. 5326 o a=rtcp-fb lines for each supported feedback mechanism MUST be 5327 included when using RTP with feedback 5329 o a=imageattr can be optionally present for video media 5330 descriptions. 5332 o a=msid line MUST be included for all the media senders identifying 5333 the MediaStreamTrack (i.e when a=sendonly/a=sendrecv attribute is 5334 present). 5336 o a=extmap line identifying the BUNDLE header extension MUST be 5337 present. 5339 o a=extmap lines for other supported RTP header extensions MUST be 5340 included. 5342 o a=rid line 'per encoding' with the direction of 'send' MUST be 5343 included when further constraining the media format or multiple 5344 encodings per media format is needed. 5346 o a=simulcast line MUST be present if there exists more than one 5347 'a=rid' lines for the media senders. 5349 o a=bundle-only attribute MUST be present for media descriptions 5350 that are impacted by various bundle policies (such as max-bundle/ 5351 balanced) 5353 o For media descriptions that aren't "a=bundle-only" and that have 5354 unique address, following attributes MUST be present: 5356 * a=ice-ufrag and a=ice-pwd 5358 * a=fingerprint 5360 * a=setup with value 'actpass' in the offers and a value of 5361 'active'/'passive' in the answerer. 5363 * a=tls-id 5365 * a=rtcp 5367 * a=rtcp-mux 5369 * For offerers requiring RTCP to be multiplexed, 'a=rtcp-mux- 5370 only' line 5372 * a=rtcp-rsize 5374 o a=group:BUNDLE line with all the 'mid' identifiers part of the 5375 BUNDLE group is included at the session level. 5377 o a=group:LS session level attribute MUST be included wth the 'mid' 5378 identifiers that are part of the lip same sync group. 5380 A.1.3. DataChannel Media Description checklist 5382 If a datachannel is required, an 'application' type media description 5383 MUST be included with the following properties: 5385 o Media description's proto value MUST be 'UDP/DTLS/SCTP' in the 5386 JSEP offers. 5388 o An JSEP answerer MUST support reception of 5389 'UDP/DTLS/SCTP'/'TCP/DTLS/SCTP'/'DTLS/SCTP' for backward 5390 compatibility reasons. 5392 o A value of 'webrtc-datachannel' MUST be used for the media 5393 description 'fmt' value. 5395 o a=mid line MUST be present. 5397 o a=sctp-port with SCTP port number MUST be included. 5399 o a=max-message-size MAY be included, if appropriate. 5401 Authors' Addresses 5403 Suhas Nandakumar 5404 Cisco 5405 170 West Tasman Drive 5406 San Jose, CA 95134 5407 USA 5409 Email: snandaku@cisco.com 5411 Cullen Jennings 5412 Cisco 5413 170 West Tasman Drive 5414 San Jose, CA 95134 5415 USA 5417 Phone: +1 408 421-9990 5418 Email: fluffy@cisco.com