Skip to content

Telnyx Javascript Voice SDK - Demo Application

License

Notifications You must be signed in to change notification settings

team-telnyx/webrtc-demo-js

Repository files navigation

Telnyx JS Voice SDK Demo Application

NPM Version License TypeScript React

An open source reference implementation of Telnyx's Voice SDK for web browsers. This project demonstrates how to use the Telnyx JS Voice SDK to make and receive calls in a web browser. 📞 🔥

Project Structure

  • React/TypeScript Application: A modern web application built with React and TypeScript
  • Telnyx WebRTC SDK Integration: Demonstrates how to integrate and use the Telnyx WebRTC SDK
  • Complete Dialer Interface: Includes a full-featured dialer with call history, audio visualization, and more

Project Setup

  1. Clone the repository

    git clone https://github.com/team-telnyx/webrtc-demo-js.git
    cd webrtc-demo-js
  2. Install dependencies

    yarn install
  3. Start the development server

    yarn dev
  4. Open your browser and navigate to http://localhost:5173

  5. Enjoy! 😎

SIP Credentials

In order to start making and receiving calls using the Telnyx WebRTC SDK, you will need to get SIP Credentials:

  1. Access Telnyx Portal
  2. Sign up for a Telnyx Account
  3. Create a Credential Connection to configure how you connect your calls
  4. Create an Outbound Voice Profile to configure your outbound call settings and assign it to your Credential Connection

For more information on how to generate SIP credentials, check the Telnyx WebRTC quickstart guide.

Features

  • Make and Receive Calls: Place outbound calls and receive incoming calls
  • Call Controls: Mute, hold, and end calls
  • DTMF Support: Send DTMF tones during active calls
  • Call History: View your recent calls
  • Audio Visualization: Visual representation of audio input/output
  • Custom Headers: Add custom SIP headers to your calls
  • Codec Selection: Choose preferred audio codecs

Documentation

For more detailed information, check out these resources:

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License © Telnyx

About

Telnyx Javascript Voice SDK - Demo Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published