WebRTC Signed URLs

Is there a way to secure the WebRTC stream ? If yes, can we know when they stop watching the stream ? Are there any webhook for that ? I didn't find anything in the WebRTC docs section about this
3 Replies
Brendan Irvine-Broque
Similar to how Stream works today, we'll be adding support for Signed URLs for WebRTC in coming months: https://developers.cloudflare.com/stream/viewing-videos/securing-your-stream/
Secure your Stream · Cloudflare Stream docs
Store, encode, deliver, and play videos on your sites and applications.
Brendan Irvine-Broque
The webhook idea is interesting — curious how you'd be looking to use it?
echo
echoOP3y ago
I am trying to use the live stream WebRTC to charge users for watching them, with the hls/dash this i can do by using a proxy/worker for the playlist and cut access when user has no funds anymore , however as WebRTC works different that is not a option anymore. The signed URL will resolve just a part of the problem -> giving access to the stream but not for cutting it. The webhook will be useful in knowing when the user stops watching the stream so i can stop charging him .

Did you find this page helpful?