Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: Semantics of same port in multiple m- lines
Roman Shpount <roman@telurix.com> Sat, 30 January 2021 05:11 UTC
Return-Path: <roman@telurix.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 9318C3A0B32
for <mmusic@ietfa.amsl.com>; Fri, 29 Jan 2021 21:11:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
header.d=telurix-com.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 F2AREqdHOkpP for <mmusic@ietfa.amsl.com>;
Fri, 29 Jan 2021 21:11:56 -0800 (PST)
Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com
[IPv6:2607:f8b0:4864:20::334])
(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 C92663A0B2D
for <mmusic@ietf.org>; Fri, 29 Jan 2021 21:11:56 -0800 (PST)
Received: by mail-ot1-x334.google.com with SMTP id k8so10782561otr.8
for <mmusic@ietf.org>; Fri, 29 Jan 2021 21:11:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=telurix-com.20150623.gappssmtp.com; s=20150623;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=euvXd5FzkY7wjShNfeAvG8S+4XSfqpDOF6l3yQy1s7g=;
b=sDBW6A3mNi9avn5zIZ4CHYPqIuuTeXbdHstjILhbWZ3YLfFwBuLe8Lx79qZD45FESb
dTCmkQFfs08WDd5Y1nEMooRIv5cVFPevoJH2wuk8xaiTcUB0zBnZ/mOEijHJLwuqffXf
tkQpXQPWCbdH7foT+DSIQN2G1sghlD60sq9l8i04MbIlYsR2cIbPAPMKanW4yer0hvR+
+r5O3kdKUxwc1tenT7XVKQmsHYRQfVgFHUJPEza9JFJ0CIjd0OQew+oetFfc2jiiU/q4
7Z21WnxAMHadbZXDEuBKfpj2hr4O3D5QPlyBqjtdxbyEPyHgpMCFU/wHiEFb5QnnUXI6
K1/g==
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=euvXd5FzkY7wjShNfeAvG8S+4XSfqpDOF6l3yQy1s7g=;
b=M+b5Msgh2jgx4qG2bFKJpjRwWYI75Mxr9gEZ+6UvputO9rvieGUJAwt9Hq3MkMvc6z
yTLZN/XVOMNvadPpANGYpYTJfsJKy2+r9mwyCvFbo8RtdHf94nLu+6SFMDxrq3DefVLk
q0vCf4w1bJZUmM36UwT26WC3Iax72nBvIRW5AszM9NkTnYguygV1DtYYWCb8P8Zaa8s3
TMmfzvLcEnke9D54i9K0R0IW80otXrJXp/mge4HQ7wo0O3INoZO3nENzl5hsdIaZo78V
4hCIjTNSXYkhVQwc33TFf/u5oCCzU6iqQnFiL7Uok3CSHdeioHBExu+dIuvY0Pvm1dlC
z3Rg==
X-Gm-Message-State: AOAM533m05xyFGfobWDF0SlISABYI7peWtVWJON5bSan+kHDeCg9G3R/
md4iD0R+QYsMDSmECPvuUZhEpnrHAqEOMQ==
X-Google-Smtp-Source: ABdhPJz3CIYzZKDoURChxBUBolEgEpIqnawb8G4FRO+mN+mNS3LDaWhr4JBwgTi4o7WH0fdoMQseZA==
X-Received: by 2002:a05:6830:230b:: with SMTP id
u11mr5154111ote.184.1611983515560;
Fri, 29 Jan 2021 21:11:55 -0800 (PST)
Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com.
[209.85.210.42])
by smtp.gmail.com with ESMTPSA id n19sm2555241otk.57.2021.01.29.21.11.54
for <mmusic@ietf.org>
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Fri, 29 Jan 2021 21:11:54 -0800 (PST)
Received: by mail-ot1-f42.google.com with SMTP id n42so10760098ota.12
for <mmusic@ietf.org>; Fri, 29 Jan 2021 21:11:54 -0800 (PST)
X-Received: by 2002:a9d:6b02:: with SMTP id g2mr4766854otp.19.1611983514316;
Fri, 29 Jan 2021 21:11:54 -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>
In-Reply-To: <AM0PR07MB38600ED79AA323A8C38098AB93B99@AM0PR07MB3860.eurprd07.prod.outlook.com>
From: Roman Shpount <roman@telurix.com>
Date: Sat, 30 Jan 2021 00:11:42 -0500
X-Gmail-Original-Message-ID: <CAD5OKxsLL=+DLu-D2y-rOFGMDpKXgsWhVDFLiWS1k68LhwU8Dg@mail.gmail.com>
Message-ID: <CAD5OKxsLL=+DLu-D2y-rOFGMDpKXgsWhVDFLiWS1k68LhwU8Dg@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>,
Magnus Westerlund <magnus.westerlund=40ericsson.com@dmarc.ietf.org>,
"mmusic@ietf.org" <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c1351505ba1728a0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/Tp8Wz3djsa7tzP00oNEWciH1LwA>
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 05:11:59 -0000
Hi Christer, 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. _____________ Roman Shpount On Fri, Jan 29, 2021 at 1:16 PM Christer Holmberg < christer.holmberg@ericsson.com> wrote: > Hi, > > > > > This is exactly the language I have remembered. So, it is not > explicitly prohibited but the behavior is undefined. > > > > ...which is why you cannot make any assumptions regarding how the receiver > will process such SDP - unless you have prior knowledge about the > capabilities of the receiver. > > > > Regards, > > > > Christer > > > > > > > > > > On Thu, Jan 28, 2021 at 4:26 AM Christer Holmberg < > christer.holmberg@ericsson.com> wrote: > > This is the test from Section 5.14 of RFC 4566: > > > > “The semantics of multiple "m=" lines using the same transport > > address are undefined. This implies that, unlike limited past > > practice, there is no implicit grouping defined by such means and > > an explicit grouping framework (for example, [18]) should instead > > be used to express the intended semantics.” > > > > ([18] refers to the SDP grouping framework defined in RFC 5888) > > > > > > This is the corresponding (slightly modified) text from Section 5.12 of > RFC 8866: > > > > “This document gives no meaning to assigning the same media address > > to multiple media descriptions. Doing so does not implicitly > > group those media descriptions in any way. An explicit grouping > > framework (for example, [RFC5888]) should instead be used to > > express the intended semantics. For instance, see [RFC8843].” > > > > (RFC 8843 is BUNDLE) > > > > > > So, again, it is ok to use the same port in multiple m- lines, if the > semantics is defined, and if the participants support that semantics. > > > > When you send an initial INVITE, from a standards viewpoint, you don’t > know whether the participants in the path support that semantics. > > > > Regards, > > > > Christer > > > > > > > > *From:* mmusic <mmusic-bounces@ietf.org> *On Behalf Of *Christer Holmberg > *Sent:* torstai 28. tammikuuta 2021 1.26 > *To:* Roman Shpount <roman@telurix.com> > *Cc:* Magnus Westerlund <magnus.westerlund=40ericsson.com@dmarc.ietf.org>rg>; > mmusic@ietf.org > *Subject:* Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE > > > > Hi, > > > > >Can you or anyone else provide the reference to the document which > prohibits using the same port in multiple m= lines? > > > > It is not prohibited, but the SDP spec says that the semantics is > undefined. > > > > Now, in BUNDLE we can define semantics for usage of multiple m= lines, and > BUNDLE endpoints would support that semantics. > > > > The problem is if you send an initial INVITE that reaches a non-BUNDLE > endpoint. There is no way to know how that endpoint will process the offer, > and we have seen that the offer gets rejected (in different ways). > > > > Regards, > > > > Christer > >
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Roman Shpount
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Roman Shpount
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Justin Uberti
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Justin Uberti
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Roman Shpount
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Justin Uberti
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Roman Shpount
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Paul Kyzivat
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Roman Shpount
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Paul Kyzivat
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Roman Shpount
- Re: [MMUSIC] [rtcweb] Updating JSEP and BUNDLE: S… Christer Holmberg