2
votes

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?

2

2 Answers

1
votes

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.

0
votes

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.