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

Iñaki Baz Castillo <ibc@aliax.net> Sun, 10 September 2017 16:35 UTC

Return-Path: <ibc@aliax.net>
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 07CC1132EBB for <rtcweb@ietfa.amsl.com>; Sun, 10 Sep 2017 09:35:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=aliax-net.20150623.gappssmtp.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 CYuOQiWX24Wd for <rtcweb@ietfa.amsl.com>; Sun, 10 Sep 2017 09:35:30 -0700 (PDT)
Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 34417132D6D for <rtcweb@ietf.org>; Sun, 10 Sep 2017 09:35:30 -0700 (PDT)
Received: by mail-wm0-x236.google.com with SMTP id f199so25909778wme.0 for <rtcweb@ietf.org>; Sun, 10 Sep 2017 09:35:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aliax-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=xvo8+9lZVEsqWBuqrqF8FlZfFUyoQrBE8Lo6bsAiFnQ=; b=zApY7MxJW2/AVRR1MJkuI8cWeoLPLmJxzNM77HR9ajEuUHyVWJMWjImMjdw40/MXTy feuDyApcBr76M7th4dTACvt0ZgtaT1CqKfmiErAQvAJvGwA6xmPdeTJAwbT27xqqkvrw SencrVmg/ME6GVfvxN7Gn9HgXB54ujPA+mCM81y44xTdaOUKDKmNXzxa/1iRnpMkNjcK IrpUzTu6MlCht6WdppRrtu3fF2n8wuRJ9Vz2whr2jHsyyI3i8R7c5K2OOnmqyRhRakrn SYYAE16AK2t+SHwjoYA9zd/G9xCHg38H6ROgB+lpIJsZeGuQeTfNZ0vxh1uKmO1S06J2 XIaA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=xvo8+9lZVEsqWBuqrqF8FlZfFUyoQrBE8Lo6bsAiFnQ=; b=s9tiegdHIZWNKNVOxsW9MWM+VwNuwRjFyqcYvuEi3wOkhzPJB5NCeP4nAJ1oy26dcl ZPWSBAxaiiBs6QAWtfqGAgIGNBEApk6n2kxKQWxvm+HDbT5wDsZ/iyI8pwsHSwa+8xg0 QjDTuYZtonmzbgc1AHndFOK9Xqfd78huDJ6tX/PnM6v4fKAHf8ZoevGOVTfnEe0sUhbN gZM+J29nCYOQzuLXPVY7VMKF6zbuh2UnQR/whroLXtReVTpv0cnKbESxqQGc9Kt+ibpG ME5qdIxFld7OpdEtTDVdX4rbEvuWi8BeO7jdYk2Y/UDJe7McGa0o50U2is+7uDkuFxpX PigQ==
X-Gm-Message-State: AHPjjUhcHsZ+ZU98R7lJ38JbqBthDPjq5SBIX5XhJlFBAzrKkQiRdAP4 pRvqS8U6wMyvifpnRft9I+TSKCGK6JXMiJe5Rg==
X-Google-Smtp-Source: ADKCNb5UrrU4ekO/+sleVBYz5LvvYThbBgFL5Hctbd4kwje9oonvMH/E0V7fw9GSJLcf3i3oSRDCKBnVcztYVr6SKzs=
X-Received: by 10.80.149.87 with SMTP id v23mr7418406eda.284.1505061328297; Sun, 10 Sep 2017 09:35:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.80.152.129 with HTTP; Sun, 10 Sep 2017 09:35:07 -0700 (PDT)
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Sun, 10 Sep 2017 18:35:07 +0200
Message-ID: <CALiegfnGvkdrhG_hPKGuGuhZCbcL9mUoauheBA3bc15s_G7ihg@mail.gmail.com>
To: "rtcweb@ietf.org" <rtcweb@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/-pSIN7ssxkgtsP4PxunkgA8p9mQ>
Subject: [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 16:35:32 -0000

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>