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