const WebRTCConnector = new WebRTCConnectorFactory(myTopiaInstance); Copy
const WebRTCConnector = new WebRTCConnectorFactory(myTopiaInstance);
Instantiate a new instance of WebRTCConnector class.
Optional
Returns a new WebRTCConnector object.
const webRTCInstance = await WebRTCConnector.create({ credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId }, twilioConfig: {} }); Copy
const webRTCInstance = await WebRTCConnector.create({ credentials: { interactiveNonce, interactivePublicKey, assetId, urlSlug, visitorId }, twilioConfig: {} });
Example