@livo-tv/sdk 1.1.2 → 1.2.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/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/studio/index.cjs +2093 -1617
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.d.cts +33 -11
- package/dist/studio/index.d.ts +33 -11
- package/dist/studio/index.js +2094 -1618
- package/dist/studio/index.js.map +1 -1
- package/package.json +2 -2
package/dist/studio/index.d.cts
CHANGED
|
@@ -377,7 +377,13 @@ declare function studioRoomLabels(t: (key: string, values?: Record<string, strin
|
|
|
377
377
|
waitingSkeleton: string;
|
|
378
378
|
};
|
|
379
379
|
|
|
380
|
-
|
|
380
|
+
type StudioDeviceSelection = {
|
|
381
|
+
audio: string;
|
|
382
|
+
video: string;
|
|
383
|
+
speaker: string;
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejoin, labels, reducedMotion, embed, chrome, playerOrigin, windowGate, initialCameraOn, initialMuted, initialDevices, }: {
|
|
381
387
|
session: StudioSession;
|
|
382
388
|
meeting: StudioMeetingHandle;
|
|
383
389
|
control: StudioControlActions;
|
|
@@ -393,11 +399,27 @@ declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejo
|
|
|
393
399
|
};
|
|
394
400
|
initialCameraOn?: boolean;
|
|
395
401
|
initialMuted?: boolean;
|
|
402
|
+
initialDevices?: StudioDeviceSelection;
|
|
396
403
|
}): react.JSX.Element;
|
|
397
404
|
|
|
398
405
|
declare function StudioSkeleton(): react.JSX.Element;
|
|
399
406
|
|
|
400
|
-
|
|
407
|
+
type StudioGuestLobbyLabels = {
|
|
408
|
+
title: string;
|
|
409
|
+
hint: string;
|
|
410
|
+
name: string;
|
|
411
|
+
join: string;
|
|
412
|
+
waitingForHost: string;
|
|
413
|
+
camera: string;
|
|
414
|
+
mic: string;
|
|
415
|
+
cameraDevice?: string;
|
|
416
|
+
micDevice?: string;
|
|
417
|
+
speakerDevice?: string;
|
|
418
|
+
testSpeaker?: string;
|
|
419
|
+
testSpeakerError?: string;
|
|
420
|
+
cameraOff?: string;
|
|
421
|
+
};
|
|
422
|
+
declare function StudioGuestLobby({ reducedMotion, cameraOn, muted, displayName, showName, joining, waitingForHost, error, labels, savedDevices, onCameraChange, onMutedChange, onDisplayNameChange, onDeviceChange, onJoin, }: {
|
|
401
423
|
reducedMotion: boolean;
|
|
402
424
|
cameraOn: boolean;
|
|
403
425
|
muted: boolean;
|
|
@@ -406,18 +428,12 @@ declare function StudioGuestLobby({ reducedMotion, cameraOn, muted, displayName,
|
|
|
406
428
|
joining: boolean;
|
|
407
429
|
waitingForHost: boolean;
|
|
408
430
|
error: string | null;
|
|
409
|
-
labels:
|
|
410
|
-
|
|
411
|
-
hint: string;
|
|
412
|
-
name: string;
|
|
413
|
-
join: string;
|
|
414
|
-
waitingForHost: string;
|
|
415
|
-
camera: string;
|
|
416
|
-
mic: string;
|
|
417
|
-
};
|
|
431
|
+
labels: StudioGuestLobbyLabels;
|
|
432
|
+
savedDevices?: StudioDeviceSelection;
|
|
418
433
|
onCameraChange: (on: boolean) => void;
|
|
419
434
|
onMutedChange: (muted: boolean) => void;
|
|
420
435
|
onDisplayNameChange: (name: string) => void;
|
|
436
|
+
onDeviceChange?: (kind: StudioDeviceKind, deviceId: string) => void;
|
|
421
437
|
onJoin: () => void;
|
|
422
438
|
}): react.JSX.Element;
|
|
423
439
|
|
|
@@ -458,6 +474,12 @@ type StudioLobbyLabels = {
|
|
|
458
474
|
waitingForHost: string;
|
|
459
475
|
camera: string;
|
|
460
476
|
mic: string;
|
|
477
|
+
cameraDevice?: string;
|
|
478
|
+
micDevice?: string;
|
|
479
|
+
speakerDevice?: string;
|
|
480
|
+
testSpeaker?: string;
|
|
481
|
+
testSpeakerError?: string;
|
|
482
|
+
cameraOff?: string;
|
|
461
483
|
joinError: string;
|
|
462
484
|
joinBusy: string;
|
|
463
485
|
endedTitle: string;
|
package/dist/studio/index.d.ts
CHANGED
|
@@ -377,7 +377,13 @@ declare function studioRoomLabels(t: (key: string, values?: Record<string, strin
|
|
|
377
377
|
waitingSkeleton: string;
|
|
378
378
|
};
|
|
379
379
|
|
|
380
|
-
|
|
380
|
+
type StudioDeviceSelection = {
|
|
381
|
+
audio: string;
|
|
382
|
+
video: string;
|
|
383
|
+
speaker: string;
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejoin, labels, reducedMotion, embed, chrome, playerOrigin, windowGate, initialCameraOn, initialMuted, initialDevices, }: {
|
|
381
387
|
session: StudioSession;
|
|
382
388
|
meeting: StudioMeetingHandle;
|
|
383
389
|
control: StudioControlActions;
|
|
@@ -393,11 +399,27 @@ declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejo
|
|
|
393
399
|
};
|
|
394
400
|
initialCameraOn?: boolean;
|
|
395
401
|
initialMuted?: boolean;
|
|
402
|
+
initialDevices?: StudioDeviceSelection;
|
|
396
403
|
}): react.JSX.Element;
|
|
397
404
|
|
|
398
405
|
declare function StudioSkeleton(): react.JSX.Element;
|
|
399
406
|
|
|
400
|
-
|
|
407
|
+
type StudioGuestLobbyLabels = {
|
|
408
|
+
title: string;
|
|
409
|
+
hint: string;
|
|
410
|
+
name: string;
|
|
411
|
+
join: string;
|
|
412
|
+
waitingForHost: string;
|
|
413
|
+
camera: string;
|
|
414
|
+
mic: string;
|
|
415
|
+
cameraDevice?: string;
|
|
416
|
+
micDevice?: string;
|
|
417
|
+
speakerDevice?: string;
|
|
418
|
+
testSpeaker?: string;
|
|
419
|
+
testSpeakerError?: string;
|
|
420
|
+
cameraOff?: string;
|
|
421
|
+
};
|
|
422
|
+
declare function StudioGuestLobby({ reducedMotion, cameraOn, muted, displayName, showName, joining, waitingForHost, error, labels, savedDevices, onCameraChange, onMutedChange, onDisplayNameChange, onDeviceChange, onJoin, }: {
|
|
401
423
|
reducedMotion: boolean;
|
|
402
424
|
cameraOn: boolean;
|
|
403
425
|
muted: boolean;
|
|
@@ -406,18 +428,12 @@ declare function StudioGuestLobby({ reducedMotion, cameraOn, muted, displayName,
|
|
|
406
428
|
joining: boolean;
|
|
407
429
|
waitingForHost: boolean;
|
|
408
430
|
error: string | null;
|
|
409
|
-
labels:
|
|
410
|
-
|
|
411
|
-
hint: string;
|
|
412
|
-
name: string;
|
|
413
|
-
join: string;
|
|
414
|
-
waitingForHost: string;
|
|
415
|
-
camera: string;
|
|
416
|
-
mic: string;
|
|
417
|
-
};
|
|
431
|
+
labels: StudioGuestLobbyLabels;
|
|
432
|
+
savedDevices?: StudioDeviceSelection;
|
|
418
433
|
onCameraChange: (on: boolean) => void;
|
|
419
434
|
onMutedChange: (muted: boolean) => void;
|
|
420
435
|
onDisplayNameChange: (name: string) => void;
|
|
436
|
+
onDeviceChange?: (kind: StudioDeviceKind, deviceId: string) => void;
|
|
421
437
|
onJoin: () => void;
|
|
422
438
|
}): react.JSX.Element;
|
|
423
439
|
|
|
@@ -458,6 +474,12 @@ type StudioLobbyLabels = {
|
|
|
458
474
|
waitingForHost: string;
|
|
459
475
|
camera: string;
|
|
460
476
|
mic: string;
|
|
477
|
+
cameraDevice?: string;
|
|
478
|
+
micDevice?: string;
|
|
479
|
+
speakerDevice?: string;
|
|
480
|
+
testSpeaker?: string;
|
|
481
|
+
testSpeakerError?: string;
|
|
482
|
+
cameraOff?: string;
|
|
461
483
|
joinError: string;
|
|
462
484
|
joinBusy: string;
|
|
463
485
|
endedTitle: string;
|