api/easyrtc.js
function() {
            var alteredData = findDeltas(oldConfig, newConfig);
            //
            // send all the configuration information that changes during the session
            //
            if (alteredData) {
                logDebug("cfg=" + JSON.stringify(alteredData.added));

                if (self.webSocket) {
                    sendSignalling(null, "setUserCfg", {setUserCfg: alteredData.added}, null, null);
                }
            }
            oldConfig = newConfig;
        }
function() {
            var alteredData = findDeltas(oldConfig, newConfig);
            //
            // send all the configuration information that changes during the session
            //
            if (alteredData) {
                logDebug("cfg=" + JSON.stringify(alteredData.added));

                if (self.webSocket) {
                    sendSignalling(null, "setUserCfg", {setUserCfg: alteredData.added}, null, null);
                }
            }
            oldConfig = newConfig;
        }
function ( ) { var alteredData = findDeltas ( oldConfig , newConfig ) ; // // send all the configuration information that changes during the session // if ( alteredData ) { logDebug ( "cfg=" + JSON . stringify ( alteredData . added ) ) ; if ( self . webSocket ) { sendSignalling ( null , "setUserCfg" , { setUserCfg : alteredData . added } , null , null ) ; } } oldConfig = newConfig ; }
we need to give the getStats calls a chance to fish out the data. The longest I've seen it take is 5 milliseconds so 100 should be overkill.
we need to give the getStats calls a chance to fish out the data . The longest I ve seen it take is 5 milliseconds so 100 should be overkill .