Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

getConnectionStats Error

Naresh_R_1
New Contributor I
483 Views

Hi Lei,

Below is the error when we use geetConnectionStats Function 

Error on getConnectionStats of a stream

 
Uncaught (in promise) TypeError: Failed to execute 'getStats' on 'RTCPeerConnection': The callback provided as parameter 1 is not a function.
    at Object.b.getConnectionStats (woogeen.sdk.js:1552)
    at a.getConnectionStats (woogeen.sdk.js:1379)
 
Thanks
Naresh

 

0 Kudos
1 Reply
Jianjun_Z_Intel
Employee
483 Views

Hi Naresh,

Please make sure your HTML file includes adapter.js before woogeen.sdk.js. If the issue still exists, could you please let us know which browser you are using.

0 Kudos
Reply