Support & information center

Installing the watchRTC SDK

watchRTC requires you to integrate an SDK with your own running code. For the purpose of the integration you will need to have an API key created and shared with you by us.

For that purpose, you will need to add to your JS application the watchRTC SDK.

Once installed, add the following setup code in your application, prior to using WebRTC APIs:

const watchRTC = require(“@testrtc/watchrtc-sdk”); watchRTC.init();
Code language: JavaScript (javascript)

Once initialized, find where in your code you create peer connections and pass along the additional parameters necessary.

There are more configuration settings available. These are documented on the watchRTC SDK installation page.

👉 Our iOS and Android SDKs are currently being developed. If you’d like to become an alpha site for them, do let us know.

Was this article helpful?

Related Articles