Readonly closedIndicates if the SfuObserver is closed or not.
Readonly configThe SfuMonitor configuration object.
Readonly metricsAccess to general monitor-related metrics.
Readonly sfuGets the SFU identifier.
Readonly storageAccess to the collected stats.
Adds an RTP stream added event to the SFU event list.
The identifier of the transport associated with the RTP stream.
The identifier of the RTP pad.
The identifier of the SFU stream.
Optional sfuSinkId: stringOptional identifier of the SFU sink.
Optional timestamp: numberOptional timestamp for the event. If not provided, the current date and time will be used.
Adds an RTP stream removed event to the SFU event list.
The identifier of the transport associated with the RTP stream.
The identifier of the RTP pad.
The identifier of the SFU stream.
Optional sfuSinkId: stringOptional identifier of the SFU sink.
Optional timestamp: numberOptional timestamp for the event. If not provided, the current date and time will be used.
Adds a transport closed event to the custom SFU event list.
The identifier of the closed transport.
Optional timestamp: numberOptional timestamp for the event. If not provided, the current date and time will be used.
Adds a transport opened event to the custom SFU event list.
The identifier of the opened transport.
Optional timestamp: numberOptional timestamp for the event. If not provided, the current date and time will be used.
Creates an auxiliary collector.
Creates a mediasoup collector with the specified configuration.
The configuration object for the mediasoup collector.
Generated using TypeDoc
SfuMonitor is responsible for monitoring and collecting SFU-related data.