Re: [rtcweb] Does RID require the same ext id for all the m= sections?

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Mon, 11 September 2017 16:04 UTC

Return-Path: <sergio.garcia.murillo@gmail.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3AD3A132D96 for <rtcweb@ietfa.amsl.com>; Mon, 11 Sep 2017 09:04:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SqKCJCsInlWk for <rtcweb@ietfa.amsl.com>; Mon, 11 Sep 2017 09:04:52 -0700 (PDT)
Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2F72B132D79 for <rtcweb@ietf.org>; Mon, 11 Sep 2017 09:04:52 -0700 (PDT)
Received: by mail-wm0-x230.google.com with SMTP id f199so43482794wme.0 for <rtcweb@ietf.org>; Mon, 11 Sep 2017 09:04:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=aF39lJGiryCvgWUwybLMZjXicOnjinRjAQHto1GuXqI=; b=T9/0db9v7c5Aw+nOIJyIka648HN6Pv4iVsq8poww2gye882ueydCyuiIaJi1gg4S4b hlDU5scf1SRqmRdmsNMWiRWQpiGFtX8uURORG4l1hKTZBzSH6GMkA7jXpxhXFjy5c0G2 l8GFFx1hFeFQ3S7ypDu0X7KI9mfKtlkqQPfrTf04f7UlY24LFr2Pgo0CMN1gXYfy4pJq A7pcKwAOKHedCpKI2jiZJr0lZAOoknLL8JNvaOsj5VvKss+ZVctCKfy3p2rmIMadGK/x aRc7awah30fpz61C/5/mz2OqVqrNrPyDv7qpJ6p7Bu0JgMwBrcaLuRKEZp2MXjgst3WL ONyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=aF39lJGiryCvgWUwybLMZjXicOnjinRjAQHto1GuXqI=; b=DVavfptW42CjKfDOvsYdyaigqOzsiH4YeaQoCcSTHZPs8SAqOH+i+b2O38+6GKLMME l7oT26+DAiX+aR+HtqhH30gXa59jlgHPu4B8tMFKrjxeurxRvsJc6PLHuhQgjABXHjIN D33JRCDpTNKHPeBC7UTRFvNx5Z0TIyJCVk9VT+YPLzALFslc5ZUQsH+ecV16raCdTqGr NQiIrbOUKrne6X0KJdNa5bSqVqCE6aRLa6Wq21PeaN8va6lRxto0Yy65KR9k8BxAMSmO GjLvfxqvcDmNAyHmr+HR1w2Lw3/N3IrGpBga7dyp9qLT0LjydgRq78MH2JERVn3xXdyz Wwfw==
X-Gm-Message-State: AHPjjUgrEpixFHbXG6VPx3USmVy5fFFGdBYGrUWVZqnTCGdGAtqdeeEP CYyT9qZQFYnf7erl/B4=
X-Google-Smtp-Source: ADKCNb4p2nAdvFZL4AEWC0sJAJb5PKw34UjhSGCcmoUZEXO4DOsMz47uiLKAXkKwM3yxgTMHhfview==
X-Received: by 10.80.142.170 with SMTP id w39mr9820838edw.150.1505145890390; Mon, 11 Sep 2017 09:04:50 -0700 (PDT)
Received: from [192.168.1.48] (128.red-79-147-157.dynamicip.rima-tde.net. [79.147.157.128]) by smtp.googlemail.com with ESMTPSA id e50sm2734649ede.18.2017.09.11.09.04.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 09:04:48 -0700 (PDT)
To: Iñaki Baz Castillo <ibc@aliax.net>, "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
References: <CALiegfnGvkdrhG_hPKGuGuhZCbcL9mUoauheBA3bc15s_G7ihg@mail.gmail.com> <EB2B7F8E-2847-4C8F-8DF4-5BAEE3C1DEE6@cisco.com> <CALiegf=6xRCXAx71XiErwqzwdVBVbFmzhvtaKS77v88Oh569TQ@mail.gmail.com> <881A3BC9-C9ED-4E1E-ACFE-C887333BB672@cisco.com> <CALiegfmerkkf85H_9AOOJq0_Hd=MDj1v_QguucCv6OdXRFqQkw@mail.gmail.com> <D5DC1C96.726D6%mzanaty@cisco.com> <CALiegfkB-DF2njWYzJYg455GddByLK8dQJq21wp+JEWSaJC=sQ@mail.gmail.com>
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Message-ID: <f8211d6f-2374-91bf-125f-e46423b146e6@gmail.com>
Date: Mon, 11 Sep 2017 18:04:46 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <CALiegfkB-DF2njWYzJYg455GddByLK8dQJq21wp+JEWSaJC=sQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/EdegjkZIdS8wF9Gah2sH8aYtEGw>
Subject: Re: [rtcweb] Does RID require the same ext id for all the m= sections?
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Sep 2017 16:04:54 -0000

On 11/09/2017 17:52, Iñaki Baz Castillo wrote:
> On Mon, Sep 11, 2017 at 5:02 PM, Mo Zanaty (mzanaty) <mzanaty@cisco.com> wrote:
>> Bundle defines MID, and section 13 restricts all extmap IDs (including MID,
>> RID, etc.) to be consistent across all bundled m= sections, just like PTs. I
>> see no restriction against aliases, nor any reason to impose one.
> The RTP MID extension value is used (should be used when someone
> implements it) to lookup the associated m=section, so the extmap ID
> MUST be unique across all the m=sections in the SDP. Otherwise the
> lookup operation would be impossible.
>
> This has been discussed in this mailing list not so long ago.

Well, while I am against heder extensions aliases, the extension id are 
meant to be unique across all m-sections, so it is possible to get the 
value of the extensions regardless of the m-section to which the RTP 
packet belongs to. It could be possible then to associate the rtp packet 
with the m-section via the MID value, and validate which header 
extensions ids were allowed in it (including the MID one).

IMHO, it would be better to not allow aliases in bundle across m-sections.

Best regards

Sergio