Delete TokBox Archives - opentok

I'm using OpenTok archiving to record live video streams. Once I have recorded an archive, how do I delete it from the TokBox servers?

After recording an archive, you should get an archive id. Using this archive id, you can delete videos using OpenTok rest api, or calling a delete method using one of their server side SDKs.
As for deleting all the videos, theres are no ways to retrieve all previously recorded videos, so you would have to be diligent about storing the archive ids.

They provide a listArchives() API to list all the previously recorded archives. The list will have the id of the archive. Use the id in the deleteArchive(archiveId) API.

Related

Record Agora Group video call in single screen in AWS S3 bucket

I have build video calling Application in flutter and backend API in laravel.
For Video Call At Flutter side I'm Using Agora_UIkit. and With help of Agora Rest API for Cloud Recording I' recording video.
currently i have record the video call session but problem i'm facing is that, agora storing video call in 2 separate mp4 files. and I want a single Video file where User can View Video of both side.
I was Just passed Agora ID Received from Agora Rest API, but instead of that just have to pass unique keys for recording Session(if not passed agora will take Unique key itself).

How to decrypt and record mpd (dash) Live Streaming videos in ffmpeg?

I want to decrypt and download/record MPD (dash) live stream and store that video for later viewing. I have made a demo to play MPD with license URL, but I want to download video data for later view. The stream is using Widevine DRM.
One of the main purposes of a DRM system like widevine is to prevent it being possible to view (other than on the screen) and share decrypted video, so if this is your goal then the simple answer is you can't without breaking Widevine.
If you simply want to be able to download / copy the content to a device and allow an authorised viewer watch it offline then you can do this using persistent licenses.
When a DRM license is delivered it contains entitlement data along with the decryption key, and this entitlement data can include the ability to persist the license for a period of time - this is typically how 'download and go' video services work.

Can we get the creator of the video who has uploaded in the channel using Youtube data api?

I'm trying to fetch the data from Youtube and planning to generate the reports based on metrics.
So, Is there any possibility to get the creator name of the video who has uploaded in the channel ?
Can anyone please suggest me regarding the same ...
You can use the following to retrieve your videos:
curl https://www.googleapis.com/youtube/v3/search\?part\=snippet\&channelId\=INPUTCHANNELID\&maxResults\=10\&order\=date\&type\=video\&key\=YOURAPIKEY
from here you can do:
curl https://www.googleapis.com/youtube/v3/videos\?part\=statistics\&id\=VIDEOID\&key\=YOURAPIKEY
but if you want daily metrics, you're likely going to need to use oauth2

How would I delete a playlist using YouTube API V3? Or would I have to use an AJAX DELETE method?

a lot of people complain they have too many YouTube playlists and it sucks to delete them one at a time. Using the YouTube V3 API, would it be possible for me to programmatically delete their playlists for them? If not, could I do a DELETE call to YouTube using Angular client side or node.js serverside?
All you would need to do is call playlists.list() to retrieve the ids for all of the playlists you would like to delete, and then delete them using playlists.delete(). You can see the details for these methods here: https://developers.google.com/youtube/v3/docs/playlists

Can a video be updated while insertion/upload is still in progress with the YouTube v3 API?

My .NET client application needs to upload a video for which the title, description and custom thumbnail are not available at upload time. This metadata becomes available to my application at an indeterminate time after upload begins.
When this metadata becomes available to my application, would it be possible for me to update the video even if the initial upload is still in progress? It seems as though it would be possible if I had the video ID. However, (as far as I can tell) the video ID is not made available to me until after the video is uploaded.
As of now, there's no mentioned way to do this!
A possible solution is to set the video to being "unlisted" or "private"
and then, after the upload finishes, push your information with a second request (update request).
YouTube could probably handle change requests during uploads, but as you mentioned, there's no way to receive the videoID prior to upload end.

Resources