@webex/plugin-meetings 3.13.0-next.13 → 3.13.0-next.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/.repo-context.json +577 -0
  2. package/.sdd/manifest.json +1320 -428
  3. package/AGENTS.md +528 -72
  4. package/dist/aiEnableRequest/index.js +1 -1
  5. package/dist/breakouts/breakout.js +1 -1
  6. package/dist/breakouts/index.js +1 -1
  7. package/dist/config.js +1 -1
  8. package/dist/interpretation/index.js +1 -1
  9. package/dist/interpretation/siLanguage.js +1 -1
  10. package/dist/webinar/index.js +1 -1
  11. package/docs/adr/0001-migrate-existing-docs-into-sdd.md +141 -0
  12. package/docs/adr/index.md +26 -0
  13. package/docs/architecture.md +816 -0
  14. package/docs/getting-started.md +177 -0
  15. package/docs/index.md +53 -0
  16. package/docs/specs/README.md +126 -0
  17. package/package.json +21 -21
  18. package/schemas/repo-context.schema.json +796 -0
  19. package/src/aiEnableRequest/docs/README.md +376 -0
  20. package/src/annotation/docs/README.md +402 -0
  21. package/src/breakouts/docs/README.md +643 -0
  22. package/src/controls-options-manager/docs/README.md +365 -0
  23. package/src/hashTree/docs/README.md +566 -0
  24. package/src/interceptors/docs/README.md +434 -0
  25. package/src/interpretation/docs/README.md +420 -0
  26. package/src/locus-info/docs/README.md +609 -0
  27. package/src/media/docs/README.md +488 -0
  28. package/src/meeting/docs/README.md +834 -0
  29. package/src/meeting-info/docs/README.md +352 -0
  30. package/src/meetings/docs/README.md +549 -0
  31. package/src/member/docs/README.md +347 -0
  32. package/src/members/docs/README.md +514 -0
  33. package/src/metrics/docs/README.md +287 -0
  34. package/src/multistream/docs/README.md +523 -0
  35. package/src/personal-meeting-room/docs/README.md +322 -0
  36. package/src/reachability/docs/README.md +548 -0
  37. package/src/reactions/docs/README.md +296 -0
  38. package/src/reconnection-manager/docs/README.md +485 -0
  39. package/src/recording-controller/docs/README.md +335 -0
  40. package/src/roap/docs/README.md +444 -0
  41. package/src/webinar/docs/README.md +425 -0
  42. package/.sdd/templates/.source.json +0 -30
  43. package/.sdd/templates/component-repo/module-docs/module-spec-quality.md +0 -111
  44. package/.sdd/templates/component-repo/module-docs/module-spec.template.md +0 -321
  45. package/.sdd/templates/component-repo/reference-docs/adr/_adr-example.md +0 -59
  46. package/.sdd/templates/component-repo/reference-docs/patterns/_pattern-example.md +0 -49
  47. package/.sdd/templates/component-repo/reference-docs/rules/_rule-example.md +0 -42
  48. package/.sdd/templates/component-repo/standing-docs/AGENTS.template.md +0 -120
  49. package/.sdd/templates/component-repo/standing-docs/ARCHITECTURE.template.md +0 -206
  50. package/.sdd/templates/component-repo/standing-docs/CONTRACTS.template.md +0 -90
  51. package/.sdd/templates/component-repo/standing-docs/DATA_MODEL.template.md +0 -68
  52. package/.sdd/templates/component-repo/standing-docs/GETTING_STARTED.template.md +0 -111
  53. package/.sdd/templates/component-repo/standing-docs/GLOSSARY.template.md +0 -57
  54. package/.sdd/templates/component-repo/standing-docs/REVIEW_CHECKLIST.template.md +0 -69
  55. package/.sdd/templates/component-repo/standing-docs/RULES.template.md +0 -96
  56. package/.sdd/templates/component-repo/standing-docs/SECURITY.template.md +0 -84
  57. package/.sdd/templates/component-repo/standing-docs/SERVICE_STATE.template.md +0 -82
  58. package/.sdd/templates/component-repo/standing-docs/SPEC_INDEX.template.md +0 -94
  59. package/.sdd/templates/component-repo/standing-docs/TEST_INDEX.template.md +0 -64
  60. package/.sdd/templates/component-repo/template-map.json +0 -112
  61. package/ai-docs/ARCHITECTURE.md +0 -208
  62. package/ai-docs/CONTRACTS.md +0 -267
  63. package/ai-docs/DATA_MODEL.md +0 -64
  64. package/ai-docs/GETTING_STARTED.md +0 -73
  65. package/ai-docs/GLOSSARY.md +0 -56
  66. package/ai-docs/REVIEW_CHECKLIST.md +0 -45
  67. package/ai-docs/RULES.md +0 -79
  68. package/ai-docs/SECURITY.md +0 -74
  69. package/ai-docs/SERVICE_STATE.md +0 -59
  70. package/ai-docs/SPEC_INDEX.md +0 -85
  71. package/ai-docs/TEST_INDEX.md +0 -45
  72. package/ai-docs/adr/0001-migrate-existing-docs-into-sdd.md +0 -61
  73. package/ai-docs/patterns/defensive-error-propagation.md +0 -55
  74. package/ai-docs/patterns/event-scope-emission.md +0 -46
  75. package/ai-docs/patterns/source-to-test-path-mirroring.md +0 -45
  76. package/ai-docs/patterns/stateless-plugin-request-classes.md +0 -53
  77. package/ai-docs/patterns/typed-constants-and-enum-values.md +0 -47
  78. package/src/aiEnableRequest/ai-docs/ai-enable-request-spec.md +0 -223
  79. package/src/annotation/ai-docs/annotation-spec.md +0 -236
  80. package/src/breakouts/ai-docs/breakouts-spec.md +0 -324
  81. package/src/controls-options-manager/ai-docs/controls-options-manager-spec.md +0 -243
  82. package/src/hashTree/ai-docs/hash-tree-spec.md +0 -267
  83. package/src/interceptors/ai-docs/interceptors-spec.md +0 -247
  84. package/src/interpretation/ai-docs/interpretation-spec.md +0 -256
  85. package/src/locus-info/ai-docs/locus-info-spec.md +0 -293
  86. package/src/media/ai-docs/media-spec.md +0 -267
  87. package/src/meeting/ai-docs/meeting-spec.md +0 -404
  88. package/src/meeting-info/ai-docs/meeting-info-spec.md +0 -261
  89. package/src/meetings/ai-docs/meetings-spec.md +0 -298
  90. package/src/member/ai-docs/member-spec.md +0 -196
  91. package/src/members/ai-docs/members-spec.md +0 -256
  92. package/src/metrics/ai-docs/metrics-spec.md +0 -185
  93. package/src/multistream/ai-docs/multistream-spec.md +0 -295
  94. package/src/personal-meeting-room/ai-docs/personal-meeting-room-spec.md +0 -234
  95. package/src/reachability/ai-docs/reachability-spec.md +0 -261
  96. package/src/reactions/ai-docs/reactions-spec.md +0 -198
  97. package/src/reconnection-manager/ai-docs/reconnection-manager-spec.md +0 -272
  98. package/src/recording-controller/ai-docs/recording-controller-spec.md +0 -223
  99. package/src/roap/ai-docs/roap-spec.md +0 -241
  100. package/src/webinar/ai-docs/webinar-spec.md +0 -243
@@ -0,0 +1,816 @@
1
+ ---
2
+ type: Architecture
3
+ title: '@webex/plugin-meetings architecture'
4
+ description: Package-wide boundaries, resources, interactions, dependencies, contract index, and cross-cutting architecture.
5
+ tags: [architecture]
6
+ ---
7
+ <!-- sdd-generated-metadata
8
+ doc_kind: standing-doc
9
+ generated_from: architecture@0.3.0
10
+ generated_by: claude-code
11
+ approved_by: rarajes2@cisco.com
12
+ updated_at: 2026-11-17T03:14:21Z
13
+ validation_status: pass-with-warnings
14
+ -->
15
+
16
+ # @webex/plugin-meetings architecture
17
+
18
+ Canonical architecture for this package. This page owns the facts that span its modules: package
19
+ boundaries, the plugin registration, cross-module interaction, the contract index, and how the
20
+ package meets the rest of the Webex SDK. Each module's behavior lives in its source-local
21
+ specification under `src/<module>/docs/README.md`, routed from the
22
+ [specification registry](specs/README.md); this page links to them instead of repeating them.
23
+
24
+ Related context: [specification registry](specs/README.md) ·
25
+ [documentation index](index.md) · [package agent instructions](../AGENTS.md)
26
+
27
+ ## Applicability
28
+
29
+ | Condition ID | Status | Evidence or reason | Owned section |
30
+ | ------------------------------------ | ---------- | ------------------ | ------------- |
31
+ | `repo.owns_datastore` | N/A | No database, schema, or migration. Projections are in memory; the only persisted values are reachability results in host-provided storage (`src/reachability/index.ts`) | Repository data and schema |
32
+ | `repo.holds_client_state` | Applicable | `src/meetings/index.ts` holds the meeting collection and `src/meeting/index.ts` the per-meeting state | Client state model |
33
+ | `repo.components_interact` | Applicable | `src/meetings/index.ts` constructs each Meeting from `src/meeting/index.ts`, which composes the Locus, members, media, and feature modules | Dependency and interaction topology |
34
+ | `repo.domain_data_across_components` | Applicable | Locus state projected by `src/locus-info/index.ts` is read by `src/meeting/index.ts`, `src/members/index.ts`, and the feature controllers | Object and data ownership |
35
+ | `repo.caches_data` | Applicable | `src/meetings/collection.ts`, `src/interceptors/locusRouteToken.ts`, and `src/common/wasm-loader.ts` keep data between calls | Caching catalog |
36
+ | `repo.observability_convention` | Applicable | Modules log through `src/common/logs/logger-proxy.ts` and submit behavioral metrics through `src/metrics/index.ts` | Observability patterns |
37
+ | `repo.deploys_to_infra` | N/A | Library published to npm (`package.json`); no service runtime, container, or deployment descriptor | Runtime and infrastructure |
38
+ | `repo.shared_base_libs` | Applicable | Plugins extend WebexPlugin from webex-core and use the legacy build, lint, and test stack (`babel.config.js`, `package.json`) | Shared and base libraries |
39
+ | `repo.is_monorepo` | N/A | This SDD root is one package; the workspace around it is out of scope (`package.json`) | Package map and inter-package dependencies |
40
+ | `repo.multi_platform` | N/A | One browser-oriented build; `src/index.ts` has no per-platform entry | Platform matrix |
41
+ | `repo.published_package` | Applicable | `package.json` names @webex/plugin-meetings and deploy:npm publishes it | Release and versioning |
42
+ | `repo.embedded_in_host` | Applicable | `src/index.ts` registers the plugin into the host Webex SDK instance as webex.meetings | Host integration and theming |
43
+ | `repo.exposes_commands_or_artifacts` | Applicable | build:src and build:assets in `package.json` write dist and copy the runtime assets | Commands and generated artifacts |
44
+ | `repo.cross_repo_deps_material` | Applicable | Behavior depends on workspace plugins and Webex services declared in `package.json` | Cross-repository topology |
45
+ | `repo.security_arch_warranted` | Applicable | Route and data-channel tokens pass through `src/interceptors/locusRouteToken.ts` and `src/interceptors/dataChannelAuthToken.ts` | Security architecture |
46
+
47
+ ## Design overview
48
+
49
+ The package is a browser-oriented library embedded in a Webex SDK instance. `src/index.ts` registers `Meetings` as `webex.meetings`, installs request interceptors, and exports the selected public types, helpers, stream factories, and errors. The registered `Meetings` plugin owns discovery, device/Mercury registration, the meeting collection, and construction of `Meeting` objects. Importing the entry also loads `@webex/internal-plugin-identity` for its
50
+ registration side effect.
51
+
52
+ A `Meeting` is the central per-call coordinator. It combines normalized Locus state, members, feature controllers, local and remote media, ROAP negotiation, reachability, reconnection, requests, events, and telemetry. Capability modules remain separate so their state and server contracts can be tested independently, but they are composed by the meeting object and consume the same Webex host and Locus identity.
53
+
54
+ The package owns no datastore. It maintains in-memory client projections and caches that are
55
+ refreshed by Webex HTTP responses, Mercury events, Locus full/delta/hash-tree updates, and media
56
+ callbacks; the one persisted value set is the reachability result and join cookie, which it writes
57
+ to the host's bounded storage. This split keeps remote services authoritative while making the SDK
58
+ responsive to realtime change.
59
+
60
+ This SDD root is the package directory. Three source folders have no module specification yet:
61
+ `src/common/` (shared helpers), `src/e2ee/` (E2EE WASM preload, signaling, and MLS engine), and
62
+ `src/transcription/` (the WebSocket transcription class). Code is the source of truth for them.
63
+
64
+ ## Resource inventory and responsibilities
65
+
66
+ Every resource below is a module of this package under `src/`. All are owned by
67
+ `@webex/web-client` and `@webex/web-sdk`, the owners that the workspace `.github/CODEOWNERS` line
68
+ for `packages/@webex/plugin-meetings` assigns. The Docs column links each module's canonical
69
+ specification.
70
+
71
+ | Component | Responsibility | Docs |
72
+ | --- | --- | --- |
73
+ | `src/meetings/` | Plugin registration lifecycle, discovery, and meeting collection | [`src/meetings/docs/README.md`](../src/meetings/docs/README.md) |
74
+ | `src/meeting/` | One meeting's lifecycle, controls, media, state, and events | [`src/meeting/docs/README.md`](../src/meeting/docs/README.md) |
75
+ | `src/meeting-info/` | Resolve destinations and normalize meeting metadata | [`src/meeting-info/docs/README.md`](../src/meeting-info/docs/README.md) |
76
+ | `src/locus-info/` | Convert Locus inputs into scoped client-state callbacks | [`src/locus-info/docs/README.md`](../src/locus-info/docs/README.md) |
77
+ | `src/hashTree/` | Reconcile incremental Locus datasets | [`src/hashTree/docs/README.md`](../src/hashTree/docs/README.md) |
78
+ | `src/member/`, `src/members/` | Represent one participant and manage the roster | [`src/member/docs/README.md`](../src/member/docs/README.md), [`src/members/docs/README.md`](../src/members/docs/README.md) |
79
+ | `src/media/`, `src/multistream/`, `src/roap/` | Construct connections, allocate streams, and negotiate SDP | [`src/media/docs/README.md`](../src/media/docs/README.md), [`src/multistream/docs/README.md`](../src/multistream/docs/README.md), [`src/roap/docs/README.md`](../src/roap/docs/README.md) |
80
+ | `src/reachability/`, `src/reconnection-manager/` | Probe routes and recover failed media/meetings | [`src/reachability/docs/README.md`](../src/reachability/docs/README.md), [`src/reconnection-manager/docs/README.md`](../src/reconnection-manager/docs/README.md) |
81
+ | `src/breakouts/`, `src/interpretation/`, `src/annotation/`, `src/aiEnableRequest/`, `src/webinar/` | Feature-specific meeting workflows | [`src/breakouts/docs/README.md`](../src/breakouts/docs/README.md), [`src/interpretation/docs/README.md`](../src/interpretation/docs/README.md), [`src/annotation/docs/README.md`](../src/annotation/docs/README.md), [`src/aiEnableRequest/docs/README.md`](../src/aiEnableRequest/docs/README.md), [`src/webinar/docs/README.md`](../src/webinar/docs/README.md) |
82
+ | `src/recording-controller/`, `src/controls-options-manager/`, `src/personal-meeting-room/`, `src/reactions/` | Focused meeting controls and data catalogs | [`src/recording-controller/docs/README.md`](../src/recording-controller/docs/README.md), [`src/controls-options-manager/docs/README.md`](../src/controls-options-manager/docs/README.md), [`src/personal-meeting-room/docs/README.md`](../src/personal-meeting-room/docs/README.md), [`src/reactions/docs/README.md`](../src/reactions/docs/README.md) |
83
+ | `src/interceptors/`, `src/metrics/` | Request middleware and behavioral telemetry | [`src/interceptors/docs/README.md`](../src/interceptors/docs/README.md), [`src/metrics/docs/README.md`](../src/metrics/docs/README.md) |
84
+ | `src/index.ts`, `src/config.ts`, `src/constants.ts` | Package entry and plugin registration, default `meetings` configuration, shared constants and event names | This page, [Public and consumer surfaces](#public-and-consumer-surfaces) |
85
+ | `src/common/` | Shared collections, events and `TriggerProxy`, logging, queue, errors, browser detection, static config, and the WASM loader | No module specification; see [Shared and base libraries](#shared-and-base-libraries) |
86
+ | `src/e2ee/`, `src/transcription/` | E2EE WASM preload, signaling, and MLS engine; WebSocket transcription class | No module specification yet |
87
+
88
+ ## Interaction and execution flows
89
+
90
+ Representative end-to-end flow:
91
+
92
+ ```mermaid
93
+ flowchart LR
94
+ App[SDK consumer] --> Entry[src/index.ts]
95
+ Entry --> Meetings[Meetings]
96
+ Meetings --> Info[meeting-info]
97
+ Meetings --> Meeting[Meeting]
98
+ Meetings --> Device[device and Mercury]
99
+ Meetings --> E2EE[e2ee WASM preload]
100
+ Meeting --> Locus[locus-info and hashTree]
101
+ Locus --> Members[member and members]
102
+ Meeting --> Media[media]
103
+ Media --> ROAP[roap]
104
+ Media --> Multi[multistream]
105
+ Media --> Reach[reachability]
106
+ Meeting --> Recovery[reconnection-manager]
107
+ Meeting --> Features[breakouts / interpretation / annotation / AI / webinar / controls]
108
+ Entry --> Middleware[interceptors]
109
+ Meetings --> Metrics[metrics]
110
+ Meeting --> Metrics
111
+ ```
112
+
113
+ Consumers enter through the registered `webex.meetings` plugin or package exports. `Meetings` resolves a destination, creates or finds a `Meeting`, and coordinates registration and Mercury delivery. The meeting applies Locus updates, updates roster and feature projections, negotiates media through ROAP/internal-media-core, emits scoped events, and records behavioral metrics.
114
+
115
+ 1. Importing `src/index.ts` registers the plugin and three request interceptors with `@webex/webex-core`.
116
+ 2. The SDK initializes `Meetings`, which builds collections/request helpers; `register()` then
117
+ registers the device, connects Mercury, starts reachability, registers the Mercury listeners,
118
+ and, when `enableE2ee` is set, preloads the E2EE WASM module without delaying registration.
119
+ 3. A consumer creates or receives a meeting; meeting-info resolution supplies Locus/meeting identity and a `Meeting` enters the collection.
120
+ 4. Join and media operations call Webex services, apply the returned Locus state, negotiate ROAP/SDP, and publish local/remote stream readiness.
121
+ 5. Mercury/Locus updates flow through `locus-info` and feature controllers; teardown removes listeners, timers, media connections, and collection entries.
122
+
123
+ Evidence: `src/index.ts`, `src/meetings/index.ts`, `src/meeting/index.ts`, `src/locus-info/index.ts`, `src/media/index.ts`.
124
+
125
+ Request families: This package owns no endpoint. Current request families are device registration, active meetings/preferences/geo hints, meeting-info/static links, Locus lifecycle and controls, media/ROAP/TURN, member mutations, breakouts, interpretation/AI/webinar/recording, PMR, reachability, and metrics. Exact URLs are resolved by request helpers and Webex service discovery in current source.
126
+
127
+ Event sources:
128
+
129
+ - Mercury/Locus events update meeting collections and per-meeting state.
130
+ - Meeting events cover lifecycle, media, mute/share, controls, transcription/captions, and feature state.
131
+ - Members, breakouts, interpretation, AI approval, annotation, webinar, and data-channel events are meeting scoped.
132
+ - Browser/media-core callbacks report permissions, connection/track readiness, degradation, and closure.
133
+
134
+ Authoritative anchors: `src/constants.ts`, `src/common/events/`, `src/meetings/index.ts`, `src/meeting/index.ts`, and owning feature event/constants files.
135
+
136
+ Failure and degraded behavior per external dependency:
137
+
138
+ | Dependency | Purpose | Degraded/failure behavior |
139
+ | --- | --- | --- |
140
+ | Webex device and Mercury | identity/registration and realtime events | registration stage fails or events stop; unregister remains safe |
141
+ | Locus/meeting-info services | meeting identity, state, and mutations | typed/request failure; current projection is not fabricated |
142
+ | media infrastructure/internal-media-core | WebRTC negotiation and streams | media errors, bounded recovery/rejoin, cleanup |
143
+ | reachability/STUN/TURN | route selection and network characterization | report failure/partial reachability; do not claim success |
144
+ | feature services/data channels | breakouts, AI, webinar, interpretation, annotation | capability-gated failure visible to caller/event consumer |
145
+
146
+ ## Dependency topology
147
+
148
+ | Dependency | Type | How used | Failure / version handling |
149
+ | --- | --- | --- | --- |
150
+ | `@webex/webex-core` | workspace internal (`dependencies`) | Plugin host, requests, services, interceptors, base classes | Request failures propagate through typed errors/interceptors |
151
+ | Device and Mercury plugins | workspace internal | Device identity and realtime event delivery | Registration is staged and failure-aware; teardown unregisters listeners |
152
+ | `@webex/internal-media-core` | pinned external | WebRTC media connections and multistream primitives | Media errors/timeouts are surfaced and reconnection is bounded |
153
+ | `@webex/media-helpers` | workspace internal | Public local/remote stream factories and types | Public re-exports are semver-sensitive |
154
+ | Locus/meeting/webinar/AI services | external Webex services | Meeting state and mutations | HTTP errors are not converted into success; retry only where explicitly implemented |
155
+ | `jose`, `jwt-decode` | external libraries | `jose` decodes the data-channel token to check its expiry (`isJwtTokenExpired`); `jwt-decode` decodes the Meeting permission token | Expiry is checked with a 30-second buffer; data-channel token refresh retries once (`MAX_RETRY`) |
156
+ | `@webex/internal-plugin-identity` | workspace internal | Imported by `src/index.ts` for its plugin registration side effect | `workspace:*` |
157
+ | `@webex/web-capabilities` | external library | WASM capability checks for E2EE preload and browser capability checks | Unsupported WASM skips the preload |
158
+ | `xxh3-ts` | external library | Hashing for Locus hash-tree datasets in `src/hashTree/hashTree.ts` | Package manifest range |
159
+
160
+ - Workspace packages live under repository package globs; this package is the published meetings capability.
161
+ - It consumes internal device, Mercury, metrics, user, support, conversation, identity,
162
+ Voicea/LLM, people/rooms, media-helper, common, and core packages listed in `package.json`.
163
+ - Workspace dependencies use `workspace:*`; external pinned/ranged dependencies follow the root release process. The package must not introduce cycles through reverse imports.
164
+
165
+ ### Runtime and transport notes
166
+
167
+ The package has no deployable runtime of its own; these are the runtime categories it relies on.
168
+
169
+ | Category | In use | Notes |
170
+ | --- | --- | --- |
171
+ | Datastores | none owned | Client projections are in memory; Webex services own persistence |
172
+ | Messaging / streaming | Mercury events, data channels, WebRTC media | Host plugins and internal-media-core provide transport |
173
+ | Cloud / platform services | Webex device, Locus, meeting-info, webinar, reachability, metrics | Accessed through Webex core request/service abstractions |
174
+
175
+ ## Public and consumer surfaces
176
+
177
+ This is the package contract index: one row per contract ID in the `contract_catalog` of
178
+ `.sdd/manifest.json`. Type is the contract kind and its publication; Owner is the module whose
179
+ manifest `contracts.provides` lists it, and external contracts are dependencies. Exact API, event,
180
+ and request definitions stay in their native source and owning module specification.
181
+
182
+ | Surface | Type | Owner | Consumers | Compatibility policy | Source |
183
+ | ------- | ---- | ----- | --------- | -------------------- | ------ |
184
+ | `plugin-meetings-sdk` | SDK, published | `src/meetings` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
185
+ | `meetings-plugin` | SDK, published | `src/meetings` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
186
+ | `meetings-collection-api` | SDK, published | `src/meetings` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
187
+ | `meeting-api` | SDK, published | `src/meeting` | Applications through the package, `src/meetings`, `src/reconnection-manager` | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
188
+ | `meetings-events` | Event, published | `src/meeting` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `src/constants.ts` |
189
+ | `meeting-info-api` | SDK, published | `src/meeting-info` | Applications through the package, `src/meetings` | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
190
+ | `members-api` | SDK, published | `src/members` | Applications through the package, `src/meeting` | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
191
+ | `member-model` | SDK, published | `src/member` | Applications through the package, `src/members` | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
192
+ | `remote-media-api` | SDK, published | `src/multistream` | Applications through the package, `src/meeting` | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
193
+ | `breakouts-api` | SDK, published | `src/breakouts` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
194
+ | `interpretation-api` | SDK, published | `src/interpretation` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
195
+ | `annotation-api` | SDK, published | `src/annotation` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
196
+ | `ai-enable-request-api` | SDK, published | `src/aiEnableRequest` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
197
+ | `webinar-api` | SDK, published | `src/webinar` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
198
+ | `recording-controller-api` | SDK, published | `src/recording-controller` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
199
+ | `controls-options-api` | SDK, published | `src/controls-options-manager` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
200
+ | `personal-meeting-room-api` | SDK, published | `src/personal-meeting-room` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
201
+ | `reactions-catalog` | SDK, published | `src/reactions` | Applications through the package | Semver-sensitive; prefer additive changes (Release and versioning) | `package.json` |
202
+ | `locus-http` | HTTP client, internal | `src/meeting` | `src/locus-info`, `src/hashTree`, `src/members`, `src/roap`, `src/breakouts`, `src/interpretation`, `src/annotation`, `src/recording-controller`, `src/controls-options-manager` | Internal; changes land with every consuming module in one change | `src/meeting/request.ts` |
203
+ | `site-preferences-http` | HTTP client, internal | `src/meetings` | `src/meetings` only (its own requests) | Internal; changes land with every consuming module in one change | `src/meetings/request.ts` |
204
+ | `meeting-info-http` | HTTP client, internal | `src/meeting-info` | `src/meeting-info` only (its own requests) | Internal; changes land with every consuming module in one change | `src/meeting-info/meeting-info-v2.ts` |
205
+ | `roap-signaling` | HTTP client, internal | `src/roap` | `src/meeting` | Internal; changes land with every consuming module in one change | `src/roap/request.ts` |
206
+ | `locus-info-projection` | SDK, internal | `src/locus-info` | `src/meeting` | Internal; changes land with every consuming module in one change | `src/locus-info/index.ts` |
207
+ | `hash-tree-sync` | SDK, internal | `src/hashTree` | `src/locus-info` | Internal; changes land with every consuming module in one change | `src/hashTree/hashTreeParser.ts` |
208
+ | `media-connection` | SDK, internal | `src/media` | `src/meeting`, `src/reconnection-manager` | Internal; changes land with every consuming module in one change | `src/media/index.ts` |
209
+ | `reachability-service` | SDK, internal | `src/reachability` | `src/meetings`, `src/meeting` | Internal; changes land with every consuming module in one change | `src/reachability/index.ts` |
210
+ | `reconnection-manager` | SDK, internal | `src/reconnection-manager` | `src/meeting` | Internal; changes land with every consuming module in one change | `src/reconnection-manager/index.ts` |
211
+ | `locus-interceptors` | SDK, internal | `src/interceptors` | The webex-core request pipeline, through the registration in `src/index.ts` | Internal; changes land with every consuming module in one change | `src/interceptors/index.ts` |
212
+ | `meetings-metrics` | SDK, internal | `src/metrics` | `src/meetings`, `src/meeting` | Internal; changes land with every consuming module in one change | `src/metrics/index.ts` |
213
+ | `webex-core-plugin-host` | SDK, published | External dependency | `src/meetings`, `src/meeting`, `src/meeting-info`, `src/roap`, `src/reachability`, `src/breakouts`, `src/aiEnableRequest`, `src/webinar`, `src/personal-meeting-room`, `src/interceptors` | Version per package.json (`workspace:*`, or the pinned exact version) | @webex/webex-core (workspace package) |
214
+ | `internal-plugin-device-registration` | SDK, published | External dependency | `src/meetings` | Version per package.json (`workspace:*`, or the pinned exact version) | @webex/internal-plugin-device (workspace package) |
215
+ | `internal-plugin-mercury-events` | Event, published | External dependency | `src/meetings` | Version per package.json (`workspace:*`, or the pinned exact version) | @webex/internal-plugin-mercury (workspace package) |
216
+ | `internal-plugin-metrics-api` | SDK, published | External dependency | `src/metrics` | Version per package.json (`workspace:*`, or the pinned exact version) | @webex/internal-plugin-metrics (workspace package) |
217
+ | `internal-media-core` | SDK, published | External dependency | `src/meeting`, `src/media`, `src/multistream` | Version per package.json (`workspace:*`, or the pinned exact version) | @webex/internal-media-core (pinned exact version in package.json) |
218
+ | `media-helpers-streams` | SDK, published | External dependency | `src/meeting` | Version per package.json (`workspace:*`, or the pinned exact version) | @webex/media-helpers (workspace package) |
219
+ | `internal-plugin-llm-channel` | SDK, published | External dependency | `src/meeting`, `src/annotation` | Version per package.json (`workspace:*`, or the pinned exact version) | @webex/internal-plugin-llm (workspace package) |
220
+ | `internal-plugin-voicea-transcription` | SDK, published | External dependency | `src/meeting` | Version per package.json (`workspace:*`, or the pinned exact version) | @webex/internal-plugin-voicea (workspace package) |
221
+ | `browser-webrtc` | SDK, published | External dependency | `src/media`, `src/reachability` | Browser capability; feature-detected at runtime | W3C WebRTC and Media Capture APIs (browser) |
222
+
223
+ ### Package exports
224
+
225
+ `src/index.ts` is the package export authority. It registers the default `Meetings` plugin and exports `Meeting`, selected meeting-info/error helpers, constants, reactions, annotation/interpretation types, `RemoteMedia`, `TriggerProxy`, AI approver selection, and media-helper stream factories/types. A symbol existing below `src/` is not public unless it is reachable through this entry point or a documented public object such as `webex.meetings`/`Meeting`.
226
+
227
+ | Contract ID | Surface | Purpose | Compatibility |
228
+ | --- | --- | --- | --- |
229
+ | `meetings-plugin` | default `Meetings` | plugin constructor registered as `webex.meetings` | semver-sensitive |
230
+ | `meeting-api` | `Meeting` | per-meeting lifecycle/control object | semver-sensitive methods/events |
231
+ | `media-helpers-streams` | media-helper stream classes/factories/types re-exported from `@webex/media-helpers` | acquire and represent local/remote media | follows package re-export contract |
232
+ | `plugin-meetings-sdk`, `reactions-catalog` | `CONSTANTS`, `REACTIONS`, `sdkAnnotationTypes`, selected enums/types | stable consumer values and payload typing | never silently change wire values |
233
+ | `plugin-meetings-sdk`, `meeting-info-api` | join, intent-to-join, join-webinar, captcha, password, permission, reclaim-host, SDP timeout errors | actionable consumer failure branches | preserve class identity and relevant fields |
234
+ | `plugin-meetings-sdk`, `meeting-info-api`, `remote-media-api`, `ai-enable-request-api` | `MeetingInfoUtil`, `MeetingInfoV2`, `RemoteMedia`, `TriggerProxy`, `getAIEnablementApprover` | selected advanced integration helpers | semver-sensitive |
235
+ | `meetings-collection-api` | `Meetings.fetchSitePreferencesMeViaSite(options?)` | fetch the selected preference sections from a site's `/wbxappapi/v1/users/me/preference` resource, using an explicit site or the preferred site established during registration | semver-sensitive method, option, and response shape |
236
+
237
+ The retained `README.md` contains extensive usage examples for registration, creating/finding
238
+ meetings, joining, media, PMR, members, and events. They are retained consumer guidance, not a
239
+ contract surface; validate them against current source before copying into new consumer code.
240
+
241
+ ### Events
242
+
243
+ Events are emitted in process through package event scopes, with some inputs originating from Mercury, Locus, media, or data channels. Event constants in `src/constants.ts` and feature event files are authoritative.
244
+
245
+ | Family | Owner | Examples / role | Compatibility rule |
246
+ | --- | --- | --- | --- |
247
+ | meetings | `src/meetings/` | added/removed, incoming, registration and sync lifecycle | preserve name, payload shape, and timing |
248
+ | meeting | `src/meeting/` | state, media ready/stopped, mute, sharing, transcription, controls | preserve scope and cleanup; document payload changes |
249
+ | members | `src/members/` | roster added/updated/removed and host/member changes | participant PII restrictions apply |
250
+ | breakouts | `src/breakouts/index.ts` | session, roster, broadcast, help, return-to-main changes | stale README implementation notes do not override code |
251
+ | interpretation / AI / webinar / annotation | owning modules | approval, handoff, role/status, relay/data-channel changes | capability-gated, meeting-scoped |
252
+
253
+ Event caveat retained from consumer guidance: do not assume every event is globally emitted or ordered independently of meeting/Locus state. Subscribe through the documented object/scope, tolerate async updates, and remove listeners during teardown.
254
+
255
+ #### Emitted-event inventory
256
+
257
+ This table lists the current public emission call sites. Constants, conditional expressions, local
258
+ assignments, `TriggerProxy`, inline literals, and thin forwarding wrappers are resolved to the
259
+ emitted literal; the table distinguishes the emitted literal, its defining expression, and the file
260
+ that emits or forwards it. Private plumbing signals (`BREAKOUTS.EVENTS.LLM_CONNECT_RESPONSE`,
261
+ `EVENTS.REQUEST_UPLOAD_LOGS`, `EVENTS.DESTROY_MEETING`, and the `LOCUSINFO.EVENTS` family) are not
262
+ public events and remain documented only in their owning module flows. Events of individual
263
+ objects (`RemoteMedia`, the remote media manager, receive slots, and the E2EE MLS engine) belong to
264
+ their module specifications.
265
+
266
+ | Event literal | Constant / expression | Emission evidence |
267
+ | --- | --- | --- |
268
+ | `APPROVAL_REQUEST_ARRIVED` | `AI_ENABLE_REQUEST.EVENTS.APPROVAL_REQUEST_ARRIVED` | `src/aiEnableRequest/index.ts` |
269
+ | `ASK_FOR_HELP` | `BREAKOUTS.EVENTS.ASK_FOR_HELP` | `src/breakouts/index.ts` |
270
+ | `ASK_RETURN_TO_MAIN` | `BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN` | `src/breakouts/index.ts` |
271
+ | `BREAKOUTS_CLOSING` | `BREAKOUTS.EVENTS.BREAKOUTS_CLOSING` | `src/breakouts/index.ts` |
272
+ | `HANDOFF_REQUESTS_ARRIVED` | `INTERPRETATION.EVENTS.HANDOFF_REQUESTS_ARRIVED` | `src/interpretation/index.ts` |
273
+ | `LEAVE_BREAKOUT` | `BREAKOUTS.EVENTS.LEAVE_BREAKOUT` | `src/breakouts/index.ts` |
274
+ | `annotation:command` | `EVENT_TRIGGERS.ANNOTATION_COMMAND` | `src/annotation/index.ts` |
275
+ | `annotation:strokeData` | `EVENT_TRIGGERS.ANNOTATION_STROKE_DATA` | `src/annotation/index.ts` |
276
+ | `media:activeSpeakerChanged` | `EVENT_TRIGGERS.ACTIVE_SPEAKER_CHANGED` | `src/meeting/index.ts` |
277
+ | `media:codec:loaded` | `EVENT_TRIGGERS.MEDIA_CODEC_LOADED` | `src/meetings/util.ts` |
278
+ | `media:codec:missing` | `EVENT_TRIGGERS.MEDIA_CODEC_MISSING` | `src/meetings/util.ts` |
279
+ | `media:inboundAudio:issueDetected` | `EVENT_TRIGGERS.MEDIA_INBOUND_AUDIO_ISSUE_DETECTED` | `src/meeting/index.ts` |
280
+ | `media:negotiated` | `EVENT_TRIGGERS.MEDIA_NEGOTIATED` | `src/meeting/index.ts` |
281
+ | `media:ready` | `EVENT_TRIGGERS.MEDIA_READY` | `src/meeting/index.ts` |
282
+ | `media:remoteAudio:created` | `EVENT_TRIGGERS.REMOTE_MEDIA_AUDIO_CREATED` | `src/meeting/index.ts` |
283
+ | `media:remoteInterpretationAudio:created` | `EVENT_TRIGGERS.REMOTE_MEDIA_INTERPRETATION_AUDIO_CREATED` | `src/meeting/index.ts` |
284
+ | `media:remoteScreenShareAudio:created` | `EVENT_TRIGGERS.REMOTE_MEDIA_SCREEN_SHARE_AUDIO_CREATED` | `src/meeting/index.ts` |
285
+ | `media:remoteVideo:layoutChanged` | `EVENT_TRIGGERS.REMOTE_MEDIA_VIDEO_LAYOUT_CHANGED` | `src/meeting/index.ts` |
286
+ | `media:remoteAudioSourceCountChanged` | `EVENT_TRIGGERS.REMOTE_AUDIO_SOURCE_COUNT_CHANGED` | `src/meeting/index.ts` |
287
+ | `media:remoteVideoSourceCountChanged` | `EVENT_TRIGGERS.REMOTE_VIDEO_SOURCE_COUNT_CHANGED` | `src/meeting/index.ts` |
288
+ | `media:stopped` | `EVENT_TRIGGERS.MEDIA_STOPPED` | `src/meeting/index.ts` |
289
+ | `meeting:actionsUpdate` | `EVENT_TRIGGERS.MEETING_ACTIONS_UPDATE` | `src/meeting/index.ts` |
290
+ | `meeting:added` | `EVENT_TRIGGERS.MEETING_ADDED` | `src/meetings/index.ts` |
291
+ | `meeting:breakouts:askForHelp` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_ASK_FOR_HELP` | `src/meeting/index.ts` |
292
+ | `meeting:breakouts:askReturnToMain` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_ASK_RETURN_TO_MAIN` | `src/meeting/index.ts` |
293
+ | `meeting:breakouts:closing` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_CLOSING` | `src/meeting/index.ts` |
294
+ | `meeting:breakouts:leave` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_LEAVE` | `src/meeting/index.ts` |
295
+ | `meeting:breakouts:message` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_MESSAGE` | `src/meeting/index.ts` |
296
+ | `meeting:breakouts:preAssignmentsUpdate` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_PRE_ASSIGNMENTS_UPDATE` | `src/meeting/index.ts` |
297
+ | `meeting:breakouts:update` | `EVENT_TRIGGERS.MEETING_BREAKOUTS_UPDATE` | `src/meeting/index.ts` |
298
+ | `meeting:caption-received` | `EVENT_TRIGGERS.MEETING_CAPTION_RECEIVED` | `src/meeting/index.ts` |
299
+ | `meeting:controls:ai-summary-notification:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_AI_SUMMARY_NOTIFICATION_UPDATED` | `src/meeting/index.ts` |
300
+ | `meeting:controls:annotation:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_ANNOTATION_UPDATED` | `src/meeting/index.ts` |
301
+ | `meeting:controls:auto-end-meeting-warning:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_AUTO_END_MEETING_WARNING_UPDATED` | `src/meeting/index.ts` |
302
+ | `meeting:controls:disallow-unmute:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_DISALLOW_UNMUTE_UPDATED` | `src/meeting/index.ts` |
303
+ | `meeting:controls:meeting-full:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_MEETING_FULL_UPDATED` | `src/meeting/index.ts` |
304
+ | `meeting:controls:mute-on-entry:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_MUTE_ON_ENTRY_UPDATED` | `src/meeting/index.ts` |
305
+ | `meeting:controls:polling-qa:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_POLLING_QA_UPDATED` | `src/meeting/index.ts` |
306
+ | `meeting:controls:practice-session-status:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_PRACTICE_SESSION_STATUS_UPDATED` | `src/meeting/index.ts` |
307
+ | `meeting:controls:raise-hand:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_RAISE_HAND_UPDATED` | `src/meeting/index.ts` |
308
+ | `meeting:controls:reactions:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_REACTIONS_UPDATED` | `src/meeting/index.ts` |
309
+ | `meeting:controls:remote-desktop-control:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_REMOTE_DESKTOP_CONTROL_UPDATED` | `src/meeting/index.ts` |
310
+ | `meeting:controls:share-control:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_SHARE_CONTROL_UPDATED` | `src/meeting/index.ts` |
311
+ | `meeting:controls:stage-view:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_STAGE_VIEW_UPDATED` | `src/meeting/index.ts` |
312
+ | `meeting:controls:video:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_VIDEO_UPDATED` | `src/meeting/index.ts` |
313
+ | `meeting:controls:view-the-participants-list:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_VIEW_THE_PARTICIPANTS_LIST_UPDATED` | `src/meeting/index.ts` |
314
+ | `meeting:controls:webcast:updated` | `EVENT_TRIGGERS.MEETING_CONTROLS_WEBCAST_UPDATED` | `src/meeting/index.ts` |
315
+ | `meeting:embeddedApps:update` | `EVENT_TRIGGERS.MEETING_EMBEDDED_APPS_UPDATE` | `src/meeting/index.ts` |
316
+ | `meeting:entryExitTone:update` | `EVENT_TRIGGERS.MEETING_ENTRY_EXIT_TONE_UPDATE` | `src/meeting/index.ts` |
317
+ | `meeting:interpretation:handoffRequestsArrived` | `EVENT_TRIGGERS.MEETING_INTERPRETATION_HANDOFF_REQUESTS_ARRIVED` | `src/meeting/index.ts` |
318
+ | `meeting:interpretation:supportLanguagesUpdate` | `EVENT_TRIGGERS.MEETING_INTERPRETATION_SUPPORT_LANGUAGES_UPDATE` | `src/meeting/index.ts` |
319
+ | `meeting:interpretation:update` | `EVENT_TRIGGERS.MEETING_INTERPRETATION_UPDATE` | `src/meeting/index.ts`, `src/meeting/util.ts` |
320
+ | `meeting:layout:update` | `EVENT_TRIGGERS.MEETING_CONTROLS_LAYOUT_UPDATE` | `src/meeting/index.ts` |
321
+ | `meeting:locked` | `EVENT_TRIGGERS.MEETING_LOCKED` | `src/meeting/index.ts` |
322
+ | `meeting:locus:locusUrl:update` | `EVENT_TRIGGERS.MEETING_LOCUS_URL_UPDATE` | `src/meeting/index.ts` |
323
+ | `meeting:logUpload:failure` | `EVENT_TRIGGERS.MEETING_LOG_UPLOAD_FAILURE` | `src/meetings/index.ts` |
324
+ | `meeting:logUpload:success` | `EVENT_TRIGGERS.MEETING_LOG_UPLOAD_SUCCESS` | `src/meetings/index.ts` |
325
+ | `meeting:manualCaptionControl:updated` | `EVENT_TRIGGERS.MEETING_MANUAL_CAPTION_UPDATED` | `src/meeting/index.ts` |
326
+ | `meeting:media:local:start` | `EVENT_TRIGGERS.MEETING_MEDIA_LOCAL_STARTED` | `src/meeting/index.ts` |
327
+ | `meeting:media:remote:start` | `EVENT_TRIGGERS.MEETING_MEDIA_REMOTE_STARTED` | `src/meeting/index.ts` |
328
+ | `meeting:meetingContainer:update` | `EVENT_TRIGGERS.MEETING_MEETING_CONTAINER_UPDATE` | `src/meeting/index.ts` |
329
+ | `meeting:meetingInfoAvailable` | `EVENT_TRIGGERS.MEETING_INFO_AVAILABLE` | `src/meeting/index.ts` |
330
+ | `meeting:meetingInfoUpdated` | `EVENT_TRIGGERS.MEETING_INFO_UPDATED` | `src/meeting/index.ts` |
331
+ | `meeting:participant-reason-changed` | `EVENT_TRIGGERS.MEETING_PARTICIPANT_REASON_CHANGED` | `src/meeting/index.ts` |
332
+ | `meeting:receiveReactions` | `EVENT_TRIGGERS.MEETING_RECEIVE_REACTIONS` | `src/meeting/index.ts` |
333
+ | `meeting:receiveTranscription:started` | `EVENT_TRIGGERS.MEETING_STARTED_RECEIVING_TRANSCRIPTION` | `src/meeting/index.ts` |
334
+ | `meeting:receiveTranscription:stopped` | `EVENT_TRIGGERS.MEETING_STOPPED_RECEIVING_TRANSCRIPTION` | `src/meeting/index.ts` |
335
+ | `meeting:recording:paused` | `EVENT_TRIGGERS.MEETING_PAUSED_RECORDING` | `src/meeting/index.ts` |
336
+ | `meeting:recording:resumed` | `EVENT_TRIGGERS.MEETING_RESUMED_RECORDING` | `src/meeting/index.ts` |
337
+ | `meeting:recording:started` | `EVENT_TRIGGERS.MEETING_STARTED_RECORDING` | `src/meeting/index.ts` |
338
+ | `meeting:recording:stopped` | `EVENT_TRIGGERS.MEETING_STOPPED_RECORDING` | `src/meeting/index.ts` |
339
+ | `meeting:removed` | `EVENT_TRIGGERS.MEETING_REMOVED` | `src/meetings/index.ts` |
340
+ | `meeting:resourceLinks:update` | `EVENT_TRIGGERS.MEETING_RESOURCE_LINKS_UPDATE` | `src/meeting/index.ts` |
341
+ | `meeting:ringing` | `EVENT_TRIGGERS.MEETING_RINGING` | `src/meeting/state.ts` |
342
+ | `meeting:ringingStop` | `EVENT_TRIGGERS.MEETING_RINGING_STOP` | `src/meeting/state.ts` |
343
+ | `meeting:self:brbUpdate` | `EVENT_TRIGGERS.MEETING_SELF_BRB_UPDATE` | `src/meeting/index.ts` |
344
+ | `meeting:self:cannotViewParticipantList` | `EVENT_TRIGGERS.MEETING_SELF_CANNOT_VIEW_PARTICIPANT_LIST` | `src/meeting/index.ts` |
345
+ | `meeting:self:guestAdmitted` | `EVENT_TRIGGERS.MEETING_SELF_GUEST_ADMITTED` | `src/meeting/index.ts` |
346
+ | `meeting:self:isSharingBlocked` | `EVENT_TRIGGERS.MEETING_SELF_IS_SHARING_BLOCKED` | `src/meeting/index.ts` |
347
+ | `meeting:self:left` | `EVENT_TRIGGERS.MEETING_SELF_LEFT` | `src/meeting/index.ts` |
348
+ | `meeting:self:lobbyWaiting` | `EVENT_TRIGGERS.MEETING_SELF_LOBBY_WAITING` | `src/meeting/index.ts` |
349
+ | `meeting:self:mutedByOthers` | `EVENT_TRIGGERS.MEETING_SELF_MUTED_BY_OTHERS` | `src/meeting/index.ts` |
350
+ | `meeting:self:phoneAudioUpdate` | `EVENT_TRIGGERS.MEETING_SELF_PHONE_AUDIO_UPDATE` | `src/meeting/index.ts` |
351
+ | `meeting:self:requestedToUnmute` | `EVENT_TRIGGERS.MEETING_SELF_REQUESTED_TO_UNMUTE` | `src/meeting/index.ts` |
352
+ | `meeting:self:rolesChanged` | `EVENT_TRIGGERS.MEETING_SELF_ROLES_CHANGED` | `src/meeting/index.ts` |
353
+ | `meeting:self:unmutedByOthers` | `EVENT_TRIGGERS.MEETING_SELF_UNMUTED_BY_OTHERS` | `src/meeting/index.ts` |
354
+ | `meeting:self:videoMutedByOthers` | `EVENT_TRIGGERS.MEETING_SELF_VIDEO_MUTED_BY_OTHERS` | `src/meeting/index.ts` |
355
+ | `meeting:self:videoUnmutedByOthers` | `EVENT_TRIGGERS.MEETING_SELF_VIDEO_UNMUTED_BY_OTHERS` | `src/meeting/index.ts` |
356
+ | `meeting:srtpCipher:updated` | `EVENT_TRIGGERS.MEETING_SRTP_CIPHER_UPDATED` | `src/meeting/index.ts` |
357
+ | `meeting:startedSharingLocal` | `EVENT_TRIGGERS.MEETING_STARTED_SHARING_LOCAL` | `src/meeting/index.ts` |
358
+ | `meeting:startedSharingRemote` | `EVENT_TRIGGERS.MEETING_STARTED_SHARING_REMOTE` | `src/meeting/index.ts` |
359
+ | `meeting:startedSharingWhiteboard` | `EVENT_TRIGGERS.MEETING_STARTED_SHARING_WHITEBOARD` | `src/meeting/index.ts` |
360
+ | `meeting:stateChange` | `EVENT_TRIGGERS.MEETING_STATE_CHANGE` | `src/meeting/index.ts` |
361
+ | `meeting:reconnectionFailure` | `EVENT_TRIGGERS.MEETING_RECONNECTION_FAILURE` | `src/reconnection-manager/index.ts` |
362
+ | `meeting:reconnectionStarting` | `EVENT_TRIGGERS.MEETING_RECONNECTION_STARTING` | `src/reconnection-manager/index.ts` |
363
+ | `meeting:reconnectionSuccess` | `EVENT_TRIGGERS.MEETING_RECONNECTION_SUCCESS` | `src/reconnection-manager/index.ts` |
364
+ | `meeting:stoppedSharingLocal` | `EVENT_TRIGGERS.MEETING_STOPPED_SHARING_LOCAL` | `src/meeting/index.ts`, `src/reconnection-manager/index.ts` |
365
+ | `meeting:stoppedSharingRemote` | `EVENT_TRIGGERS.MEETING_STOPPED_SHARING_REMOTE` | `src/meeting/index.ts` |
366
+ | `meeting:stoppedSharingWhiteboard` | `EVENT_TRIGGERS.MEETING_STOPPED_SHARING_WHITEBOARD` | `src/meeting/index.ts` |
367
+ | `meeting:streamPublishStateChanged` | `EVENT_TRIGGERS.MEETING_STREAM_PUBLISH_STATE_CHANGED` | `src/meeting/index.ts` |
368
+ | `meeting:transcription:connected` | `EVENT_TRIGGERS.MEETING_TRANSCRIPTION_CONNECTED` | `src/meeting/index.ts` |
369
+ | `meeting:transcription:spokenLanguageUpdate` | `EVENT_TRIGGERS.MEETING_TRANSCRIPTION_SPOKEN_LANGUAGE_UPDATED` | `src/meeting/index.ts` |
370
+ | `meeting:unlocked` | `EVENT_TRIGGERS.MEETING_UNLOCKED` | `src/meeting/index.ts` |
371
+ | `meeting:updateAnnotationInfo` | `EVENT_TRIGGERS.MEETING_UPDATE_ANNOTATION_INFO` | `src/meeting/index.ts` |
372
+ | `meetings:ready` | `EVENT_TRIGGERS.MEETINGS_READY` | `src/meetings/index.ts` |
373
+ | `meetings:registered` | `EVENT_TRIGGERS.MEETINGS_REGISTERED` | `src/meetings/index.ts` |
374
+ | `meetings:unregistered` | `EVENT_TRIGGERS.MEETINGS_UNREGISTERED` | `src/meetings/index.ts` |
375
+ | `MEMBERS_UPDATE` | `BREAKOUTS.EVENTS.MEMBERS_UPDATE` | `src/breakouts/index.ts` |
376
+ | `members:clear` | `EVENT_TRIGGERS.MEMBERS_CLEAR` | `src/members/index.ts` |
377
+ | `members:content:update` | `EVENT_TRIGGERS.MEMBERS_CONTENT_UPDATE` | `src/members/index.ts` |
378
+ | `members:host:update` | `EVENT_TRIGGERS.MEMBERS_HOST_UPDATE` | `src/members/index.ts` |
379
+ | `members:self:update` | `EVENT_TRIGGERS.MEMBERS_SELF_UPDATE` | `src/members/index.ts` |
380
+ | `members:update` | `EVENT_TRIGGERS.MEMBERS_UPDATE` | `src/members/index.ts` |
381
+ | `MESSAGE` | `BREAKOUTS.EVENTS.MESSAGE` | `src/breakouts/index.ts` |
382
+ | `network:connected` | `EVENT_TRIGGERS.MEETINGS_NETWORK_CONNECTED` | `src/meeting/index.ts` |
383
+ | `network:disconnected` | `EVENT_TRIGGERS.MEETINGS_NETWORK_DISCONNECTED` | `src/meeting/index.ts`, `src/meetings/index.ts` |
384
+ | `network:quality` | `EVENT_TRIGGERS.NETWORK_QUALITY` | `src/meeting/index.ts` |
385
+ | `PRE_ASSIGNMENTS_UPDATE` | `BREAKOUTS.EVENTS.PRE_ASSIGNMENTS_UPDATE` | `src/breakouts/index.ts` |
386
+ | `reachability:done` | inline literal | `src/reachability/index.ts` |
387
+ | `reachability:firstResultAvailable` | inline literal | `src/reachability/index.ts` |
388
+ | `reachability:stopped` | inline literal | `src/reachability/index.ts` |
389
+ | `SUPPORT_LANGUAGES_UPDATE` | `INTERPRETATION.EVENTS.SUPPORT_LANGUAGES_UPDATE` | `src/interpretation/index.ts` |
390
+
391
+ #### Declared but not emitted
392
+
393
+ These root constants are consumer-visible declarations in `src/constants.ts`, but current package source has no reachable public emission call for them. They are not part of the emitted-event count and must not be presented as live notifications.
394
+
395
+ | Declared literal | Constant | Current classification |
396
+ | --- | --- | --- |
397
+ | `media:quality` | `EVENT_TRIGGERS.MEDIA_QUALITY` | declared but not emitted |
398
+ | `media:update` | `EVENT_TRIGGERS.MEDIA_UPDATE` | declared but not emitted |
399
+ | `meeting:aiEnableRequest` | `EVENT_TRIGGERS.MEETING_AI_ENABLE_REQUEST` | declared but not emitted |
400
+
401
+ #### Meetings-scope event catalog
402
+
403
+ | Event name | Observable meaning retained from consumer guidance |
404
+ | --- | --- |
405
+ | `meetings:ready` | plugin initialization completed; no payload |
406
+ | `meeting:added` | a joinable incoming/outgoing meeting entered the collection; payload identifies meeting and type |
407
+ | `meeting:removed` | a meeting left the collection and cannot be rejoined through that object; payload includes `meetingId` and `reason` |
408
+ | `media:codec:loaded` | browser H.264 codec became available; no payload |
409
+ | `media:codec:missing` | browser H.264 codec appears unavailable; no payload |
410
+
411
+ Registration lifecycle events, emitted on `webex.meetings`:
412
+
413
+ | Event name | Observable meaning / payload category |
414
+ | --- | --- |
415
+ | `meetings:registered` / `meetings:unregistered` | device and websocket registration lifecycle; no payload |
416
+
417
+ #### Meeting-scope event catalog
418
+
419
+ | Event name | Observable meaning / payload category |
420
+ | --- | --- |
421
+ | `media:ready` | local or remote media became available; payload contains media `type` and `stream` |
422
+ | `media:stopped` | local or remote media was torn down; payload identifies media `type` |
423
+ | `meeting:media:local:start` / `meeting:media:remote:start` | local bytes began sending or remote bytes began arriving |
424
+ | `meeting:ringing` / `meeting:ringingStop` | ringing starts/stops; payload identifies meeting `id` and `type`, and on stop the remote answer/decline state |
425
+ | `meeting:startedSharingLocal` / `meeting:stoppedSharingLocal` | local share lifecycle; no payload |
426
+ | `meeting:startedSharingRemote` / `meeting:stoppedSharingRemote` | remote share lifecycle |
427
+ | `meeting:self:lobbyWaiting` / `meeting:self:guestAdmitted` | self lobby/admission transition; payload carries the self projection |
428
+ | `meeting:self:mutedByOthers` | self was remotely muted; payload carries the self projection |
429
+ | `meeting:reconnectionStarting` | reconnection began; no payload |
430
+ | `meeting:reconnectionSuccess` / `meeting:reconnectionFailure` | recovery completed with no payload, or failed with an `error` (`ReconnectionError`) |
431
+ | `meeting:unlocked` / `meeting:locked` | host lock state changed; payload carries lock info |
432
+ | `meeting:actionsUpdate` | available actions changed, including invite/admit/lock/host/recording/hand controls |
433
+ | `meeting:logUpload:success` / `meeting:logUpload:failure` | diagnostic log upload outcome |
434
+ | `meeting:recording:started` / `stopped` / `paused` / `resumed` | recording state changed; payload includes state, modifier, modification time, and the modifying service app name and id |
435
+ | `meeting:receiveTranscription:started` / `stopped` | transcript reception lifecycle |
436
+ | `meeting:meetingContainer:update` | meeting-container URL changed |
437
+
438
+ #### Members-scope event catalog
439
+
440
+ | Event name | Observable meaning / payload category |
441
+ | --- | --- |
442
+ | `members:update` | roster delta (`updated`, `added`) plus full collection and the `isReplace` flag |
443
+ | `members:content:update` | active/ended content-sharing member ids |
444
+ | `members:host:update` | active/ended host member ids |
445
+ | `members:self:update` | active/ended self member ids |
446
+
447
+ Remote-share caveat: register `media:ready` before join, request `receiveShare` during media setup, and use the `remoteShare` stream plus current `meeting.shareStatus`. A host may start sharing before the participant can attach `meeting:startedSharingRemote`, so the current projection is required in addition to edge-triggered events. Evidence: `README.md`, `src/meeting/index.ts`.
448
+
449
+ ### Consumer operation map
450
+
451
+ | Consumer goal | Canonical operation family | Owning spec |
452
+ | --- | --- | --- |
453
+ | register/unregister the device and realtime connection | `Meetings.register()` / `unregister()` lifecycle | [`src/meetings/docs/README.md`](../src/meetings/docs/README.md) |
454
+ | create/get/list a meeting from room, person, conversation, SIP, Locus, or active-call data | meeting discovery and collection lookup | [`src/meetings/docs/README.md`](../src/meetings/docs/README.md) |
455
+ | join basic, group, incoming, or PMR meetings | staged create → join → optional media | [`src/meeting/docs/README.md`](../src/meeting/docs/README.md) |
456
+ | acquire microphone/camera/display streams and attach/update/stop media | media-helper factories plus Meeting media operations | [`src/media/docs/README.md`](../src/media/docs/README.md) and [`src/meeting/docs/README.md`](../src/meeting/docs/README.md) |
457
+ | receive realtime transcripts/captions | enable receiving and consume meeting transcript events | [`src/meeting/docs/README.md`](../src/meeting/docs/README.md) |
458
+ | mute/unmute, share/unshare, lock/unlock, transfer host, recording, and available-action checks | Meeting/controller mutations gated by Locus capabilities | [`src/meeting/docs/README.md`](../src/meeting/docs/README.md), [`src/members/docs/README.md`](../src/members/docs/README.md), [`src/recording-controller/docs/README.md`](../src/recording-controller/docs/README.md), [`src/controls-options-manager/docs/README.md`](../src/controls-options-manager/docs/README.md) |
459
+ | use a paired Webex device, move a meeting, wireless share, or reconnect media | Meeting device/media lifecycle | [`src/meeting/docs/README.md`](../src/meeting/docs/README.md) |
460
+ | inspect/mutate members and subscribe to roster events | Members collection/request/event surface | [`src/members/docs/README.md`](../src/members/docs/README.md) |
461
+
462
+ ### Native sources
463
+
464
+ - Package registration/exports: `src/index.ts`
465
+ - Collection and lifecycle APIs: `src/meetings/index.ts`, `src/meeting/index.ts`
466
+ - Requests: `src/meetings/request.ts`, `src/meeting/request.ts`, and owning feature request files
467
+ - Constants/events: `src/constants.ts`, `src/common/events/`, feature constants/events files
468
+ - Consumer examples and upgrade mapping: retained `README.md` and `UPGRADING.md`
469
+ - Operation-level contracts: the source-local module specifications listed in the
470
+ [specification registry](specs/README.md)
471
+
472
+ ## Client state model
473
+
474
+ > The package owns client-side projections only. Remote Webex services remain authoritative.
475
+
476
+ | Entity | Client owner | Source / lifecycle |
477
+ | --- | --- | --- |
478
+ | meeting collection | `src/meetings/` | created from discovery/incoming events; removed on teardown |
479
+ | meeting | `src/meeting/` | one active/planned call; identity and state derive from meeting-info/Locus |
480
+ | meeting info | `src/meeting-info/` | normalized destination lookup response |
481
+ | Locus projection | `src/locus-info/`, `src/hashTree/` | full/delta/dataset updates from Locus |
482
+ | participant/member roster | `src/member/`, `src/members/` | normalized Locus participants and controls |
483
+ | media connection/streams/slots | `src/media/`, `src/multistream/`, `src/roap/` | browser and media-core lifecycle |
484
+ | feature state | owning feature controller | derived from Locus/service/data-channel updates |
485
+ | route/data-channel token cache | `src/interceptors/` | in-memory request middleware state |
486
+ | reachability results and join cookie | `src/reachability/` | written to the host's bounded storage after each reachability run; read by later joins and metrics |
487
+
488
+ ```mermaid
489
+ erDiagram
490
+ MEETINGS ||--o{ MEETING : contains
491
+ MEETING ||--|| LOCUS_PROJECTION : observes
492
+ LOCUS_PROJECTION ||--o{ MEMBER : contains
493
+ MEETING ||--o{ MEDIA_CONNECTION : controls
494
+ MEDIA_CONNECTION ||--o{ REMOTE_MEDIA : exposes
495
+ MEETING ||--o{ FEATURE_STATE : composes
496
+ MEETING_INFO ||--o| MEETING : initializes
497
+ ```
498
+
499
+ - `Meetings` owns registration state and maps meeting keys/identifiers to `Meeting` instances.
500
+ - Each `Meeting` owns its Locus projection, members, feature controllers, media connections/streams, mute/BRB/control state, and timers.
501
+ - Locus full state, delta events, and hash-tree datasets converge into the same projection; the remote Locus service remains authoritative.
502
+ - Feature modules derive state from meeting/Locus data and clear listeners and collections when the meeting is destroyed.
503
+
504
+ No durable datastore is owned. In-memory stores include meeting and meeting-info collections,
505
+ Locus/member/feature projections, media/slot objects, route-token maps, timers, queues, and metric
506
+ setup state. Their lifecycle is SDK/plugin/meeting scoped. The exception is the reachability result
507
+ and join cookie, which `Reachability` writes to `webex.boundedStorage` under the `Reachability`
508
+ namespace; the `webex` browser bundle backs that storage with localStorage.
509
+
510
+ ## Cross-cutting architecture
511
+
512
+ ### Security
513
+
514
+ - **Security:** Webex credentials and data-channel tokens enter through the host/request layer; identity, participant data, meeting URLs, media, and transcripts are sensitive. Authorization remains enforced by remote services and capability/policy fields.
515
+ - Trust boundaries, token flow, and data classes: see [Security architecture](#security-architecture).
516
+
517
+ ### Observability and operations
518
+
519
+ - **Observability:** modules use the shared logger proxy and metrics helpers with correlation identifiers. Behavioral and call-analyzer telemetry should describe outcomes without logging tokens or raw sensitive payloads.
520
+ - Behavioral metrics are named in `src/metrics/constants.ts` and submitted through `src/metrics/index.ts`.
521
+ - Meeting/media modules also submit call-analyzer and quality/outcome telemetry through existing helpers.
522
+ - Conventions: see [Observability patterns](#observability-patterns).
523
+ - Ownership: the workspace `.github/CODEOWNERS` line for `packages/@webex/plugin-meetings` assigns
524
+ `@webex/web-client` and `@webex/web-sdk`. No dashboards or runbooks are recorded in this package.
525
+
526
+ ### Quality attributes
527
+
528
+ This is a published client library used in browsers and SDK hosts. Preserve package exports, event names/payloads, async semantics, and browser compatibility. Avoid new runtime dependencies and unbounded timers/listeners; measure performance-critical media or event-path changes rather than inventing targets.
529
+
530
+ No package-local numeric rate limit or quota is declared. Respect server responses and existing retry/backoff; do not invent retry budgets or add polling without approval. The one package-local retry rule is in `LocusRetryStatusInterceptor`: a Locus 429
531
+ or 503 is retried once after `retry-after` (default 2000 ms), and hash-tree and sync requests are
532
+ never retried.
533
+
534
+ - No package-specific numeric SLO or coverage threshold is defined in committed sources. Measure
535
+ latency/quality regressions and preserve bounded retries, timers, and listener counts.
536
+
537
+ The package follows repository security/privacy rules and Cisco licensing. No package-specific
538
+ certification claim exists in committed sources; do not infer one.
539
+
540
+ ## Dependency and interaction topology
541
+
542
+ ```mermaid
543
+ flowchart TD
544
+ Meetings -->|constructs/calls| Meeting
545
+ Meetings -->|HTTP| MeetingInfo
546
+ Meetings -->|events| Mercury
547
+ Meeting -->|state| LocusInfo
548
+ LocusInfo -->|incremental data| HashTree
549
+ LocusInfo -->|roster changes| Members
550
+ Meeting -->|connect/close| Media
551
+ Media -->|offer/answer| Roap
552
+ Media -->|remote tracks| Multistream
553
+ Meeting -->|recover| Reconnection
554
+ Meeting -->|compose| Features
555
+ Meetings -->|telemetry| Metrics
556
+ Meeting -->|telemetry| Metrics
557
+ ```
558
+
559
+ | From | To | Kind | Purpose |
560
+ | --- | --- | --- | --- |
561
+ | SDK consumer | `Meetings`/`Meeting` | call/event | Create, join, control, observe, and leave meetings |
562
+ | `Meetings` | device/Mercury/meeting-info | call/event | Register and discover meetings and realtime updates |
563
+ | `Meeting` | Locus/member/feature modules | call/event | Apply remote state and expose scoped capability state |
564
+ | `Meeting` | media/ROAP/multistream | async call/event | Establish and update WebRTC media |
565
+ | media callbacks | reconnection manager | event/call | Start bounded recovery or rejoin |
566
+ | core modules | metrics | call | Submit outcome and diagnostic telemetry |
567
+ | `Meetings` | e2ee | call | Preload the E2EE WASM module after registration, best effort |
568
+
569
+ ## Object and data ownership
570
+
571
+ | Domain object | System-of-record / owning component | Read by |
572
+ | --- | --- | --- |
573
+ | Remote meeting/Locus state | Webex Locus service; projected by `locus-info` | `Meeting`, members, features, consumer events |
574
+ | Meeting collection and registration state | `meetings` in memory | SDK consumers and event routing |
575
+ | Per-meeting client state | `meeting` in memory | feature/media controllers and consumers |
576
+ | Participant projection | `member`/`members` from Locus | meeting, breakouts, interpretation, Voicea/transcription helpers |
577
+ | Media connection and slots | `media`/`multistream` | meeting and stream consumers |
578
+ | Feature projection | owning feature module | meeting and SDK consumer |
579
+
580
+ - `Meetings` is the only package component that adds/removes top-level meeting instances.
581
+ - `LocusInfo`/hash-tree parsing updates the shared remote-state projection; feature controllers consume derived values rather than inventing server state.
582
+ - `Members` owns roster collection mutation and constructs `Member` projections.
583
+ - Media modules own media-core connection and stream/slot objects; consumers observe them through meeting/public media surfaces.
584
+ - Remote mutations always go through existing request/controller methods so identity, routing, interceptors, and errors remain consistent.
585
+
586
+ ## Caching catalog
587
+
588
+ | Cache | Backend | What it holds | TTL | Invalidation trigger |
589
+ | --- | --- | --- | --- | --- |
590
+ | Meeting collection | in-memory collection | active `Meeting` instances by meeting identifiers | meeting lifetime | leave/destroy/unregister and collection removal |
591
+ | Meeting-info collection | in-memory collection | resolved metadata, only on the legacy `MeetingInfo` path used when `experimental.enableUnifiedMeetings` is false | process lifetime/explicit replacement | a refreshed response or collection lifecycle |
592
+ | Locus route token map | module-level interceptor memory shared by every instance | route tokens keyed by Locus id | process lifetime | a response carrying the route token header replaces it; a `null` token deletes it |
593
+ | Feature collections | in-memory collections | breakout, interpretation, webinar, and roster projections | meeting lifetime | Locus update or feature cleanup |
594
+ | Deleted-meeting summaries | in-memory `Map` on `Meetings` | basic information about destroyed meetings for `getBasicMeetingInformation` | plugin lifetime | none; entries are not removed |
595
+ | Reachability results and join cookie | host `webex.boundedStorage`, namespace `Reachability` | last reachability results and the join cookie | until overwritten | the next reachability run |
596
+ | E2EE WASM module cache | in-memory `Map` in `WasmLoader` | loaded WASM modules by URL | plugin lifetime | none; each URL loads at most once |
597
+
598
+ Caches are bounded by SDK, plugin, or meeting lifetime, except the reachability results and join
599
+ cookie, which persist in the host's bounded storage. Meeting and feature teardown invalidates
600
+ associated collections, listeners, timers, and media references. No migration mechanism exists in
601
+ this package.
602
+
603
+ ## Observability patterns
604
+
605
+ | Signal | Convention or required fields | Propagation or naming rule | Primary evidence |
606
+ | ------- | ----------------------------- | -------------------------- | ---------------- |
607
+ | Logs | Use the logger proxy and correlation-aware context; do not use console logging or record credentials, tokens, participant PII, raw transcript/media, or full sensitive URLs | Messages start with the class and method scope (for example `Meetings:index#register -->`); `TriggerProxy` logs every public event at debug level as `event#` plus the event name, with the payload when `LoggerConfig.verboseEvents` is set | `src/common/logs/logger-proxy.ts`, `src/common/events/trigger-proxy.ts` |
608
+ | Metrics | Use the metrics helper and existing call-analyzer helpers/constants; retain established names and flatten fields predictably | Behavioral metric names come from the metrics constants; call-analyzer events go through `webex.internal.newMetrics` | `src/metrics/index.ts`, `src/metrics/constants.ts` |
609
+ | Traces | None; this package creates no tracing spans | — | `package.json` |
610
+ | Audit | Privileged actions are represented by remote Locus/service mutations and their outcome metrics; the package owns no durable audit store | — | `src/metrics/index.ts` |
611
+
612
+ ## Shared and base libraries
613
+
614
+ | Library | What modules inherit/use | Version floor |
615
+ | --- | --- | --- |
616
+ | `@webex/webex-core` | plugin registration, request and service access, base plugin/interceptor classes | workspace version |
617
+ | package `src/common/` | collections, events, logging, queue, errors, browser/config helpers, and the WASM loader | package-local |
618
+ | `lodash` | guarded collection/object utilities | package manifest range |
619
+ | `@webex/internal-media-core` | WebRTC/media primitives | pinned exact version in `package.json` (`dependencies`) |
620
+ | `@webex/common` | `deviceType` and `getUmdAssetsBaseUrl` for the default configuration | `workspace:*` |
621
+ | `@webex/babel-config-legacy`, `@webex/eslint-config-legacy`, `@webex/jest-config-legacy`, `@webex/legacy-tools` | build, lint, and unit-test stack through package scripts and config files | `workspace:*` |
622
+
623
+ ## Release and versioning
624
+
625
+ | Artifact | Publish target | Versioning rule | Deprecation window | Changelog or migration obligation |
626
+ | -------- | -------------- | --------------- | ------------------ | --------------------------------- |
627
+ | @webex/plugin-meetings | npm through `deploy:npm` | Workspace release process; the package manifest declares no version of its own | None declared | See the consumer-contract rule below |
628
+
629
+ - `@webex/plugin-meetings` builds to `dist/index.js` with declarations under `dist/types`, copies
630
+ its runtime `assets/` to `dist/assets`, and publishes through the repository npm release workflow.
631
+ - The default `meetings.assetsBaseUrl` uses `/assets/plugin-meetings/` in development and versionless local builds. SDK releases use `SDK_VERSION` to resolve assets from the matching `webex` UMD package on unpkg. Standalone plugin npm releases fall back to `PACKAGE_VERSION` and resolve assets from that plugin's package.
632
+ - Treat `src/index.ts` exports, `webex.meetings`, public `Meetings`/`Meeting` methods and other
633
+ consumer-visible class methods, event names/payloads, types, typed errors and error shapes, and
634
+ documented constants as semver-sensitive consumer contracts. Deprecate before removal and update
635
+ consumer docs/specs and changelog material in the same release change.
636
+ - Prefer additive changes. A removal, rename, changed default, wire-value change, or altered event/error timing requires explicit approval, migration guidance, and the repository release process.
637
+ - Retain the privacy behavior documented since version `0.109.0`: participant email is not a roster convenience field; consumers resolve identity details through the appropriate People API.
638
+ - Spec and implementation changes land together; canonical specs must be reconciled before overwriting.
639
+
640
+ There is no database schema. Changes to public TypeScript shapes, event payloads, constants/wire values, and normalized Locus/member/media projections are contract migrations: make additive changes when possible, update parsers and tests together, and document consumer transitions before removals.
641
+
642
+ ## Host integration and theming
643
+
644
+ | Host or integration | Mount or entry contract | Required providers or peers | Theming and accessibility constraints |
645
+ | ------------------- | ----------------------- | --------------------------- | ------------------------------------- |
646
+ | Webex SDK instance | The host imports the package, after which `registerPlugin('meetings', Meetings, ...)` mounts `webex.meetings` and request interceptors | The host must provide initialized core/device/Mercury/request services and browser media capabilities | This package has no theming or UI-provider contract |
647
+ | Host configuration (`webex.config.meetings`) | Configuration defaults live in `src/config.ts` and `src/common/config.ts`; do not duplicate mutable flag names here | Capability and policy fields from Webex/Locus gate meetings, breakouts, interpretation, annotation, webinar, reactions, AI approval, recording, multistream, and media behaviors | None; no UI is rendered |
648
+ | Static asset host (`meetings.assetsBaseUrl`) | E2EE loader and WASM files are fetched from this base URL, resolved by `getUmdAssetsBaseUrl` unless the application overrides it | A versioned origin that allows the application with CORS and serves the loader with a JavaScript MIME type | None |
649
+
650
+ ## Commands and generated artifacts
651
+
652
+ | Command or artifact | Owner | Inputs | Output or side effect | Compatibility boundary |
653
+ | ------------------- | ---------- | ------------------------- | --------------------- | ---------------------- |
654
+ | `yarn workspace @webex/plugin-meetings build:src` | Package scripts | `src` | Compiles JavaScript and TypeScript to `dist/` with source maps through `webex-legacy-tools`, then runs `yarn workspace @webex/plugin-meetings build` | `dist/` is generated and never edited by hand |
655
+ | `yarn workspace @webex/plugin-meetings build` | Package scripts | `src`, `assets` | Emits declarations to `dist/types` with `tsc`, then runs `build:assets` | Same output |
656
+ | `yarn workspace @webex/plugin-meetings build:assets` | Package scripts | `assets` | Copies runtime assets to `dist/assets`, excluding dotfiles, `README.md`, and source maps | Asset filenames carry the WASM module version |
657
+ | `yarn workspace @webex/plugin-meetings test:unit` | Package scripts | `test/unit/spec` | Mocha run through `webex-legacy-tools` | Some unit specs import the package by name, which loads the built `dist`; run `build:src` first |
658
+ | `yarn workspace @webex/plugin-meetings test:style` | Package scripts | `src` | ESLint run | Markdown under `src/` is not linted |
659
+ | `yarn workspace @webex/plugin-meetings test:browser` | Package scripts | `test/integration/spec` | Karma run through `webex-legacy-tools` | Needs browser and test-user configuration |
660
+ | `yarn workspace @webex/plugin-meetings deploy:npm` | Package scripts | `dist` | Publishes the package to npm | Workspace release workflow only |
661
+ | `dist/assets/e2ee-0.0.1.js`, `dist/assets/e2ee-0.0.1.wasm` | `src/e2ee/` | `assets` | E2EE loader and WASM binary served from `meetings.assetsBaseUrl` | The filename version must match the MLS implementation |
662
+
663
+ ## Cross-repository topology
664
+
665
+ The package exposes no server endpoint or CLI of its own. It calls Webex services through `@webex/webex-core` request/service abstractions; exact route construction remains in request classes rather than this catalog.
666
+
667
+ | Dependency | What is consumed | Schema / detail link | Availability assumption | Fallback on failure | Version floor |
668
+ | --- | --- | --- | --- | --- | --- |
669
+ | Webex SDK host | credentialed request, device, Mercury, discovery, logging, metrics | `src/index.ts`, `src/meetings/index.ts` | host initialized before meeting work | staged error/rejection; cleanup listeners | workspace version |
670
+ | Webex Locus and meeting services | state, discovery, lifecycle, controls | owning request classes/specs | network service may fail or reject | preserve current projection; bounded retry only where implemented | service-discovered contract |
671
+ | browser media and media libraries | WebRTC, streams, media-core negotiation | `src/media/`, `src/roap/`, `src/multistream/` | browser capability/permission dependent | media error and bounded recovery/rejoin | `@webex/internal-media-core` at the exact version pinned in `package.json` |
672
+ | workspace feature packages | identity, people/rooms, support, Voicea/LLM and helpers | `package.json` | resolved by Yarn workspace | caller-visible capability absence/error | `workspace:*` |
673
+
674
+ - **Internal:** Webex SDK workspace packages provide core hosting, identity/device, Mercury, metrics, media helpers, people/rooms, support, Voicea, and LLM integration.
675
+ - **Cross-project:** published `@webex/*` and media packages exchange TypeScript/JavaScript APIs and event/request payloads.
676
+ - **External read-only:** developer/API documentation and sample application are consumer
677
+ references, not behavior truth; current code and tests are.
678
+ - **External services:** Webex Locus, meeting-info, device, webinar, AI approval, reachability, and telemetry services.
679
+
680
+ ## Security architecture
681
+
682
+ ```mermaid
683
+ flowchart LR
684
+ App[SDK consumer] -->|public calls/data| Plugin[plugin-meetings]
685
+ Host[Webex SDK credentials/services] --> Plugin
686
+ Plugin -->|authenticated HTTPS| Services[Webex services]
687
+ Services -->|Mercury/Locus/data-channel events| Plugin
688
+ Browser[WebRTC permissions/devices] --> Media[media modules]
689
+ Media -->|encrypted media/signaling| WebexMedia[Webex media infrastructure]
690
+ ```
691
+
692
+ Consumer input, remote service/event payloads, browser media, and host credentials cross distinct trust boundaries. Validate and normalize at existing request/parser/controller boundaries.
693
+
694
+ The application/SDK host owns authentication and supplies credentialed request access. Interceptors attach or refresh route/data-channel tokens at request boundaries; modules use remote capability and policy fields before privileged actions. TLS/WebRTC transports are supplied by the browser and Webex infrastructure. The package keeps only in-memory projections and must redact identity, tokens, participant data, transcript/media content, and sensitive meeting URLs from diagnostics.
695
+
696
+ ### Authentication and authorization
697
+
698
+ - The Webex SDK host owns user credentials and authenticated request access; this package must not mint or persist primary credentials.
699
+ - Device and participant identity, Locus route tokens, and data-channel auth tokens are attached/refreshed through existing host and interceptor paths.
700
+ - Privileged actions such as host controls, breakout management, recording, interpretation, webinar, and AI approval depend on current capability/role/policy state plus server enforcement.
701
+
702
+ ### Secrets and credentials
703
+
704
+ - Never commit `.env` values, test-user credentials, access/refresh tokens, JWTs, route tokens, data-channel tokens, meeting passwords, or Sauce Labs secrets.
705
+ - Do not log raw authorization headers or token bodies. Data-channel token expiry is inspected only
706
+ in `src/interceptors/utils.ts`; `Meeting` decodes the permission token to read user policies and
707
+ its expiry. It keeps both the raw JWT (`permissionToken`, also inside `meetingInfo`) and the
708
+ decoded payload (`permissionTokenPayload`) on the instance; `MeetingUtil.joinMeeting()` sends the
709
+ raw token with the join. `parseMeetingInfo()` always overwrites `permissionToken`, but replaces the
710
+ payload and `selfUserPolicies` only when the new meeting info carries a token; a token-less parse
711
+ leaves the previous payload and policies in place. Neither is cleared on leave.
712
+ - Use synthetic fixtures in tests and managed configuration for browser/integration runs.
713
+
714
+ ### Data classification
715
+
716
+ | Data | Classification | Handling |
717
+ | --- | --- | --- |
718
+ | credentials/tokens/passwords | secret | memory only; redact from logs, errors, metrics, and docs |
719
+ | participant/device identity and meeting URLs | sensitive | minimum needed lifetime; do not expand public exposure |
720
+ | transcript/captions, reactions, annotation, media | sensitive content | process only for enabled feature; never emit raw content as telemetry |
721
+ | state/capability/quality metrics | operational | use bounded fields/tags; exclude content and identifiers unless existing policy permits |
722
+
723
+ Participant email removal documented in `README.md` is a privacy constraint; use participant identity and the People API rather than reintroducing email into roster projections.
724
+
725
+ - Treat credentials, route/data-channel tokens, meeting URLs/passwords, device identity, participant identity, transcripts, captions, media, and diagnostic payloads as sensitive.
726
+ - Do not restore participant email as a convenience field; consumer documentation directs identity lookup through the People API.
727
+ - Keep sensitive projections in memory only for their operational lifetime and exclude them from logs/metric tags.
728
+
729
+ ### Input validation and output encoding
730
+
731
+ - Locus/full/delta/hash-tree, service responses, data-channel messages, SDP, and consumer options are external input. Reuse current parsers, typed constants, guards, and error paths.
732
+ - Preserve URL/request construction helpers and do not interpolate untrusted values into logs or markup.
733
+ - This package renders no UI/HTML; host applications remain responsible for encoding displayed names, transcript, chat, annotation, and error content.
734
+
735
+ ### Transport and headers
736
+
737
+ - Webex core performs authenticated HTTPS requests; browser/media-core handles WebRTC signaling/media transport.
738
+ - `LocusRouteTokenInterceptor` and `DataChannelAuthTokenInterceptor` own their headers. Do not attach those tokens outside the intended request hosts/routes.
739
+ - Retry middleware must remain bounded and honor terminal authentication/authorization failures.
740
+
741
+ ### Session posture
742
+
743
+ The package owns no browser cookie or server session store. Its operational session is the in-memory SDK/meeting lifecycle. Teardown must remove listeners, timers, token references, media objects, and feature state.
744
+
745
+ ### Sensitive areas and review
746
+
747
+ - Realtime diagnostic payloads can contain participant/meeting details; log summaries, not payloads.
748
+ - Captions/transcripts and AI/interpretation workflows handle user content and require feature/policy gates.
749
+ - Media permissions and device access are browser-user decisions; do not bypass prompts or retain streams after teardown.
750
+ - No package-specific accepted security risk is recorded in committed sources.
751
+
752
+ Security-sensitive changes require explicit approval, focused negative tests, and review of `src/interceptors/`, request boundaries, capability gates, logs/metrics, and cleanup. Follow the repository security-reporting process; do not publish findings automatically.
753
+
754
+ ## Domain language
755
+
756
+ | Term | Meaning here | Code anchor |
757
+ | --- | --- | --- |
758
+ | Meeting | Client object coordinating one Webex meeting lifecycle and media session | `src/meeting/index.ts` |
759
+ | Meetings | Registered plugin and collection-level coordinator | `src/meetings/index.ts` |
760
+ | Locus | Webex meeting-state service/payload projected into the client | `src/locus-info/index.ts` |
761
+ | Member | Normalized participant projection | `src/member/index.ts` |
762
+ | ROAP | Offer/answer signaling protocol used during media negotiation | `src/roap/index.ts` |
763
+ | multistream | Receive/send slot and remote-media management over a media connection | `src/multistream/` |
764
+ | breakout | Main/session-group state and controls for breakout sessions | `src/breakouts/` |
765
+ | simultaneous interpretation | Language-channel and interpreter handoff feature | `src/interpretation/` |
766
+ | practice session | Webinar state/data-channel flow before public webcast | `src/webinar/index.ts` |
767
+ | PMR | Personal Meeting Room resolved/claimed for a user | `src/personal-meeting-room/` |
768
+ | hash tree | Incremental Locus synchronization by dataset hash comparison, reconciled into the same projection | `src/hashTree/hashTreeParser.ts` |
769
+ | E2EE preload | Best-effort load of the E2EE WASM module after registration when `enableE2ee` is set and WASM is supported | `src/e2ee/E2eeManager.ts` |
770
+
771
+ | Abbreviation | Expansion / local meaning |
772
+ | --- | --- |
773
+ | SDK | Software Development Kit; the Webex host that mounts this plugin |
774
+ | PMR | Personal Meeting Room |
775
+ | ROAP | RTCWeb Offer/Answer Protocol |
776
+ | SDP | Session Description Protocol |
777
+ | STUN/TURN | WebRTC reachability/relay protocols |
778
+ | CSI | Contributing Source Identifier used to associate media and participants |
779
+ | BRB | Be right back meeting state |
780
+ | LLM | Large-language-model feature/event context in current integrations |
781
+ | E2EE | End-to-end encryption of meeting media |
782
+ | MLS | Messaging Layer Security, the group key protocol the E2EE WASM module implements |
783
+ | WASM | WebAssembly; the E2EE module is loaded from `meetings.assetsBaseUrl` |
784
+
785
+ Context-specific meanings:
786
+
787
+ - **register/unregister** can mean SDK device/Mercury registration, not npm package registration.
788
+ - **join** means joining meeting state; **add media** is a distinct staged operation and may follow join.
789
+ - **leave** exits the local participant; **end for all** is a privileged remote mutation.
790
+ - **collection** usually means an in-memory Ampersand/package collection, not persistence.
791
+ - **full state**, **delta**, and **hash tree** are alternate Locus synchronization forms for one projection.
792
+
793
+ Deprecated and renamed terms:
794
+
795
+ - Consumer docs map older phone-plugin flows to meetings plugin methods in retained `UPGRADING.md`.
796
+ - Participant email was removed from participant convenience data; use participant identity with the People API.
797
+ - Some legacy docs describe breakout host operations as unimplemented; current `src/breakouts/index.ts` implements create/start/end/update/assignment and lock operations, so the old statement is stale.
798
+
799
+ ## References and maintenance
800
+
801
+ | Reference | Location | When to read |
802
+ | --- | --- | --- |
803
+ | Migration decision | [`adr/0001-migrate-existing-docs-into-sdd.md`](adr/0001-migrate-existing-docs-into-sdd.md) | Why the earlier documents were migrated into these canonical specifications |
804
+ | Repo patterns | [`../AGENTS.md`](../AGENTS.md) | Before adding requests, event emitters, constants, or tests |
805
+ | Enforceable rules | [`../AGENTS.md`](../AGENTS.md) | Before any code or contract change |
806
+
807
+ - Decisions: [adr/](adr/index.md)
808
+ - Instantiated specifications and routing: [specs/README.md](specs/README.md)
809
+ - Update this document in the same change that alters package boundaries, resource ownership,
810
+ cross-resource interaction, or cross-cutting architecture.
811
+ - Update this index when a public export, event family, request family, command, or dependency boundary changes. Put detailed payload/operation behavior in the owning module spec and cite current source/test paths only.
812
+ - Update this document when entity ownership, cache lifetime, or sensitive-data handling changes. Field-level details belong in source types and owning module specs.
813
+ - Refresh this document when a service family, event source, store lifetime, rate-limit rule, metric family, or capability gate changes. Put operation detail in the owning module spec.
814
+ - Add a term when it has a package-specific meaning that could cause an incorrect implementation.
815
+ Anchor definitions to source paths and record renames/deprecations in
816
+ [Public and consumer surfaces](#public-and-consumer-surfaces) as well.