ActiveSpeakerObserver
@objc
public protocol ActiveSpeakerObserver
ActiveSpeakerObserver handles event related to finding active speaker and corresponding scores
-
Uniquely identifies this observer
Declaration
Swift
@objc var observerId: String { get } -
Frequency of activeSpeakerScoreDidChange
Declaration
Swift
@objc optional var scoresCallbackIntervalMs: Int { get } -
Observes the active speaker scores at frequency scoresCallbackIntervalMs
Note: this callback will be called on main thread. Note: this callback will NOT be called unless scoresCallbackIntervalMs was set
Declaration
Swift
@objc optional func activeSpeakerScoreDidChange(scores: [AttendeeInfo : Double])Parameters
scoresActive speaker scores for each attendee
-
Observes changes in list of active speakers
Note: this callback will be called on main thread.
Declaration
Swift
func activeSpeakerDidDetect(attendeeInfo: [AttendeeInfo])Parameters
attendeeInfoList of active speakers in decreasing order of score
ActiveSpeakerObserver Protocol Reference