I have a worker which I am using for caching streaming chunks and then delivering the chunks from cache to next users. I am using fetch cf for this purpose. But cloudlfare has redirected the stream to an error message displaying “This video has been restricted . Streaming video from Cloudflare’s basic service is a violation of the Terms of Service. Please visit cfl.re/tos to learn more.”
When I visited the link. I got to know that what I’m doing is voilating the terms of Cloudflare.
What I need to know is the solution. If I do the same thing with the KV then I dont get any issue.
Can somebody explain whats happening here?
(iii) Workers KV, Durable Objects, and R2, storage offerings used to serve HTML and non-HTML content.
Only the listed offerings can be used to serve and store non-HTML content.
Fetching external media and serving it from a Worker is not explicitly allowed in the supplemental terms and therefore falls back to the self-serve terms, which does not allow disproportionate non-HTML usage.
Use of the Services for serving video or a disproportionate percentage of pictures, audio files, or other non-HTML content is prohibited, unless purchased separately as part of a Paid Service or expressly allowed under our Supplemental Terms for a specific Service. If we determine you have breached this Section 2.8, we may immediately suspend or restrict your use of the Services, or limit End User access to certain of your resources through the Services.