A Connection represents one client that is connected to the Session. Each device, whether it is publishing, subscribing, or just connected to that Session is represented by a Connection object.
Methods | Properties | Events |
---|---|---|
[connectionId](#connectionid) | ||
[creationTime](#creationtime) |
(String) An identifier for this Connection. This is created automatically by OpenTok. It is useful for comparing a
stream.connection.connectionId
to the session.connection.connectionId
, if they are equal then the stream originates
from this device. Read Only
(Date) The time the Connection was created.