====== 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: * 0: no remote media statistics * >100: milliseconds between collection of remote media statistics ([[ixnx:wrtc:js:api:wrtc:onstats|wrtc.onStats()]] calls) 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 [[ixnx:wrtc:js:api:wrtc:onstats|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 [[ixnx:wrtc:js:api:wrtc:onstats|wrtc.onStats()]] will occur. If wrtc.adv.volumeMeter() has been called call.adv.stats_ms also determine how often [[ixnx:wrtc:js:api:wrtc:onvolume|wrtc.onVolume()]] events will occur.