StreamWebhook
Source:
src/Cloudflare/Stream/Webhook.ts
The Cloudflare Stream webhook — an account-level singleton that receives notifications when videos finish processing or live inputs connect/disconnect.
Each account has at most one Stream webhook, so creating this
resource takes over the account’s webhook slot; an existing webhook
configured outside Alchemy is only adopted when --adopt is set.
Destroying the resource deletes the webhook configuration.
Requires the Stream subscription to be enabled on the account.
Configuring the webhook
Section titled “Configuring the webhook”const webhook = yield* Cloudflare.StreamWebhook("Notifications", { notificationUrl: "https://example.com/hooks/stream",});
// Verify the Webhook-Signature header with the HMAC secret:const secret = webhook.secret; // Redacted<string>