participantsId$

View as MarkdownOpen in Claude
1get protected participantsId$(): Observable<string[]>

Protected internal observable that emits the list of participant IDs currently in the call. Prefer participants$ (which emits the full CallParticipant objects) for application code.

Examples

1// Within subclasses of WebRTCCall:
2this.participantsId$.subscribe((ids) => {
3 console.log('participant IDs:', ids);
4});

See

  • participants$ — the public counterpart with full participant objects.