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 D7FF292192A for ; Sat, 29 Jan 2022 23:41:57 +0100 (CET) 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 20TMfvwj019985 for ; Sat, 29 Jan 2022 23:41:57 +0100 Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id 4A3D8E3A23 for ; Sat, 29 Jan 2022 23:41:57 +0100 (CET) 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 6p2HJxP5IeEI for ; Sat, 29 Jan 2022 23:41:55 +0100 (CET) Received: from pirx.irif.fr (unknown [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 9BB45E3A21 for ; Sat, 29 Jan 2022 23:41:55 +0100 (CET) Date: Sat, 29 Jan 2022 23:41:55 +0100 Message-ID: <87wniijhak.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=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [194.254.61.138]); Sat, 29 Jan 2022 23:41:57 +0100 (CET) X-Miltered: at korolev with ID 61F5C2B5.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 61F5C2B5.000 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 : 61F5C2B5.000 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: YQIF4BK4VZDFGPH4IZXNMJIHIRFVAXHC X-Message-ID-Hash: YQIF4BK4VZDFGPH4IZXNMJIHIRFVAXHC 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.5 Precedence: list Subject: [Galene] Heads up: protocol changes for Galene 0.5 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: Some minor protocol changes. Rationale at the end. 1. What was previously known as "user.status" is now known as "user.data". The userAction "setstatus" is now known as "setdata". We now consistently distuinguish between "status", which is maintained by the server, and "data", which is controlled by the client. 2. The "user.data" may be set at the time of joining a group. Previously, one needed to join a group and then set "user.data". It is now possible to set "user.data" at the time of joining, which avoids the need to debounce "user" messages. 3. We now implement "group.data" in addition to "user.data" and "group.status". Group.data may be set by any group operator, and is propagated to all clients in a group by the means of "joined" messages. If you're using protocol.js, it's a parameter of the "onjoined" callback. # Rationale Anabole.com have been forking Galene for remote teaching of primary school students. My goal with these changes is to ensure that they only modify the client, and that they don't need to make any changes to the server. In their user interface, they store a user avatar's position in the "user.data" field; if the "user.data" field cannot be set at joining time, the other clients receive two "user" notifications, which leads to display flicke.r Another feature is to allow the teacher to set the current exercice number, and have it prominently displayed for all students. This is currently done using ad-hoc userMessages, which is racy; the goal is to store it in "group.data". -- Juliusz