I have some questions regarding the lifetime of the live videos.
When I create a live video, to notify the client the video has ended, when the live stream actually ends, user that is streaming presses a “Stop” button. That causes the camera to turn off and also, an API is called to delete the lifestream video.
If I do that, no video is created to be viewed on demand. So I will need to wait until the video was created. Is there a way to automate this? For example, to notify the application when the video is actually created so that application could safely delete the lifestream?
Second question is regarding lifestream thumbnail. After the lifestream ends and I load “Lives” page inside my dashboard, I see that the video just streamed has a thumbnail with the message “Video is being processed” and that thumbnail stays forever. Is this normal? When I see later that video in “Videos” page, it shows the correct thumbnail for the video.
A final question is this. Is there a way to protect the video? for example, at the moment, if a person copies the IFRAME link inside a new browser window, he can watch de video. The problem is that we need to limit who watchs the video. Person who pays some fee will be able to watch the video, and only once. How can I control this?
I have read about private videos and maybe this will work for that purpose, but when loading https://docs.api.video/5.1/videos-and-streaming/tutorial-privatevideo a 404 error occured.