We've included a few examples for you in React. Use this project to immediately start making calls, or as a jumping off point for your own Telnyx WebRTC project. Examples are provided as Storybook components.
You'll need Telnyx account to get started. Sign up for free and then follow our quick start guide to create a Connection with Credentials Authentication. Make note of your Connection username and password.
At this point, you're ready to make calls to other SIP endpoints. You can create an Outbound Profile (step 4) to make phone calls from the web dialer to PSTN numbers.
Set up and install the demo app:
npm run setup
npm install
To start the Storybook app:
npm run storybook
Your preferred browser should automatically open up to http://localhost:6006.
Use the Storybook Knobs feature to configure your Telnyx Connection username and password, destination number and caller number. And you're ready to make some calls with WebRTC!