Re: [MMUSIC] RTP/AVP vs RTP/AVPF vs RTP/SAVPF vs .... how to pick a default?
Bernard Aboba <bernard_aboba@hotmail.com> Wed, 09 October 2013 17:30 UTC
Return-Path: <bernard_aboba@hotmail.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 43A7E21E8149 for <mmusic@ietfa.amsl.com>; Wed, 9 Oct 2013 10:30:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.9
X-Spam-Level:
X-Spam-Status: No, score=-101.9 tagged_above=-999 required=5 tests=[AWL=0.697, BAYES_00=-2.599, HTML_MESSAGE=0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id loOEkAUHy1c7 for <mmusic@ietfa.amsl.com>; Wed, 9 Oct 2013 10:30:13 -0700 (PDT)
Received: from blu0-omc2-s36.blu0.hotmail.com (blu0-omc2-s36.blu0.hotmail.com [65.55.111.111]) by ietfa.amsl.com (Postfix) with ESMTP id EE2F821E805F for <mmusic@ietf.org>; Wed, 9 Oct 2013 10:30:09 -0700 (PDT)
Received: from BLU169-W88 ([65.55.111.72]) by blu0-omc2-s36.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 9 Oct 2013 10:30:09 -0700
X-TMN: [/BF73eTXoFAlIRiL2P54IqgCd67zzyd3c3SnO1QP9Nk=]
X-Originating-Email: [bernard_aboba@hotmail.com]
Message-ID: <BLU169-W8801930D0FD87E0C87FED3931D0@phx.gbl>
Content-Type: multipart/alternative; boundary="_96604804-e2f6-450a-b71e-89a05fa8a377_"
From: Bernard Aboba <bernard_aboba@hotmail.com>
To: "mmusic@ietf.org" <mmusic@ietf.org>
Date: Wed, 09 Oct 2013 10:30:08 -0700
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 09 Oct 2013 17:30:09.0146 (UTC) FILETIME=[33A06DA0:01CEC515]
Subject: Re: [MMUSIC] RTP/AVP vs RTP/AVPF vs RTP/SAVPF vs .... how to pick a default?
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: Wed, 09 Oct 2013 17:30:18 -0000
[BA] Comments below. Emil said: Oops, hit sent a bit too early. I wanted to add that that the least painful option would obviously be to add tcap attributes as per 5939 and then keep RTP/AVP in the m= line but that would still be rejected by a WebRTC endpoint (right?) so do we need to adjust JSEP to allow RTP/AVP if the m= line contains the necessary transport capabilities? [BA] Unfortunately the legacy endpoints whose behavior is the cause of this issue are unlikely to support RFC 5939, so I can't see how that would help. Emil On Wed, Oct 9, 2013 at 5:44 PM, Emil Ivov <emcho at jitsi.org> wrote: > Hey all, > > We've recently implemented support for DTLS/SRTP and a question that > we had somehow avoided in the past with SDES and ZRTP is now back on > the table: > > By default, which profile would a SIP UA use in an outgoing offer? > > Until recently recently we were offering RTP/AVP by default, which is > ok for ZRTP and tolerated by most of the endpoints that support SDES. [BA] I would add that RTP/AVP is also tolerated by endpoints that support feedback. > We also had a couple of config options that allowed Jitsi to (A) > create offers with RTP/SAVP(F) in case someone turned out to be picky > about the transport or (B) duplicate all m= lines and offer them with > every supported transport so that the remote endpoint would pick what > it likes. [BA] In my experience option B doesn't work that well, because implementations that do not support RTP/SAVPF will not always respond by setting the port to zero on those m lines, as they should. Instead they may respond with an error. So you're likely to have problems, "unified" not withstanding. > Obviously option (A) is not a suitable default for a generic SIP UA > because that would make it incompatible with the majority of the > endpoints that exist today. (B) could have worked but now that we are > going for "Unified", having the same "m=" line appear with RTP/AVP and > then again with RTP/SAVPF would have to be interpreted as two > independent streams rather than the same stream being available over > two different transports. > > So, do we have a story here or do we need to create one? [BA] If by "have a story here" you mean "have a standards-based way of reliably interoperating with non-standards compliant legacy UAs", I think the answer is unfortunately "no" :( In practice you might try substituting the following for your option B: By default, offer RTP/AVP with a= lines describing the crypto and feedback features you support. If the answerer is legacy, you'll have the highest chance of backward compatibility this way. You may even get back an answer with a profile of RTP/(S)AVPF, indicating that the answerer understands what you are really offering. If that happens you can offer RTP/(S)AVPF in re-invites or other subsequent exchanges.
- [MMUSIC] RTP/AVP vs RTP/AVPF vs RTP/SAVPF vs ....… Emil Ivov
- Re: [MMUSIC] RTP/AVP vs RTP/AVPF vs RTP/SAVPF vs … Emil Ivov
- Re: [MMUSIC] RTP/AVP vs RTP/AVPF vs RTP/SAVPF vs … Bernard Aboba
- Re: [MMUSIC] RTP/AVP vs RTP/AVPF vs RTP/SAVPF vs … Emil Ivov
- Re: [MMUSIC] RTP/AVP vs RTP/AVPF vs RTP/SAVPF vs … Cullen Jennings (fluffy)
- Re: [MMUSIC] RTP/AVP vs RTP/AVPF vs RTP/SAVPF vs … Bernard Aboba
- Re: [MMUSIC] RTP/AVP vs RTP/AVPF vs RTP/SAVPF vs … Cullen Jennings (fluffy)
- Re: [MMUSIC] RTP/AVP vs RTP/AVPF vs RTP/SAVPF vs … Charles Eckel (eckelcu)