Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
* [Galene] New protocol feature: client status
@ 2021-04-28 12:57 Juliusz Chroboczek
  0 siblings, 0 replies; only message in thread
From: Juliusz Chroboczek @ 2021-04-28 12:57 UTC (permalink / raw)
  To: galene

Dear all,

Due to popular demand, I've just added server-maintained application state
to Galène.  Every client now has a "status", which is maintained by the
server.  The server does not interpret the status, it just enforces

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-28 12:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28 12:57 [Galene] New protocol feature: client status Juliusz Chroboczek

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