OptionaljwtOptionaltwilioStandardized error handler for all SDK operations.
Standardized error object with properties: data, message, method, params, sdkMethod, stack, status, success, url
This method processes errors from API calls and formats them consistently across the SDK. It extracts relevant error information including:
All errors thrown by SDK methods flow through this handler to ensure consistent error format.
Returns the configured Axios instance for making API calls to Topia's Public API.
The configured Axios client instance with authentication headers.
Retrieves the Twilio configuration for WebRTC connections in a world.
Populates twilioConfig property with Twilio room configuration, or returns an error response.
WebRTC connector for managing real-time video and audio connections in Topia worlds.
Remarks
This class should NOT be instantiated directly. Use WebRTCConnectorFactory to create instances. The WebRTCConnector provides access to Twilio configuration needed for establishing peer-to-peer video and audio connections between visitors in a world.
See
WebRTCConnectorFactory for proper instantiation
Keywords
webrtc, video, audio, twilio, real-time, communication, voice, peer
Example