question

Dang Nguyen avatar image
Dang Nguyen asked ·

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 |1500 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
Phong Vu avatar image
Phong Vu answered ·

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 |1500 characters needed characters left characters exceeded

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.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys