update participant
This block is part of the realtime group and was last modified in core v15.0.2.
update participant v15.0.2 Changes a participant in the live room: mute, deafen, let speak, rename, new metadata. No reconnect.
- flow
- room
valuerequired - identity
valuerequired - name
value - metadata
valuea string or an object
- provider
value - can publish
conditiondefault true
- can subscribe
conditionhears and sees the others; default true
- can publish data
conditionmay send on the room's data channel; default true
- hidden
conditionin the room, unseen by the others
- sources
arrayexactly the sources they may publish (microphone, camera, screen_share, screen_share_audio); not wired is every source, an empty list is none
- flow
- success
condition - error
value
Only the grant pins that are wired change; everything else stays as the participant holds it, so taking somebody's microphone never also unhides them or lets them publish more. sources wired with none turns publishing off. Mint the next voice_token for the same person with the same grant, or a reconnect with an older token hands back what this took away: a moderation blueprint keeps the change and asserts it again on participant_joined. metadata is sent only when its pin is wired; a node that keeps no participant metadata (cmd/voice) refuses the whole update with success false and changes nothing, so on such a node leave metadata unwired.
Version history
Introduced in v15.0.2.
v15.0.2: block added in this release.
Back to
realtime Return to the main group to view all sub-groups Back to voice Return to the group to view all blocks within this group