useLocalSessionId(): string
Prefer this over useLocalParticipant() when you only need the session_id, to reduce unnecessary re-renders.
Return value
The local participant’ssession_id (a string) is returned by this hook. See the participant properties documentation for more information.