Re: [Stox] media: mapping a=fmtp to jingle

Saúl Ibarra Corretgé <saul@ag-projects.com> Wed, 07 August 2013 21:59 UTC

Return-Path: <saul@ag-projects.com>
X-Original-To: stox@ietfa.amsl.com
Delivered-To: stox@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ACC1D21F9CF3 for <stox@ietfa.amsl.com>; Wed, 7 Aug 2013 14:59:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.494
X-Spam-Level:
X-Spam-Status: No, score=-0.494 tagged_above=-999 required=5 tests=[AWL=-0.276, BAYES_00=-2.599, HELO_MISMATCH_NET=0.611, J_CHICKENPOX_14=0.6, MIME_8BIT_HEADER=0.3, SARE_MLH_Stock1=0.87]
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 TdqLnvK7+-MT for <stox@ietfa.amsl.com>; Wed, 7 Aug 2013 14:59:05 -0700 (PDT)
Received: from mail.sipthor.net (node06.dns-hosting.info [85.17.186.6]) by ietfa.amsl.com (Postfix) with ESMTP id C95EC21F9D38 for <stox@ietf.org>; Wed, 7 Aug 2013 14:59:04 -0700 (PDT)
Received: by mail.sipthor.net (Postfix, from userid 5001) id 99140B35DB; Wed, 7 Aug 2013 23:59:03 +0200 (CEST)
Received: from imac.saghul.lan (ip3e830637.speed.planet.nl [62.131.6.55]) by mail.sipthor.net (Postfix) with ESMTPSA id 50E53B0132; Wed, 7 Aug 2013 23:59:01 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset=iso-8859-1
From: =?iso-8859-1?Q?Sa=FAl_Ibarra_Corretg=E9?= <saul@ag-projects.com>
In-Reply-To: <51FEA3FF.4000902@goodadvice.pages.de>
Date: Wed, 7 Aug 2013 23:59:00 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <89A0C25D-351B-485D-84E3-D7DADB65EE7C@ag-projects.com>
References: <51FEA3FF.4000902@goodadvice.pages.de>
To: Philipp Hancke <fippo@goodadvice.pages.de>
X-Mailer: Apple Mail (2.1085)
Cc: "stox@ietf.org" <stox@ietf.org>
Subject: Re: [Stox] media: mapping a=fmtp to jingle
X-BeenThere: stox@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIP-TO-XMPP Working Group discussion list <stox.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stox>, <mailto:stox-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/stox>
List-Post: <mailto:stox@ietf.org>
List-Help: <mailto:stox-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stox>, <mailto:stox-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Aug 2013 21:59:09 -0000

Hi Philipp!

On Aug 4, 2013, at 8:57 PM, Philipp Hancke wrote:

> The main problem of mapping a=fmtp to jingle and vice versa is that jingle has assumed that fmtp is always key-value separated by colons.
> See http://xmpp.org/extensions/xep-0167.html#format at the bottom of section 4. Several implementors apparently noticed that the text is wrong and created workarounds.
> 
> I suspect the reasonable advice for the gateway is to translate lines with key-value pairs separated by semicolons as described in XEP-0167 and pick one of the following ways to deal with non-key-value lines:
> 1) map to <parameter name='' value='thestuff'/> (used by gmail afaik)

I'd go with this one.

> 2) map to <param name='thestuff' value=''/>
> 3) map to <param name='attributes'>thestuff</param>
>   (XEP-0293/0294 recommend something similar)
> 
> How sensitive are SDP implementations in parsing different key-value variants (e.g. "key=value;key2=value" vs "key=value; key2=value2"?
> 

I think they usually just treat it as a freeform text.

--
Saúl Ibarra Corretgé
AG Projects