selfId$

View as MarkdownOpen in Claude
1get selfId$(): Observable<string | null>

Observable of the local participant’s member ID.

selfId

1get selfId(): string | null

Local participant’s member ID, or null if not joined.

Examples

1call.selfId$.subscribe((selfId) => {
2 console.log('selfId:', selfId);
3});