useMeetingSessionState() : Object
Wraps meetingSessionState() and accepts a generic type parameter in TypeScript to work seamlessly with custom data type definitions.
Parameters (optional)
An object with the following properties:Callback for the
nonfatal-error event with type 'meeting-session-data-error'Return value
An object with the following properties:The meeting session data
'none' | 'peer' | 'sfu', the current meeting network topology