Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultActiveSpeakerDetector

Hierarchy

  • DefaultActiveSpeakerDetector

Implements

Index

Constructors

Methods

Constructors

constructor

  • new DefaultActiveSpeakerDetector(realtimeController: RealtimeController, selfAttendeeId: string, hasBandwidthPriorityCallback: (hasBandwidthPriority: boolean) => void, waitIntervalMs?: number, updateIntervalMs?: number): DefaultActiveSpeakerDetector

Methods

destroy

  • destroy(): Promise<void>

subscribe

  • subscribe(policy: ActiveSpeakerPolicy, callback: DetectorCallback, scoresCallback?: (scores: {}) => void, scoresCallbackIntervalMs?: number): void

unsubscribe

  • unsubscribe(callback: DetectorCallback): void

Generated using TypeDoc