GoogleMeetSessionStatus
Session status resource delivered on the session-control data channel.
Defined in: src/providers/io/meet/GoogleMeetInput.ts:223
Session status resource delivered on the session-control data channel.
Remarks
Emitted to callbacks registered with onSessionStatus() whenever the server pushes a status update.
Example
meet.onSessionStatus((status) => {
if (status.connectionState === 'STATE_JOINED') console.log('In the meeting');
if (status.connectionState === 'STATE_DISCONNECTED') {
console.log('Disconnected:', status.disconnectReason);
}
});
See
- GoogleMeetConnectionState for the state values
- GoogleMeetDisconnectReason for the disconnect reasons
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
connectionState | GoogleMeetConnectionState | The connection state of the media session. | src/providers/io/meet/GoogleMeetInput.ts:225 |
disconnectReason? | GoogleMeetDisconnectReason | Why the session disconnected. Only set when connectionState is 'STATE_DISCONNECTED'. | src/providers/io/meet/GoogleMeetInput.ts:232 |