Support & information center

Installing the watchRTC SDK for web

watchRTC requires you to integrate an SDK with your own running code. For the purpose of the integration you will need to have a watchRTC API key.

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.

Some things to remember:

👉 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