Issue:
We are able to create a opentok session with createSession() and get the sessionId.
const archiveOptions = {
name: "Example",
hasAudio: true,
hasVideo: false,
outputMode: "individual",
};
Next line we call opentok.startArchive(sessionId, archiveOptions) but this is returning Session not found error.
but when we write opentok.startArchive in a seperate api. which is working as expected. Archive is started.
Issue: We are able to create a opentok session with createSession() and get the sessionId. const archiveOptions = { name: "Example", hasAudio: true, hasVideo: false, outputMode: "individual", }; Next line we call opentok.startArchive(sessionId, archiveOptions) but this is returning Session not found error.
but when we write opentok.startArchive in a seperate api. which is working as expected. Archive is started.