Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
* [Galene] Heads up: protocol changes for Galene 0.5
@ 2022-01-29 22:41 Juliusz Chroboczek
  2022-01-29 22:49 ` [Galene] " Klanjabrik -
  0 siblings, 1 reply; 2+ messages in thread
From: Juliusz Chroboczek @ 2022-01-29 22:41 UTC (permalink / raw)
  To: galene

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Galene] Re: Heads up: protocol changes for Galene 0.5
  2022-01-29 22:41 [Galene] Heads up: protocol changes for Galene 0.5 Juliusz Chroboczek
@ 2022-01-29 22:49 ` Klanjabrik -
  0 siblings, 0 replies; 2+ messages in thread
From: Klanjabrik - @ 2022-01-29 22:49 UTC (permalink / raw)
  To: Juliusz Chroboczek; +Cc: galene

[-- Attachment #1: Type: text/plain, Size: 1882 bytes --]

Thanks for the update.

On Sun, Jan 30, 2022, 05:42 Juliusz Chroboczek <jch@irif.fr> 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
>

[-- Attachment #2: Type: text/html, Size: 2649 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-29 22:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-29 22:41 [Galene] Heads up: protocol changes for Galene 0.5 Juliusz Chroboczek
2022-01-29 22:49 ` [Galene] " Klanjabrik -

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox