Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top