Re: [MMUSIC] "a=extmap" with BUNDLE

Iñaki Baz Castillo <ibc@aliax.net> Mon, 27 March 2017 23:09 UTC

Return-Path: <ibc@aliax.net>
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 CED121296CF for <mmusic@ietfa.amsl.com>; Mon, 27 Mar 2017 16:09:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] 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 mst3JL2m9KFD for <mmusic@ietfa.amsl.com>; Mon, 27 Mar 2017 16:09:01 -0700 (PDT)
Received: from mail-wr0-x232.google.com (mail-wr0-x232.google.com [IPv6:2a00:1450:400c:c0c::232]) (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 8EA3E1296C5 for <mmusic@ietf.org>; Mon, 27 Mar 2017 16:08:57 -0700 (PDT)
Received: by mail-wr0-x232.google.com with SMTP id l43so78688465wre.1 for <mmusic@ietf.org>; Mon, 27 Mar 2017 16:08:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aliax-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=joidKPU4J/w4mREzeZnSCt1rwx6tvBDXlllULywrY74=; b=aMLfgBM53Odl/Dpfcg6rlHbt8BzywC43HTdBbqeYbw0zut/iMbryBhVAMW1agy05Dl 3mld4naILTyAOOxpKKIhddguKWo0MA3JN/skK3JLdJwFTcAsk5OUOL9C6SmnseadqM1s JRAELfC8vaITGsY1ReuKuuVXQEgK37W2FMCTQ3hdOBTx8533VT875dTohfr94i+GWI7q 7P4rrBgv4D+MbHdzmX5I3+pucSmEy7GPIOpwH5zXbqUnlL6nadNKgPDQVdiLj97z+v5i RWl/iScLSWh/vSxNdt18H7o7GgK5+mSZcnOeHs5sg1231gPlK+kYcW+59LwqUScQRgfs MS6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=joidKPU4J/w4mREzeZnSCt1rwx6tvBDXlllULywrY74=; b=AClvMyObRU+duF16Fme5y7POZjoGagn/+1fLAV9NchqjnmOMS+Z7B44B3HsdZIyxJv AblPraK1unroLgYeZGGrUjcd8j6Kr6DN4lmKXh3FNx3m7cJInX2CtxF2//Vsk3hfjJjz F+Lg6c0CnwQdX4WYrz2ZiHpwEzbkPZhqwusU5v+oXy92MgqtZ7GI05DHbZbfKNdpohAe jrBqlX81JJwdqYUGUpox0szNvFthhI12INHbeOLktnvRW9wepPRKhZjSlnxA7geqtTBf oBuyTrmP5uIZlc5fQOlaUOLHmbEIDwtH45lrVSCVL/3BrH6k1OT2h1CABMgnGyz1o0Sp OBOw==
X-Gm-Message-State: AFeK/H0fXg8sCtc3GnImy+OdKT/kuyYlsry4aN758xDGQTUw9p/Us8DZYI/wOpIK6+9My2uFI1aLtCdNg02UIw==
X-Received: by 10.223.173.82 with SMTP id p76mr20965286wrc.137.1490656136122; Mon, 27 Mar 2017 16:08:56 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.80.138.222 with HTTP; Mon, 27 Mar 2017 16:08:35 -0700 (PDT)
In-Reply-To: <CAK35n0YV0FK0f9obKVa6F8K4v5acA1M3y4hFk5cQ_b1cP89uaQ@mail.gmail.com>
References: <CAK35n0YEA8Cu_v33QsTHXRx70Jw6r-gYT_4rSjYvb6KR+YD81Q@mail.gmail.com> <CAMRcRGTJoOE0HLGwkdW261SiM+J3BCoAiDeq919d+YkyfhU6eg@mail.gmail.com> <CAK35n0ZMX6XVicnuvxHH16ADW5on0n18yK8_VDTLX7B1Gb0XDA@mail.gmail.com> <CALiegfmDH4a8nM08ify77pcz+az38KbJ3=x1n-dso7SYoODD1A@mail.gmail.com> <CAK35n0beszOvayncKgyC=JLZ+7ST_MW4awZ-VSMYt4qvNefX7A@mail.gmail.com> <279829dc-201f-25ab-0d1b-9958fb98682f@gmail.com> <CALiegfm33QGSuWDvJED5ERGEvHaJ6890X6hyqnjHr-ZkRCFSUg@mail.gmail.com> <CAK35n0YV0FK0f9obKVa6F8K4v5acA1M3y4hFk5cQ_b1cP89uaQ@mail.gmail.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Tue, 28 Mar 2017 01:08:35 +0200
Message-ID: <CALiegfnfw-eoJ8kVSwNTAtCUpBsO1pMvGNs+FBu5xOsKFZr7ZQ@mail.gmail.com>
To: Taylor Brandstetter <deadbeef@google.com>
Cc: Byron Campen <docfaraday@gmail.com>, mmusic WG <mmusic@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/0kTnLP0kBvdMrOfN_yz4T4FNzOw>
Subject: Re: [MMUSIC] "a=extmap" with BUNDLE
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 27 Mar 2017 23:09:04 -0000

2017-03-28 0:24 GMT+02:00 Taylor Brandstetter <deadbeef@google.com>:
>> It's just about getting the appropriate RtpReceiver
>> associated to the current RTP packet (this can be done by MID, RID,
>> SSRC or even PT, as the ORTC and JSEP "RTP Matching Rules" define).
>
>
> Right. So, if you can't get the appropriate RtpReceiver with RID, SSRC or
> PT, then you must do it with MID. And if the MID extension shares an ID with
> another extension, it becomes impossible to know the MID. For example:
>
> m=audio ...
> a=extmap:1 urn:ietf:params:rtp-hdrext:sdes:mid
> a=extmap:2 urn:foo
> m=video ...
> a=extmap:1 urn:bar
> a=extmap:2 urn:ietf:params:rtp-hdrext:sdes:mid
>
> I know it would be crazy to generate SDP like that, but there's nothing I've
> found that disallows it.

And you are 100% right here. MID ID must be unique across all the m=
lines, otherwise it is useless.

To make things even uglier, the RFC 5285 states:

   The mapping may be provided per media stream (in the media-level
   section(s) of SDP, i.e., after an "m=" line) or globally for all
   streams (i.e., before the first "m=" line, at session level).  The
   definitions MUST be either all session level or all media level; it
   is not permitted to mix the two styles.  In addition, as noted above,
   the IDs used MUST be unique for each stream type for a given media,
   or for the session for session-level declarations.

So a solution may be using just global a=extmap lines at SDP session
level. That would work, but it's a hack, because not all the IDs are
to be used within all the m= lines, not even across all the m= lines
of the same kind (audio, video).

Anyhow, the key of your argument is the "just MID for m=line
identification". It clearly requires the MID ID to be unique across
all the m= lines. One "solution" would be for the BUNDLE spec [*] to
mandate having a single MID ID, but it does not. I still prefer to
mandate that the same ID always references the same extension URI, and
that the same extension URI is just referenced by a single and unique
ID in the entire SDP, but that "breaks" RFC 5285...

So IMHO, the immediate issue is in BUNDLE spec [*] which defines the
MID stuff but does not mandate the MID ID to be unique in the whole
SDP.


[*] https://tools.ietf.org/html/draft-ietf-mmusic-sdp-bundle-negotiation-36

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