OptionalFormatThe note sent when a source is turned off. Return null to send nothing. Default: VideoSourceTurnedOffNote.
OptionalFormatThe note sent when a source is turned back on. Return null to send nothing. Default: VideoSourceTurnedOnNote.
OptionalFormatThe note sent when the set of sources the model sees changes while sources are being arbitrated.
Receives the labels now in view. Return null to send nothing. Default: VideoSourceSeenNote
with every label in view.
OptionalNowClock, injectable for tests. Defaults to Date.now.
OptionalOnReports a problem (a throwing sink). Defaults to console.error; the arbiter never throws into a caller's timer.
OptionalPolicyThe selection policy. Defaults to DEFAULT_VIDEO_SOURCE_POLICY.
Options for a VideoSourceArbiter.