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

"Mo Zanaty (mzanaty)" <mzanaty@cisco.com> Sun, 10 September 2017 18:22 UTC

Return-Path: <mzanaty@cisco.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 C381C132F2F for <rtcweb@ietfa.amsl.com>; Sun, 10 Sep 2017 11:22:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.521
X-Spam-Level:
X-Spam-Status: No, score=-14.521 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 kSXEoBoZyiiU for <rtcweb@ietfa.amsl.com>; Sun, 10 Sep 2017 11:22:07 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 06EB3132F2A for <rtcweb@ietf.org>; Sun, 10 Sep 2017 11:22:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1905; q=dns/txt; s=iport; t=1505067727; x=1506277327; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=VwCzZh9e40EHIr5dib84soqnm5XaIPWZP+4DAYHf0RU=; b=O6NTfhk47q2VkL3/FZw3LjSTS52VCUM6PU9X6LM/nChX7x3hgiJM/hVM /yvDLJdbEaalfS0VVMkSXclqvqpGsIJ+KWxw4rvtMDfKxI2iUn+iDGlMg iruMy1Gf8LFtBiKURVjVIxz5X7wcYQ3QKgB/N42G8wNQCKIYZD7KtBJ6k U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CtAQBQgrVZ/4UNJK1cGQEBAQEBAQEBAQEBBwEBAQEBg1pkbieeOJovChgLhAYBRU8ChAtXAQIBAQEBAQJrKIUZAgQBAWwLEAIBCEYnCyUCBA4FijEQsE+LNgEBAQEBAQEBAQEBAQEBAQEBAQEBARgFgyuCAoFQgg4LgnKEd4NDgjEFkXOGQYhAAosziRwMggeJZYZ5lH4CERkBgTgBV0FMdxVKEgGFBRyBZ3aGdAaCOwEBAQ
X-IronPort-AV: E=Sophos;i="5.42,374,1500940800"; d="scan'208";a="1481856"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Sep 2017 18:22:06 +0000
Received: from XCH-ALN-003.cisco.com (xch-aln-003.cisco.com [173.36.7.13]) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id v8AIM6ga024053 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 10 Sep 2017 18:22:06 GMT
Received: from xch-aln-005.cisco.com (173.36.7.15) by XCH-ALN-003.cisco.com (173.36.7.13) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Sun, 10 Sep 2017 13:22:05 -0500
Received: from xch-aln-005.cisco.com ([173.36.7.15]) by XCH-ALN-005.cisco.com ([173.36.7.15]) with mapi id 15.00.1263.000; Sun, 10 Sep 2017 13:22:05 -0500
From: "Mo Zanaty (mzanaty)" <mzanaty@cisco.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
CC: "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] Does RID require the same ext id for all the m= sections?
Thread-Index: AQHTKlLYycaFAbftikGdC4xIWfjdaqKubsPP
Date: Sun, 10 Sep 2017 18:22:05 +0000
Message-ID: <EB2B7F8E-2847-4C8F-8DF4-5BAEE3C1DEE6@cisco.com>
References: <CALiegfnGvkdrhG_hPKGuGuhZCbcL9mUoauheBA3bc15s_G7ihg@mail.gmail.com>
In-Reply-To: <CALiegfnGvkdrhG_hPKGuGuhZCbcL9mUoauheBA3bc15s_G7ihg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/m_OQLg2JLINUHsFtrA75hG4tvR0>
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: Sun, 10 Sep 2017 18:22:09 -0000

Bundle requires MID to associate RTP streams to m= sections, whether or not RID is used. RID is never used for that purpose. All extmap IDs must be consistent in all bundled m= sections, just like PTs. 

Mo

On Sep 10, 2017, at 12:35 PM, Iñaki Baz Castillo <ibc@aliax.net> wrote:

Hi,

Let's assume I send two videos over a BUNDLEd transport, both of them
with simulcast enabled. So I get a local SDP offer with two m=video
sections, having each one 2 or 3 a=rid lines.


1) First question:

Should N in "a=extmap:N urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id"
be the same value in both m=sections?

Let's assume that they are different and that MID is not in use. How
would the receiving transport discover which m= section the RTP packet
belongs to? Note that, upon receipt of the RTP packet, the transport
should read the RID extension header to get the associated m= section.
Which ID should it use to read the packet RID? Unfortunately (DUE THE
ENDLESS SDP MESS) RTP header extensions that are required for the
transport (such as MID, RID, ABS, etc) are placed within m= sections
rather than "globally". So sometimes they must match, sometimes not,
and workarounds like that. Is that the case when using RID? should all
the m= sections use he same ID mapping for the RID extension?


2) Second question:

Should the values of RID be different in the first m=video and the
second m=video? If they were the same then bullet 1) above gets
invalidated because the RID value in RTP packets wouldn't be useful to
find the corresponding m= section. In that case MID would be mandatory
in order to also use RID. Is this correct?


Thanks a lot.


-- 
Iñaki Baz Castillo
<ibc@aliax.net>

_______________________________________________
rtcweb mailing list
rtcweb@ietf.org
https://www.ietf.org/mailman/listinfo/rtcweb