Re: [MMUSIC] RTP/AVP vs RTP/AVPF vs RTP/SAVPF vs .... how to pick a default?
Emil Ivov <emcho@jitsi.org> Wed, 09 October 2013 17:52 UTC
Return-Path: <emcho@sip-communicator.org>
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 E202E21E8151 for <mmusic@ietfa.amsl.com>; Wed, 9 Oct 2013 10:52:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.832
X-Spam-Level:
X-Spam-Status: No, score=-2.832 tagged_above=-999 required=5 tests=[AWL=0.145, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
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 jhCnr+6NkW4k for <mmusic@ietfa.amsl.com>; Wed, 9 Oct 2013 10:52:46 -0700 (PDT)
Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by ietfa.amsl.com (Postfix) with ESMTP id 00B2711E80E2 for <mmusic@ietf.org>; Wed, 9 Oct 2013 10:52:45 -0700 (PDT)
Received: by mail-pa0-f48.google.com with SMTP id bj1so1405222pad.21 for <mmusic@ietf.org>; Wed, 09 Oct 2013 10:52:43 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=PBjiyrY1jO5OVevCCahh4SmHdXROtMRYTsQBuebO+XE=; b=De3UyfAjVu1+dvl8Rxe9gM0RfxClj60CQh59y4vUlE8KUw+KsawFwFUCx5/j68gdtv uAkRX4xET5e1a5JaLV6agdD7pYKp3WtJcE5RvxwR3mbMFcNXPC7DCIY6BA1EpmfgoOL0 FiVYPiK1sUV1WsEW+vjuz0j8FuRYusdgJcH/6WJDI5/8kEzfwXgfS7MnZzAUtctaq138 8mvcdKlqYWM0xs6pLNAyu9IKqG/BepbDINX4HCe3Wtwnk/0bfiW30rUhTANhnLF+6LFX Kr3tKBtnxnc1Zs8EPRbl/WD0tRml+nkjwO8NMRqN07fucmPgOHETxJde3muqP+IiDtoM 5Zpg==
X-Gm-Message-State: ALoCoQnTgLlmH5nVvXRgRSpCvHNQmNAPb9C8t+z7QWsglqZWW4q2AxXJrgFbSU8At7NuTlKZwHvc
X-Received: by 10.66.163.164 with SMTP id yj4mr11008870pab.91.1381341163641; Wed, 09 Oct 2013 10:52:43 -0700 (PDT)
Received: from mail-pd0-x22a.google.com (mail-pd0-x22a.google.com [2607:f8b0:400e:c02::22a]) by mx.google.com with ESMTPSA id f2sm47907803pbg.44.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Oct 2013 10:52:43 -0700 (PDT)
Received: by mail-pd0-f170.google.com with SMTP id x10so1309841pdj.1 for <mmusic@ietf.org>; Wed, 09 Oct 2013 10:52:42 -0700 (PDT)
X-Received: by 10.66.118.204 with SMTP id ko12mr3281418pab.184.1381341162962; Wed, 09 Oct 2013 10:52:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.191.163 with HTTP; Wed, 9 Oct 2013 10:52:22 -0700 (PDT)
In-Reply-To: <BLU169-W8801930D0FD87E0C87FED3931D0@phx.gbl>
References: <BLU169-W8801930D0FD87E0C87FED3931D0@phx.gbl>
From: Emil Ivov <emcho@jitsi.org>
Date: Wed, 09 Oct 2013 19:52:22 +0200
Message-ID: <CAPvvaa+9qqAg0k7+5vCFXucnsZnbZUhqvBc2mU99efqP9S5nHQ@mail.gmail.com>
To: Bernard Aboba <bernard_aboba@hotmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
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:52:58 -0000
On Wed, Oct 9, 2013 at 7:30 PM, Bernard Aboba <bernard_aboba@hotmail.com> wrote: > [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. Well, at least you'd get to establish an RTP/AVP call with no encryption. The same goes for endpoints that have SDES support and tolerate RTP/AVP as transport when they detect the crypto attributes (without supporting RFC5939). I agree that legacy endpoints with no 5939 support that insist on having RTP/SAVP, would reject it but at least we would limit those cases. > 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. True. >> 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" :( Well, not even that. I'd be happy with a story that allows us to generate offers in a way that would allow for an RTP/AVP call to be established with standards compliant legacy and an RTP/SAVPF call with modern endpoints (including gatewayed WebRTC). > 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. OK, this does sound reasonable but it would also mean that a SIP-2-WebRTC gateway would *always* need to modify the first offer from the SIP UAs even if they are perfectly interoperable otherwise. Not that this is that much of a big deal but I was still hoping we could have at least one case where gatewaying SIP to WebRTC would only be a matter of extracting the SDP and sending it down to the browser. Emil -- https://jitsi.org
- [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)