@limrun/ui 0.14.3 → 0.15.0
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.
- package/dist/components/remote-control.d.ts +7 -5
- package/dist/index.cjs +1 -1
- package/dist/index.js +1107 -1104
- package/package.json +1 -1
- package/src/components/remote-control.tsx +41 -28
|
@@ -127,8 +127,9 @@ interface RemoteControlProps {
|
|
|
127
127
|
* mode. Use it to render a richer status indicator (e.g.
|
|
128
128
|
* "Camera · 1920×1080 · 30 fps · FaceTime HD").
|
|
129
129
|
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
130
|
+
* iOS instances always fire this callback. Android instances fire it
|
|
131
|
+
* when the server supports camera injection (Android 15+); older
|
|
132
|
+
* Android instances have no camera-injector path and stay silent.
|
|
132
133
|
*/
|
|
133
134
|
onCameraDemandChange?: (active: boolean, granted?: boolean, camera?: CameraCaptureInfo) => void;
|
|
134
135
|
/**
|
|
@@ -183,14 +184,15 @@ interface RemoteControlProps {
|
|
|
183
184
|
*/
|
|
184
185
|
cameraAspect?: CameraAspect;
|
|
185
186
|
/**
|
|
186
|
-
*
|
|
187
|
+
* When true, capture the user's microphone via
|
|
187
188
|
* `getUserMedia({ audio: true })` and stream it live into the
|
|
188
|
-
*
|
|
189
|
+
* device's mock microphone. This is a manual override: apps
|
|
189
190
|
* that actively consume microphone input also trigger capture
|
|
190
191
|
* automatically, like camera demand. The component handles the
|
|
191
192
|
* browser permission prompt, WebRTC track attachment, and
|
|
192
193
|
* `microphoneStart`/`microphoneStop` signaling. Progress and failures
|
|
193
|
-
* are reported via `onMicrophoneStateChange`. Ignored on Android
|
|
194
|
+
* are reported via `onMicrophoneStateChange`. Ignored on Android
|
|
195
|
+
* servers without camera/mic injection support (Android 14 and older).
|
|
194
196
|
*/
|
|
195
197
|
microphoneEnabled?: boolean;
|
|
196
198
|
/**
|