Hello guys! i need help . WHIP example code not found
Hello guys! i need help . WHIP example code not found


/subscriptions?package=prod_stream throws a 403 ForbiddenUnknown Hostdraw


// Get the video from R2
const videoR2 = await this.env.COVE_STORAGE.get(
`${video.organizationId}/${video.id}`,
);
if (!videoR2 || !videoR2.httpMetadata) {
throw new NonRetryableError("Video not found in storage.");
}
// Upload the video from R2 to Cloudflare Stream
const formData = new FormData();
formData.append(
"file",
new Blob([await videoR2.blob()]),
`${video.organizationId}/${video.id}`,
);
const streamResponse = await fetch(streamEndpoint, {
method: "POST",
headers: {
Authorization: `Bearer ${this.env.CLOUDFLARE_API_TOKEN}`,
// No Content-Type header - FormData will set it automatically with the boundary
},
body: formData,
});/subscriptions?package=prod_stream403 ForbiddenUnknown Hostdraw