question

don-klayman avatar image
don-klayman asked vyshakhbabji Deactivated answered

WebRTC demo unresponsive

I'm just starting to get into WebRTC and tried the WebPhone demo. After entering app key, secret key, loging info.... and try to login I get no response. No message that something is missing or amiss. Does this demo not work anymore: https://ringcentral-web-phone.herokuapp.com/demo/

getting started
1 |3000

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

ak avatar image
ak answered
Hi Don,

We just verified and the Demo application is working fine as expected. Could you please kindly verify if the extension which is used to login has a Digital Line attached to it, in order to use this capability.

You could find this information in the README.md of the Web-Phone Demo application.
1 |3000

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

vyshakhbabji avatar image
vyshakhbabji Deactivated answered
Can you please set the log level to 3 and provide us with the complete log ?
1 |3000

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

don-klayman avatar image
don-klayman answered
Sorry to take so long to respond.  I'll get you the log on Monday as I have production and sandbox on the same machine and must reconfigure it.  But first must the softphone be up and running to use WebRTC? I thought the login would simply perform the 3-legged auth before I tried anything else?
1 |3000

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

benjamin-dean avatar image
benjamin-dean answered
You do not have to be logged into the soft phone to use WebRTC if the application code has implemented 3-Legged OAuth properly. If you are experiencing an issue with that, I would add that issue to the Github Issue Tracker for the RingCentral Web Phone (  https://github.com/ringcentral/ringcentral-web-phone/issues ).
1 |3000

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

don-klayman avatar image
don-klayman answered don-klayman commented
Not trying to use soft phone I was asking if it was needed for WebRTC.  I set the log level = 3 and tried to login.  Where is the log for me to send it to you as this is your demo site?
2 comments
1 |3000

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

benjamin-dean avatar image benjamin-dean commented ·
You will need to open your browser's developer tools, and export the console logs (since WebRTC is a browser-based protocol).

Additionally (and if supported by your browser, hopefully Chrome) you can use the Network tab in the developer tools and copy/paste the frame data for the 101 switching protocols socket data (which provides a bunch more information).

Due to the potentially sensitivity nature of this data, I highly recommend zipping it up and sending it to me directly, and I will share with Vyshakh.

benjamin[DOT]dean[AT]ringcentral[DOT]com
0 Likes 0 ·
don-klayman avatar image don-klayman commented ·
I sent you the zipped log files you requested via email.  Thanks.
0 Likes 0 ·
don-klayman avatar image
don-klayman answered
I've received no response to the logs I sent 3 weeks ago?
1 |3000

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

vyshakhbabji avatar image
vyshakhbabji Deactivated answered

@Don,

With respect to the demo application, the demo app here: https://ringcentral-web-phone.herokuapp.com/demo/ works only when your app type is Server based. But your app is Browser based and needs 3 legged auth flow.

For 3 legged auth flow, you would want to run the demo app from this repository for now: https://github.com/anilkumarbp/ringcentral-web-phone/tree/feature/OAuth-2.0

The demo is placed here: https://github.com/anilkumarbp/ringcentral-web-phone/tree/feature/OAuth-2.0/demo

You would want to set up the app and run the demo app, please find all the instructions for the setup in the README file here: https://github.com/anilkumarbp/ringcentral-web-phone/blob/feature/OAuth-2.0/README.md

We will make changes to the WebRTC demo app hosted on Heroku with 3 legged auth flow soon.

For further assistance please feel free to leave us an email or submit a support ticket.

1 |3000

Up to 8 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