Re: [sipcore] [EXTERNAL] Re: 3264 offer a=sendonly in context of session modification

Simon MORLAT <simon.morlat@gmail.com> Sat, 18 November 2023 10:45 UTC

Return-Path: <simon.morlat@gmail.com>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 40560C14CF15 for <sipcore@ietfa.amsl.com>; Sat, 18 Nov 2023 02:45:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n8u_C4XoyQqx for <sipcore@ietfa.amsl.com>; Sat, 18 Nov 2023 02:45:36 -0800 (PST)
Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 07AFCC14CF1A for <sipcore@ietf.org>; Sat, 18 Nov 2023 02:45:36 -0800 (PST)
Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1ce616f12e4so10927545ad.3 for <sipcore@ietf.org>; Sat, 18 Nov 2023 02:45:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700304335; x=1700909135; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nqkBHhubiy1VD7qL4fX/bjY121uh3C4Zj8+Dvpi1zGw=; b=KMQwPjLtQlbrCT3U0E7F9bEXB7+MzVD0yJxLIMDLZa373dwC9obLKUnzKoD8SH7RgC XOZ5LwUN7hzASc3dgXn4NOTT8YO1Fy3sMFGOaHNek+pl9BdZ8WmCq3RV5cxmQkkwRnja 34fqYoC64OVoZLjyuGoRbJavoXDLSX6b/e2I+795IJCDlO4b7TrxffZYc/GZ5xR37pTz /WefQjPPuVTaTAhJfpmHxENA7Wnrbj6YktLD8epzWsgSOKlZtmmlMRDd8+volyIMp41j swEh3HQ0S8yK0rAgM4etzeDWZ3ceT5ntxL1yj+j5Lg4HAhPdQHwLmyClzFXZCpiamtgI KnHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700304335; x=1700909135; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nqkBHhubiy1VD7qL4fX/bjY121uh3C4Zj8+Dvpi1zGw=; b=hQy2VfYh39JoNzSBpfFgb4KkM2xKa0Ijl0IrOGjVDVo23E/mAaogxLgLcVNOwYCQS3 NbZuZHoWIXxJID/KngrvrztTWsdO1hDibK4REVJ7kyMNDPoet2d0FZa0xukhQUXUHRmI 9E0k8z01LgbUMBdQIxiCI7WQi7+fK/RNJz0R2nFM4fGcpoQuQEMqUDmmqT6yGrr/5ibq QqWQQmHVqlbS6ypMO7qvNdeP8qhiLEKAl5vRKJ8Zk/YVouT/y91nxfRfErvzaJ792eIk ooBlTX8qvm5NpLUSoN/ll8443DbllqpU5DjB8wmX+fPRQ8fK7HjuEZZY0eFVmI2Ipfij bFDw==
X-Gm-Message-State: AOJu0YxMquKPjzXdgBqf7Lpbb2vRcaqbONV7ZI0sWk8MgQm4ajwJbtas ++X3L9Qm8qgUVgiGTwU75x7GIY2H4p6Dxyh6C7c=
X-Google-Smtp-Source: AGHT+IFMNnD+4bg4WXmeQWkx4GjHev6sThCrJ8EWDVAH2GdO1RQt5/TEXMPxVAiCKTvCBbFAQ7qBkV4/A8g9Y1zuk4w=
X-Received: by 2002:a17:902:ec8f:b0:1cc:54fb:60f9 with SMTP id x15-20020a170902ec8f00b001cc54fb60f9mr2665726plg.37.1700304335294; Sat, 18 Nov 2023 02:45:35 -0800 (PST)
MIME-Version: 1.0
References: <BY5PR00MB0691A51D3E0FB33D972EBE63B6B7A@BY5PR00MB0691.namprd00.prod.outlook.com> <0518b9fe-9a7b-4a09-a6e1-e300a8f984f6@alum.mit.edu> <BY5PR00MB0691124C9D16E1EFE11D24B2B6B7A@BY5PR00MB0691.namprd00.prod.outlook.com> <0836cdda-28e4-4654-8ed9-65eb5de81c7c@alum.mit.edu> <CA+8sMAx2tsnG2i=ZsndfQtiNqmmMivLc-Br1MiUV6RQ2kKetXg@mail.gmail.com>
In-Reply-To: <CA+8sMAx2tsnG2i=ZsndfQtiNqmmMivLc-Br1MiUV6RQ2kKetXg@mail.gmail.com>
From: Simon MORLAT <simon.morlat@gmail.com>
Date: Sat, 18 Nov 2023 11:45:24 +0100
Message-ID: <CAH_g9RxeRZ+03sDJsFo1RDZiXWzV2dfodH6QMYmkGFjAJM3Pkg@mail.gmail.com>
To: "Mojtaba Esfandiari.S" <esfandiari.m84@gmail.com>
Cc: Paul Kyzivat <pkyzivat@alum.mit.edu>, Russ Penar <russp@microsoft.com>, SIPCORE <sipcore@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ea57d1060a6af3c6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/8TKj1D4RAjGQBlR3KT0MHxrBrD8>
Subject: Re: [sipcore] [EXTERNAL] Re: 3264 offer a=sendonly in context of session modification
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sipcore/>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Nov 2023 10:45:40 -0000

Hi all,

In Linphone application, we use a=sendonly for video streams within a
conference. Each client sends a miniature (very low resolution) video
stream to the conference server, and each participant can claim receiving
such miniature video streams of other participants with a=recvonly and
a=label attributes. This a way to achieve advanced video conference
presentation without requiring a codec with spatial scalability.


In any case, we can hardly assume that sendonly means "put on hold". That
may be a problem indeed that the signaling does not explicitely indicates
it.
"On hold" is a notion that only exists for the participant that presses the
"pause" button actually.

Best regards.

Simon


Le sam. 18 nov. 2023, 09:57, Mojtaba Esfandiari.S <esfandiari.m84@gmail.com>
a écrit :

> Hello all,
> As my experiences when I had been developing the RTSP module for kamailio,
> I used this option, because I just needed to get a one-way real stream from
> Camera. In that situation, I have to change the SDP parameter to a=recvonly
> or a=sendonly.
> WIth Best Regards
> Mojtaba Esfandiari.S
>
> On Sat, Nov 18, 2023 at 12:25 AM Paul Kyzivat <pkyzivat@alum.mit.edu>
> wrote:
>
>> On 11/17/23 11:55 AM, Russ Penar wrote:
>> > Paul,
>> >
>> > Thank you for the reply and follow up.
>> >
>> > Paul Kyzivat wrote:
>> >>   Are you asking as a recipient of such an offer? If so, why does it
>> > matter?
>> >
>> > Yes, as an offer recipient a client's UI indicates remote party call
>> hold.
>> > Client logic triggers UI update today based on a=inactive update for
>> > established session.
>>
>> Just to be clear, you are saying that "other party" sends an in-dialog
>> offer (via either reINVITE or UPDATE) with a=sendonly, and the client
>> you are concerned about sends a corresponding answer with a=inactive?
>>
>> That is a valid response, as would be a=recvonly.
>>
>> > To progress the client's 3264 interworking support discussion, I must
>> > determine the risk of introducing my interpretation of 3264 8.4, " With
>> > conditions met, new offer for established session, supporting
>> a=sendonly
>> > modification (in addition to inactive) does not break the existing UI
>> > experience of remote party call hold indication."
>>
>> Do you have reason for concern that the a=inactive is wrong in this
>> circumstance? IIUC your implementation is *presuming* that the other
>> party is requesting to put the call on hold, and deciding that it
>> doesn't want to received the media. (Presumed to be music on hold.)
>>
>> On what basis would you make any determination? Did the media exchanged
>> prior to the "hold" cause your user to be surprised to no longer get
>> media?
>>
>> > *8.4 <https://www.rfc-editor.org/rfc/rfc3264#section-8.4>** Putting a
>> > Unicast Media Stream on Hold*   If a party in a call wants to put the
>> > other party "on hold", i.e.,    request that it temporarily stops
>> > sending one or more unicast media    streams, a party offers the other
>> > an updated SDP.    If the stream to be placed on hold was previously a
>> > sendrecv media    stream, it is placed on hold by marking it as
>> > sendonly.  If the    stream to be placed on hold was previously a
>> > recvonly media stream,    it is placed on hold by marking it inactive.
>>
>> I suggest you read RFC 6337, especially section 5, for an in-depth
>> discussion of this topic.
>>
>>         Happy Reading,
>>         Paul
>>
>> _______________________________________________
>> sipcore mailing list
>> sipcore@ietf.org
>> https://www.ietf.org/mailman/listinfo/sipcore
>>
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore
>