MMUSIC Working Group V. Singh
Internet-Draft J. Ott
Intended status: Experimental T. Karkkainen
Expires: April 3, 2015 Aalto University
R. Globisch
T. Schierl
Fraunhofer HHI
September 30, 2014
Multipath RTP (MPRTP) attribute in Session Description Protocol
draft-singh-mmusic-mprtp-sdp-extension-04
Abstract
Multipath RTP (MPRTP) is an extension to the Real-time Transport
Protocol (RTP) that allows multi-homed endpoints to take advantage of
the availability of multiple Internet paths between endpoints to send
/receive media packets. This document describes how to express the
interface advertisement and negotiation during session setup in SDP
(Session Description Protocol).
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on April 3, 2015.
Copyright Notice
Copyright (c) 2014 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
Singh, et al. Expires April 3, 2015 [Page 1]
Internet-Draft Multipath RTP in SDP September 2014
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1. Requirements Language . . . . . . . . . . . . . . . . . . 3
1.2. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3
2. SDP Considerations . . . . . . . . . . . . . . . . . . . . . 3
2.1. MPRTP Interface Advertisement in SDP (out-of-band
signaling) . . . . . . . . . . . . . . . . . . . . . . . 4
2.1.1. "interface" attribute . . . . . . . . . . . . . . . . 4
2.1.2. Example . . . . . . . . . . . . . . . . . . . . . . . 5
2.2. MPRTP with ICE . . . . . . . . . . . . . . . . . . . . . 5
2.3. Offer/Answer . . . . . . . . . . . . . . . . . . . . . . 6
2.3.1. In-band Signaling Example . . . . . . . . . . . . . . 7
2.3.2. Out-of-band Signaling Example . . . . . . . . . . . . 7
2.3.2.1. Without ICE . . . . . . . . . . . . . . . . . . . 8
2.3.2.2. With ICE . . . . . . . . . . . . . . . . . . . . 8
2.4. Increased Throughput . . . . . . . . . . . . . . . . . . 10
2.5. Increased Reliability . . . . . . . . . . . . . . . . . . 10
2.6. Decoding dependency . . . . . . . . . . . . . . . . . . . 10
3. MPRTP in RTSP . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1. Solution Overview without ICE . . . . . . . . . . . . . . 11
3.2. Solution Overview with ICE . . . . . . . . . . . . . . . 13
3.3. RTSP Extensions . . . . . . . . . . . . . . . . . . . . . 15
3.3.1. MPRTP Interface Transport Header Parameter . . . . . 15
3.3.2. MPRTP Feature Tag . . . . . . . . . . . . . . . . . . 16
3.3.3. Status Codes . . . . . . . . . . . . . . . . . . . . 16
3.3.4. New Reason for PLAY_NOTIFY . . . . . . . . . . . . . 16
3.3.5. Re-SETUP . . . . . . . . . . . . . . . . . . . . . . 17
4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 17
4.1. SDP Attributes . . . . . . . . . . . . . . . . . . . . . 18
4.1.1. "mprtp" attribute . . . . . . . . . . . . . . . . . . 18
4.2. RTSP . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.2.1. RTSP Feature Tag . . . . . . . . . . . . . . . . . . 18
4.2.2. RTSP Transport Parameters . . . . . . . . . . . . . . 18
4.2.3. Notify-Reason value . . . . . . . . . . . . . . . . . 18
5. Security Considerations . . . . . . . . . . . . . . . . . . . 19
6. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 19
7. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 19
8. References . . . . . . . . . . . . . . . . . . . . . . . . . 19
8.1. Normative References . . . . . . . . . . . . . . . . . . 19
8.2. Informative References . . . . . . . . . . . . . . . . . 20
Appendix A. Change Log . . . . . . . . . . . . . . . . . . . . . 21
Singh, et al. Expires April 3, 2015 [Page 2]
Internet-Draft Multipath RTP in SDP September 2014
A.1. Changes in draft-singh-mmusic-mprtp-sdp-extension-03 . . 21
A.2. Changes in draft-singh-mmusic-mprtp-sdp-extension-02 . . 21
A.3. Changes in draft-singh-mmusic-mprtp-sdp-extension-01 . . 21
A.4. Changes in draft-singh-mmusic-mprtp-sdp-extension-00 . . 21
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 22
1. Introduction
Multipath RTP (MPRTP) [I-D.singh-avtcore-mprtp] is an extension to
RTP [RFC3550] that allows splitting a single RTP stream into multiple
subflows, which are then transmitted over different Internet paths.
Multipath RTCP (MPRTCP) [I-D.singh-avtcore-mprtp] is an extension to
RTCP. It is used along with MPRTP to report per-path sender and
receiver characteristics.
A Multipath RTP session can be set up in many possible ways e.g.,
during handshake, or upgraded mid-session. The capability exchange
may be done using out-of-band signaling (e.g., Session Description
Protocol (SDP) [RFC3264] in Session Initiation Protocol (SIP)
[RFC3261], Real-Time Streaming Protocol (RTSP)
[I-D.ietf-mmusic-rfc2326bis]) or using in-band signaling (e.g., in
RTCP [I-D.singh-avtcore-mprtp]).
This document defines an extension to the SDP attribute 'a=mprtp'
defined in the base MPRTP specification [I-D.singh-avtcore-mprtp].
Using this extension an endpoint can advertise its multiple
interfaces.
1.1. Requirements Language
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [RFC2119].
1.2. Terminology
The definitions for the words Endpoint, Interface, Path and Subflow
in this document are as per [I-D.singh-avtcore-mprtp].
2. SDP Considerations
The base Multipath RTP specification [I-D.singh-avtcore-mprtp]
defines the 'a=mprtp' attribute to indicate support for MPRTP. In
the following section, we extend the 'a=mprtp' attribute to advertise
an endpoint's multiple interfaces in SDP instead of advertising the
interfaces in-band in RTCP [I-D.singh-avtcore-mprtp].
Singh, et al. Expires April 3, 2015 [Page 3]
Internet-Draft Multipath RTP in SDP September 2014
2.1. MPRTP Interface Advertisement in SDP (out-of-band signaling)
If the endpoint is aware of its multiple interfaces and wants to use
them for MPRTP, it MAY use SDP to advertise these interfaces.
Alternatively, it MAY use in-band signaling to advertise its
interfaces, as defined in [I-D.singh-avtcore-mprtp]. The receiving
endpoint MUST use the same mechanism to respond to an interface
advertisement. In particular, if an endpoint receives an SDP
containing multiple MPRTP interfaces, then it MUST respond to the
offer in SDP with its set of MPRTP interfaces.
2.1.1. "interface" attribute
The interface attribute is an optional media-level attribute and is
used to advertise an endpoint's interface address.
The syntax of the interface attribute is defined using the following
Augmented BNF, as defined in [RFC5234]. The definitions of unicast-
address, port, token, SP, and CRLF are according to RFC4566
[RFC4566].
mprtp-optional-parameter = mprtp-interface
; other optional parameters may be added later
mprtp-interface = "interface" ":" counter SP unicast-address
":" rtp_port
*(SP interface-description-extension)
counter = 1*DIGIT
rtp_port = port ;port from RFC4566
<mprtp-interface>: specifies one unicast IP address, the RTP port
number of the endpoint (MPRTP [I-D.singh-avtcore-mprtp] uses RTP/RTCP
port multiplexing). The unicast address with lowest counter value
MUST match the connection address ('c=' line). Similarly, the RTP
and RTCP ports MUST match the RTP and RTCP ports in the associated
'm=' line. The counter SHOULD start at 1 and increment with each
additional interface. Multiple interface lines MUST be ordered in a
decreasing priority level as is the case with the Interface
Advertisement blocks in in-band signaling (See
[I-D.singh-avtcore-mprtp]).
<unicast-address>: is taken from RFC4566 [RFC4566]. It is one of the
IP addresses of the endpoint and allows the use of IPv4 addresses,
IPv6 addresses and Fully Qualified Domain Names (FQDN). When
choosing IPv6 addresses the endpoint MUST perform the IPv6 address
prioritization and selection as proposed in
[I-D.keranen-mmusic-ice-address-selection].
Singh, et al. Expires April 3, 2015 [Page 4]
Internet-Draft Multipath RTP in SDP September 2014
<port>: is from RFC4566 [RFC4566]. It is the RTP port associated
with the unicast address and note that the RTP and RTCP ports are
multiplexed for MPRTP subflows according to [RFC5761].
<counter>: is a monotonically increasing positive integer starting at
1. The counter MUST reset for each media line. The counter value
for an 'mprtp-interface' should remain the same for the session,
unless the priorities of the interfaces change.
[Editor's note: do we need a counter?]
The 'mprtp-interface' can be extended using the 'interface-
description-extension' parameter. An endpoint MUST ignore any
extensions it does not understand.
2.1.2. Example
The ABNF grammar is illustrated by means of an example:
v=0
o=alice 2890844526 2890844527 IN IP4 192.0.2.1
s=
c=IN IP4 192.0.2.1
t=0 0
m=video 49170 RTP/AVP 98
a=rtpmap:98 H264/90000
a=fmtp:98 profile-level-id=42A01E;
a=extmap:1 urn:ietf:params:rtp-hdrext:mprtp
a=rtcp-mux
a=mprtp interface:1 192.0.2.1:49170 ;primary interface
a=mprtp interface:2 198.51.100.1:51372 ;additional interface
2.2. MPRTP with ICE
If the endpoints intend to use ICE [RFC5245] for discovering
interfaces and running connectivity checks, the following two step
procedure MUST be followed:
1. Advertise ICE candidates: in the initial OFFER the endpoints
exchange candidates, as defined in ICE [RFC5245]. Thereafter the
endpoints run connectivity checks.
2. Advertise MPRTP interfaces: When a sufficient number of
connectivity checks succeed, the endpoint MUST send an updated
offer containing the interfaces that they want to use for MPRTP.
When an endpoint uses ICE's regular nomination [RFC5245] procedure,
it chooses the best ICE candidate as the default path. In the case
Singh, et al. Expires April 3, 2015 [Page 5]
Internet-Draft Multipath RTP in SDP September 2014
of an MPRTP endpoint, if the connectivity check of more than one ICE
candidate succeeded, then an MPRTP endpoint MAY advertise (some of)
these as MPRTP interfaces in an updated offer.
When an endpoint uses ICE's aggressive nomination [RFC5245]
procedure, the selected candidate may change as more ICE checks
complete. Instead of sending updated offers as additional ICE
candidates appear (transience), the endpoint MAY use in-band
signaling to advertise its interfaces, as defined in
[I-D.singh-avtcore-mprtp]. Additionally, it MAY send an updated
offer when the transience stabilizes.
If the default interface disappears and the paths used for MPRTP are
different from the one in the c= and m= lines then the 'mprtp
interface' with the lowest counter value should be promoted to the c=
and m= lines in the updated offer.
When a new interface appears, then the application/endpoint should
internally decide if it wishes to use it and sends an updated offer
with ICE candidates of the new interface. The receiving endpoint
responds to the offer with all its ICE candidates in the answer and
starts connectivity checks between all its candidates and the
offerer's new ICE candidate. Similarly, the initiating endpoint
starts connectivity checks between the new interface and all the
received ICE candidates in the answer. If the connectivity checks
succeed, the initiating endpoint MAY send an updated offer with the
new interface as an additional 'mprtp interface'.
[Editor's Note: should we also consider using trickle ICE for MPRTP?
Trickle ICE is introduced in: [I-D.ietf-mmusic-trickle-ice] and for
SIP in [I-D.ivov-mmusic-trickle-ice-sip].]
2.3. Offer/Answer
When SDP [RFC4566] is used to negotiate MPRTP interfaces (see
Section 2.1) following the offer/answer model [RFC3264], the
collection of "a=mprtp interface" attribute lines indicates the
interfaces the endpoint wishes to use for sending and/or receiving
media data. The SDP offer MUST include this attribute at the media
level. If the answerer wishes to also use SDP for advertising MPRTP
interfaces, it MUST also include its interfaces at the media-level
"a=mprtp interface" attribute in the answer. If the answer does not
contain an "a=mprtp interface" attribute, the offerer MUST use in-
band signaling [I-D.singh-avtcore-mprtp] for advertising interfaces.
When SDP is used in a declarative manner, the presence of an "a=mprtp
interface" attribute signals that the sender can send or receive
media data over multiple interfaces. The receiver SHOULD be capable
Singh, et al. Expires April 3, 2015 [Page 6]
Internet-Draft Multipath RTP in SDP September 2014
of streaming media to the multiple interfaces and be prepared to
receive media from multiple interfaces.
The following sections shows examples of SDP offer and answer for in-
band and out-of-band signaling.
2.3.1. In-band Signaling Example
The following offer/answer shows that both the endpoints are MPRTP
capable and SHOULD use in-band signaling for interfaces
advertisements.
Offer:
v=0
o=alice 2890844526 2890844527 IN IP4 192.0.2.1
s=
c=IN IP4 192.0.2.1
t=0 0
m=video 49170 RTP/AVP 98
a=rtpmap:98 H264/90000
a=fmtp:98 profile-level-id=42A01E;
a=rtcp-mux
a=mprtp
Answer:
v=0
o=bob 2890844528 2890844529 IN IP4 192.0.2.2
s=
c=IN IP4 192.0.2.2
t=0 0
m=video 4000 RTP/AVP 98
a=rtpmap:98 H264/90000
a=fmtp:98 profile-level-id=42A01E;
a=rtcp-mux
a=mprtp
The endpoint MAY now use in-band RTCP signaling to advertise its
multiple interfaces. Alternatively, it MAY make another offer with
the interfaces in SDP (out-of-band signaling).
2.3.2. Out-of-band Signaling Example
If multiple interfaces are included in an SDP offer then the MPRTP-
capable receiver MUST respond to the request with an SDP answer
containing one or more interfaces. If the SDP answer does not
contain "a=mprtp", the offerer can conclude that the endpoint does
not support MPRTP and continue the session using a single path.
Singh, et al. Expires April 3, 2015 [Page 7]
Internet-Draft Multipath RTP in SDP September 2014
2.3.2.1. Without ICE
In this example, the offerer advertises two interfaces and the
answerer responds with a single interface description. The endpoint
MAY use one or both paths depending on the end-to-end characteristics
of each path.
Offer:
v=0
o=alice 2890844526 2890844527 IN IP4 192.0.2.1
s=
c=IN IP4 192.0.2.1
t=0 0
m=video 49170 RTP/AVP 98
a=rtpmap:98 H264/90000
a=fmtp:98 profile-level-id=42A01E;
a=rtcp-mux
a=mprtp interface:1 192.0.2.1:49170
a=mprtp interface:2 198.51.100.1:51372
Answer:
v=0
o=bob 2890844528 2890844529 IN IP4 192.0.2.2
s=
c=IN IP4 192.0.2.2
t=0 0
m=video 4000 RTP/AVP 98
a=rtpmap:98 H264/90000
a=fmtp:98 profile-level-id=42A01E;
a=rtcp-mux
a=mprtp interface:1 192.0.2.2:4000
2.3.2.2. With ICE
In this example, the endpoint first sends its ICE candidates in the
initial offer and the other endpoint answers with its ICE candidates.
Initial offer (with ICE candidates):
Singh, et al. Expires April 3, 2015 [Page 8]
Internet-Draft Multipath RTP in SDP September 2014
Offer:
v=0
o=alice 2890844526 2890844527 IN IP4 192.0.2.1
s=
c=IN IP4 192.0.2.1
t=0 0
a=ice-pwd:asd88fgpdd777uzjYhagZg
a=ice-ufrag:8hhY
a=mprtp
m=video 49170 RTP/AVP 98
a=rtpmap:98 H264/90000
a=fmtp:98 profile-level-id=42A01E;
a=rtcp-mux
a=candidate:1 1 UDP 2130706431 192.0.2.1 49170 typ host
a=candidate:2 1 UDP 1694498815 198.51.100.1 51372 typ host
Answer:
v=0
o=bob 2890844528 2890844529 IN IP4 192.0.2.2
s=
c=IN IP4 192.0.2.2
t=0 0
a=ice-pwd:YH75Fviy6338Vbrhrlp8Yh
a=ice-ufrag:9uB6
a=mprtp
m=video 4000 RTP/AVP 98
a=rtpmap:98 H264/90000
a=fmtp:98 profile-level-id=42A01E;
a=rtcp-mux
a=candidate:1 1 UDP 2130706431 192.0.2.2 4000 typ host
Thereafter, each endpoint conducts ICE connectivity checks and when
sufficient number of connectivity checks succeed, the endpoint sends
an updated offer. In the updated offer, the endpoint advertises its
multiple interfaces for MPRTP.
Updated offer (with MPRTP interfaces):
Singh, et al. Expires April 3, 2015 [Page 9]
Internet-Draft Multipath RTP in SDP September 2014
Offer:
v=0
o=alice 2890844526 2890844527 IN IP4 192.0.2.1
s=
c=IN IP4 192.0.2.1
t=0 0
m=video 49170 RTP/AVP 98
a=rtpmap:98 H264/90000
a=fmtp:98 profile-level-id=42A01E;
a=rtcp-mux
a=candidate:1 1 UDP 2130706431 192.0.2.1 49170 typ host
a=candidate:2 1 UDP 1694498815 198.51.100.1 51372 typ host
a=mprtp interface:1 192.0.2.1:49170
a=mprtp interface:2 198.51.100.1:51372
Answer:
v=0
o=bob 2890844528 2890844529 IN IP4 192.0.2.2
s=
c=IN IP4 192.0.2.2
t=0 0
m=video 4000 RTP/AVP 98
a=rtpmap:98 H264/90000
a=fmtp:98 profile-level-id=42A01E;
a=rtcp-mux
a=candidate:1 1 UDP 2130706431 192.0.2.2 4000 typ host
a=mprtp interface:1 192.0.2.2:4000
2.4. Increased Throughput
The MPRTP layer MAY choose to augment paths to increase throughput.
If the desired media rate exceeds the current media rate, the
endpoints MUST renegotiate the application specific ("b=AS:xxx")
[RFC4566] bandwidth.
2.5. Increased Reliability
TBD
2.6. Decoding dependency
TBD
3. MPRTP in RTSP
Endpoints MUST use RTSP 2.0 [I-D.ietf-mmusic-rfc2326bis] for session
setup. Endpoints MUST multiplex RTP and RTCP on a single port
Singh, et al. Expires April 3, 2015 [Page 10]
Internet-Draft Multipath RTP in SDP September 2014
[RFC5761] and follow the recommendations made in Appendix C of
[I-D.ietf-mmusic-rfc2326bis].
3.1. Solution Overview without ICE
1. The RTSP Server should include all of its interfaces via the SDP
attribute ("a=mprtp interface") in the RTSP DESCRIBE message.
2. The RTSP Client should include its multiple interfaces in the
RTSP SETUP message using the new attribute ("dest_mprtp_addr=")
in the Transport header.
3. The RTSP Server responds to the RTSP SETUP message with a 200 OK
containing its MPRTP interfaces (using the "src_mprtp_header=")
in the Transport header. After this, the RTSP Client can issue a
PLAY request.
4. If a new interface appears or an existing one disappear at the
RTSP Client during playback, it should send a new RTSP SETUP
message containing the updated interfaces ("dest_mprtp_addr") in
the Transport header.
5. If a new interface appears or an existing one disappears at the
RTSP Server during playback, the RTSP Server should send a
PLAY_NOTIFY message with a new Notify-Reason: "src-mprtp-
interface-update". The request must contain the updated
interfaces ("dest_mprtp_addr") in the "MPRTP-Interfaces" header.
6. Alternatively, the RTSP Server or Client may use the RTCP (in-
band) mechanism to advertise their interfaces.
The overview is illustrated by means of an example:
Singh, et al. Expires April 3, 2015 [Page 11]
Internet-Draft Multipath RTP in SDP September 2014
C->S: DESCRIBE rtsp://server.example.com/fizzle/foo RTSP/2.0
CSeq: 111
User-Agent: PhonyClient 1.3
Accept: application/sdp, application/example
Supported: setup.mprtp, setup.rtp.rtcp.mux
S->C: RTSP/2.0 200 OK
CSeq: 111
Date: 23 Jan 2011 15:35:06 GMT
Server: PhonyServer 1.3
Content-Type: application/sdp
Content-Length: 367
Supported: setup.mprtp, setup.rtp.rtcp.mux
v=0
o=mprtp-rtsp-server 2890844526 2890844527 IN IP4 192.0.2.1
s=
c=IN IP4 192.0.2.1
t=0 0
m=video 49170 RTP/AVP 98
a=rtpmap:98 H264/90000
a=fmtp:98 profile-level-id=42A01E;
a=extmap:1 urn:ietf:params:rtp-hdrext:mprtp
a=rtcp-mux
a=mprtp interface:1 192.0.2.1:49170
a=mprtp interface:2 198.51.100.1:51372
On receiving the response to the RTSP DESCRIBE message, the RTSP
Client sends an RTSP SETUP message containing its MPRTP interfaces in
the Transport header using the "dest_mprtp_addr=" attribute. The
RTSP Server responds with a 200 OK containing both the RTSP Client's
and the RTSP Server's MPRTP interfaces.
Singh, et al. Expires April 3, 2015 [Page 12]
Internet-Draft Multipath RTP in SDP September 2014
C->S: SETUP rtsp://server.example.com/fizzle/foo/audio RTSP/2.0
CSeq: 112
Transport: RTP/AVPF/UDP; unicast; dest_mprtp_addr="
1 192.0.2.2 4000"; RTCP-mux,
RTP/AVP/UDP; unicast; dest_addr=":6970"/":6971",
RTP/AVP/TCP;unicast;interleaved=0-1
Accept-Ranges: NPT, UTC
User-Agent: PhonyClient 1.3
Supported: setup.mprtp, setup.rtp.rtcp.mux
S->C: RTSP/2.0 200 OK
CSeq: 112
Session: 12345678
Transport: RTP/AVPF/UDP; unicast; dest_mprtp_addr="
1 192.0.2.2 4000";
src_mprtp_addr="1 192.0.2.1 49170;
2 198.51.100.1 51372"; RTCP-mux
Accept-Ranges: NPT
Date: 23 Jan 2012 15:35:06 GMT
Server: PhonyServer 1.3
Supported: setup.mprtp, setup.rtp.rtcp.mux
The RTSP Client can issue a PLAY request on receiving the 200 OK and
media can start to stream once the RTSP Server receives the PLAY
request.
3.2. Solution Overview with ICE
This overview uses the ICE mechanisms [I-D.ietf-mmusic-rtsp-nat]
defined for RTSP 2.0 [I-D.ietf-mmusic-rfc2326bis].
1. The RTSP Server should include the "a=rtsp-ice-d-m" attribute and
also indicate that it supports MPRTP by including the "a=mprtp"
attribute in the SDP of the RTSP DESCRIBE message.
2. The client sends an RTSP SETUP message containing the D-ICE in
lower level transport and ICE candidates in the Transport header.
The RTSP Server and Client then follow the procedures (Steps 2 to
8) described in [I-D.ietf-mmusic-rtsp-nat].
3. When the connectivity checks conclude, the RTSP Client can send
an updated RTSP SETUP message with its MPRTP interfaces (ICE
candidates that were successful) in the Transport header
("dest_mprtp_addr="). The RTSP Server responds to the RTSP SETUP
message with a 200 OK containing its MPRTP interfaces (ICE
candidates that were successful) in the Transport header
("src_mprtp_header="). After receiving the 200 OK, the RTSP
Client can issue the PLAY request.
Singh, et al. Expires April 3, 2015 [Page 13]
Internet-Draft Multipath RTP in SDP September 2014
4. Alternatively, after the connectivity checks conclude, the RTSP
Client can issue the PLAY request (Step 9 and 10 of
[I-D.ietf-mmusic-rtsp-nat]) and the endpoints can use the RTCP
(in-band) mechanism to advertise their interfaces.
5. If a new interface appears or an existing one disappears, the
RTSP Client should issue an updated SETUP message with the new
candidates (See Section 5.12 of [I-D.ietf-mmusic-rtsp-nat]) or
the RTSP Server should send a PLAY_NOTIFY message (See
Section 5.13 of [I-D.ietf-mmusic-rtsp-nat]). After connectivity
checks succeed for the new interfaces, the RTSP Client can
proceed with the instructions in Step 3 or 4.
The overview is illustrated by means of an example:
C->S: DESCRIBE rtsp://server.example.com/foo RTSP/2.0
CSeq: 312
User-Agent: PhonyClient 1.3
Accept: application/sdp, application/example
Supported: setup.mprtp, setup.ice-d-m, setup.rtp.rtcp.mux
S->C: RTSP/2.0 200 OK
CSeq: 312
Date: 23 Jan 2012 15:35:06 GMT
Server: PhonyServer 1.3
Content-Type: application/sdp
Content-Length: 367
Supported: setup.mprtp, setup.ice-d-m, setup.rtp.rtcp.mux
v=0
o=mprtp-rtsp-server 2890844526 2890842807 IN IP4 192.0.2.1
s=SDP Seminar
i=A Seminar on the session description protocol
u=http://www.example.com/lectures/sdp.ps
e=seminar@example.com (Seminar Management)
t=2873397496 2873404696
a=recvonly
a=rtsp-ice-d-m
a=control: *
m=video 49170 RTP/AVP 98
a=rtpmap:98 H264/90000
a=fmtp:98 profile-level-id=42A01E;
a=rtcp-mux
a=mprtp
a=control: /video
Singh, et al. Expires April 3, 2015 [Page 14]
Internet-Draft Multipath RTP in SDP September 2014
C->S: SETUP rtsp://server.example.com/foo/video RTSP/2.0
CSeq: 302
Transport: RTP/AVP/D-ICE; unicast; ICE-ufrag=9uB6;
ICE-Password=YH75Fviy6338Vbrhrlp8Yh;
candidates="1 1 UDP 2130706431 192.0.2.2
4000 typ host"; RTCP-mux,
RTP/AVP/UDP; unicast; dest_addr=":6970"/":6971",
RTP/AVP/TCP;unicast;interleaved=0-1
Accept-Ranges: NPT, UTC
User-Agent: PhonyClient 1.3
Supported: setup.mprtp, setup.ice-d-m, setup.rtp.rtcp.mux
S->C: RTSP/2.0 200 OK
CSeq: 302
Session: 12345678
Transport: RTP/AVP/D-ICE; unicast; RTCP-mux;
ICE-ufrag=8hhY; ICE-Password=
asd88fgpdd777uzjYhagZg; candidates="
1 1 UDP 2130706431 192.0.2.1 49170 typ host;
2 1 UDP 1694498815 198.51.100.1 51372 typ host"
Accept-Ranges: NPT
Date: 23 Jan 2012 15:35:06 GMT
Server: PhonyServer 1.3
Supported: setup.mprtp, setup.ice-d-m, setup.rtp.rtcp.mux
After the connectivity checks complete, the RTSP Client can send an
updated RTSP SETUP message containing the MPRTP interfaces for which
the connectivity checks were successful. These steps are the same as
the ones in the previous example.
3.3. RTSP Extensions
3.3.1. MPRTP Interface Transport Header Parameter
This section defines a new RTSP Transport parameter for carrying
MPRTP interfaces. The transport parameters may only occur once in
each transport specification. The parameter can contain one or more
MPRTP interfaces. If the RTSP Server supports MPRTP it MUST include
one or more MPRTP interfaces in the SETUP response.
Singh, et al. Expires April 3, 2015 [Page 15]
Internet-Draft Multipath RTP in SDP September 2014
trns-parameter = <Defined in Section 20.2.3 of
[I-D.ietf-mmusic-rfc2326bis]>
trns-parameter =/ SEMI dest-mprtp-interface-par
trns-parameter =/ SEMI src-mprtp-interface-par
dest-mprtp-interface-par = "dest_mprtp_addr" EQUAL DQUOTE SWS
interface *(SEMI interface) SWS DQUOTE
src-mprtp-interface-par = "src_mprtp_addr" EQUAL DQUOTE SWS
interface *(SEMI interface) SWS DQUOTE
interface = counter SP
unicast-address SP
rtp_port SP
*(SP interface-description-extension)
counter = See section 2.3.1
unicast-address = See section 2.3.1
rtp_port = See section 2.3.1
interface-description-extension = See section 2.3.1
EQUAL = <Defined in [I-D.ietf-mmusic-rfc2326bis]>
DQUOTE = <Defined in [I-D.ietf-mmusic-rfc2326bis]>
SWS = <Defined in [I-D.ietf-mmusic-rfc2326bis]>
SEMI = <Defined in [I-D.ietf-mmusic-rfc2326bis]>
3.3.2. MPRTP Feature Tag
A feature tag is defined for indicating MPRTP support in the RTSP
capabilities mechanism: "setup.mprtp". This feature tag indicates
that the endpoint supports all the mandatory extensions defined in
this specification and is applicable to all types of RTSP agents;
clients, servers and proxies.
The MPRTP compliant RTSP Client MUST send the feature tag
"setup.mprtp" in the "Supported" header of all DESCRIBE and SETUP
requests.
3.3.3. Status Codes
TBD
3.3.4. New Reason for PLAY_NOTIFY
A new value used in the PLAY_NOTIFY methods Notify-Reason header is
defined: "src-mprtp-interface-update". This reason indicates that
the RTSP Server has updated set of MPRTP interfaces.
Notify-Reas-val =/ "src-mprtp-interface-update"
Singh, et al. Expires April 3, 2015 [Page 16]
Internet-Draft Multipath RTP in SDP September 2014
PLAY_NOTIFY requests with Notify-Reason header set to src-mprtp-
interface-update MUST include a mprtp-interfaces header.
mprtp-interfaces = "mprtp-interfaces" HCOLON interface
*(COMMA interface)
interface = counter SP
unicast-address SP
rtp_port SP
*(SP interface-description-extension)
counter = See section 2.3.1
unicast-address = See section 2.3.1
rtp_port = See section 2.3.1
interface-description-extension = See section 2.3.1
Example:
S->C: PLAY_NOTIFY rtsp://server.example.com/foo RTSP/2.0
CSeq: 305
Notify-Reason: src-mprtp-interface-update
Session: 12345678
mprtp-interfaces: 2 192.0.2.10 48211, 3 198.51.100.11 38703
Server: PhonyServer 1.3
C->S: RTSP/2.0 200 OK
CSeq: 305
User-Agent: PhonyClient 1.3
3.3.5. Re-SETUP
The server SHALL support SETUP requests in PLAYING state if it is
only updating the transport parameter (dest_mprtp_addr). If the
session is established using ICE then the RTSP Server and Client MUST
also follow the procedures described for Re-SETUP in
[I-D.ietf-mmusic-rtsp-nat].
4. IANA Considerations
The following contact information shall be used for all registrations
in this document:
Contact: Varun Singh
mailto:varun.singh@iki.fi
tel:+358-9-470-24785
Note to the RFC-Editor: When publishing this document as an RFC,
please replace "RFC XXXX" with the actual RFC number of this document
and delete this sentence.
Singh, et al. Expires April 3, 2015 [Page 17]
Internet-Draft Multipath RTP in SDP September 2014
4.1. SDP Attributes
4.1.1. "mprtp" attribute
o Attribute Name: MPRTP
o Long Form: Multipath RTP
o Type of Attribute: media-level
o Charset Considerations: The attribute is not subject to the
charset attribute.
o Purpose: This attribute is extended to signal one of many possible
interfaces for communication. These interface addresses may have
been validated using ICE procedures.
o Appropriate Values: Section 2.1.1 of RFC XXXX.
4.2. RTSP
This document requests registration in a number of registries for
RTSP.
4.2.1. RTSP Feature Tag
This document request that one RTSP 2.0 feature tag be registered in
the "RTSP 2.0 feature tag" registry:
setup.mprtp See Section 3.3.2.
4.2.2. RTSP Transport Parameters
This document requests that 2 transport parameters be registered in
RTSP 2.0's "Transport Parameters":
"dest_mprtp_addr": See Section 3.3.1.
"src_mprtp_addr": See Section 3.3.1.
4.2.3. Notify-Reason value
This document requests that one assignment be done in the RTSP 2.0
Notify-Reason header value registry. The defined value is:
"src-mprtp-interface-update": See Section 3.3.4.
Singh, et al. Expires April 3, 2015 [Page 18]
Internet-Draft Multipath RTP in SDP September 2014
5. Security Considerations
All drafts are required to have a security considerations section.
See RFC 3552 [RFC3552] for a guide.
6. Acknowledgements
Varun Singh, Saba Ahsan, and Teemu Karkkainen are supported by
Trilogy (http://www.trilogy-project.org), a research project
(ICT-216372) partially funded by the European Community under its
Seventh Framework Program.
The work of Varun Singh, Joerg Ott, Ralf Globisch and Thomas Schierl
has been partially supported by the European Institute of Innovation
and Technology (EIT) ICT Labs activity RCLD 11882.
The views expressed here are those of the author(s) only. Neither
the European Commission nor the EITICT labs is liable for any use
that may be made of the information in this document.
7. Contributors
Saba Ahsan
Aalto University
School of Science and Technology
Otakaari 5 A
Espoo, FIN 02150
Finland
Email: sahsan@cc.hut.fi
Lars Eggert
NetApp
Sonnenallee 1
Kirchheim 85551
Germany
Phone: +49 151 12055791
Email: lars@netapp.com
URI: http://eggert.org/
8. References
8.1. Normative References
Singh, et al. Expires April 3, 2015 [Page 19]
Internet-Draft Multipath RTP in SDP September 2014
[I-D.keranen-mmusic-ice-address-selection]
Keraenen, A. and J. Arkko, "Update on Candidate Address
Selection for Interactive Connectivity Establishment
(ICE)", draft-keranen-mmusic-ice-address-selection-01
(work in progress), July 2012.
[I-D.singh-avtcore-mprtp]
Singh, V., Karkkainen, T., Ott, J., Ahsan, S., and L.
Eggert, "Multipath RTP (MPRTP)", draft-singh-avtcore-
mprtp-09 (work in progress), June 2014.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC3550] Schulzrinne, H., Casner, S., Frederick, R., and V.
Jacobson, "RTP: A Transport Protocol for Real-Time
Applications", STD 64, RFC 3550, July 2003.
[RFC5234] Crocker, D. and P. Overell, "Augmented BNF for Syntax
Specifications: ABNF", STD 68, RFC 5234, January 2008.
[RFC5245] Rosenberg, J., "Interactive Connectivity Establishment
(ICE): A Protocol for Network Address Translator (NAT)
Traversal for Offer/Answer Protocols", RFC 5245, April
2010.
[RFC5761] Perkins, C. and M. Westerlund, "Multiplexing RTP Data and
Control Packets on a Single Port", RFC 5761, April 2010.
8.2. Informative References
[I-D.ietf-mmusic-rfc2326bis]
Schulzrinne, H., Rao, A., Lanphier, R., Westerlund, M.,
and M. Stiemerling, "Real Time Streaming Protocol 2.0
(RTSP)", draft-ietf-mmusic-rfc2326bis-40 (work in
progress), February 2014.
[I-D.ietf-mmusic-rtsp-nat]
Goldberg, J., Westerlund, M., and T. Zeng, "A Network
Address Translator (NAT) Traversal Mechanism for Media
Controlled by Real-Time Streaming Protocol (RTSP)", draft-
ietf-mmusic-rtsp-nat-22 (work in progress), July 2014.
[I-D.ietf-mmusic-trickle-ice]
Ivov, E., Rescorla, E., and J. Uberti, "Trickle ICE:
Incremental Provisioning of Candidates for the Interactive
Connectivity Establishment (ICE) Protocol", draft-ietf-
mmusic-trickle-ice-01 (work in progress), February 2014.
Singh, et al. Expires April 3, 2015 [Page 20]
Internet-Draft Multipath RTP in SDP September 2014
[I-D.ivov-mmusic-trickle-ice-sip]
Ivov, E., Marocco, E., and C. Holmberg, "A Session
Initiation Protocol (SIP) usage for Trickle ICE", draft-
ivov-mmusic-trickle-ice-sip-02 (work in progress), June
2014.
[RFC3261] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston,
A., Peterson, J., Sparks, R., Handley, M., and E.
Schooler, "SIP: Session Initiation Protocol", RFC 3261,
June 2002.
[RFC3264] Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model
with Session Description Protocol (SDP)", RFC 3264, June
2002.
[RFC3552] Rescorla, E. and B. Korver, "Guidelines for Writing RFC
Text on Security Considerations", BCP 72, RFC 3552, July
2003.
[RFC4566] Handley, M., Jacobson, V., and C. Perkins, "SDP: Session
Description Protocol", RFC 4566, July 2006.
Appendix A. Change Log
Note to the RFC-Editor: please remove this section prior to
publication as an RFC.
A.1. Changes in draft-singh-mmusic-mprtp-sdp-extension-03
o Minor changes, updated refs.
A.2. Changes in draft-singh-mmusic-mprtp-sdp-extension-02
o Mainly editorial fixes.
o Changed DQ to DQUOTE in ABNF definition.
A.3. Changes in draft-singh-mmusic-mprtp-sdp-extension-01
o Added IPv6 address selection.
o Editorial fixes.
A.4. Changes in draft-singh-mmusic-mprtp-sdp-extension-00
o The document is created by splitting the draft-singh-avtcore-
mprtp-04 into 2 parts. The RTP related stuff is kept in the
Singh, et al. Expires April 3, 2015 [Page 21]
Internet-Draft Multipath RTP in SDP September 2014
former while the SDP related discussion is moved to this new
document.
Authors' Addresses
Varun Singh
Aalto University
School of Electrical Engineering
Otakaari 5 A
Espoo, FIN 02150
Finland
Email: varun@comnet.tkk.fi
URI: http://www.netlab.tkk.fi/~varun/
Joerg Ott
Aalto University
School of Electrical Engineering
Otakaari 5 A
Espoo, FIN 02150
Finland
Email: jo@comnet.tkk.fi
Teemu Karkkainen
Aalto University
School of Electrical Engineering
Otakaari 5 A
Espoo, FIN 02150
Finland
Email: teemuk@comnet.tkk.fi
Ralf Globisch
Fraunhofer HHI
Einsteinufer 37
Berlin D-10587
Germany
Email: ralf.globisch@gmail.com
Singh, et al. Expires April 3, 2015 [Page 22]
Internet-Draft Multipath RTP in SDP September 2014
Thomas Schierl
Fraunhofer HHI
Einsteinufer 37
Berlin D-10587
Germany
Phone: +49-30-31002-227
Email: ts@thomas-schierl.de
Singh, et al. Expires April 3, 2015 [Page 23]