Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: Semantics of same port in multiple m- lines

Justin Uberti <juberti@google.com> Sat, 30 January 2021 18:33 UTC

Return-Path: <juberti@google.com>
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 85D663A0D52 for <mmusic@ietfa.amsl.com>; Sat, 30 Jan 2021 10:33:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 TdL18Ik4TWo5 for <mmusic@ietfa.amsl.com>; Sat, 30 Jan 2021 10:33:41 -0800 (PST)
Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) (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 140BA3A0D51 for <mmusic@ietf.org>; Sat, 30 Jan 2021 10:33:40 -0800 (PST)
Received: by mail-yb1-xb29.google.com with SMTP id b11so12447729ybj.9 for <mmusic@ietf.org>; Sat, 30 Jan 2021 10:33:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NQFYuvKEsLwh3uhAxpiCZEoK1QnRR7fat8w6R9Epehs=; b=fiq0GmUJWDDv5W429au2fd7zqFDYezH1ZC/BfI/63OAtSn794zZkn3R7mq47aU2koQ Na2zn3+Asg1seU3HIuYhCZFGtp8NPKp9gqjHJGdya0Rxk1pFYk0pmyJKcq0dX7MrnDJg 59ODC1+bN4q2jBX/VUVOtSVmMyZd3Ky6eY7iV+oLeyRjvaaCLgQ4EILOBrsGs0cd9s8k HeZqhX8xbW3rMUorlmh8/Fa/oONHHkBoaBOK3G5cJ8cA28b6G/R51wXXrIbw5DTcvwnf UR+nssROcaJbQ48yU0x/0fgGOD+eFJMfDbxx2cIGcws/lrGu7D43v3CzYRfJ2JEyAq25 IU3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NQFYuvKEsLwh3uhAxpiCZEoK1QnRR7fat8w6R9Epehs=; b=e04x/bjcFCEOYRkX6i8vAAPnqJNftAn9VNVfzVGCncbQzc5P7fKy8LNhu61l5aOOiN iWmvZo5uwHu1SmE5tDJtenKQYa4ok9YohmK9aGltesjWqDmnUfLNsnmzYaJOAbC6uJEP VHNt0d7nGiCf4gh+MfSj6G1HtQBbp9oFKwUKL+jpFufQEFNBhrcTQJDQzwybYJbcrQwQ ZQWy0aobOwr0otiJpb1gwHsnySLydeFh+rpnokNjfULjcG9XpaPw+3XzTkveQE1MMzXv CsN8wTbyZbFZrDcYPmjs6CwacdyNMrkbHbrCjuc7YQiTyUPvS67I1C3w/EOL+5P3jLN+ DLgA==
X-Gm-Message-State: AOAM532uRR8lL7gbunVpXYDD45SUj5+pI4kxv37eNFcxRfrRwiQGdl/6 dZhRCZ0KIMgpCNyq/A6KAaVZ/EFzVwyMg1G2rR6TFw==
X-Google-Smtp-Source: ABdhPJy+yO9xYqSt/VL/BY2syj6ZZoBWgra6AZs6ua7EArqpJjYYI2WZbfkO95ftK/27Gn66BspH1s4hQpuyF0p1U6k=
X-Received: by 2002:a25:2f41:: with SMTP id v62mr14357504ybv.473.1612031619549; Sat, 30 Jan 2021 10:33:39 -0800 (PST)
MIME-Version: 1.0
References: <AM0PR07MB3860A872DE7E09ED79FE4EAD93BA9@AM0PR07MB3860.eurprd07.prod.outlook.com> <CAD5OKxuvMzNGHnk2tGM9yjUBYz9EGdEj8kNO=a4d-SiBiA42jA@mail.gmail.com> <AM0PR07MB38600ED79AA323A8C38098AB93B99@AM0PR07MB3860.eurprd07.prod.outlook.com> <CAD5OKxsLL=+DLu-D2y-rOFGMDpKXgsWhVDFLiWS1k68LhwU8Dg@mail.gmail.com> <AM0PR07MB3860D4EC744D231497EFA5F993B89@AM0PR07MB3860.eurprd07.prod.outlook.com>
In-Reply-To: <AM0PR07MB3860D4EC744D231497EFA5F993B89@AM0PR07MB3860.eurprd07.prod.outlook.com>
From: Justin Uberti <juberti@google.com>
Date: Sat, 30 Jan 2021 10:33:28 -0800
Message-ID: <CAOJ7v-0juBeH3g4MY6jSj+pRnk6+CBFt24p9jFQ+Fwd4qjp_nw@mail.gmail.com>
To: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>
Cc: Magnus Westerlund <magnus.westerlund=40ericsson.com@dmarc.ietf.org>, Roman Shpount <roman@telurix.com>, "mmusic@ietf.org" <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000d22ff05ba225c66"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/C1S-NjirNgoFQt7laSAlEkbstsE>
Subject: Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: Semantics of same port in multiple m- lines
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.29
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: Sat, 30 Jan 2021 18:33:43 -0000

On Sat, Jan 30, 2021 at 3:03 AM Christer Holmberg <christer.holmberg=
40ericsson.com@dmarc.ietf.org> wrote:

> Hi Roman,
>
> >One other thing I would like to point out, that if you are dealing with
> an end-point that does not support BUNDLE, for the m= lines where the port
> is set to zero, you would often get something that will copy
> >all the RTP attributes to the answer from the offer, including the
> a=bundle-only attribute. Of course, you should not get the session-wide
> "a=group:BUNDLE" and would be able to detect that the m= line was
> >rejected that way.
> >
> >If the remote endpoint does not support the grouping framework, your
> actual mileage with the "a=group:BUNDLE" line may wary. There was never an
> explicit requirement that unsupported attributes must not be copied
> >from the offer to the answer. RFC 4566 and RFC 8866 only say that the
> parser must ignore such attributes. Because of this, some endpoints will
> copy all unknown attributes to the answer, including a=group. Of course,
> anything
> >that supports RFC 5888 will not do this.
>
> Correct.
>
> However, endpoints copying SDP attributes they don't understand can in
> general cause all kind of issues. It is not a problem unique to the
> grouping framework, or to  BUNDLE, or to m- lines with port zero.
>
> But, at least there is standardized semantics of the meaning of port zero.


Does the BUNDLE doc talk about what to do in this case, I.e., use of
bundle-only in m= sections that are not part of an a=group:BUNDLE group? I
think this is mostly separate from the issue at hand, but this seems like
something endpoints should be robust against.