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

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Thu, 09 September 2021 15:30 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 1DE8A3A1844 for <wish@ietfa.amsl.com>; Thu, 9 Sep 2021 08:30:42 -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 9g7XtxiC9FHV for <wish@ietfa.amsl.com>; Thu, 9 Sep 2021 08:30:37 -0700 (PDT)
Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 71F5D3A1842 for <wish@ietf.org>; Thu, 9 Sep 2021 08:30:37 -0700 (PDT)
Received: by mail-pj1-x1035.google.com with SMTP id f11-20020a17090aa78b00b0018e98a7cddaso1705315pjq.4 for <wish@ietf.org>; Thu, 09 Sep 2021 08:30:37 -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=Y1Fqs7s5uEEuvsI6acnLlu2Dl6qIv0UphQ4jgbWy6c4=; b=dj9OCuIZkEMxBwu/a5f3U/if07jc37ir4o4R7Sg1rV8qhowEyj1p42IlOMGtxfhz/v 1oI3/zLcb2Lq9NkykfmdFYFn7KahfgId9gqN2lnKYhEeQPZzNLjCAk5Jh0/ga3dZN5y+ S8a5VScW/z9Yuqaisx4sz0ZDY3yURFF8FkVrfYX/Pbaw0zNBLSU+Ey0bn3Q55B+aaA67 21FbIB5GlkVXBQmk5aD+fPa5huYs1cZh6RoVn4LfGhm7cZLyv+80c3bnl2es3NgocB9/ ZTi3khxLZz71Js9F1O/VNqRJcqRm79XM0i9bFnZlaKNFxhCQ6M4g8pXIyzvOTdgDdANy 7zYw==
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=Y1Fqs7s5uEEuvsI6acnLlu2Dl6qIv0UphQ4jgbWy6c4=; b=MDFfX9IG1hiRI/LcvEPEBJuLzRprus4J+qeG9sdBNybtz3J40hcUBT7h2GPS9lLx/o i8r845g5hfsWK6jRl6dyr99m8axDUDs4+WDDLXTVqYJnuX3iNPgQklsjUwIlh9fKxz0w Hxi4kmHTwufWa3wO3hovfvgiW20Q0ZRh2pHp6lethBmVcB+tnBYkUWhsL2DvZ2mxBw0k EEY4RnI4Vyh9ACuRLmeQtFK5AyhVbUAW09gDGmtModGPV5QEcHwKIlnKgmvEM/+0cIPt FLGnJdbroNOjeTcfX+M8ca0vbyxuuMJiIuH7R59hDxZcOkI3SEb6lksU45NpZQtT9Otc UyGg==
X-Gm-Message-State: AOAM532kaTXxJOMT9dWFOXzbS4TB3EM2Lz+4Vmh/9cRjgYJpuZB9bWnp zzs6G0SYbESooDahW+0dSPuu9Z6AwU/RwqJICte0FtsUYLQ=
X-Google-Smtp-Source: ABdhPJxol9tZ6fahAPw2CAfOH1gkvdn94daPUrcscCvIGZQ0MN6Olh8WL809P5qJpxdT3Z6jY+sN83lT6RtNZiU31fA=
X-Received: by 2002:a17:90a:4b4d:: with SMTP id o13mr4188244pjl.236.1631201435404; Thu, 09 Sep 2021 08:30:35 -0700 (PDT)
MIME-Version: 1.0
References: <877dfphj5g.wl-jch@irif.fr>
In-Reply-To: <877dfphj5g.wl-jch@irif.fr>
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Date: Thu, 9 Sep 2021 17:30:24 +0200
Message-ID: <CA+ag07Y0A9ZbfH9QPEWUS2LjFA4hF7T1kuYc-fCUMLW+VdCRww@mail.gmail.com>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: WISH List <wish@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001d4d0a05cb91ae52"
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/AoyZCOKU7teUtdz4KJnYViDerhg>
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: Thu, 09 Sep 2021 15:30:42 -0000

As stated in the draft:

   Once a session is setup ICE consent freshness [RFC7675
<https://datatracker.ietf.org/doc/html/rfc7675>] will be used
   to detect abrupt disconnection and DTLS teardown for session
   termination by either side.


Which means that the server has to monitor the ICE requests and
timeout any client which hasn't issued a new ICE request to renovate
the consent in 30s.


Best regards

Sergio



El jue, 9 sept 2021 a las 17:18, Juliusz Chroboczek (<jch@irif.fr>)
escribió:

> Hi,
>
> When a client terminates correctly, the server can detect that it has left
> either when it receives DELETE on the resource URL, or because the client
> closes DTLS.
>
> When a client crashes, on the other hand, it just stops sending RTP.  At
> what point can the server get rid of the client and destroy (now frozen)
> video?
>
> -- Juliusz
>
> --
> Wish mailing list
> Wish@ietf.org
> https://www.ietf.org/mailman/listinfo/wish
>