receive voice event

This block is part of the realtime group and was last modified in core v15.0.2.

receive voice event v15.0.2

Verifies an event a voice node posted and reads it: somebody joined, left, published a track, a room ended.

In pins 3 + flow
  • flow
  • raw body value required

    the raw request body

  • authorization header value required
  • provider value

    the node that posts here; default the entity's binding

Out pins 10 + flow
  • flow
  • valid condition
  • success condition
  • event name value
  • room value
  • identity value
  • user value
  • session value
  • track source value
  • event object
  • error value

Wire a blueprint endpoint's raw request body into payload and its Authorization header into authorization, and point the node's VOICE_WEBHOOK_URLS (or LiveKit's webhook URL) at that endpoint. The header is a token signed with the provider's secret over the body's SHA-256, so payload must be the raw body, never a re-encoded object. valid is false and error says why for anything else. name is the event (room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished); room, identity, user and session (split by the provider's identity_separator) and track_source are lifted out of event, which holds the whole event.

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