javascriptopentok

Error when stopping a archive in a active stream


I am using opentok and do I need to stop a archive recording after some time and I succeed in almost all cases, but in some of then, do I have the error below:

"You cannot stop an archive for always archived sessions"

I am using the opentok SDK based on nodeJS, and my archive mode is settled to manual, but was "always" a couple of weeks ago. The archive begins as soon the stream begins and I do not get any errors, the archive on archive list appears with the "started" status, and other streams inside the list stop without errors.

Someone passed through this and can help me?

Thanks in davance


Solution

  • OpenTok QA staff here,

    Auto-archived sessions are, as its own name says, automatically started and stopped, based on connections and publishers, as you can see Automatically archived sessions. If you want to have a full control over the archive, use manual archiving.

    https://tokbox.com/developer/guides/archiving/#workflow