Optional
accumulator?: AccumulatorConfigOptional
collectingBy setting it, the observer calls the added statsCollectors periodically and pulls the stats.
DEFAULT: undefined
Optional
createFlag indicating if the monitor creates sfu events. If true, events happening on the collected sources create sfu events such as SFU_TRANSPORT_OPENED, SFU_TRANSPORT_CLOSED.
If this flag is false, the application is responsible for adding sfu events by calling the appropriate SfuMonitor method for the corresponding event.
DEFAULT: false
Sets the default logging level for sfu-monitor-js
Optional
maxSets the maximum number of listeners for event emitters
Optional
pollingPacing time between polling batches of stats
Optional
pollingLimits the number of stats polled at once from the collector.
Optional
samplingBy setting it, the observer make samples periodically.
DEFAULT: undefined
Optional
sendingBy setting it, the observer sends the samples periodically.
DEFAULT: undefined
The identifier of the SFU.
DEFAULT: a generated unique value
Optional
tickingSet the ticking time of the timer invokes processes for collecting, sampling, and sending.
DEFAULT: 1000
Generated using TypeDoc
If the sender component is configured, accumulator sets the buffer between sampling and sending.