@livo-tv/sdk 1.1.1 → 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 +2229 -1568
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.d.cts +34 -11
- package/dist/studio/index.d.ts +34 -11
- package/dist/studio/index.js +2230 -1569
- package/dist/studio/index.js.map +1 -1
- package/dist/styles.css +9 -3
- package/package.json +2 -2
package/dist/studio/index.d.cts
CHANGED
|
@@ -164,6 +164,7 @@ type StudioMeetingHandle = {
|
|
|
164
164
|
setStageAccess: (userId: string, on: boolean) => Promise<void>;
|
|
165
165
|
denyStageAccess: (userId: string) => Promise<void>;
|
|
166
166
|
requestStageAccess: () => Promise<void>;
|
|
167
|
+
joinStage: () => Promise<void>;
|
|
167
168
|
leaveStage: () => Promise<void>;
|
|
168
169
|
stageStatus: () => StudioStageStatus;
|
|
169
170
|
stageRequests: () => StudioStageRequest[];
|
|
@@ -376,7 +377,13 @@ declare function studioRoomLabels(t: (key: string, values?: Record<string, strin
|
|
|
376
377
|
waitingSkeleton: string;
|
|
377
378
|
};
|
|
378
379
|
|
|
379
|
-
|
|
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, }: {
|
|
380
387
|
session: StudioSession;
|
|
381
388
|
meeting: StudioMeetingHandle;
|
|
382
389
|
control: StudioControlActions;
|
|
@@ -392,11 +399,27 @@ declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejo
|
|
|
392
399
|
};
|
|
393
400
|
initialCameraOn?: boolean;
|
|
394
401
|
initialMuted?: boolean;
|
|
402
|
+
initialDevices?: StudioDeviceSelection;
|
|
395
403
|
}): react.JSX.Element;
|
|
396
404
|
|
|
397
405
|
declare function StudioSkeleton(): react.JSX.Element;
|
|
398
406
|
|
|
399
|
-
|
|
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, }: {
|
|
400
423
|
reducedMotion: boolean;
|
|
401
424
|
cameraOn: boolean;
|
|
402
425
|
muted: boolean;
|
|
@@ -405,18 +428,12 @@ declare function StudioGuestLobby({ reducedMotion, cameraOn, muted, displayName,
|
|
|
405
428
|
joining: boolean;
|
|
406
429
|
waitingForHost: boolean;
|
|
407
430
|
error: string | null;
|
|
408
|
-
labels:
|
|
409
|
-
|
|
410
|
-
hint: string;
|
|
411
|
-
name: string;
|
|
412
|
-
join: string;
|
|
413
|
-
waitingForHost: string;
|
|
414
|
-
camera: string;
|
|
415
|
-
mic: string;
|
|
416
|
-
};
|
|
431
|
+
labels: StudioGuestLobbyLabels;
|
|
432
|
+
savedDevices?: StudioDeviceSelection;
|
|
417
433
|
onCameraChange: (on: boolean) => void;
|
|
418
434
|
onMutedChange: (muted: boolean) => void;
|
|
419
435
|
onDisplayNameChange: (name: string) => void;
|
|
436
|
+
onDeviceChange?: (kind: StudioDeviceKind, deviceId: string) => void;
|
|
420
437
|
onJoin: () => void;
|
|
421
438
|
}): react.JSX.Element;
|
|
422
439
|
|
|
@@ -457,6 +474,12 @@ type StudioLobbyLabels = {
|
|
|
457
474
|
waitingForHost: string;
|
|
458
475
|
camera: string;
|
|
459
476
|
mic: string;
|
|
477
|
+
cameraDevice?: string;
|
|
478
|
+
micDevice?: string;
|
|
479
|
+
speakerDevice?: string;
|
|
480
|
+
testSpeaker?: string;
|
|
481
|
+
testSpeakerError?: string;
|
|
482
|
+
cameraOff?: string;
|
|
460
483
|
joinError: string;
|
|
461
484
|
joinBusy: string;
|
|
462
485
|
endedTitle: string;
|
package/dist/studio/index.d.ts
CHANGED
|
@@ -164,6 +164,7 @@ type StudioMeetingHandle = {
|
|
|
164
164
|
setStageAccess: (userId: string, on: boolean) => Promise<void>;
|
|
165
165
|
denyStageAccess: (userId: string) => Promise<void>;
|
|
166
166
|
requestStageAccess: () => Promise<void>;
|
|
167
|
+
joinStage: () => Promise<void>;
|
|
167
168
|
leaveStage: () => Promise<void>;
|
|
168
169
|
stageStatus: () => StudioStageStatus;
|
|
169
170
|
stageRequests: () => StudioStageRequest[];
|
|
@@ -376,7 +377,13 @@ declare function studioRoomLabels(t: (key: string, values?: Record<string, strin
|
|
|
376
377
|
waitingSkeleton: string;
|
|
377
378
|
};
|
|
378
379
|
|
|
379
|
-
|
|
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, }: {
|
|
380
387
|
session: StudioSession;
|
|
381
388
|
meeting: StudioMeetingHandle;
|
|
382
389
|
control: StudioControlActions;
|
|
@@ -392,11 +399,27 @@ declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejo
|
|
|
392
399
|
};
|
|
393
400
|
initialCameraOn?: boolean;
|
|
394
401
|
initialMuted?: boolean;
|
|
402
|
+
initialDevices?: StudioDeviceSelection;
|
|
395
403
|
}): react.JSX.Element;
|
|
396
404
|
|
|
397
405
|
declare function StudioSkeleton(): react.JSX.Element;
|
|
398
406
|
|
|
399
|
-
|
|
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, }: {
|
|
400
423
|
reducedMotion: boolean;
|
|
401
424
|
cameraOn: boolean;
|
|
402
425
|
muted: boolean;
|
|
@@ -405,18 +428,12 @@ declare function StudioGuestLobby({ reducedMotion, cameraOn, muted, displayName,
|
|
|
405
428
|
joining: boolean;
|
|
406
429
|
waitingForHost: boolean;
|
|
407
430
|
error: string | null;
|
|
408
|
-
labels:
|
|
409
|
-
|
|
410
|
-
hint: string;
|
|
411
|
-
name: string;
|
|
412
|
-
join: string;
|
|
413
|
-
waitingForHost: string;
|
|
414
|
-
camera: string;
|
|
415
|
-
mic: string;
|
|
416
|
-
};
|
|
431
|
+
labels: StudioGuestLobbyLabels;
|
|
432
|
+
savedDevices?: StudioDeviceSelection;
|
|
417
433
|
onCameraChange: (on: boolean) => void;
|
|
418
434
|
onMutedChange: (muted: boolean) => void;
|
|
419
435
|
onDisplayNameChange: (name: string) => void;
|
|
436
|
+
onDeviceChange?: (kind: StudioDeviceKind, deviceId: string) => void;
|
|
420
437
|
onJoin: () => void;
|
|
421
438
|
}): react.JSX.Element;
|
|
422
439
|
|
|
@@ -457,6 +474,12 @@ type StudioLobbyLabels = {
|
|
|
457
474
|
waitingForHost: string;
|
|
458
475
|
camera: string;
|
|
459
476
|
mic: string;
|
|
477
|
+
cameraDevice?: string;
|
|
478
|
+
micDevice?: string;
|
|
479
|
+
speakerDevice?: string;
|
|
480
|
+
testSpeaker?: string;
|
|
481
|
+
testSpeakerError?: string;
|
|
482
|
+
cameraOff?: string;
|
|
460
483
|
joinError: string;
|
|
461
484
|
joinBusy: string;
|
|
462
485
|
endedTitle: string;
|