opentok / opentok-node

OpenTok Server SDK for node.js
MIT License
164 stars 167 forks source link

Session not found error when manual archive startArchive right after createSession with valid session id. #317

Closed samuveljohns closed 5 months ago

samuveljohns commented 11 months ago

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.

manchuck commented 5 months ago

@samuveljohns can you please provide more code examples? I am unable to reproduce