Skip to main content
Markdown

Change what someone may do

POST 

/wordplus/realtime/calls/:name/permit

Changes what someone may do in a group call while it runs: publish makes a listener a speaker, or a speaker a listener again, which takes down what they send. subscribe stops or starts what they get of the others. At least one of the two.

It is theirs at once when they are in the call, and their page hears permissions. The call and room tokens signed for them before follow it too, so an older token cannot undo it. A token your server signs after follows your rule, so keep the change where the rule reads it. A publish held before goes.

With hold, publish holds for every join after too, whatever the token says, until the other one, a switch of Broadcast Mode or the end of the call: the call screen's Make Listener and its promotion.

In the packages: realtime.call( name ).permit( user, { publish, subscribe, hold?, by? } ).

Request​

Responses​

Whether they were in it.