Represents the `mediaEngine for managing media-related operations within the CallingClient. The media engine provides access to audio and video devices such as cameras, microphones, and speakers within the media layer.
const microphones = await callingClient.mediaEngine.Media.getMicrophones();
const speakers = await callingClient.mediaEngine.Media.getSpeakers();
const cameras = await callingClient.mediaEngine.Media.getCameras();
Indicates whether the Mobius WebSocket transport is currently connected.
The MOBIUS_SOCKET_CONNECTED event is emitted during init(), so consumers that
subscribe afterwards may miss it; this lets them reconcile the current state. Returns
false when the WebSocket transport is not enabled.
Uploads logs to help troubleshoot SDK issues.
This method collects the current SDK logs including network requests, WebSocket messages, and client-side events, then securely submits them to Webex's diagnostics service. The returned tracking ID, feedbackID can be provided to Webex support for faster issue resolution.
Promise
Error
.
Event to listen to.
Callback for event.
.
Event to remove listener on.
Callback for event.
The
CallingClientmodule provides a set of APIs for line registration and calling functionalities within the SDK.The following code snippet demonstrates how to create an instance of
CallingClientusing awebexinstance andcallingConfig:Example