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();
Once initialized, find where in your code you create peer connections and pass along the additional parameters necessary.
Some things to remember:
- Once installed and initialized, you should decide on how to allocate rooms and peers
- There are more configuration settings available. These are documented on the watchRTC SDK installation page.
- If you don’t see any results, you can try to troubleshoot it yourself
👉 Our iOS and Android SDKs are currently being developed. If you’d like to become an alpha site for them, do let us know.