@limrun/ui 0.14.2 → 0.14.3

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.
@@ -185,22 +185,19 @@ interface RemoteControlProps {
185
185
  /**
186
186
  * iOS only: when true, capture the user's microphone via
187
187
  * `getUserMedia({ audio: true })` and stream it live into the
188
- * simulator's mock microphone. Unlike the camera (which is
189
- * demand-driven by apps inside the sim), the microphone is
190
- * user-driven: flip this prop from a button in your UI. The
191
- * component handles the browser permission prompt, the WebRTC
192
- * track attach (no SDP renegotiation — the audio slot is
193
- * pre-allocated) and the `microphoneStart`/`microphoneStop`
194
- * signaling to the host. Progress and failures are reported via
195
- * `onMicrophoneStateChange`. Ignored on Android instances.
188
+ * simulator's mock microphone. This is a manual override: iOS apps
189
+ * that actively consume microphone input also trigger capture
190
+ * automatically, like camera demand. The component handles the
191
+ * browser permission prompt, WebRTC track attachment, and
192
+ * `microphoneStart`/`microphoneStop` signaling. Progress and failures
193
+ * are reported via `onMicrophoneStateChange`. Ignored on Android.
196
194
  */
197
195
  microphoneEnabled?: boolean;
198
196
  /**
199
197
  * Fires whenever the live-microphone pipeline changes state:
200
- * after an enable attempt resolves (granted or denied), when the
201
- * host acknowledges or rejects the stream, when the browser
202
- * revokes the track mid-stream, and on disable. Use it to render
203
- * the mic button's on/off/error state.
198
+ * after a manual or guest-demanded attempt resolves, when the host
199
+ * acknowledges or rejects the stream, when the browser revokes the
200
+ * track mid-stream, and when capture stops.
204
201
  */
205
202
  onMicrophoneStateChange?: (state: MicrophoneState) => void;
206
203
  }