Optionalconfig: Partial<LiveKitServerConfig>Explicit credentials; omitted fields fall back to the LIVEKIT_* environment variables.
Optionalreceiver: WebhookReceiverLikeInjectable receiver (tests); defaults to the SDK's WebhookReceiver.
Verifies the request's signature and returns the event.
One event is also acted on here, because every LiveKit webhook MJ receives passes through this method: on a
verified room_finished the room's RoomAudioPlayer playbacks (hold music) are stopped, so a bot never
outlives its room. That cleanup runs in the background and never throws.
The raw request body (the signature covers the exact bytes, so do not re-serialise parsed JSON).
OptionalauthHeader: stringThe request's Authorization header.
Verifies and parses LiveKit webhooks.