To preface, I'm an amateur developer, so I may be missing something.
I'm looking at this link:
https://github.com/bsstoner/opentok
The Readme goes through everything quite well, but I feel its missing an important step. Prior to generating a session, the following line of code needs to be executed:
var opentok = require('opentok');
The only way I know this is from the following:
http://www.tokbox.com/blog/creating-cha ... d-opentok/
However, the chatroulette tutorial above seems to be deprecated as the createsession call on line 20 appears to be returning an object whereas the more recent github example only returns a sessionID. What am I missing?