Table of Contents

adv.stats_ms

call.adv.stats_ms is a numeric property controlling Chrome remote media statistics.

call.adv.stats_ms only works in Chrome browser. On other browsers no statistics is available, nothing happens when you set call.adv.stats_ms.

Value

Numeric:

Avoid values lower than 500 (0,5 seconds) to avoid excessive CPU strain.

Default value

0

Usage

Set call.adv.stats_ms to more than 100 (preferably 500) to make event function wrtc.onStats() be repetitively called while in call with someone. You may change call.adv.stats_ms at any time.

Set call.adv.stats_ms=0 to turn statistics off again.

On non-Chrome browsers, or when not in call, no event wrtc.onStats() will occur.

If wrtc.adv.volumeMeter() has been called call.adv.stats_ms also determine how often wrtc.onVolume() events will occur.