Iterable iterator for the audio input devices the observer obtained.
Iterable iterator for the audio output devices the observer obtained.
Information about the browser the observer is obtained.
Information about the engine the observer is obtained.
Accessing to the possible events an application can subscibe to
Accessing the observer self metrics (last collecting time, etc)
Information about operation system the observer is obtained.
Information about the platform the observer is obtained.
Accessing to the collected stats
Iterable iterator for the video input devices the observer obtained.
Adds an application provided custom payload object to the observer. This is typically extra information the application wants to obtain and send to the backend. The added information is obtained by the sampler and ClientSample holds and send these information to the observer. The observer will send forward this information together with which call it belonged to.
arbitrary information intended to send
Add the local part of the Signal Description Protocol. The Monitor adds it to the next sample it creates and send it to the observer
Adds media constrain used to obtain media. Typically this is the parameter given to MediaDevices.getUserMedia()
constrain added to the observer are sampled by a sampler when a ClientSample is created.
Adds a media device used as an input for the real time communication Typically this is the MediaDevices.getUserMedia().
MediaDevices added to the observer are sampled by a sampler when a ClientSample is created.
Adds a peer connection stats collector to retrieve measurements.
Note that one stats collector is for one peer connection, and the id of the collector is assigned as the sample peerConnectionId.
properties of the collector (id, the promise based getStats() supplier and the optional label)
Adds a track relations to bind tracks to clients and SFUs
Adds a user media error. Typically this is an error catched while obtaining getUserMedia from MediaDEevices
The obtained user media error is added to the observer are sampled by a sampler when a ClientSample is created.
Close the ClientObserver, clear the storage, and statscollectors.
Collect all stats simultenously and update the #this.stats storage.
Removes a media device used as an input for the real-time communication
removes a stats collector identified with id given when it was added.
the id of the collector intended to be removed
Removes a track relation assoviated with the given track id.
Make ClientSample from a collected stats
Send Samples to an observer endpoint. Samples are accumulated ClientSamples (and/or SfuSamples) send to an endpoint for further analysis.
Sets the marker added to every sample created by this observer. Typically this is a delicate information for certain situation like develop, or debugging, where the generated reports by the observer can be distinguished by the markers.
Generated using TypeDoc
Client Integration of ObserveRTC to monitor WebRTC clients.