@max_gb - sure thing!
Every video uploaded to api.video is stored and hosted in our video specific infrastructure. Each video can be given different attributes. By default, all videos have the public
attribute set to true
. Of course, this means that anyone with the link can see the video. If you set the public:false
, it becomes private.
The playback url for a private video differs from a public video with the addition of a one-time token. Once the token is used, the url will no longer work - so the link cannot be shared with others (well, it can be, but everyone else will get a 404 error ).
In your app logic - when you determine that customer can see the video, you can ping our API to generate a unique URL for that customer. This ensures that only your paying customers can access the videos, and non-paying customers cannot.
Here’s a quick tutorial: https://api.video/blog/tutorials/tutorial-private-videos
We also offer private live streams - they work the same way - except the video being delivered is live.https://api.video/blog/product-updates/new-beta-feature-private-livestreams
Doug