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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top