Audio extension

Updated

Use the APIs provided by the RTC SDK to build an audio extension.

The audio filters you create are easily integrated into apps to supply voice effects and noise cancellation.

Understand the tech

An audio filter accesses voice data when it is captured from the user's local device, modifies it, then plays the updated data to local and remote video channels.

A typical transmission pipeline consists of a chain of procedures, including capture, pre-processing, encoding, transmitting, decoding, post-processing, and playback. To modify the voice or video data in the transmission pipeline, audio extensions are inserted into either the pre-processing or post-processing stage.

Prerequisites

  • A supported browser.
  • Physical media input devices such as a camera and a microphone.
  • A JavaScript package manager such as npm.
  • A project to develop in.

Project setup

Create an audio extension

Implement the extension as a Web audio processing plug-in that can be installed and registered from your JavaScript application.

Reference