Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventRoomStarted = "room_started" EventRoomFinished = "room_finished" EventParticipantJoined = "participant_joined" EventParticipantLeft = "participant_left" EventTrackPublished = "track_published" EventTrackUnpublished = "track_unpublished" EventRecordingStarted = "recording_started" EventRecordingFinished = "recording_finished" EventEgressStarted = "egress_started" EventEgressEnded = "egress_ended" )
Variables ¶
Functions ¶
func Receive ¶
Receive reads and verifies incoming webhook is signed with key/secret pair closes body after reading
func ReceiveWebhookEvent ¶ added in v0.13.0
func ReceiveWebhookEvent(r *http.Request, provider auth.KeyProvider) (*livekit.WebhookEvent, error)
ReceiveWebhookEvent reads and verifies incoming webhook, and returns a parsed WebhookEvent
Types ¶
Click to show internal directories.
Click to hide internal directories.