From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by mail.toke.dk (Postfix) with ESMTPS id 89BBE921943 for ; Sat, 29 Jan 2022 23:49:26 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=eOi1bo+c Received: by mail-yb1-xb29.google.com with SMTP id r65so29075436ybc.11 for ; Sat, 29 Jan 2022 14:49:26 -0800 (PST) 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=xkwqgpEODrF0Eb+98+xa4wBOuXhzd5TuFb7xH50Mlww=; b=eOi1bo+cfGCehzHfnWxxMXvOXXytH5QiAtiLblMplmVPLefCJtGqwl1OY9OIk6LPbz tYUYv1lND2lS0dsUxrqPmPgtNZBh2nYK5Jvnw+2Wd+th3QERDx2V8WoBV/ozRBY65RVt g3U0UDv+R3OF6C3Y6ghSGXwDASL8skobL67rV74npJ1/pFOWFXJ/dkp5gkqJ1o6RRGC3 MPU7/XfvDtO4YdJXxWazK7U4UT7cM7ybnT7jtZYrv8kXwSh4TXjJIiUIVHeCWVy2GOq+ Bf1W9MHzWEQWu6E6CvdFc3VwU5M9ZIFsUxaNS9ULnbeb8svz+dnA5DU5x/mUSZVMwaH4 VTNw== 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=xkwqgpEODrF0Eb+98+xa4wBOuXhzd5TuFb7xH50Mlww=; b=r31VBeTFDujsogvuNVyyeA1JxID1pkabI1ltWW2Pf00H2qg1qgFq5lZ+E7EJRJIql8 XQep0hdylheCwOqmDFIP/2PYRYIkiLTh527iXEXrFvzwwH5tZHAO2xIdRpSP+yy/WGej d09ooY4+1QXGM9E9IeQyGeEgK6aGZdYRU43d7gjUzcscQF+DHpuZaLvqyKLs51cW/dip fVcgforSIHRrVrV5EXN9uMes26nOr6wV5ZoDr6YmvTcHodMs13ml0abKaJ6kHtIkb71h V1njlYBGMpZlF3igwBOdgpN87q9TIQM0SB6c7CjouO4cJbkowZUijov/GcFzHbgFfVMF UEdA== X-Gm-Message-State: AOAM532k7A7T2jrL94mMo55sR9E/SdRudzWnr7MJk4KASZXI0ev14CGH WwcL7Um22Lviv+qwAyhzTedAHs1uactc86g2Usc= X-Google-Smtp-Source: ABdhPJxsQWQWNlBM7kbjS4lBZVh/lvzIaMXa3zj13kGRXAhrtYQDxP2TFxqbZwbpxUzQ2u57JbjyQyZxLlZLOFH+VGY= X-Received: by 2002:a25:c7ce:: with SMTP id w197mr2686280ybe.682.1643496564388; Sat, 29 Jan 2022 14:49:24 -0800 (PST) MIME-Version: 1.0 References: <87wniijhak.wl-jch@irif.fr> In-Reply-To: <87wniijhak.wl-jch@irif.fr> From: Klanjabrik - Date: Sun, 30 Jan 2022 05:49:12 +0700 Message-ID: To: Juliusz Chroboczek Content-Type: multipart/alternative; boundary="000000000000e8f70905d6c05cba" Message-ID-Hash: 3EJNBQHXZZK2S7T2PDZX4OPGD45E2CNY X-Message-ID-Hash: 3EJNBQHXZZK2S7T2PDZX4OPGD45E2CNY X-MailFrom: klanjabrik@gmail.com 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 CC: galene@lists.galene.org X-Mailman-Version: 3.3.5 Precedence: list Subject: [Galene] Re: 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: --000000000000e8f70905d6c05cba Content-Type: text/plain; charset="UTF-8" Thanks for the update. On Sun, Jan 30, 2022, 05:42 Juliusz Chroboczek wrote: > 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 > _______________________________________________ > Galene mailing list -- galene@lists.galene.org > To unsubscribe send an email to galene-leave@lists.galene.org > --000000000000e8f70905d6c05cba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the update.

On Sun, Jan 30, 2022, 05:42 Juliusz= Chroboczek <jch@irif.fr> wrote:
Some minor protocol changes.=C2=A0 R= ationale at the end.

1. What was previously known as "user.status" is now known as &qu= ot;user.data".
=C2=A0 =C2=A0The userAction "setstatus" is now known as "set= data".

We now consistently distuinguish between "status", which is maint= ained 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".= =C2=A0 It is
now possible to set "user.data" at the time of joining, which avo= ids the
need to debounce "user" messages.


3. We now implement "group.data" in addition to "user.data&q= uot; 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.=C2=A0 If yo= u'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<= br> students.=C2=A0 My goal with these changes is to ensure that they only modi= fy
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 s= et at joining time,
the other clients receive two "user" notifications, which leads t= o display
flicke.r

Another feature is to allow the teacher to set the current exercice
number, and have it prominently displayed for all students.=C2=A0 This is currently done using ad-hoc userMessages, which is racy; the goal is to
store it in "group.data".

-- Juliusz
_______________________________________________
Galene mailing list -- galene@lists.galene.org
To unsubscribe send an email to galene-leave@lists.galene.org
--000000000000e8f70905d6c05cba--