From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; spf=pass (mailfrom) smtp.mailfrom=irif.fr (client-ip=2001:660:3301:8000::1:2; helo=korolev.univ-paris7.fr; envelope-from=jch@irif.fr; receiver=) Received: from korolev.univ-paris7.fr (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]) by mail.toke.dk (Postfix) with ESMTPS id 0FA95838943 for ; Wed, 28 Apr 2021 14:57:29 +0200 (CEST) Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/82085) with ESMTP id 13SCvSN6008492 for ; Wed, 28 Apr 2021 14:57:28 +0200 Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id C63171050E8 for ; Wed, 28 Apr 2021 14:57:28 +0200 (CEST) X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id UxO6aYdBD053 for ; Wed, 28 Apr 2021 14:57:27 +0200 (CEST) Received: from pirx.irif.fr (unknown [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 1B03C1050E4 for ; Wed, 28 Apr 2021 14:57:27 +0200 (CEST) Date: Wed, 28 Apr 2021 14:57:27 +0200 Message-ID: <87a6pi36tk.wl-jch@irif.fr> From: Juliusz Chroboczek To: galene@lists.galene.org User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.1 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [194.254.61.138]); Wed, 28 Apr 2021 14:57:28 +0200 (CEST) X-Miltered: at korolev with ID 60895BB8.003 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 60895BB8.003 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/ X-j-chkmail-Score: MSGID : 60895BB8.003 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham Message-ID-Hash: 2SIHKWMFJ4ZTLW52SWVJD4MHY2BBUKE5 X-Message-ID-Hash: 2SIHKWMFJ4ZTLW52SWVJD4MHY2BBUKE5 X-MailFrom: jch@irif.fr X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.4 Precedence: list Subject: [Galene] New protocol feature: client status List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Dear all, Due to popular demand, I've just added server-maintained application state to Gal=E8ne. Every client now has a "status", which is maintained by the server. The server does not interpret the status, it just enforces permissions. The client status is an arbitrary JSON dictionary: {raisehand: true, mood: 'confused'} A client can change their status by sending a "userAction" message of kind "setstatus"; only the entries mentioned in the message are changed, the others are left as they were. Whenever the status of a user changes, a "user" message of the right kind (usually "change") is broadcast, and the "users" array reflects the new status. The protocol is designed so that in the future it might be possible to change other users' status, but this is not implemented yet -- you'll only be able to change your own status for now. While anything that can be done with status could in principle be done by userMessages, Alain and I have found that this leads to useless complication on the client side, so we've decided to maintain this small piece of data in the server. -- Juliusz