Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Latest commit

 

History

History
36 lines (29 loc) · 909 Bytes

connection.md

File metadata and controls

36 lines (29 loc) · 909 Bytes

Connection

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)

Properties

connectionId

(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

creationTime

(Date) The time the Connection was created.