@whereby.com/core 0.17.0 → 0.19.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.d.cts CHANGED
@@ -1334,6 +1334,7 @@ interface AppState {
1334
1334
  externalId: string | null;
1335
1335
  initialConfig?: AppConfig;
1336
1336
  }
1337
+ declare const initialState: AppState;
1337
1338
  declare const appSlice: _reduxjs_toolkit.Slice<AppState, {
1338
1339
  doAppStart: (state: {
1339
1340
  isNodeSdk: boolean;
@@ -3653,8 +3654,8 @@ declare const selectLocalMediaShouldStartWithOptions: ((state: {
3653
3654
  resultsCount: () => number;
3654
3655
  resetResultsCount: () => void;
3655
3656
  } & {
3656
- resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined, resultFuncArgs_3: boolean) => LocalMediaOptions | undefined;
3657
- memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined, resultFuncArgs_3: boolean) => LocalMediaOptions | undefined) & {
3657
+ resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined) => LocalMediaOptions | undefined;
3658
+ memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined) => LocalMediaOptions | undefined) & {
3658
3659
  clearCache: () => void;
3659
3660
  resultsCount: () => number;
3660
3661
  resetResultsCount: () => void;
@@ -3680,27 +3681,7 @@ declare const selectLocalMediaShouldStartWithOptions: ((state: {
3680
3681
  spotlights: SpotlightsState;
3681
3682
  streaming: StreamingState;
3682
3683
  waitingParticipants: WaitingParticipantsState;
3683
- }) => boolean, (state: RootState) => "error" | "inactive" | "stopped" | "starting" | "started", (state: RootState) => LocalMediaOptions | undefined, (state: {
3684
- app: AppState;
3685
- authorization: AuthorizationState;
3686
- chat: ChatState;
3687
- cloudRecording: CloudRecordingState;
3688
- deviceCredentials: DeviceCredentialsState;
3689
- localMedia: LocalMediaState;
3690
- localParticipant: LocalParticipantState;
3691
- localScreenshare: LocalScreenshareState;
3692
- notifications: NotificationsState;
3693
- organization: OrganizationState;
3694
- remoteParticipants: RemoteParticipantState;
3695
- room: RoomState;
3696
- roomConnection: RoomConnectionState;
3697
- rtcAnalytics: rtcAnalyticsState;
3698
- rtcConnection: RtcConnectionState;
3699
- signalConnection: SignalConnectionState;
3700
- spotlights: SpotlightsState;
3701
- streaming: StreamingState;
3702
- waitingParticipants: WaitingParticipantsState;
3703
- }) => boolean];
3684
+ }) => boolean, (state: RootState) => "error" | "inactive" | "stopped" | "starting" | "started", (state: RootState) => LocalMediaOptions | undefined];
3704
3685
  recomputations: () => number;
3705
3686
  resetRecomputations: () => void;
3706
3687
  dependencyRecomputations: () => number;
@@ -3908,18 +3889,18 @@ declare const selectLocalParticipantView: ((state: {
3908
3889
  spotlights: SpotlightsState;
3909
3890
  streaming: StreamingState;
3910
3891
  waitingParticipants: WaitingParticipantsState;
3911
- }) => ClientView) & {
3892
+ }) => ClientView | null) & {
3912
3893
  clearCache: () => void;
3913
3894
  resultsCount: () => number;
3914
3895
  resetResultsCount: () => void;
3915
3896
  } & {
3916
- resultFunc: (resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView;
3917
- memoizedResultFunc: ((resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView) & {
3897
+ resultFunc: (resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null;
3898
+ memoizedResultFunc: ((resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null) & {
3918
3899
  clearCache: () => void;
3919
3900
  resultsCount: () => number;
3920
3901
  resetResultsCount: () => void;
3921
3902
  };
3922
- lastResult: () => ClientView;
3903
+ lastResult: () => ClientView | null;
3923
3904
  dependencies: [(state: RootState) => LocalParticipantState, (state: {
3924
3905
  app: AppState;
3925
3906
  authorization: AuthorizationState;
@@ -4326,8 +4307,49 @@ declare const participantStreamIdAdded: _reduxjs_toolkit.ActionCreatorWithPayloa
4326
4307
  declare const streamStatusUpdated: _reduxjs_toolkit.ActionCreatorWithPayload<StreamStatusUpdate[], "remoteParticipants/streamStatusUpdated">;
4327
4308
  declare const doRequestAudioEnable: (args: AudioEnableRequest) => AppThunk<void>;
4328
4309
  declare const selectRemoteParticipantsRaw: (state: RootState) => RemoteParticipantState;
4329
- declare const selectRemoteParticipants: (state: RootState) => RemoteParticipant[];
4330
- declare const selectNumParticipants: ((state: {
4310
+ declare const selectRemoteClients: (state: RootState) => RemoteParticipant[];
4311
+ declare const selectRemoteParticipants: ((state: {
4312
+ app: AppState;
4313
+ authorization: AuthorizationState;
4314
+ chat: ChatState;
4315
+ cloudRecording: CloudRecordingState;
4316
+ deviceCredentials: DeviceCredentialsState;
4317
+ localMedia: LocalMediaState;
4318
+ localParticipant: LocalParticipantState;
4319
+ localScreenshare: LocalScreenshareState;
4320
+ notifications: NotificationsState;
4321
+ organization: OrganizationState;
4322
+ remoteParticipants: RemoteParticipantState;
4323
+ room: RoomState;
4324
+ roomConnection: RoomConnectionState;
4325
+ rtcAnalytics: rtcAnalyticsState;
4326
+ rtcConnection: RtcConnectionState;
4327
+ signalConnection: SignalConnectionState;
4328
+ spotlights: SpotlightsState;
4329
+ streaming: StreamingState;
4330
+ waitingParticipants: WaitingParticipantsState;
4331
+ }) => RemoteParticipant[]) & {
4332
+ clearCache: () => void;
4333
+ resultsCount: () => number;
4334
+ resetResultsCount: () => void;
4335
+ } & {
4336
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
4337
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
4338
+ clearCache: () => void;
4339
+ resultsCount: () => number;
4340
+ resetResultsCount: () => void;
4341
+ };
4342
+ lastResult: () => RemoteParticipant[];
4343
+ dependencies: [(state: RootState) => RemoteParticipant[]];
4344
+ recomputations: () => number;
4345
+ resetRecomputations: () => void;
4346
+ dependencyRecomputations: () => number;
4347
+ resetDependencyRecomputations: () => void;
4348
+ } & {
4349
+ argsMemoize: typeof reselect.weakMapMemoize;
4350
+ memoize: typeof reselect.weakMapMemoize;
4351
+ };
4352
+ declare const selectNumClients: ((state: {
4331
4353
  app: AppState;
4332
4354
  authorization: AuthorizationState;
4333
4355
  chat: ChatState;
@@ -4368,6 +4390,107 @@ declare const selectNumParticipants: ((state: {
4368
4390
  argsMemoize: typeof reselect.weakMapMemoize;
4369
4391
  memoize: typeof reselect.weakMapMemoize;
4370
4392
  };
4393
+ declare const selectNumParticipants: ((state: {
4394
+ app: AppState;
4395
+ authorization: AuthorizationState;
4396
+ chat: ChatState;
4397
+ cloudRecording: CloudRecordingState;
4398
+ deviceCredentials: DeviceCredentialsState;
4399
+ localMedia: LocalMediaState;
4400
+ localParticipant: LocalParticipantState;
4401
+ localScreenshare: LocalScreenshareState;
4402
+ notifications: NotificationsState;
4403
+ organization: OrganizationState;
4404
+ remoteParticipants: RemoteParticipantState;
4405
+ room: RoomState;
4406
+ roomConnection: RoomConnectionState;
4407
+ rtcAnalytics: rtcAnalyticsState;
4408
+ rtcConnection: RtcConnectionState;
4409
+ signalConnection: SignalConnectionState;
4410
+ spotlights: SpotlightsState;
4411
+ streaming: StreamingState;
4412
+ waitingParticipants: WaitingParticipantsState;
4413
+ }) => number) & {
4414
+ clearCache: () => void;
4415
+ resultsCount: () => number;
4416
+ resetResultsCount: () => void;
4417
+ } & {
4418
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[], resultFuncArgs_1: LocalParticipantState) => number;
4419
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[], resultFuncArgs_1: LocalParticipantState) => number) & {
4420
+ clearCache: () => void;
4421
+ resultsCount: () => number;
4422
+ resetResultsCount: () => void;
4423
+ };
4424
+ lastResult: () => number;
4425
+ dependencies: [((state: {
4426
+ app: AppState;
4427
+ authorization: AuthorizationState;
4428
+ chat: ChatState;
4429
+ cloudRecording: CloudRecordingState;
4430
+ deviceCredentials: DeviceCredentialsState;
4431
+ localMedia: LocalMediaState;
4432
+ localParticipant: LocalParticipantState;
4433
+ localScreenshare: LocalScreenshareState;
4434
+ notifications: NotificationsState;
4435
+ organization: OrganizationState;
4436
+ remoteParticipants: RemoteParticipantState;
4437
+ room: RoomState;
4438
+ roomConnection: RoomConnectionState;
4439
+ rtcAnalytics: rtcAnalyticsState;
4440
+ rtcConnection: RtcConnectionState;
4441
+ signalConnection: SignalConnectionState;
4442
+ spotlights: SpotlightsState;
4443
+ streaming: StreamingState;
4444
+ waitingParticipants: WaitingParticipantsState;
4445
+ }) => RemoteParticipant[]) & {
4446
+ clearCache: () => void;
4447
+ resultsCount: () => number;
4448
+ resetResultsCount: () => void;
4449
+ } & {
4450
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
4451
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
4452
+ clearCache: () => void;
4453
+ resultsCount: () => number;
4454
+ resetResultsCount: () => void;
4455
+ };
4456
+ lastResult: () => RemoteParticipant[];
4457
+ dependencies: [(state: RootState) => RemoteParticipant[]];
4458
+ recomputations: () => number;
4459
+ resetRecomputations: () => void;
4460
+ dependencyRecomputations: () => number;
4461
+ resetDependencyRecomputations: () => void;
4462
+ } & {
4463
+ argsMemoize: typeof reselect.weakMapMemoize;
4464
+ memoize: typeof reselect.weakMapMemoize;
4465
+ }, (state: {
4466
+ app: AppState;
4467
+ authorization: AuthorizationState;
4468
+ chat: ChatState;
4469
+ cloudRecording: CloudRecordingState;
4470
+ deviceCredentials: DeviceCredentialsState;
4471
+ localMedia: LocalMediaState;
4472
+ localParticipant: LocalParticipantState;
4473
+ localScreenshare: LocalScreenshareState;
4474
+ notifications: NotificationsState;
4475
+ organization: OrganizationState;
4476
+ remoteParticipants: RemoteParticipantState;
4477
+ room: RoomState;
4478
+ roomConnection: RoomConnectionState;
4479
+ rtcAnalytics: rtcAnalyticsState;
4480
+ rtcConnection: RtcConnectionState;
4481
+ signalConnection: SignalConnectionState;
4482
+ spotlights: SpotlightsState;
4483
+ streaming: StreamingState;
4484
+ waitingParticipants: WaitingParticipantsState;
4485
+ }) => LocalParticipantState];
4486
+ recomputations: () => number;
4487
+ resetRecomputations: () => void;
4488
+ dependencyRecomputations: () => number;
4489
+ resetDependencyRecomputations: () => void;
4490
+ } & {
4491
+ argsMemoize: typeof reselect.weakMapMemoize;
4492
+ memoize: typeof reselect.weakMapMemoize;
4493
+ };
4371
4494
 
4372
4495
  interface RoomState {
4373
4496
  isLocked: boolean;
@@ -4435,7 +4558,7 @@ declare const selectScreenshares: ((state: {
4435
4558
  spotlights: SpotlightsState;
4436
4559
  streaming: StreamingState;
4437
4560
  waitingParticipants: WaitingParticipantsState;
4438
- }) => MediaStream | null, (state: {
4561
+ }) => MediaStream | null, ((state: {
4439
4562
  app: AppState;
4440
4563
  authorization: AuthorizationState;
4441
4564
  chat: ChatState;
@@ -4455,7 +4578,47 @@ declare const selectScreenshares: ((state: {
4455
4578
  spotlights: SpotlightsState;
4456
4579
  streaming: StreamingState;
4457
4580
  waitingParticipants: WaitingParticipantsState;
4458
- }) => RemoteParticipant[]];
4581
+ }) => RemoteParticipant[]) & {
4582
+ clearCache: () => void;
4583
+ resultsCount: () => number;
4584
+ resetResultsCount: () => void;
4585
+ } & {
4586
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
4587
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
4588
+ clearCache: () => void;
4589
+ resultsCount: () => number;
4590
+ resetResultsCount: () => void;
4591
+ };
4592
+ lastResult: () => RemoteParticipant[];
4593
+ dependencies: [(state: {
4594
+ app: AppState;
4595
+ authorization: AuthorizationState;
4596
+ chat: ChatState;
4597
+ cloudRecording: CloudRecordingState;
4598
+ deviceCredentials: DeviceCredentialsState;
4599
+ localMedia: LocalMediaState;
4600
+ localParticipant: LocalParticipantState;
4601
+ localScreenshare: LocalScreenshareState;
4602
+ notifications: NotificationsState;
4603
+ organization: OrganizationState;
4604
+ remoteParticipants: RemoteParticipantState;
4605
+ room: RoomState;
4606
+ roomConnection: RoomConnectionState;
4607
+ rtcAnalytics: rtcAnalyticsState;
4608
+ rtcConnection: RtcConnectionState;
4609
+ signalConnection: SignalConnectionState;
4610
+ spotlights: SpotlightsState;
4611
+ streaming: StreamingState;
4612
+ waitingParticipants: WaitingParticipantsState;
4613
+ }) => RemoteParticipant[]];
4614
+ recomputations: () => number;
4615
+ resetRecomputations: () => void;
4616
+ dependencyRecomputations: () => number;
4617
+ resetDependencyRecomputations: () => void;
4618
+ } & {
4619
+ argsMemoize: typeof reselect.weakMapMemoize;
4620
+ memoize: typeof reselect.weakMapMemoize;
4621
+ }];
4459
4622
  recomputations: () => number;
4460
4623
  resetRecomputations: () => void;
4461
4624
  dependencyRecomputations: () => number;
@@ -4536,7 +4699,7 @@ declare const selectRemoteClientViews: ((state: {
4536
4699
  spotlights: SpotlightsState;
4537
4700
  streaming: StreamingState;
4538
4701
  waitingParticipants: WaitingParticipantsState;
4539
- }) => LocalParticipantState, (state: {
4702
+ }) => LocalParticipantState, ((state: {
4540
4703
  app: AppState;
4541
4704
  authorization: AuthorizationState;
4542
4705
  chat: ChatState;
@@ -4556,7 +4719,47 @@ declare const selectRemoteClientViews: ((state: {
4556
4719
  spotlights: SpotlightsState;
4557
4720
  streaming: StreamingState;
4558
4721
  waitingParticipants: WaitingParticipantsState;
4559
- }) => RemoteParticipant[]];
4722
+ }) => RemoteParticipant[]) & {
4723
+ clearCache: () => void;
4724
+ resultsCount: () => number;
4725
+ resetResultsCount: () => void;
4726
+ } & {
4727
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
4728
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
4729
+ clearCache: () => void;
4730
+ resultsCount: () => number;
4731
+ resetResultsCount: () => void;
4732
+ };
4733
+ lastResult: () => RemoteParticipant[];
4734
+ dependencies: [(state: {
4735
+ app: AppState;
4736
+ authorization: AuthorizationState;
4737
+ chat: ChatState;
4738
+ cloudRecording: CloudRecordingState;
4739
+ deviceCredentials: DeviceCredentialsState;
4740
+ localMedia: LocalMediaState;
4741
+ localParticipant: LocalParticipantState;
4742
+ localScreenshare: LocalScreenshareState;
4743
+ notifications: NotificationsState;
4744
+ organization: OrganizationState;
4745
+ remoteParticipants: RemoteParticipantState;
4746
+ room: RoomState;
4747
+ roomConnection: RoomConnectionState;
4748
+ rtcAnalytics: rtcAnalyticsState;
4749
+ rtcConnection: RtcConnectionState;
4750
+ signalConnection: SignalConnectionState;
4751
+ spotlights: SpotlightsState;
4752
+ streaming: StreamingState;
4753
+ waitingParticipants: WaitingParticipantsState;
4754
+ }) => RemoteParticipant[]];
4755
+ recomputations: () => number;
4756
+ resetRecomputations: () => void;
4757
+ dependencyRecomputations: () => number;
4758
+ resetDependencyRecomputations: () => void;
4759
+ } & {
4760
+ argsMemoize: typeof reselect.weakMapMemoize;
4761
+ memoize: typeof reselect.weakMapMemoize;
4762
+ }];
4560
4763
  recomputations: () => number;
4561
4764
  resetRecomputations: () => void;
4562
4765
  dependencyRecomputations: () => number;
@@ -4590,8 +4793,8 @@ declare const selectAllClientViews: ((state: {
4590
4793
  resultsCount: () => number;
4591
4794
  resetResultsCount: () => void;
4592
4795
  } & {
4593
- resultFunc: (resultFuncArgs_0: ClientView, resultFuncArgs_1: ClientView[]) => ClientView[];
4594
- memoizedResultFunc: ((resultFuncArgs_0: ClientView, resultFuncArgs_1: ClientView[]) => ClientView[]) & {
4796
+ resultFunc: (resultFuncArgs_0: ClientView | null, resultFuncArgs_1: ClientView[]) => ClientView[];
4797
+ memoizedResultFunc: ((resultFuncArgs_0: ClientView | null, resultFuncArgs_1: ClientView[]) => ClientView[]) & {
4595
4798
  clearCache: () => void;
4596
4799
  resultsCount: () => number;
4597
4800
  resetResultsCount: () => void;
@@ -4617,18 +4820,18 @@ declare const selectAllClientViews: ((state: {
4617
4820
  spotlights: SpotlightsState;
4618
4821
  streaming: StreamingState;
4619
4822
  waitingParticipants: WaitingParticipantsState;
4620
- }) => ClientView) & {
4823
+ }) => ClientView | null) & {
4621
4824
  clearCache: () => void;
4622
4825
  resultsCount: () => number;
4623
4826
  resetResultsCount: () => void;
4624
4827
  } & {
4625
- resultFunc: (resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView;
4626
- memoizedResultFunc: ((resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView) & {
4828
+ resultFunc: (resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null;
4829
+ memoizedResultFunc: ((resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null) & {
4627
4830
  clearCache: () => void;
4628
4831
  resultsCount: () => number;
4629
4832
  resetResultsCount: () => void;
4630
4833
  };
4631
- lastResult: () => ClientView;
4834
+ lastResult: () => ClientView | null;
4632
4835
  dependencies: [(state: {
4633
4836
  app: AppState;
4634
4837
  authorization: AuthorizationState;
@@ -4749,7 +4952,7 @@ declare const selectAllClientViews: ((state: {
4749
4952
  spotlights: SpotlightsState;
4750
4953
  streaming: StreamingState;
4751
4954
  waitingParticipants: WaitingParticipantsState;
4752
- }) => LocalParticipantState, (state: {
4955
+ }) => LocalParticipantState, ((state: {
4753
4956
  app: AppState;
4754
4957
  authorization: AuthorizationState;
4755
4958
  chat: ChatState;
@@ -4769,7 +4972,47 @@ declare const selectAllClientViews: ((state: {
4769
4972
  spotlights: SpotlightsState;
4770
4973
  streaming: StreamingState;
4771
4974
  waitingParticipants: WaitingParticipantsState;
4772
- }) => RemoteParticipant[]];
4975
+ }) => RemoteParticipant[]) & {
4976
+ clearCache: () => void;
4977
+ resultsCount: () => number;
4978
+ resetResultsCount: () => void;
4979
+ } & {
4980
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
4981
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
4982
+ clearCache: () => void;
4983
+ resultsCount: () => number;
4984
+ resetResultsCount: () => void;
4985
+ };
4986
+ lastResult: () => RemoteParticipant[];
4987
+ dependencies: [(state: {
4988
+ app: AppState;
4989
+ authorization: AuthorizationState;
4990
+ chat: ChatState;
4991
+ cloudRecording: CloudRecordingState;
4992
+ deviceCredentials: DeviceCredentialsState;
4993
+ localMedia: LocalMediaState;
4994
+ localParticipant: LocalParticipantState;
4995
+ localScreenshare: LocalScreenshareState;
4996
+ notifications: NotificationsState;
4997
+ organization: OrganizationState;
4998
+ remoteParticipants: RemoteParticipantState;
4999
+ room: RoomState;
5000
+ roomConnection: RoomConnectionState;
5001
+ rtcAnalytics: rtcAnalyticsState;
5002
+ rtcConnection: RtcConnectionState;
5003
+ signalConnection: SignalConnectionState;
5004
+ spotlights: SpotlightsState;
5005
+ streaming: StreamingState;
5006
+ waitingParticipants: WaitingParticipantsState;
5007
+ }) => RemoteParticipant[]];
5008
+ recomputations: () => number;
5009
+ resetRecomputations: () => void;
5010
+ dependencyRecomputations: () => number;
5011
+ resetDependencyRecomputations: () => void;
5012
+ } & {
5013
+ argsMemoize: typeof reselect.weakMapMemoize;
5014
+ memoize: typeof reselect.weakMapMemoize;
5015
+ }];
4773
5016
  recomputations: () => number;
4774
5017
  resetRecomputations: () => void;
4775
5018
  dependencyRecomputations: () => number;
@@ -4848,8 +5091,8 @@ declare const selectShouldConnectRoom: ((state: {
4848
5091
  resultsCount: () => number;
4849
5092
  resetResultsCount: () => void;
4850
5093
  } & {
4851
- resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: string | undefined, resultFuncArgs_2: ConnectionStatus, resultFuncArgs_3: boolean, resultFuncArgs_4: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_5: boolean) => boolean;
4852
- memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: string | undefined, resultFuncArgs_2: ConnectionStatus, resultFuncArgs_3: boolean, resultFuncArgs_4: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_5: boolean) => boolean) & {
5094
+ resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: string | undefined, resultFuncArgs_2: ConnectionStatus, resultFuncArgs_3: boolean, resultFuncArgs_4: "error" | "inactive" | "stopped" | "starting" | "started") => boolean;
5095
+ memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: string | undefined, resultFuncArgs_2: ConnectionStatus, resultFuncArgs_3: boolean, resultFuncArgs_4: "error" | "inactive" | "stopped" | "starting" | "started") => boolean) & {
4853
5096
  clearCache: () => void;
4854
5097
  resultsCount: () => number;
4855
5098
  resetResultsCount: () => void;
@@ -4935,27 +5178,7 @@ declare const selectShouldConnectRoom: ((state: {
4935
5178
  spotlights: SpotlightsState;
4936
5179
  streaming: StreamingState;
4937
5180
  waitingParticipants: WaitingParticipantsState;
4938
- }) => "error" | "inactive" | "stopped" | "starting" | "started", (state: {
4939
- app: AppState;
4940
- authorization: AuthorizationState;
4941
- chat: ChatState;
4942
- cloudRecording: CloudRecordingState;
4943
- deviceCredentials: DeviceCredentialsState;
4944
- localMedia: LocalMediaState;
4945
- localParticipant: LocalParticipantState;
4946
- localScreenshare: LocalScreenshareState;
4947
- notifications: NotificationsState;
4948
- organization: OrganizationState;
4949
- remoteParticipants: RemoteParticipantState;
4950
- room: RoomState;
4951
- roomConnection: RoomConnectionState;
4952
- rtcAnalytics: rtcAnalyticsState;
4953
- rtcConnection: RtcConnectionState;
4954
- signalConnection: SignalConnectionState;
4955
- spotlights: SpotlightsState;
4956
- streaming: StreamingState;
4957
- waitingParticipants: WaitingParticipantsState;
4958
- }) => boolean];
5181
+ }) => "error" | "inactive" | "stopped" | "starting" | "started"];
4959
5182
  recomputations: () => number;
4960
5183
  resetRecomputations: () => void;
4961
5184
  dependencyRecomputations: () => number;
@@ -7564,8 +7787,8 @@ declare const selectSpotlightedClientViews: ((state: {
7564
7787
  resultsCount: () => number;
7565
7788
  resetResultsCount: () => void;
7566
7789
  } & {
7567
- resultFunc: (resultFuncArgs_0: ClientView, resultFuncArgs_1: ClientView[]) => ClientView[];
7568
- memoizedResultFunc: ((resultFuncArgs_0: ClientView, resultFuncArgs_1: ClientView[]) => ClientView[]) & {
7790
+ resultFunc: (resultFuncArgs_0: ClientView | null, resultFuncArgs_1: ClientView[]) => ClientView[];
7791
+ memoizedResultFunc: ((resultFuncArgs_0: ClientView | null, resultFuncArgs_1: ClientView[]) => ClientView[]) & {
7569
7792
  clearCache: () => void;
7570
7793
  resultsCount: () => number;
7571
7794
  resetResultsCount: () => void;
@@ -7591,18 +7814,18 @@ declare const selectSpotlightedClientViews: ((state: {
7591
7814
  spotlights: SpotlightsState;
7592
7815
  streaming: StreamingState;
7593
7816
  waitingParticipants: WaitingParticipantsState;
7594
- }) => ClientView) & {
7817
+ }) => ClientView | null) & {
7595
7818
  clearCache: () => void;
7596
7819
  resultsCount: () => number;
7597
7820
  resetResultsCount: () => void;
7598
7821
  } & {
7599
- resultFunc: (resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView;
7600
- memoizedResultFunc: ((resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView) & {
7822
+ resultFunc: (resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null;
7823
+ memoizedResultFunc: ((resultFuncArgs_0: LocalParticipantState, resultFuncArgs_1: MediaStream | undefined) => ClientView | null) & {
7601
7824
  clearCache: () => void;
7602
7825
  resultsCount: () => number;
7603
7826
  resetResultsCount: () => void;
7604
7827
  };
7605
- lastResult: () => ClientView;
7828
+ lastResult: () => ClientView | null;
7606
7829
  dependencies: [(state: {
7607
7830
  app: AppState;
7608
7831
  authorization: AuthorizationState;
@@ -7723,7 +7946,7 @@ declare const selectSpotlightedClientViews: ((state: {
7723
7946
  spotlights: SpotlightsState;
7724
7947
  streaming: StreamingState;
7725
7948
  waitingParticipants: WaitingParticipantsState;
7726
- }) => LocalParticipantState, (state: {
7949
+ }) => LocalParticipantState, ((state: {
7727
7950
  app: AppState;
7728
7951
  authorization: AuthorizationState;
7729
7952
  chat: ChatState;
@@ -7743,7 +7966,47 @@ declare const selectSpotlightedClientViews: ((state: {
7743
7966
  spotlights: SpotlightsState;
7744
7967
  streaming: StreamingState;
7745
7968
  waitingParticipants: WaitingParticipantsState;
7746
- }) => RemoteParticipant[]];
7969
+ }) => RemoteParticipant[]) & {
7970
+ clearCache: () => void;
7971
+ resultsCount: () => number;
7972
+ resetResultsCount: () => void;
7973
+ } & {
7974
+ resultFunc: (resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[];
7975
+ memoizedResultFunc: ((resultFuncArgs_0: RemoteParticipant[]) => RemoteParticipant[]) & {
7976
+ clearCache: () => void;
7977
+ resultsCount: () => number;
7978
+ resetResultsCount: () => void;
7979
+ };
7980
+ lastResult: () => RemoteParticipant[];
7981
+ dependencies: [(state: {
7982
+ app: AppState;
7983
+ authorization: AuthorizationState;
7984
+ chat: ChatState;
7985
+ cloudRecording: CloudRecordingState;
7986
+ deviceCredentials: DeviceCredentialsState;
7987
+ localMedia: LocalMediaState;
7988
+ localParticipant: LocalParticipantState;
7989
+ localScreenshare: LocalScreenshareState;
7990
+ notifications: NotificationsState;
7991
+ organization: OrganizationState;
7992
+ remoteParticipants: RemoteParticipantState;
7993
+ room: RoomState;
7994
+ roomConnection: RoomConnectionState;
7995
+ rtcAnalytics: rtcAnalyticsState;
7996
+ rtcConnection: RtcConnectionState;
7997
+ signalConnection: SignalConnectionState;
7998
+ spotlights: SpotlightsState;
7999
+ streaming: StreamingState;
8000
+ waitingParticipants: WaitingParticipantsState;
8001
+ }) => RemoteParticipant[]];
8002
+ recomputations: () => number;
8003
+ resetRecomputations: () => void;
8004
+ dependencyRecomputations: () => number;
8005
+ resetDependencyRecomputations: () => void;
8006
+ } & {
8007
+ argsMemoize: typeof reselect.weakMapMemoize;
8008
+ memoize: typeof reselect.weakMapMemoize;
8009
+ }];
7747
8010
  recomputations: () => number;
7748
8011
  resetRecomputations: () => void;
7749
8012
  dependencyRecomputations: () => number;
@@ -8010,4 +8273,4 @@ declare function parseRoomUrlAndSubdomain(roomAttribute?: string, subdomainAttri
8010
8273
 
8011
8274
  declare function parseUnverifiedRoomKeyData(roomKey: string): any;
8012
8275
 
8013
- export { ApiClient, type AppConfig, type AppDispatch, type AppReducer, type AppStartListening, type AppState, type AppThunk, type AuthorizationState, type ChatMessage, type ChatMessageEvent, type ChatMessageEventProps, type ChatState, type ClientView, type CloudRecordingState, type ConnectionStatus, Credentials, CredentialsService, type DeviceCredentialsState, type FullOrganizationPermissions, type LocalMediaOptions, type LocalMediaState, LocalParticipant, type LocalParticipantState, type LocalScreenshareState, type Notification, type NotificationEvent, type NotificationEventMap, type NotificationEvents, type NotificationsEventEmitter, type NotificationsState, OrganizationApiClient, type OrganizationLimits, type OrganizationOnboardingSurvey, type OrganizationPermissionAction, type OrganizationPermissions, type OrganizationPreferences, OrganizationService, OrganizationServiceCache, type OrganizationState, type RemoteParticipant, type RemoteParticipantData, type RemoteParticipantState, type RequestAudioEvent, type RequestAudioEventProps, type RoomConnectionState, RoomService, type RoomState, type RootState, type RtcConnectionState, type Screenshare, type SignalConnectionState, type SignalStatusEvent, type SignalStatusEventProps, type SpotlightsState, type StickyReaction, type StickyReactionEvent, type StickyReactionEventProps, type Store, type StreamState, type StreamingState, type ThunkConfig, type WaitingParticipant, type WaitingParticipantsState, addAppListener, addSpotlight, appSlice, authorizationSlice, chatSlice, cloudRecordingSlice, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createReactor, createServices, createStore, createWebRtcEmitter, debounce, deviceBusy, deviceCredentialsSlice, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doEndMeeting, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKickParticipant, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveSpotlight, doRequestAudioEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartCloudRecording, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doToggleLowDataMode, doUpdateDeviceList, getAudioTrack, getFakeMediaStream, getVideoTrack, hasValue, initialCloudRecordingState, initialLocalMediaState, initialNotificationsState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localScreenshareSlice, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, parseRoomUrlAndSubdomain, parseUnverifiedRoomKeyData, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, removeSpotlight, resolutionReported, roomConnectionSlice, roomSlice, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, type rtcAnalyticsState, rtcConnectionSlice, rtcDisconnected, rtcDispatcherCreated, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAppDisplayName, selectAppExternalId, selectAppInitialConfig, selectAppIsActive, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAuthorizationRoleName, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumParticipants, selectOrganizationId, selectOrganizationRaw, selectRemoteClientViews, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, toggleCameraEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice };
8276
+ export { ApiClient, type AppConfig, type AppDispatch, type AppReducer, type AppStartListening, type AppState, type AppThunk, type AuthorizationState, type ChatMessage, type ChatMessageEvent, type ChatMessageEventProps, type ChatState, type ClientView, type CloudRecordingState, type ConnectionStatus, Credentials, CredentialsService, type DeviceCredentialsState, type FullOrganizationPermissions, type LocalMediaOptions, type LocalMediaState, LocalParticipant, type LocalParticipantState, type LocalScreenshareState, type Notification, type NotificationEvent, type NotificationEventMap, type NotificationEvents, type NotificationsEventEmitter, type NotificationsState, OrganizationApiClient, type OrganizationLimits, type OrganizationOnboardingSurvey, type OrganizationPermissionAction, type OrganizationPermissions, type OrganizationPreferences, OrganizationService, OrganizationServiceCache, type OrganizationState, type RemoteParticipant, type RemoteParticipantData, type RemoteParticipantState, type RequestAudioEvent, type RequestAudioEventProps, type RoomConnectionState, RoomService, type RoomState, type RootState, type RtcConnectionState, type Screenshare, type SignalConnectionState, type SignalStatusEvent, type SignalStatusEventProps, type SpotlightsState, type StickyReaction, type StickyReactionEvent, type StickyReactionEventProps, type Store, type StreamState, type StreamingState, type ThunkConfig, type WaitingParticipant, type WaitingParticipantsState, addAppListener, addSpotlight, appSlice, authorizationSlice, chatSlice, cloudRecordingSlice, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createReactor, createServices, createStore, createWebRtcEmitter, debounce, deviceBusy, deviceCredentialsSlice, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doEndMeeting, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKickParticipant, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveSpotlight, doRequestAudioEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSetDevice, doSetDisplayName, doSetLocalStickyReaction, doSetNotification, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartCloudRecording, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doToggleLowDataMode, doUpdateDeviceList, getAudioTrack, getFakeMediaStream, getVideoTrack, hasValue, initialCloudRecordingState, initialLocalMediaState, initialNotificationsState, initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localScreenshareSlice, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, parseRoomUrlAndSubdomain, parseUnverifiedRoomKeyData, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, removeSpotlight, resolutionReported, roomConnectionSlice, roomSlice, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, type rtcAnalyticsState, rtcConnectionSlice, rtcDisconnected, rtcDispatcherCreated, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAppDisplayName, selectAppExternalId, selectAppInitialConfig, selectAppIsActive, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAuthorizationRoleName, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationRaw, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRoomConnectionError, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIsLocked, selectRoomKey, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectScreenshares, selectSelfId, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, toggleCameraEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice };