A LocalParticipant represents the local user in the
room. It includes the name and
connectionData properties. The
isMe property is set to true
to differentiate it from other participants in the
Room.participants object.
Properties
| Name | Description |
|---|---|
(string)
connectionData
|
The string passed from the OpenTok
|
(string)
id
|
The participant’s unique ID. The connectionId string from the
OpenTok Connection
object after successfully connecting to a session.
|
(boolean)
isMe
|
Set to true, as this is the local client's participant.
|
(string)
name
|
The participant’s name. |