question

Dang Nguyen avatar image
Dang Nguyen asked Phong Vu edited

Error 'getStats module was not provided!'

I am trying to make call using webRTC and this message is thrown. Do I need to import the getStats lib? If I do then why does it not mention in the ringcentral webphone documentation on github?

callwebrtc
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

·
Phong Vu avatar image
Phong Vu answered Phong Vu edited

It is included in the package.json file. Did you get any error when you run $ npm install command?

"dependencies": {
    "getstats": "1.2.0",
    "sip.js": "0.13.5"
  },


1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.