WhepOutputSettings.onStats property

Callback giving stats from the WebRTC stack for an individual client session

Signature:

onStats?: (stats: WebRtcStatsMessage) => void;