How webex/webex-js-sdk works
The Webex JS SDK is a JavaScript monorepo of unified and modular client packages for integrating applications with Webex services. Its principal user workflow is application code consuming the unified SDK or selected modules to make platform API and realtime-media capabilities available; the README documents that consumption model but does not establish internal wiring among most packages. The graph therefore preserves major package capabilities and sampled domain stages without guessing connections. Some indexed core files are absent from the supplied tree, so their components are represented only where an exact enclosing package directory is supported.
Main entry points: TaskManager.ts Task lifecycle · WebSocketManager.ts Realtime connection · callManager.ts Call orchestration · remoteMediaManager.ts Remote media layout
Components 21
SDK foundation
- Unified Webex SDK
packages/webex - SDK service catalog
packages/@webex/webex-core/src/lib/services/services.js - Common utilities
packages/@webex/common/src - HTTP transport
packages/@webex/http-core/src
Calling
- Calling client
packages/calling/src/CallingClient/CallingClient.ts - Call orchestration
packages/calling/src/CallingClient/calling/callManager.ts - Calling contacts
packages/calling/src/Contacts/ContactsClient.ts
Contact center
- Contact center API
packages/@webex/contact-center/src - Realtime connection
packages/@webex/contact-center/src/services/core/websocket/WebSocketManager.ts - Task lifecycle
packages/@webex/contact-center/src/services/task/TaskManager.ts - Contact center domain
packages/@webex/contact-center/src/types.ts - Contact center metrics
packages/@webex/contact-center/src/metrics/MetricsManager.ts
Meetings media
- Media requests
packages/@webex/plugin-meetings/src/multistream/mediaRequestManager.ts - Remote media layout
packages/@webex/plugin-meetings/src/multistream/remoteMediaManager.ts
Platform capabilities
- Device management
packages/@webex/plugin-device-manager/src/device-manager.js - Conversations
packages/@webex/internal-plugin-conversation/src - Encryption
packages/@webex/internal-plugin-encryption/src - Presence
packages/@webex/internal-plugin-presence/src - Calendar
packages/@webex/internal-plugin-calendar/src - Platform metrics
packages/@webex/internal-plugin-metrics/src
Other components
- Integrating application
Connections 6
- Integrating application → Unified Webex SDK: consumes
README.md - Call orchestration → Calling client: uses SDK
packages/calling/src/CallingClient/CallingClient.ts - Realtime connection → Contact center API: registers through
packages/@webex/contact-center/src/services/core/websocket/WebSocketManager.ts - Task lifecycle → Realtime connection: uses connection
packages/@webex/contact-center/src/services/task/TaskManager.ts - Task lifecycle → Contact center domain: uses domain types
packages/@webex/contact-center/src/services/task/TaskManager.ts - Remote media layout → Media requests: coordinates
packages/@webex/plugin-meetings/src/multistream/remoteMediaManager.ts