useMeetingSessionState
useMeetingSessionState() : Object
Returns the current meeting session state as returned by meetingSessionState()
.
This hook accepts a generic type in TypeScript to work seamlessly with custom data type definitions.
Return type
An object with the following properties:
Name | Type | Description |
---|---|---|
data | Object | The meeting session data |
topology | 'none' | 'peer' | 'sfu' | The current meeting network topology |