opentok/opentok-node

Unable to set the archiving resolution when using automatic session archive

Opened this issue · 0 comments

Hi All,
I am unable to set the resolution for my session archives when i am starting archiving as soon as my session starts.

      this.meetingHandler.createSession(
        {
          mediaMode: 'routed',
          archiveMode: 'always',
        },
        (error: Error, meeting: OpenTok.Session) => {
          if (error) {
            reject(error);
          } else {
            const sessionId = meeting.sessionId;
            const token: string = this.meetingHandler.generateToken(
              sessionId,
              tokenData,
            );
            resolve({ sessionId, token });
          }
        },
      );

Please add support for setting resolution when automatic archives service is used