Types
Last updated
Last updated
Property | Description |
---|---|
| The name to use for the local participant (you) in the call |
Constraints to use for the local participant media (camera and microphone) | |
| |
|
Property | Type | Description |
---|---|---|
senderId |
| Id of the participant who sent the chat message |
text |
| Content of the chat message |
timestamp |
| Timestamp of when the message was sent (TODO: format) |
Property | Type | Description |
---|---|---|
status |
| Cloud recording is active |
startedAt |
| When the recording started |
Value | Description |
---|---|
| Local screenshare is inactive |
| Local screenshare is currently starting, eg the local user is selecting what to share |
| Local screenshare is active |
Property | Type | Description |
---|---|---|
displayName |
| Display name of the local participant (you) |
id |
| Local participant id |
roleName |
| The role of the local participant. This will be one of the following values:
|
stream | When set, the media stream (audio & video) of the local participant | |
isAudioEnabled |
| The local participant has their microphone enabled |
isVideoEnabled |
| The local participant has their camera enabled |
isLocalParticipant |
| Always set to true. Can be used to easily identify the local participant if in an array with eg remote participants |
Property | Types | Description |
---|---|---|
displayName |
| Display name of the remote participant |
id |
| Id of the remote participant |
roleName |
| The role of the local participant. This will be one of the following values:
|
stream | Stream of the remote participant | |
isAudioEnabled |
| The remote participant has their camera enabled |
isVideoEnabled |
| The remote participant has their microphone enabled |
A client view can be either a participant or a screenshare.
Property | Type | Description |
---|---|---|
id |
| Internal id |
clientId |
| Id of the participant |
displayName |
| Display name of the participant or screenshare |
stream | ||
isLocalClient |
| Is the client view owned by the local participant? |
isAudioEnabled |
| The client view has their microphone enabled |
isVideoEnabled |
| The client view has their camera enabled |
isPresentation |
| The client view is a presentation (screenshare) |
Property | Type | Description |
---|---|---|
participantId |
| Id of the participant owning the screenshare |
id |
| Id of the screenshare |
hasAudioTrack |
| |
stream | ||
isLocal |
| Is the screenshare owned by the local participant? |
Value | Description |
---|---|
| Ready to join the room |
| Currently in the process of doing the initial connection in the room |
| Connected in the room, this is the "stable" state |
| Connection failed due to the room being locked, a knock is required to proceed |
| Waiting for the room host to respond to the knock request |
| The host rejected your knock request |
| The current participant was kicked from the room. This can happen in the following scenarios:
|
| The current participant has invoked the |
| The current participant has now successfully left the room and all other room participants have been notified. |
| The current participant has been disconnected from the room due to an unplanned loss of network connection. This can happen during temporary network outage (e.g. loss of network or switching networks). If/when the network connection returns the SDK will change the room connection status to |
| A lost internet connection has been re-established. The SDK will now automatically re-connect the current participant to the previous room and the room connection state will change to either: a.) |
Property | Type | Description |
---|---|---|
status |
| Live streaming is in progress |
startedAt |
| When the live stream started |
Property | Type | Description |
---|---|---|
id |
| Id of the participant waiting to be let in |
displayName |
|
All events are of type NotificationEvent
, with
Property | Type | Description |
---|---|---|
type |
| |
message |
| |
props |
Property | Type | Description |
---|---|---|
client | ||
stickyReaction |
|
Property | Type | Description |
---|---|---|
client | ||
enable |
|
Property | Type | Description |
---|---|---|
Property | Type | Description |
---|---|---|
client | ||
chatMessage |
localMediaConstraints?:
Existing local media to use, as provided by the hook
Room key to use if the local participant should assume a non-standard role in the room, such as
?
?
?
?