Re: [MMUSIC] Query: payload type collision with offer/answer
"Charles Eckel (eckelcu)" <eckelcu@cisco.com> Fri, 11 January 2013 17:25 UTC
Return-Path: <eckelcu@cisco.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC60621F86D2 for <mmusic@ietfa.amsl.com>; Fri, 11 Jan 2013 09:25:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.607
X-Spam-Level:
X-Spam-Status: No, score=-8.607 tagged_above=-999 required=5 tests=[AWL=1.992, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZsOSeStqwzAx for <mmusic@ietfa.amsl.com>; Fri, 11 Jan 2013 09:25:01 -0800 (PST)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by ietfa.amsl.com (Postfix) with ESMTP id 75C5921F8937 for <mmusic@ietf.org>; Fri, 11 Jan 2013 09:24:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4617; q=dns/txt; s=iport; t=1357925057; x=1359134657; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=9LW8rhE51zzRf//FY7jD1282iHMcGyaENcgfIWI9OOU=; b=HqiyLAZ696T46LcyU04qAH5aU7Wu8fH6p35kyhhIwusH2FZ/stbRN5N3 cnZclY1mkLi6MjfuZY0NNij5VonKf1A0DEt/+FaTw+q6+HO18OzIqLQfP u/bhaye9JOdkGxqU3fPOCe0AOolkZKw48YZ5hEM38sMnEuoibpudAak92 o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFAGxK8FCtJXG+/2dsb2JhbABEvX4Wc4IeAQEBBAEBATc0FwQCAQgRBAEBAQoUCQcnCxQJCAIEARIIiBABDLV+BJBFYQOmVIJ1giQ
X-IronPort-AV: E=Sophos;i="4.84,453,1355097600"; d="scan'208";a="161498551"
Received: from rcdn-core2-3.cisco.com ([173.37.113.190]) by rcdn-iport-4.cisco.com with ESMTP; 11 Jan 2013 17:24:02 +0000
Received: from xhc-aln-x05.cisco.com (xhc-aln-x05.cisco.com [173.36.12.79]) by rcdn-core2-3.cisco.com (8.14.5/8.14.5) with ESMTP id r0BHO2Ll009918 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 11 Jan 2013 17:24:02 GMT
Received: from xmb-aln-x08.cisco.com ([169.254.3.224]) by xhc-aln-x05.cisco.com ([173.36.12.79]) with mapi id 14.02.0318.004; Fri, 11 Jan 2013 11:24:01 -0600
From: "Charles Eckel (eckelcu)" <eckelcu@cisco.com>
To: Harald Alvestrand <harald@alvestrand.no>, "mmusic@ietf.org" <mmusic@ietf.org>
Thread-Topic: [MMUSIC] Query: payload type collision with offer/answer
Thread-Index: AQHN7p8Pzrd89LSrqUC7n2O8JcktGJhBmrDJgABznICAAT/FgIABLNAA///oHRA=
Date: Fri, 11 Jan 2013 17:24:01 +0000
Message-ID: <92B7E61ADAC1BB4F941F943788C0882804728ECE@xmb-aln-x08.cisco.com>
References: <50EDC40F.3010501@alvestrand.no> <1.77712513fa3f074cccef@cisco.com> <50EDF490.4000101@alvestrand.no> <50EE0139.8000909@jitsi.org> <50EF0D77.9040000@alum.mit.edu> <50F009CE.9060903@alvestrand.no>
In-Reply-To: <50F009CE.9060903@alvestrand.no>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [171.68.16.69]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [MMUSIC] Query: payload type collision with offer/answer
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Jan 2013 17:25:42 -0000
> -----Original Message----- > From: mmusic-bounces@ietf.org [mailto:mmusic-bounces@ietf.org] On > Behalf Of Harald Alvestrand > Sent: Friday, January 11, 2013 4:47 AM > To: mmusic@ietf.org > Subject: Re: [MMUSIC] Query: payload type collision with offer/answer > > On 01/10/2013 07:50 PM, Paul Kyzivat wrote: > > > >> Well there's also section 8.3.2 in 3264. The section is about updating > >> offers but it seems like the text explicitly prohibits remapping payload > >> types in any scenarios: > >> > >> However, in the > >> case of RTP, the mapping from a particular dynamic payload type > >> number to a particular codec within that media stream MUST NOT > >> change > >> for the duration of a session. For example, if A generates an offer > >> with G.711 assigned to dynamic payload type number 46, payload type > >> number 46 MUST refer to G.711 from that point forward in any offers > >> or answers for that media stream within the session. However, it is > >> acceptable for multiple payload type numbers to be mapped to the > >> same > >> codec, so that an updated offer could also use payload type > >> number 72 > >> for G.711. > > > > The language above is underspecified. > > > > It is my impression that the intent of this language was to ensure > > there is no ambiguity in the meaning of a payload type. Since the > > exchange of the SDP is not synchronized with the flow of RTP, if you > > were to send a new SDP that changed the mapping for a payload type, > > then the result would be almost certainly to interpret some media > > packets according to the wrong mapping. > > > > But this argument is only about packets flowing in one direction. It > > isn't a valid argument for requiring the payload types to be > > consistent in the two directions. And its not clear to me that it even > > intended that this language apply to both directions. It could be > > clarified as follows: > > > > ... For example, if A generates an offer > > with G.711 assigned to dynamic payload type number 46, payload type > > number 46 MUST refer to G.711 from that point forward in any offers > > or answers ***by A*** for that media stream within the session. ... > > > > Interpreting it to apply to both directions brings it in conflict with > > the language elsewhere that permits it to be different in the two > > directions. > More than one number for one codec is explicitly permitted. > More than one codec for one number in a single direction is clearly > impossible. > More than one codec for one number in a single RTP session..... that's > the question. > > If one were to go with textual analysis, this would hinge on the meaning > of "for that media stream" - which again hinges on whether a media > stream is unidirectional or bidirectional. > > RFC 3264's definition: > > Media Stream: From RTSP [8], a media stream is a single media > instance, e.g., an audio stream or a video stream as well as a > single whiteboard or shared application group. In SDP, a media > stream is described by an "m=" line and its associated > attributes. > > which points back to RFC 2326: > > (Media) stream: > A single media instance, e.g., an audio stream or a video > stream as well as a single whiteboard or shared application > group. When using RTP, a stream consists of all RTP and RTCP > packets created by a source within an RTP session. This is > equivalent to the definition of a DSM-CC stream([5]). > > So if we believe these definitions, there's no prohibition on reusing > the payload type. > Definitely nice to clarify in a 3264bis. > > > > > The use of different mappings in each direction has been discussed > > over the years, though I couldn't point you to where. IIRC one of the > > reasons had to do with gatewaying to other protocols. But I can't > > offer any details. > > > > Bottom line: IMO, in the weird case Harald described X ought to follow > > Postel's Law and accept the answer from Y. But for the same reason I > > would strongly discourage implementations from acting as Y did. > > > Seems like a conclusion. Agreed, this would be a useful clarification to add as an update to RFC 3264. Cheers, Charles > > _______________________________________________ > mmusic mailing list > mmusic@ietf.org > https://www.ietf.org/mailman/listinfo/mmusic
- [MMUSIC] Query: payload type collision with offer… Harald Alvestrand
- Re: [MMUSIC] Query: payload type collision with o… Charles Eckel (eckelcu)
- Re: [MMUSIC] Query: payload type collision with o… Harald Alvestrand
- Re: [MMUSIC] Query: payload type collision with o… Emil Ivov
- Re: [MMUSIC] Query: payload type collision with o… Paul Kyzivat
- Re: [MMUSIC] Query: payload type collision with o… Charles Eckel (eckelcu)
- Re: [MMUSIC] Query: payload type collision with o… Emil Ivov
- Re: [MMUSIC] Query: payload type collision with o… Charles Eckel (eckelcu)
- Re: [MMUSIC] Query: payload type collision with o… Emil Ivov
- Re: [MMUSIC] Query: payload type collision with o… DRAGE, Keith (Keith)
- Re: [MMUSIC] Query: payload type collision with o… Harald Alvestrand
- Re: [MMUSIC] Query: payload type collision with o… Christer Holmberg
- Re: [MMUSIC] Query: payload type collision with o… Emil Ivov
- Re: [MMUSIC] Query: payload type collision with o… Christer Holmberg
- Re: [MMUSIC] Query: payload type collision with o… Charles Eckel (eckelcu)