@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.
@@ -377,7 +377,13 @@ declare function studioRoomLabels(t: (key: string, values?: Record<string, strin
377
377
  waitingSkeleton: string;
378
378
  };
379
379
 
380
- declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejoin, labels, reducedMotion, embed, chrome, playerOrigin, windowGate, initialCameraOn, initialMuted, }: {
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
- declare function StudioGuestLobby({ reducedMotion, cameraOn, muted, displayName, showName, joining, waitingForHost, error, labels, onCameraChange, onMutedChange, onDisplayNameChange, onJoin, }: {
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
- title: string;
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;
@@ -377,7 +377,13 @@ declare function studioRoomLabels(t: (key: string, values?: Record<string, strin
377
377
  waitingSkeleton: string;
378
378
  };
379
379
 
380
- declare function StudioRoom({ session, meeting, control, onRefreshStatus, onRejoin, labels, reducedMotion, embed, chrome, playerOrigin, windowGate, initialCameraOn, initialMuted, }: {
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
- declare function StudioGuestLobby({ reducedMotion, cameraOn, muted, displayName, showName, joining, waitingForHost, error, labels, onCameraChange, onMutedChange, onDisplayNameChange, onJoin, }: {
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
- title: string;
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;