@livo-tv/sdk 1.3.3 → 1.5.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/studio/index.cjs +421 -142
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.d.cts +10 -3
- package/dist/studio/index.d.ts +10 -3
- package/dist/studio/index.js +421 -142
- package/dist/studio/index.js.map +1 -1
- package/dist/styles.css +23 -0
- package/package.json +2 -2
package/dist/studio/index.d.cts
CHANGED
|
@@ -196,6 +196,7 @@ type StudioMeetingHandle = {
|
|
|
196
196
|
moderatorIds: () => string[];
|
|
197
197
|
localAudioTrack: () => MediaStreamTrack | null;
|
|
198
198
|
localVideoTrack: () => MediaStreamTrack | null;
|
|
199
|
+
participantAudioTrack: (participantId: string) => MediaStreamTrack | null;
|
|
199
200
|
participantVideoTrack: (participantId: string) => MediaStreamTrack | null;
|
|
200
201
|
participantScreenTrack: (participantId: string) => MediaStreamTrack | null;
|
|
201
202
|
activeSpeakerId: () => string | null;
|
|
@@ -315,6 +316,9 @@ declare function studioRoomLabels(t: (key: string, values?: Record<string, strin
|
|
|
315
316
|
pipTitle: string;
|
|
316
317
|
pipError: string;
|
|
317
318
|
screenUnsupportedDevice: string;
|
|
319
|
+
screenDownloadAppTitle: string;
|
|
320
|
+
screenDownloadAppAction: string;
|
|
321
|
+
screenDownloadAppDismiss: string;
|
|
318
322
|
screenNotAllowed: string;
|
|
319
323
|
askToShare: string;
|
|
320
324
|
shareRequested: string;
|
|
@@ -392,7 +396,7 @@ type StudioDeviceSelection = {
|
|
|
392
396
|
speaker: string;
|
|
393
397
|
};
|
|
394
398
|
|
|
395
|
-
declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejoin, labels, reducedMotion, embed, chrome, playerOrigin, windowGate, initialCameraOn, initialMuted, initialDevices, }: {
|
|
399
|
+
declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejoin, labels, reducedMotion, embed, chrome, playerOrigin, windowGate, initialCameraOn, initialMuted, initialDevices, appDownloadUrl, }: {
|
|
396
400
|
session: StudioSession;
|
|
397
401
|
meeting: StudioMeetingHandle;
|
|
398
402
|
control: StudioControlActions;
|
|
@@ -409,6 +413,7 @@ declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejo
|
|
|
409
413
|
initialCameraOn?: boolean;
|
|
410
414
|
initialMuted?: boolean;
|
|
411
415
|
initialDevices?: StudioDeviceSelection;
|
|
416
|
+
appDownloadUrl?: string;
|
|
412
417
|
}): react.JSX.Element;
|
|
413
418
|
|
|
414
419
|
declare function StudioSkeleton(): react.JSX.Element;
|
|
@@ -464,7 +469,7 @@ declare function StudioWindowGate({ lockKey, allowTakeover, labels, children, }:
|
|
|
464
469
|
children: ReactNode;
|
|
465
470
|
}): react.JSX.Element;
|
|
466
471
|
|
|
467
|
-
declare function LivoHostStudio({ token, apiUrl, labels, redeemError, embed, chrome, playerOrigin, theme, }: {
|
|
472
|
+
declare function LivoHostStudio({ token, apiUrl, labels, redeemError, embed, chrome, playerOrigin, theme, appDownloadUrl, }: {
|
|
468
473
|
token: string;
|
|
469
474
|
apiUrl?: string;
|
|
470
475
|
labels: StudioRoomLabels;
|
|
@@ -473,6 +478,7 @@ declare function LivoHostStudio({ token, apiUrl, labels, redeemError, embed, chr
|
|
|
473
478
|
chrome?: ReactNode;
|
|
474
479
|
playerOrigin?: string;
|
|
475
480
|
theme?: string | null;
|
|
481
|
+
appDownloadUrl?: string;
|
|
476
482
|
}): react.JSX.Element;
|
|
477
483
|
|
|
478
484
|
type StudioLobbyLabels = {
|
|
@@ -493,7 +499,7 @@ type StudioLobbyLabels = {
|
|
|
493
499
|
joinBusy: string;
|
|
494
500
|
endedTitle: string;
|
|
495
501
|
};
|
|
496
|
-
declare function LivoGuestStudio({ token, apiUrl, labels, lobbyLabels, embed, playerOrigin, theme, }: {
|
|
502
|
+
declare function LivoGuestStudio({ token, apiUrl, labels, lobbyLabels, embed, playerOrigin, theme, appDownloadUrl, }: {
|
|
497
503
|
token: string;
|
|
498
504
|
apiUrl?: string;
|
|
499
505
|
labels: StudioRoomLabels;
|
|
@@ -501,6 +507,7 @@ declare function LivoGuestStudio({ token, apiUrl, labels, lobbyLabels, embed, pl
|
|
|
501
507
|
embed?: boolean;
|
|
502
508
|
playerOrigin?: string;
|
|
503
509
|
theme?: string | null;
|
|
510
|
+
appDownloadUrl?: string;
|
|
504
511
|
}): react.JSX.Element;
|
|
505
512
|
|
|
506
513
|
declare function useRealtimeKitMeeting(authToken: string | null, generation?: number): {
|
package/dist/studio/index.d.ts
CHANGED
|
@@ -196,6 +196,7 @@ type StudioMeetingHandle = {
|
|
|
196
196
|
moderatorIds: () => string[];
|
|
197
197
|
localAudioTrack: () => MediaStreamTrack | null;
|
|
198
198
|
localVideoTrack: () => MediaStreamTrack | null;
|
|
199
|
+
participantAudioTrack: (participantId: string) => MediaStreamTrack | null;
|
|
199
200
|
participantVideoTrack: (participantId: string) => MediaStreamTrack | null;
|
|
200
201
|
participantScreenTrack: (participantId: string) => MediaStreamTrack | null;
|
|
201
202
|
activeSpeakerId: () => string | null;
|
|
@@ -315,6 +316,9 @@ declare function studioRoomLabels(t: (key: string, values?: Record<string, strin
|
|
|
315
316
|
pipTitle: string;
|
|
316
317
|
pipError: string;
|
|
317
318
|
screenUnsupportedDevice: string;
|
|
319
|
+
screenDownloadAppTitle: string;
|
|
320
|
+
screenDownloadAppAction: string;
|
|
321
|
+
screenDownloadAppDismiss: string;
|
|
318
322
|
screenNotAllowed: string;
|
|
319
323
|
askToShare: string;
|
|
320
324
|
shareRequested: string;
|
|
@@ -392,7 +396,7 @@ type StudioDeviceSelection = {
|
|
|
392
396
|
speaker: string;
|
|
393
397
|
};
|
|
394
398
|
|
|
395
|
-
declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejoin, labels, reducedMotion, embed, chrome, playerOrigin, windowGate, initialCameraOn, initialMuted, initialDevices, }: {
|
|
399
|
+
declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejoin, labels, reducedMotion, embed, chrome, playerOrigin, windowGate, initialCameraOn, initialMuted, initialDevices, appDownloadUrl, }: {
|
|
396
400
|
session: StudioSession;
|
|
397
401
|
meeting: StudioMeetingHandle;
|
|
398
402
|
control: StudioControlActions;
|
|
@@ -409,6 +413,7 @@ declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejo
|
|
|
409
413
|
initialCameraOn?: boolean;
|
|
410
414
|
initialMuted?: boolean;
|
|
411
415
|
initialDevices?: StudioDeviceSelection;
|
|
416
|
+
appDownloadUrl?: string;
|
|
412
417
|
}): react.JSX.Element;
|
|
413
418
|
|
|
414
419
|
declare function StudioSkeleton(): react.JSX.Element;
|
|
@@ -464,7 +469,7 @@ declare function StudioWindowGate({ lockKey, allowTakeover, labels, children, }:
|
|
|
464
469
|
children: ReactNode;
|
|
465
470
|
}): react.JSX.Element;
|
|
466
471
|
|
|
467
|
-
declare function LivoHostStudio({ token, apiUrl, labels, redeemError, embed, chrome, playerOrigin, theme, }: {
|
|
472
|
+
declare function LivoHostStudio({ token, apiUrl, labels, redeemError, embed, chrome, playerOrigin, theme, appDownloadUrl, }: {
|
|
468
473
|
token: string;
|
|
469
474
|
apiUrl?: string;
|
|
470
475
|
labels: StudioRoomLabels;
|
|
@@ -473,6 +478,7 @@ declare function LivoHostStudio({ token, apiUrl, labels, redeemError, embed, chr
|
|
|
473
478
|
chrome?: ReactNode;
|
|
474
479
|
playerOrigin?: string;
|
|
475
480
|
theme?: string | null;
|
|
481
|
+
appDownloadUrl?: string;
|
|
476
482
|
}): react.JSX.Element;
|
|
477
483
|
|
|
478
484
|
type StudioLobbyLabels = {
|
|
@@ -493,7 +499,7 @@ type StudioLobbyLabels = {
|
|
|
493
499
|
joinBusy: string;
|
|
494
500
|
endedTitle: string;
|
|
495
501
|
};
|
|
496
|
-
declare function LivoGuestStudio({ token, apiUrl, labels, lobbyLabels, embed, playerOrigin, theme, }: {
|
|
502
|
+
declare function LivoGuestStudio({ token, apiUrl, labels, lobbyLabels, embed, playerOrigin, theme, appDownloadUrl, }: {
|
|
497
503
|
token: string;
|
|
498
504
|
apiUrl?: string;
|
|
499
505
|
labels: StudioRoomLabels;
|
|
@@ -501,6 +507,7 @@ declare function LivoGuestStudio({ token, apiUrl, labels, lobbyLabels, embed, pl
|
|
|
501
507
|
embed?: boolean;
|
|
502
508
|
playerOrigin?: string;
|
|
503
509
|
theme?: string | null;
|
|
510
|
+
appDownloadUrl?: string;
|
|
504
511
|
}): react.JSX.Element;
|
|
505
512
|
|
|
506
513
|
declare function useRealtimeKitMeeting(authToken: string | null, generation?: number): {
|