Re: [Wish] How to detect a crashed client?

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Sat, 11 September 2021 12:20 UTC

Return-Path: <sergio.garcia.murillo@gmail.com>
X-Original-To: wish@ietfa.amsl.com
Delivered-To: wish@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02D793A1242 for <wish@ietfa.amsl.com>; Sat, 11 Sep 2021 05:20:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hPit2wZbMPKw for <wish@ietfa.amsl.com>; Sat, 11 Sep 2021 05:20:51 -0700 (PDT)
Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (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 59B3B3A1247 for <wish@ietf.org>; Sat, 11 Sep 2021 05:20:51 -0700 (PDT)
Received: by mail-pl1-x62e.google.com with SMTP id bb10so2863257plb.2 for <wish@ietf.org>; Sat, 11 Sep 2021 05:20:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7Jtt6f0K0eJGCRAG5fs5NZihDRL3jiw3WKMncg+aKRI=; b=Db7sMNOeD/fHbYPw/BF2q8vKeUDR2q1WCeCBH3buooUNXqwyF4Zi8KWTZtSkSfPHIV 7HC3mkLK/ndje7KSvSVWImZhpfbMqzZSHf1jkYwEHW3b6gUiON0bLWr9pW0NtEm1rufa 4eqR+CUmdbSsiJimqlmNvIUW6Cl01eRf6QEVG9YO0Xhx+El9pop9k3GoUPTGMookXlEe oysg7ZGUzAiXzTBA4uzIT2FJsXRTBdnI1n0kaTYBf1cntBopFl+KUyDOVtj8ug5a2I4M dzaeQ/wNnIo27tyLetQfYOPT2Yjlm1nR0o3F72FY4b2T5p3jSz9p1jfw/qPRUW/GX1e/ qbkA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7Jtt6f0K0eJGCRAG5fs5NZihDRL3jiw3WKMncg+aKRI=; b=Bu85npgREJHUb3nPlsHKmPNeCubwxs4Elrvn9fnDryJxq/lYRe4QFzd1jY/atcSeSV 1aRCvEl04H0Hk41z4ZsI4Ol+B1TVXvl+nGtnZbjE7CJcqX391rotvwihcrMGomWk4IVo 9Cvd8Yx9bQJ61hpjBkR4QJ200e289qpfN/Ab2TgkvFxNjTLCDU1jc/aAsjGLtdyt/ipZ PSXCuGYaxpb8OVc+iIyDLycTDUmvHD/JKc15JoN//YH7UEyiZn4RL+rZX0Xwczjf3QxH aIPnt09/PR7NywLZtWV3qb/BXOmj1iYfRF1WNw3UjrrPBWa4vhhI+PT2RttqK6mVd1Ij b5/A==
X-Gm-Message-State: AOAM532yft2HrdXcLMPsTHa0/uZm9NIbTf+f50GL3X+aZdSCANRXiSUl dMoYZwkUPSNMF48MVP1Vn70wJ7hruZ4+sis2Fdc=
X-Google-Smtp-Source: ABdhPJxKrlb2G28ItW+40qS/4oZ7bciYbwZvejn6XE/Z1NJHrd6kYCkqSm7LjU8sFquPxl1C/JvJuWHRD9U4C3uFhJI=
X-Received: by 2002:a17:90b:3e89:: with SMTP id rj9mr2812436pjb.138.1631362848962; Sat, 11 Sep 2021 05:20:48 -0700 (PDT)
MIME-Version: 1.0
References: <877dfphj5g.wl-jch@irif.fr> <CA+ag07Y0A9ZbfH9QPEWUS2LjFA4hF7T1kuYc-fCUMLW+VdCRww@mail.gmail.com> <875yv9hgrf.wl-jch@irif.fr> <7DEC2328-BB66-449B-A778-BAF8DDB9BFC8@8x8.com> <CA+ag07aZkSHyuGTt-Gkn7AxboAoexSZTUQCi+nBCjyYTyCVmXw@mail.gmail.com> <760D1DAA-AA48-4893-9B1B-0904FB9D8062@8x8.com> <CA+ag07bWHcuavZ-pY2rfOw-XX-0UuKtQvX=L3=SZPFwxGFfWjQ@mail.gmail.com> <HE1PR07MB4441C7F2D6DE62C65022B5F393D69@HE1PR07MB4441.eurprd07.prod.outlook.com> <40B6339B-B13B-4749-A54D-2B0DBC298D59@8x8.com> <HE1PR07MB44412EECFDED3CF08754BAC393D79@HE1PR07MB4441.eurprd07.prod.outlook.com> <8735qbwhag.wl-jch@irif.fr> <HE1PR07MB444150A2145FDDA6A7D619BA93D79@HE1PR07MB4441.eurprd07.prod.outlook.com> <871r5vwfz7.wl-jch@irif.fr> <HE1PR07MB4441DC78F0DA1130C50D6E7D93D79@HE1PR07MB4441.eurprd07.prod.outlook.com>
In-Reply-To: <HE1PR07MB4441DC78F0DA1130C50D6E7D93D79@HE1PR07MB4441.eurprd07.prod.outlook.com>
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Date: Sat, 11 Sep 2021 14:20:36 +0200
Message-ID: <CA+ag07YTryz55neFczOHZPsHwQMbUXpwUGFB_fF0S6gesu2AvQ@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Juliusz Chroboczek <jch@irif.fr>, Nils Ohlmeier <nils.ohlmeier@8x8.com>, WISH List <wish@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001cbb8005cbb7435a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/crcDbjPLWKCDLmRTQH1l6_d0fXg>
Subject: Re: [Wish] How to detect a crashed client?
X-BeenThere: wish@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: WebRTC Ingest Signaling over HTTPS <wish.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/wish>, <mailto:wish-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/wish/>
List-Post: <mailto:wish@ietf.org>
List-Help: <mailto:wish-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/wish>, <mailto:wish-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Sep 2021 12:20:56 -0000

My original idea was that as clients are mandated to send ice consent, the
server would be able to detect disconnection based on the reception of the
ice request sent by the clients.

ICE lite servers should not be mandated to send ice requests in any way.
ICE lite+ or full ice servers may use the consent sent by the servers
instead.

I don't like the idea of using media for this,  as I have never liked the
webrtc approach of sending black frames when media is paused.

Best regards
Sergio

El sáb., 11 sept. 2021 13:29, Christer Holmberg <
christer.holmberg@ericsson.com> escribió:

>
> >> Network servers are often (please correct me if I'm wrong) ICE lite,
> >> and now there is suggestion that those should do ICE consent. How is
> >> that keeping things simple? :)
> >
> > I don't think the suggestion is that they SHOULD do ICE consent.  The
> suggestion is that they MAY do ICE consent.
>
> Sure, but then I don't think we should talk about ICE lite. If we see the
> need for a new ICE type ("ICE lite++", or whatever we want to call it) I
> think that needs a broader discussion, beyond WHIP.
>
> Of course, an implementation can do whatever, but in my opinion we should
> not specify things that are not aligned with the standard - even if it's a
> MAY.
>
> Also note that ICE consent is sent no matter whether there is media
> flowing or not. But, if you are only interested in knowing that the client
> is alive, I assume receiving media from it is enough? So, the server would
> only need to check whether it's alive or not when it does not receive media.
>
> Regards,
>
> Christer
>
>