opentok-react icon indicating copy to clipboard operation
opentok-react copied to clipboard

TypeError: onStreamsUpdated is not a function

Open ganesh-papola opened this issue 5 years ago • 0 comments

I am getting this error - TypeError: onStreamsUpdated is not a function

with sessionHelper .

createSession({
        apiKey: obj.apikey,
        sessionId: obj.Session_ID,
        token: obj.token,
        onStreamsUpdated: streams => {
          console.log('Current subscriber streams:', streams);
        }
      });

ganesh-papola avatar Aug 04 '20 14:08 ganesh-papola