SessionIDs determine the video chat you want to connect to. Many people can connect and publish video streams in one session. You see and hear other people in the session, based on which video streams your browser subscribes to in this session. Since your application controls who can publish and who subscribes to whom, you can create a large number of video chat topologies in your session (for example, 1: 1, video conferencing, talk shows, security cameras, etc.).
Tokens are a security / authentication mechanism. When you initiate a connection to this session, you must provide the token that was generated using the same credentials that created the session. Tokens do not allow other sites to “knock down a batch” of the session that you created if they manage to access your session.
, , , OpenTok, . , , , .