Browser SDK
Build voice, video and chat applications for the browser
v4
Stable
userId$
1get userId$(): Observable<string | undefined>
Observable of the participant’s user ID.
Participant.userId$
Participant
1get userId(): string | undefined
User ID of this participant, or undefined if not available.
undefined
Participant.userId
userId
1selfParticipant.userId$.subscribe((userId) => {2 console.log('userId:', userId);3});