Creates active speaker policy with speakerWeight, cutoffThreshold, silenceThreshold, and takeoverRate.
The number used to calculate new active speaker score for current attendee.
Formula: updatedCurrentAttendeeScore = currentAttendeeExistingScore * speakerWeight + currentReceivedVolume * (1 - speakerWeight)
The threshold number compared with updated active speaker score. If the updated active speaker score is less than this threshold value, the updated score is returned as 0, else the updated score is returned.
The threshold number compared with current received volume. While calculating the new active speaker score, if the current received volume is less than this threshold value, the current received volume is considered as 0, else 1.
The number used to calculate other attendee's active speaker score, other than the current attendee.
Formula: updatedOtherAttendeeActiveSpeakerScore = Math.max( existingOtherAttendeeActiveSpeakerScore - takeoverRate * currentReceivedVolume, 0 );
Generated using TypeDoc