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
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

^ 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

Galène videoconferencing server discussion list archives

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lists.galene.org/galene

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 galene galene/ https://lists.galene.org/galene \
		galene@lists.galene.org
	public-inbox-index galene

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git