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