Versions in this module Expand all Collapse all v1 v1.9.4 Dec 19, 2023 Changes in this version + const EventEgressEnded + const EventEgressStarted + const EventEgressUpdated + const EventIngressEnded + const EventIngressStarted + const EventParticipantJoined + const EventParticipantLeft + const EventRoomFinished + const EventRoomStarted + const EventTrackPublished + const EventTrackUnpublished + var ErrInvalidChecksum = errors.New("could not verify authenticity of message") + var ErrNoAuthHeader = errors.New("authorization header could not be found") + var ErrSecretNotFound = errors.New("API secret could not be found") + func Receive(r *http.Request, provider auth.KeyProvider) ([]byte, error) + func ReceiveWebhookEvent(r *http.Request, provider auth.KeyProvider) (*livekit.WebhookEvent, error) + type DefaultNotifier struct + func (n *DefaultNotifier) QueueNotify(_ context.Context, event *livekit.WebhookEvent) error + func (n *DefaultNotifier) Stop(force bool) + type QueuedNotifier interface + QueueNotify func(ctx context.Context, event *livekit.WebhookEvent) error + func NewDefaultNotifier(apiKey, apiSecret string, urls []string) QueuedNotifier + type URLNotifier struct + func NewURLNotifier(params URLNotifierParams) *URLNotifier + func (n *URLNotifier) QueueNotify(event *livekit.WebhookEvent) error + func (n *URLNotifier) SetKeys(apiKey, apiSecret string) + func (n *URLNotifier) Stop(force bool) + type URLNotifierParams struct + APIKey string + APISecret string + Logger logger.Logger + QueueSize int + URL string