@whereby.com/core 0.13.0 → 0.14.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
@@ -304,17 +304,19 @@ declare const doLockRoom: (args: {
304
304
  declare const doKickParticipant: (args: {
305
305
  clientId: string;
306
306
  }) => AppThunk<void>;
307
- declare const doEndMeeting: (args: void) => AppThunk<void>;
307
+ declare const doEndMeeting: (args: {
308
+ stayBehind?: boolean | undefined;
309
+ }) => AppThunk<void>;
308
310
  declare const selectRoomIsLocked: (state: RootState) => boolean;
309
311
 
310
312
  interface LocalScreenshareState {
311
- status: "" | "starting" | "active";
313
+ status: "inactive" | "starting" | "active";
312
314
  stream: MediaStream | null;
313
315
  error: unknown | null;
314
316
  }
315
317
  declare const localScreenshareSlice: _reduxjs_toolkit.Slice<LocalScreenshareState, {
316
318
  stopScreenshare(state: {
317
- status: "" | "starting" | "active";
319
+ status: "inactive" | "starting" | "active";
318
320
  stream: {
319
321
  active: boolean;
320
322
  id: string;
@@ -341,7 +343,7 @@ declare const localScreenshareSlice: _reduxjs_toolkit.Slice<LocalScreenshareStat
341
343
  }, action: PayloadAction<{
342
344
  stream: MediaStream;
343
345
  }>): {
344
- status: "";
346
+ status: "inactive";
345
347
  stream: null;
346
348
  error: unknown | null;
347
349
  };
@@ -354,7 +356,7 @@ declare const doStartScreenshare: _reduxjs_toolkit.AsyncThunk<{
354
356
  }, undefined, ThunkConfig>;
355
357
  declare const doStopScreenshare: (args: void) => AppThunk<void>;
356
358
  declare const selectLocalScreenshareRaw: (state: RootState) => LocalScreenshareState;
357
- declare const selectLocalScreenshareStatus: (state: RootState) => "" | "starting" | "active";
359
+ declare const selectLocalScreenshareStatus: (state: RootState) => "inactive" | "starting" | "active";
358
360
  declare const selectLocalScreenshareStream: (state: RootState) => MediaStream | null;
359
361
 
360
362
  interface LocalParticipantState extends LocalParticipant {
@@ -461,35 +463,60 @@ declare const doSendChatMessage: (args: {
461
463
  declare const selectChatRaw: (state: RootState) => ChatState;
462
464
  declare const selectChatMessages: (state: RootState) => ChatMessage[];
463
465
 
466
+ interface AppConfig {
467
+ isNodeSdk?: boolean;
468
+ displayName: string;
469
+ localMediaOptions?: LocalMediaOptions;
470
+ roomKey: string | null;
471
+ roomUrl: string;
472
+ userAgent?: string;
473
+ externalId: string | null;
474
+ }
464
475
  interface AppState {
465
476
  isNodeSdk: boolean;
466
- wantsToJoin: boolean;
477
+ isActive: boolean;
467
478
  roomUrl: string | null;
468
479
  roomName: string | null;
469
480
  displayName: string | null;
470
481
  userAgent: string | null;
471
482
  externalId: string | null;
483
+ initialConfig?: AppConfig;
484
+ isLoaded: boolean;
472
485
  }
473
486
  declare const appSlice: _reduxjs_toolkit.Slice<AppState, {
474
- doAppJoin: (state: {
487
+ doAppConfigure: (state: {
475
488
  isNodeSdk: boolean;
476
- wantsToJoin: boolean;
489
+ isActive: boolean;
477
490
  roomUrl: string | null;
478
491
  roomName: string | null;
479
492
  displayName: string | null;
480
493
  userAgent: string | null;
481
494
  externalId: string | null;
482
- }, action: PayloadAction<{
483
- isNodeSdk?: boolean;
484
- displayName: string;
485
- localMediaOptions?: LocalMediaOptions;
486
- roomKey: string | null;
487
- roomUrl: string;
488
- userAgent?: string;
489
- externalId: string | null;
490
- }>) => {
495
+ initialConfig?: {
496
+ isNodeSdk?: boolean | undefined;
497
+ displayName: string;
498
+ localMediaOptions?: {
499
+ audio: boolean;
500
+ video: boolean;
501
+ } | undefined;
502
+ roomKey: string | null;
503
+ roomUrl: string;
504
+ userAgent?: string | undefined;
505
+ externalId: string | null;
506
+ } | undefined;
507
+ isLoaded: boolean;
508
+ }, action: PayloadAction<AppConfig>) => {
491
509
  roomName: string;
492
- wantsToJoin: true;
510
+ initialConfig: {
511
+ isNodeSdk?: boolean | undefined;
512
+ displayName: string;
513
+ localMediaOptions?: LocalMediaOptions | undefined;
514
+ roomKey: string | null;
515
+ roomUrl: string;
516
+ userAgent?: string | undefined;
517
+ externalId: string | null;
518
+ };
519
+ isLoaded: true;
493
520
  isNodeSdk: boolean;
494
521
  displayName: string;
495
522
  localMediaOptions?: LocalMediaOptions | undefined;
@@ -497,43 +524,191 @@ declare const appSlice: _reduxjs_toolkit.Slice<AppState, {
497
524
  roomUrl: string;
498
525
  userAgent: string | null;
499
526
  externalId: string | null;
527
+ isActive: boolean;
500
528
  };
501
- appLeft: (state: {
529
+ doAppStart: (state: {
530
+ isNodeSdk: boolean;
531
+ isActive: boolean;
532
+ roomUrl: string | null;
533
+ roomName: string | null;
534
+ displayName: string | null;
535
+ userAgent: string | null;
536
+ externalId: string | null;
537
+ initialConfig?: {
538
+ isNodeSdk?: boolean | undefined;
539
+ displayName: string;
540
+ localMediaOptions?: {
541
+ audio: boolean;
542
+ video: boolean;
543
+ } | undefined;
544
+ roomKey: string | null;
545
+ roomUrl: string;
546
+ userAgent?: string | undefined;
547
+ externalId: string | null;
548
+ } | undefined;
549
+ isLoaded: boolean;
550
+ }) => {
551
+ isActive: true;
502
552
  isNodeSdk: boolean;
503
- wantsToJoin: boolean;
504
553
  roomUrl: string | null;
505
554
  roomName: string | null;
506
555
  displayName: string | null;
507
556
  userAgent: string | null;
508
557
  externalId: string | null;
558
+ initialConfig?: {
559
+ isNodeSdk?: boolean | undefined;
560
+ displayName: string;
561
+ localMediaOptions?: {
562
+ audio: boolean;
563
+ video: boolean;
564
+ } | undefined;
565
+ roomKey: string | null;
566
+ roomUrl: string;
567
+ userAgent?: string | undefined;
568
+ externalId: string | null;
569
+ } | undefined;
570
+ isLoaded: boolean;
571
+ };
572
+ doAppStop: (state: {
573
+ isNodeSdk: boolean;
574
+ isActive: boolean;
575
+ roomUrl: string | null;
576
+ roomName: string | null;
577
+ displayName: string | null;
578
+ userAgent: string | null;
579
+ externalId: string | null;
580
+ initialConfig?: {
581
+ isNodeSdk?: boolean | undefined;
582
+ displayName: string;
583
+ localMediaOptions?: {
584
+ audio: boolean;
585
+ video: boolean;
586
+ } | undefined;
587
+ roomKey: string | null;
588
+ roomUrl: string;
589
+ userAgent?: string | undefined;
590
+ externalId: string | null;
591
+ } | undefined;
592
+ isLoaded: boolean;
593
+ }) => {
594
+ isActive: false;
595
+ isNodeSdk: boolean;
596
+ roomUrl: string | null;
597
+ roomName: string | null;
598
+ displayName: string | null;
599
+ userAgent: string | null;
600
+ externalId: string | null;
601
+ initialConfig?: {
602
+ isNodeSdk?: boolean | undefined;
603
+ displayName: string;
604
+ localMediaOptions?: {
605
+ audio: boolean;
606
+ video: boolean;
607
+ } | undefined;
608
+ roomKey: string | null;
609
+ roomUrl: string;
610
+ userAgent?: string | undefined;
611
+ externalId: string | null;
612
+ } | undefined;
613
+ isLoaded: boolean;
614
+ };
615
+ doAppReset: (state: {
616
+ isNodeSdk: boolean;
617
+ isActive: boolean;
618
+ roomUrl: string | null;
619
+ roomName: string | null;
620
+ displayName: string | null;
621
+ userAgent: string | null;
622
+ externalId: string | null;
623
+ initialConfig?: {
624
+ isNodeSdk?: boolean | undefined;
625
+ displayName: string;
626
+ localMediaOptions?: {
627
+ audio: boolean;
628
+ video: boolean;
629
+ } | undefined;
630
+ roomKey: string | null;
631
+ roomUrl: string;
632
+ userAgent?: string | undefined;
633
+ externalId: string | null;
634
+ } | undefined;
635
+ isLoaded: boolean;
509
636
  }) => {
510
- wantsToJoin: false;
637
+ isLoaded: false;
511
638
  isNodeSdk: boolean;
639
+ isActive: boolean;
512
640
  roomUrl: string | null;
513
641
  roomName: string | null;
514
642
  displayName: string | null;
515
643
  userAgent: string | null;
516
644
  externalId: string | null;
645
+ initialConfig?: {
646
+ isNodeSdk?: boolean | undefined;
647
+ displayName: string;
648
+ localMediaOptions?: {
649
+ audio: boolean;
650
+ video: boolean;
651
+ } | undefined;
652
+ roomKey: string | null;
653
+ roomUrl: string;
654
+ userAgent?: string | undefined;
655
+ externalId: string | null;
656
+ } | undefined;
517
657
  };
518
658
  }, "app", "app", _reduxjs_toolkit.SliceSelectors<AppState>>;
519
- declare const doAppJoin: _reduxjs_toolkit.ActionCreatorWithPayload<{
520
- isNodeSdk?: boolean | undefined;
521
- displayName: string;
522
- localMediaOptions?: LocalMediaOptions | undefined;
523
- roomKey: string | null;
524
- roomUrl: string;
525
- userAgent?: string | undefined;
526
- externalId: string | null;
527
- }, "app/doAppJoin">;
528
- declare const appLeft: _reduxjs_toolkit.ActionCreatorWithoutPayload<"app/appLeft">;
659
+ declare const doAppConfigure: _reduxjs_toolkit.ActionCreatorWithPayload<AppConfig, "app/doAppConfigure">;
660
+ declare const doAppStop: _reduxjs_toolkit.ActionCreatorWithoutPayload<"app/doAppStop">;
661
+ declare const doAppReset: _reduxjs_toolkit.ActionCreatorWithoutPayload<"app/doAppReset">;
662
+ declare const doAppStart: _reduxjs_toolkit.ActionCreatorWithoutPayload<"app/doAppStart">;
529
663
  declare const selectAppRaw: (state: RootState) => AppState;
530
- declare const selectAppWantsToJoin: (state: RootState) => boolean;
664
+ declare const selectAppIsActive: (state: RootState) => boolean;
531
665
  declare const selectAppRoomName: (state: RootState) => string | null;
532
666
  declare const selectAppRoomUrl: (state: RootState) => string | null;
533
667
  declare const selectAppDisplayName: (state: RootState) => string | null;
534
668
  declare const selectAppUserAgent: (state: RootState) => string | null;
535
669
  declare const selectAppExternalId: (state: RootState) => string | null;
536
670
  declare const selectAppIsNodeSdk: (state: RootState) => boolean;
671
+ declare const selectAppInitialConfig: (state: RootState) => AppConfig | undefined;
672
+ declare const selectAppIsLoaded: (state: RootState) => boolean;
673
+ declare const selectShouldReloadApp: ((state: {
674
+ app: AppState;
675
+ authorization: AuthorizationState;
676
+ chat: ChatState;
677
+ cloudRecording: CloudRecordingState;
678
+ deviceCredentials: DeviceCredentialsState;
679
+ localMedia: LocalMediaState;
680
+ localParticipant: LocalParticipantState;
681
+ localScreenshare: LocalScreenshareState;
682
+ organization: OrganizationState;
683
+ remoteParticipants: RemoteParticipantState;
684
+ room: RoomState;
685
+ roomConnection: RoomConnectionState;
686
+ rtcAnalytics: rtcAnalyticsState;
687
+ rtcConnection: RtcConnectionState;
688
+ signalConnection: SignalConnectionState;
689
+ streaming: StreamingState;
690
+ waitingParticipants: WaitingParticipantsState;
691
+ }) => false | AppConfig | undefined) & {
692
+ clearCache: () => void;
693
+ resultsCount: () => number;
694
+ resetResultsCount: () => void;
695
+ } & {
696
+ resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: AppConfig | undefined) => false | AppConfig | undefined;
697
+ memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: AppConfig | undefined) => false | AppConfig | undefined) & {
698
+ clearCache: () => void;
699
+ resultsCount: () => number;
700
+ resetResultsCount: () => void;
701
+ };
702
+ lastResult: () => false | AppConfig | undefined;
703
+ dependencies: [(state: RootState) => boolean, (state: RootState) => AppConfig | undefined];
704
+ recomputations: () => number;
705
+ resetRecomputations: () => void;
706
+ dependencyRecomputations: () => number;
707
+ resetDependencyRecomputations: () => void;
708
+ } & {
709
+ argsMemoize: typeof reselect.weakMapMemoize;
710
+ memoize: typeof reselect.weakMapMemoize;
711
+ };
537
712
 
538
713
  interface AuthorizationState {
539
714
  roomKey: string | null;
@@ -1031,7 +1206,7 @@ interface LocalMediaState {
1031
1206
  microphoneDeviceError?: unknown;
1032
1207
  microphoneEnabled: boolean;
1033
1208
  options?: LocalMediaOptions;
1034
- status: "" | "stopped" | "starting" | "started" | "error";
1209
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1035
1210
  startError?: unknown;
1036
1211
  stream?: MediaStream;
1037
1212
  isSwitchingStream: boolean;
@@ -1062,7 +1237,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1062
1237
  audio: boolean;
1063
1238
  video: boolean;
1064
1239
  } | undefined;
1065
- status: "" | "stopped" | "starting" | "started" | "error";
1240
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1066
1241
  startError?: unknown;
1067
1242
  stream?: {
1068
1243
  active: boolean;
@@ -1113,7 +1288,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1113
1288
  audio: boolean;
1114
1289
  video: boolean;
1115
1290
  } | undefined;
1116
- status: "" | "stopped" | "starting" | "started" | "error";
1291
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1117
1292
  startError?: unknown;
1118
1293
  stream?: {
1119
1294
  active: boolean;
@@ -1163,7 +1338,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1163
1338
  audio: boolean;
1164
1339
  video: boolean;
1165
1340
  } | undefined;
1166
- status: "" | "stopped" | "starting" | "started" | "error";
1341
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1167
1342
  startError?: unknown;
1168
1343
  stream?: {
1169
1344
  active: boolean;
@@ -1214,7 +1389,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1214
1389
  audio: boolean;
1215
1390
  video: boolean;
1216
1391
  } | undefined;
1217
- status: "" | "stopped" | "starting" | "started" | "error";
1392
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1218
1393
  startError?: unknown;
1219
1394
  stream?: {
1220
1395
  active: boolean;
@@ -1264,7 +1439,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1264
1439
  audio: boolean;
1265
1440
  video: boolean;
1266
1441
  } | undefined;
1267
- status: "" | "stopped" | "starting" | "started" | "error";
1442
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1268
1443
  startError?: unknown;
1269
1444
  stream?: {
1270
1445
  active: boolean;
@@ -1315,7 +1490,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1315
1490
  audio: boolean;
1316
1491
  video: boolean;
1317
1492
  } | undefined;
1318
- status: "" | "stopped" | "starting" | "started" | "error";
1493
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1319
1494
  startError?: unknown;
1320
1495
  stream?: {
1321
1496
  active: boolean;
@@ -1365,7 +1540,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1365
1540
  audio: boolean;
1366
1541
  video: boolean;
1367
1542
  } | undefined;
1368
- status: "" | "stopped" | "starting" | "started" | "error";
1543
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1369
1544
  startError?: unknown;
1370
1545
  stream?: {
1371
1546
  active: boolean;
@@ -1416,7 +1591,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1416
1591
  audio: boolean;
1417
1592
  video: boolean;
1418
1593
  } | undefined;
1419
- status: "" | "stopped" | "starting" | "started" | "error";
1594
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1420
1595
  startError?: unknown;
1421
1596
  stream?: {
1422
1597
  active: boolean;
@@ -1466,7 +1641,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1466
1641
  audio: boolean;
1467
1642
  video: boolean;
1468
1643
  } | undefined;
1469
- status: "" | "stopped" | "starting" | "started" | "error";
1644
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1470
1645
  startError?: unknown;
1471
1646
  stream?: {
1472
1647
  active: boolean;
@@ -1517,7 +1692,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1517
1692
  audio: boolean;
1518
1693
  video: boolean;
1519
1694
  } | undefined;
1520
- status: "" | "stopped" | "starting" | "started" | "error";
1695
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1521
1696
  startError?: unknown;
1522
1697
  stream?: {
1523
1698
  active: boolean;
@@ -1567,7 +1742,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1567
1742
  audio: boolean;
1568
1743
  video: boolean;
1569
1744
  } | undefined;
1570
- status: "" | "stopped" | "starting" | "started" | "error";
1745
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1571
1746
  startError?: unknown;
1572
1747
  stream?: {
1573
1748
  active: boolean;
@@ -1618,7 +1793,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1618
1793
  audio: boolean;
1619
1794
  video: boolean;
1620
1795
  } | undefined;
1621
- status: "" | "stopped" | "starting" | "started" | "error";
1796
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1622
1797
  startError?: unknown;
1623
1798
  stream?: {
1624
1799
  active: boolean;
@@ -1668,7 +1843,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1668
1843
  audio: boolean;
1669
1844
  video: boolean;
1670
1845
  } | undefined;
1671
- status: "" | "stopped" | "starting" | "started" | "error";
1846
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1672
1847
  startError?: unknown;
1673
1848
  stream?: {
1674
1849
  active: boolean;
@@ -1713,7 +1888,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1713
1888
  audio: boolean;
1714
1889
  video: boolean;
1715
1890
  } | undefined;
1716
- status: "" | "stopped" | "starting" | "started" | "error";
1891
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1717
1892
  startError?: unknown;
1718
1893
  stream?: {
1719
1894
  active: boolean;
@@ -1763,7 +1938,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1763
1938
  audio: boolean;
1764
1939
  video: boolean;
1765
1940
  } | undefined;
1766
- status: "" | "stopped" | "starting" | "started" | "error";
1941
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1767
1942
  startError?: unknown;
1768
1943
  stream?: {
1769
1944
  active: boolean;
@@ -1815,7 +1990,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1815
1990
  audio: boolean;
1816
1991
  video: boolean;
1817
1992
  } | undefined;
1818
- status: "" | "stopped" | "starting" | "started" | "error";
1993
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1819
1994
  startError?: unknown;
1820
1995
  isSwitchingStream: boolean;
1821
1996
  onDeviceChange?: (() => void) | undefined;
@@ -1843,7 +2018,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1843
2018
  audio: boolean;
1844
2019
  video: boolean;
1845
2020
  } | undefined;
1846
- status: "" | "stopped" | "starting" | "started" | "error";
2021
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1847
2022
  startError?: unknown;
1848
2023
  stream?: {
1849
2024
  active: boolean;
@@ -1891,7 +2066,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1891
2066
  lowDataMode: boolean;
1892
2067
  microphoneDeviceError?: unknown;
1893
2068
  microphoneEnabled: boolean;
1894
- status: "" | "stopped" | "starting" | "started" | "error";
2069
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1895
2070
  startError?: unknown;
1896
2071
  stream?: {
1897
2072
  active: boolean;
@@ -1941,7 +2116,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
1941
2116
  audio: boolean;
1942
2117
  video: boolean;
1943
2118
  } | undefined;
1944
- status: "" | "stopped" | "starting" | "started" | "error";
2119
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
1945
2120
  startError?: unknown;
1946
2121
  stream?: {
1947
2122
  active: boolean;
@@ -2019,7 +2194,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
2019
2194
  audio: boolean;
2020
2195
  video: boolean;
2021
2196
  } | undefined;
2022
- status: "" | "stopped" | "starting" | "started" | "error";
2197
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
2023
2198
  startError?: unknown;
2024
2199
  stream?: {
2025
2200
  active: boolean;
@@ -2068,7 +2243,7 @@ declare const localMediaSlice: _reduxjs_toolkit.Slice<LocalMediaState, {
2068
2243
  audio: boolean;
2069
2244
  video: boolean;
2070
2245
  } | undefined;
2071
- status: "" | "stopped" | "starting" | "started" | "error";
2246
+ status: "inactive" | "stopped" | "starting" | "started" | "error";
2072
2247
  startError?: unknown;
2073
2248
  stream?: {
2074
2249
  active: boolean;
@@ -2196,7 +2371,7 @@ declare const selectLocalMediaOwnsStream: ((state: {
2196
2371
  memoize: typeof reselect.weakMapMemoize;
2197
2372
  };
2198
2373
  declare const selectLocalMediaRaw: (state: RootState) => LocalMediaState;
2199
- declare const selectLocalMediaStatus: (state: RootState) => "" | "error" | "stopped" | "starting" | "started";
2374
+ declare const selectLocalMediaStatus: (state: RootState) => "error" | "inactive" | "stopped" | "starting" | "started";
2200
2375
  declare const selectLocalMediaStream: (state: RootState) => MediaStream | undefined;
2201
2376
  declare const selectMicrophoneDeviceError: (state: RootState) => unknown;
2202
2377
  declare const selectLocalMediaStartError: (state: RootState) => unknown;
@@ -2315,14 +2490,14 @@ declare const selectIsLocalMediaStarting: ((state: {
2315
2490
  resultsCount: () => number;
2316
2491
  resetResultsCount: () => void;
2317
2492
  } & {
2318
- resultFunc: (resultFuncArgs_0: "" | "error" | "stopped" | "starting" | "started") => boolean;
2319
- memoizedResultFunc: ((resultFuncArgs_0: "" | "error" | "stopped" | "starting" | "started") => boolean) & {
2493
+ resultFunc: (resultFuncArgs_0: "error" | "inactive" | "stopped" | "starting" | "started") => boolean;
2494
+ memoizedResultFunc: ((resultFuncArgs_0: "error" | "inactive" | "stopped" | "starting" | "started") => boolean) & {
2320
2495
  clearCache: () => void;
2321
2496
  resultsCount: () => number;
2322
2497
  resetResultsCount: () => void;
2323
2498
  };
2324
2499
  lastResult: () => boolean;
2325
- dependencies: [(state: RootState) => "" | "error" | "stopped" | "starting" | "started"];
2500
+ dependencies: [(state: RootState) => "error" | "inactive" | "stopped" | "starting" | "started"];
2326
2501
  recomputations: () => number;
2327
2502
  resetRecomputations: () => void;
2328
2503
  dependencyRecomputations: () => number;
@@ -2471,8 +2646,8 @@ declare const selectLocalMediaShouldStartWithOptions: ((state: {
2471
2646
  resultsCount: () => number;
2472
2647
  resetResultsCount: () => void;
2473
2648
  } & {
2474
- resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: "" | "error" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined, resultFuncArgs_3: boolean) => LocalMediaOptions | undefined;
2475
- memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: "" | "error" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined, resultFuncArgs_3: boolean) => LocalMediaOptions | undefined) & {
2649
+ resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined, resultFuncArgs_3: boolean) => LocalMediaOptions | undefined;
2650
+ memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined, resultFuncArgs_3: boolean) => LocalMediaOptions | undefined) & {
2476
2651
  clearCache: () => void;
2477
2652
  resultsCount: () => number;
2478
2653
  resetResultsCount: () => void;
@@ -2496,7 +2671,7 @@ declare const selectLocalMediaShouldStartWithOptions: ((state: {
2496
2671
  signalConnection: SignalConnectionState;
2497
2672
  streaming: StreamingState;
2498
2673
  waitingParticipants: WaitingParticipantsState;
2499
- }) => boolean, (state: RootState) => "" | "error" | "stopped" | "starting" | "started", (state: RootState) => LocalMediaOptions | undefined, (state: {
2674
+ }) => boolean, (state: RootState) => "error" | "inactive" | "stopped" | "starting" | "started", (state: RootState) => LocalMediaOptions | undefined, (state: {
2500
2675
  app: AppState;
2501
2676
  authorization: AuthorizationState;
2502
2677
  chat: ChatState;
@@ -2546,8 +2721,8 @@ declare const selectLocalMediaShouldStop: ((state: {
2546
2721
  resultsCount: () => number;
2547
2722
  resetResultsCount: () => void;
2548
2723
  } & {
2549
- resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: "" | "error" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined) => boolean;
2550
- memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: "" | "error" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined) => boolean) & {
2724
+ resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined) => boolean;
2725
+ memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: "error" | "inactive" | "stopped" | "starting" | "started", resultFuncArgs_2: LocalMediaOptions | undefined) => boolean) & {
2551
2726
  clearCache: () => void;
2552
2727
  resultsCount: () => number;
2553
2728
  resetResultsCount: () => void;
@@ -2571,7 +2746,7 @@ declare const selectLocalMediaShouldStop: ((state: {
2571
2746
  signalConnection: SignalConnectionState;
2572
2747
  streaming: StreamingState;
2573
2748
  waitingParticipants: WaitingParticipantsState;
2574
- }) => boolean, (state: RootState) => "" | "error" | "stopped" | "starting" | "started", (state: RootState) => LocalMediaOptions | undefined];
2749
+ }) => boolean, (state: RootState) => "error" | "inactive" | "stopped" | "starting" | "started", (state: RootState) => LocalMediaOptions | undefined];
2575
2750
  recomputations: () => number;
2576
2751
  resetRecomputations: () => void;
2577
2752
  dependencyRecomputations: () => number;
@@ -2994,7 +3169,7 @@ declare const selectScreenshares: ((state: {
2994
3169
  memoize: typeof reselect.weakMapMemoize;
2995
3170
  };
2996
3171
 
2997
- type ConnectionStatus = "initializing" | "connecting" | "connected" | "reconnect" | "room_locked" | "knocking" | "disconnecting" | "disconnected" | "knock_rejected" | "kicked";
3172
+ type ConnectionStatus = "ready" | "connecting" | "connected" | "room_locked" | "knocking" | "knock_rejected" | "kicked" | "leaving" | "left" | "disconnected" | "reconnecting";
2998
3173
  interface RoomConnectionState {
2999
3174
  session: {
3000
3175
  createdAt: string;
@@ -3053,8 +3228,8 @@ declare const selectShouldConnectRoom: ((state: {
3053
3228
  resultsCount: () => number;
3054
3229
  resetResultsCount: () => void;
3055
3230
  } & {
3056
- resultFunc: (resultFuncArgs_0: string | undefined, resultFuncArgs_1: ConnectionStatus, resultFuncArgs_2: boolean, resultFuncArgs_3: "" | "error" | "stopped" | "starting" | "started", resultFuncArgs_4: boolean) => boolean;
3057
- memoizedResultFunc: ((resultFuncArgs_0: string | undefined, resultFuncArgs_1: ConnectionStatus, resultFuncArgs_2: boolean, resultFuncArgs_3: "" | "error" | "stopped" | "starting" | "started", resultFuncArgs_4: boolean) => boolean) & {
3231
+ 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;
3232
+ 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) & {
3058
3233
  clearCache: () => void;
3059
3234
  resultsCount: () => number;
3060
3235
  resetResultsCount: () => void;
@@ -3078,6 +3253,24 @@ declare const selectShouldConnectRoom: ((state: {
3078
3253
  signalConnection: SignalConnectionState;
3079
3254
  streaming: StreamingState;
3080
3255
  waitingParticipants: WaitingParticipantsState;
3256
+ }) => boolean, (state: {
3257
+ app: AppState;
3258
+ authorization: AuthorizationState;
3259
+ chat: ChatState;
3260
+ cloudRecording: CloudRecordingState;
3261
+ deviceCredentials: DeviceCredentialsState;
3262
+ localMedia: LocalMediaState;
3263
+ localParticipant: LocalParticipantState;
3264
+ localScreenshare: LocalScreenshareState;
3265
+ organization: OrganizationState;
3266
+ remoteParticipants: RemoteParticipantState;
3267
+ room: RoomState;
3268
+ roomConnection: RoomConnectionState;
3269
+ rtcAnalytics: rtcAnalyticsState;
3270
+ rtcConnection: RtcConnectionState;
3271
+ signalConnection: SignalConnectionState;
3272
+ streaming: StreamingState;
3273
+ waitingParticipants: WaitingParticipantsState;
3081
3274
  }) => string | undefined, (state: RootState) => ConnectionStatus, (state: {
3082
3275
  app: AppState;
3083
3276
  authorization: AuthorizationState;
@@ -3114,7 +3307,7 @@ declare const selectShouldConnectRoom: ((state: {
3114
3307
  signalConnection: SignalConnectionState;
3115
3308
  streaming: StreamingState;
3116
3309
  waitingParticipants: WaitingParticipantsState;
3117
- }) => "" | "error" | "stopped" | "starting" | "started", (state: {
3310
+ }) => "error" | "inactive" | "stopped" | "starting" | "started", (state: {
3118
3311
  app: AppState;
3119
3312
  authorization: AuthorizationState;
3120
3313
  chat: ChatState;
@@ -3160,7 +3353,7 @@ interface RtcConnectionState {
3160
3353
  rtcManager: RtcManager | null;
3161
3354
  rtcManagerDispatcher: RtcManagerDispatcher | null;
3162
3355
  rtcManagerInitialized: boolean;
3163
- status: "" | "ready" | "reconnect";
3356
+ status: "inactive" | "ready" | "reconnecting";
3164
3357
  isAcceptingStreams: boolean;
3165
3358
  }
3166
3359
  declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
@@ -3233,7 +3426,7 @@ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3233
3426
  stopRtcManager: () => void;
3234
3427
  } | null;
3235
3428
  rtcManagerInitialized: boolean;
3236
- status: "" | "ready" | "reconnect";
3429
+ status: "inactive" | "ready" | "reconnecting";
3237
3430
  isAcceptingStreams: boolean;
3238
3431
  }, action: PayloadAction<boolean>) => {
3239
3432
  isAcceptingStreams: boolean;
@@ -3305,7 +3498,7 @@ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3305
3498
  stopRtcManager: () => void;
3306
3499
  } | null;
3307
3500
  rtcManagerInitialized: boolean;
3308
- status: "" | "ready" | "reconnect";
3501
+ status: "inactive" | "ready" | "reconnecting";
3309
3502
  };
3310
3503
  resolutionReported: (state: {
3311
3504
  dispatcherCreated: boolean;
@@ -3376,7 +3569,7 @@ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3376
3569
  stopRtcManager: () => void;
3377
3570
  } | null;
3378
3571
  rtcManagerInitialized: boolean;
3379
- status: "" | "ready" | "reconnect";
3572
+ status: "inactive" | "ready" | "reconnecting";
3380
3573
  isAcceptingStreams: boolean;
3381
3574
  }, action: PayloadAction<StreamResolutionUpdate>) => {
3382
3575
  reportedStreamResolutions: {
@@ -3450,7 +3643,7 @@ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3450
3643
  stopRtcManager: () => void;
3451
3644
  } | null;
3452
3645
  rtcManagerInitialized: boolean;
3453
- status: "" | "ready" | "reconnect";
3646
+ status: "inactive" | "ready" | "reconnecting";
3454
3647
  isAcceptingStreams: boolean;
3455
3648
  };
3456
3649
  rtcDisconnected: () => {
@@ -3463,7 +3656,7 @@ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3463
3656
  rtcManager: RtcManager | null;
3464
3657
  rtcManagerDispatcher: RtcManagerDispatcher | null;
3465
3658
  rtcManagerInitialized: boolean;
3466
- status: "" | "ready" | "reconnect";
3659
+ status: "inactive" | "ready" | "reconnecting";
3467
3660
  isAcceptingStreams: boolean;
3468
3661
  };
3469
3662
  rtcDispatcherCreated: (state: {
@@ -3535,7 +3728,7 @@ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3535
3728
  stopRtcManager: () => void;
3536
3729
  } | null;
3537
3730
  rtcManagerInitialized: boolean;
3538
- status: "" | "ready" | "reconnect";
3731
+ status: "inactive" | "ready" | "reconnecting";
3539
3732
  isAcceptingStreams: boolean;
3540
3733
  }, action: PayloadAction<RtcManagerDispatcher>) => {
3541
3734
  dispatcherCreated: true;
@@ -3575,7 +3768,7 @@ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3575
3768
  hasClient: (clientId: string) => boolean;
3576
3769
  } | null;
3577
3770
  rtcManagerInitialized: boolean;
3578
- status: "" | "ready" | "reconnect";
3771
+ status: "inactive" | "ready" | "reconnecting";
3579
3772
  isAcceptingStreams: boolean;
3580
3773
  };
3581
3774
  rtcManagerCreated: (state: {
@@ -3647,7 +3840,7 @@ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3647
3840
  stopRtcManager: () => void;
3648
3841
  } | null;
3649
3842
  rtcManagerInitialized: boolean;
3650
- status: "" | "ready" | "reconnect";
3843
+ status: "inactive" | "ready" | "reconnecting";
3651
3844
  isAcceptingStreams: boolean;
3652
3845
  }, action: PayloadAction<RtcManager>) => {
3653
3846
  rtcManager: RtcManager;
@@ -3765,7 +3958,7 @@ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3765
3958
  stopRtcManager: () => void;
3766
3959
  } | null;
3767
3960
  rtcManagerInitialized: boolean;
3768
- status: "" | "ready" | "reconnect";
3961
+ status: "inactive" | "ready" | "reconnecting";
3769
3962
  isAcceptingStreams: boolean;
3770
3963
  }) => {
3771
3964
  rtcManager: null;
@@ -3811,7 +4004,7 @@ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3811
4004
  stopRtcManager: () => void;
3812
4005
  } | null;
3813
4006
  rtcManagerInitialized: boolean;
3814
- status: "" | "ready" | "reconnect";
4007
+ status: "inactive" | "ready" | "reconnecting";
3815
4008
  isAcceptingStreams: boolean;
3816
4009
  };
3817
4010
  rtcManagerInitialized: (state: {
@@ -3883,7 +4076,7 @@ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3883
4076
  stopRtcManager: () => void;
3884
4077
  } | null;
3885
4078
  rtcManagerInitialized: boolean;
3886
- status: "" | "ready" | "reconnect";
4079
+ status: "inactive" | "ready" | "reconnecting";
3887
4080
  isAcceptingStreams: boolean;
3888
4081
  }) => {
3889
4082
  rtcManagerInitialized: true;
@@ -3954,7 +4147,7 @@ declare const rtcConnectionSlice: _reduxjs_toolkit.Slice<RtcConnectionState, {
3954
4147
  } | null;
3955
4148
  stopRtcManager: () => void;
3956
4149
  } | null;
3957
- status: "" | "ready" | "reconnect";
4150
+ status: "inactive" | "ready" | "reconnecting";
3958
4151
  isAcceptingStreams: boolean;
3959
4152
  };
3960
4153
  }, "rtcConnection", "rtcConnection", _reduxjs_toolkit.SliceSelectors<RtcConnectionState>>;
@@ -3976,7 +4169,7 @@ declare const selectRtcManagerInitialized: (state: RootState) => boolean;
3976
4169
  declare const selectRtcManager: (state: RootState) => RtcManager | null;
3977
4170
  declare const selectRtcDispatcherCreated: (state: RootState) => boolean;
3978
4171
  declare const selectRtcIsCreatingDispatcher: (state: RootState) => boolean;
3979
- declare const selectRtcStatus: (state: RootState) => "" | "reconnect" | "ready";
4172
+ declare const selectRtcStatus: (state: RootState) => "inactive" | "ready" | "reconnecting";
3980
4173
  declare const selectIsAcceptingStreams: (state: RootState) => boolean;
3981
4174
  declare const selectShouldConnectRtc: ((state: {
3982
4175
  app: AppState;
@@ -4058,8 +4251,8 @@ declare const selectShouldInitializeRtc: ((state: {
4058
4251
  resultsCount: () => number;
4059
4252
  resetResultsCount: () => void;
4060
4253
  } & {
4061
- resultFunc: (resultFuncArgs_0: RtcManager | null, resultFuncArgs_1: boolean, resultFuncArgs_2: "" | "error" | "stopped" | "starting" | "started") => boolean;
4062
- memoizedResultFunc: ((resultFuncArgs_0: RtcManager | null, resultFuncArgs_1: boolean, resultFuncArgs_2: "" | "error" | "stopped" | "starting" | "started") => boolean) & {
4254
+ resultFunc: (resultFuncArgs_0: RtcManager | null, resultFuncArgs_1: boolean, resultFuncArgs_2: "error" | "inactive" | "stopped" | "starting" | "started") => boolean;
4255
+ memoizedResultFunc: ((resultFuncArgs_0: RtcManager | null, resultFuncArgs_1: boolean, resultFuncArgs_2: "error" | "inactive" | "stopped" | "starting" | "started") => boolean) & {
4063
4256
  clearCache: () => void;
4064
4257
  resultsCount: () => number;
4065
4258
  resetResultsCount: () => void;
@@ -4083,7 +4276,7 @@ declare const selectShouldInitializeRtc: ((state: {
4083
4276
  signalConnection: SignalConnectionState;
4084
4277
  streaming: StreamingState;
4085
4278
  waitingParticipants: WaitingParticipantsState;
4086
- }) => "" | "error" | "stopped" | "starting" | "started"];
4279
+ }) => "error" | "inactive" | "stopped" | "starting" | "started"];
4087
4280
  recomputations: () => number;
4088
4281
  resetRecomputations: () => void;
4089
4282
  dependencyRecomputations: () => number;
@@ -4115,14 +4308,14 @@ declare const selectShouldDisconnectRtc: ((state: {
4115
4308
  resultsCount: () => number;
4116
4309
  resetResultsCount: () => void;
4117
4310
  } & {
4118
- resultFunc: (resultFuncArgs_0: "" | "reconnect" | "ready", resultFuncArgs_1: boolean) => boolean;
4119
- memoizedResultFunc: ((resultFuncArgs_0: "" | "reconnect" | "ready", resultFuncArgs_1: boolean) => boolean) & {
4311
+ resultFunc: (resultFuncArgs_0: "inactive" | "ready" | "reconnecting", resultFuncArgs_1: boolean) => boolean;
4312
+ memoizedResultFunc: ((resultFuncArgs_0: "inactive" | "ready" | "reconnecting", resultFuncArgs_1: boolean) => boolean) & {
4120
4313
  clearCache: () => void;
4121
4314
  resultsCount: () => number;
4122
4315
  resetResultsCount: () => void;
4123
4316
  };
4124
4317
  lastResult: () => boolean;
4125
- dependencies: [(state: RootState) => "" | "reconnect" | "ready", (state: {
4318
+ dependencies: [(state: RootState) => "inactive" | "ready" | "reconnecting", (state: {
4126
4319
  app: AppState;
4127
4320
  authorization: AuthorizationState;
4128
4321
  chat: ChatState;
@@ -4176,12 +4369,12 @@ declare const selectStreamsToAccept: ((state: {
4176
4369
  resultsCount: () => number;
4177
4370
  resetResultsCount: () => void;
4178
4371
  } & {
4179
- resultFunc: (resultFuncArgs_0: "" | "reconnect" | "ready", resultFuncArgs_1: RemoteParticipant[]) => {
4372
+ resultFunc: (resultFuncArgs_0: "inactive" | "ready" | "reconnecting", resultFuncArgs_1: RemoteParticipant[]) => {
4180
4373
  clientId: string;
4181
4374
  streamId: string;
4182
4375
  state: StreamState;
4183
4376
  }[];
4184
- memoizedResultFunc: ((resultFuncArgs_0: "" | "reconnect" | "ready", resultFuncArgs_1: RemoteParticipant[]) => {
4377
+ memoizedResultFunc: ((resultFuncArgs_0: "inactive" | "ready" | "reconnecting", resultFuncArgs_1: RemoteParticipant[]) => {
4185
4378
  clientId: string;
4186
4379
  streamId: string;
4187
4380
  state: StreamState;
@@ -4195,7 +4388,7 @@ declare const selectStreamsToAccept: ((state: {
4195
4388
  streamId: string;
4196
4389
  state: StreamState;
4197
4390
  }[];
4198
- dependencies: [(state: RootState) => "" | "reconnect" | "ready", (state: {
4391
+ dependencies: [(state: RootState) => "inactive" | "ready" | "reconnecting", (state: {
4199
4392
  app: AppState;
4200
4393
  authorization: AuthorizationState;
4201
4394
  chat: ChatState;
@@ -4226,14 +4419,14 @@ declare const selectStreamsToAccept: ((state: {
4226
4419
  interface SignalConnectionState {
4227
4420
  deviceIdentified: boolean;
4228
4421
  isIdentifyingDevice: boolean;
4229
- status: "connected" | "connecting" | "disconnected" | "reconnect" | "";
4422
+ status: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
4230
4423
  socket: ServerSocket | null;
4231
4424
  }
4232
4425
  declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionState, {
4233
4426
  socketConnecting: (state: {
4234
4427
  deviceIdentified: boolean;
4235
4428
  isIdentifyingDevice: boolean;
4236
- status: "connected" | "connecting" | "disconnected" | "reconnect" | "";
4429
+ status: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
4237
4430
  socket: {
4238
4431
  _socket: any;
4239
4432
  _reconnectManager?: {
@@ -4438,7 +4631,7 @@ declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionStat
4438
4631
  socketConnected: (state: {
4439
4632
  deviceIdentified: boolean;
4440
4633
  isIdentifyingDevice: boolean;
4441
- status: "connected" | "connecting" | "disconnected" | "reconnect" | "";
4634
+ status: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
4442
4635
  socket: {
4443
4636
  _socket: any;
4444
4637
  _reconnectManager?: {
@@ -4546,7 +4739,7 @@ declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionStat
4546
4739
  socketDisconnected: (state: {
4547
4740
  deviceIdentified: boolean;
4548
4741
  isIdentifyingDevice: boolean;
4549
- status: "connected" | "connecting" | "disconnected" | "reconnect" | "";
4742
+ status: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
4550
4743
  socket: {
4551
4744
  _socket: any;
4552
4745
  _reconnectManager?: {
@@ -4751,7 +4944,7 @@ declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionStat
4751
4944
  socketReconnecting: (state: {
4752
4945
  deviceIdentified: boolean;
4753
4946
  isIdentifyingDevice: boolean;
4754
- status: "connected" | "connecting" | "disconnected" | "reconnect" | "";
4947
+ status: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
4755
4948
  socket: {
4756
4949
  _socket: any;
4757
4950
  _reconnectManager?: {
@@ -4851,7 +5044,7 @@ declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionStat
4851
5044
  } | undefined;
4852
5045
  } | null;
4853
5046
  }) => {
4854
- status: "reconnect";
5047
+ status: "reconnecting";
4855
5048
  deviceIdentified: boolean;
4856
5049
  isIdentifyingDevice: boolean;
4857
5050
  socket: {
@@ -4956,7 +5149,7 @@ declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionStat
4956
5149
  deviceIdentifying: (state: {
4957
5150
  deviceIdentified: boolean;
4958
5151
  isIdentifyingDevice: boolean;
4959
- status: "connected" | "connecting" | "disconnected" | "reconnect" | "";
5152
+ status: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
4960
5153
  socket: {
4961
5154
  _socket: any;
4962
5155
  _reconnectManager?: {
@@ -5058,7 +5251,7 @@ declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionStat
5058
5251
  }) => {
5059
5252
  isIdentifyingDevice: true;
5060
5253
  deviceIdentified: boolean;
5061
- status: "connected" | "connecting" | "disconnected" | "reconnect" | "";
5254
+ status: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
5062
5255
  socket: {
5063
5256
  _socket: any;
5064
5257
  _reconnectManager?: {
@@ -5161,7 +5354,7 @@ declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionStat
5161
5354
  deviceIdentified: (state: {
5162
5355
  deviceIdentified: boolean;
5163
5356
  isIdentifyingDevice: boolean;
5164
- status: "connected" | "connecting" | "disconnected" | "reconnect" | "";
5357
+ status: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
5165
5358
  socket: {
5166
5359
  _socket: any;
5167
5360
  _reconnectManager?: {
@@ -5263,7 +5456,7 @@ declare const signalConnectionSlice: _reduxjs_toolkit.Slice<SignalConnectionStat
5263
5456
  }) => {
5264
5457
  deviceIdentified: true;
5265
5458
  isIdentifyingDevice: false;
5266
- status: "connected" | "connecting" | "disconnected" | "reconnect" | "";
5459
+ status: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
5267
5460
  socket: {
5268
5461
  _socket: any;
5269
5462
  _reconnectManager?: {
@@ -5370,7 +5563,7 @@ declare const socketConnected: _reduxjs_toolkit.ActionCreatorWithPayload<ServerS
5370
5563
  declare const socketConnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketConnecting">;
5371
5564
  declare const socketDisconnected: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketDisconnected">;
5372
5565
  declare const socketReconnecting: _reduxjs_toolkit.ActionCreatorWithoutPayload<"signalConnection/socketReconnecting">;
5373
- declare const doSignalSocketConnect: (args: void) => AppThunk<void>;
5566
+ declare const doSignalConnect: (args: void) => AppThunk<void>;
5374
5567
  declare const doSignalIdentifyDevice: (args: {
5375
5568
  deviceCredentials: Credentials;
5376
5569
  }) => AppThunk<void>;
@@ -5378,7 +5571,7 @@ declare const doSignalDisconnect: (args: void) => AppThunk<void>;
5378
5571
  declare const selectSignalConnectionRaw: (state: RootState) => SignalConnectionState;
5379
5572
  declare const selectSignalIsIdentifyingDevice: (state: RootState) => boolean;
5380
5573
  declare const selectSignalConnectionDeviceIdentified: (state: RootState) => boolean;
5381
- declare const selectSignalStatus: (state: RootState) => "" | "connecting" | "connected" | "reconnect" | "disconnected";
5574
+ declare const selectSignalStatus: (state: RootState) => "ready" | "connecting" | "connected" | "disconnected" | "reconnecting";
5382
5575
  declare const selectSignalConnectionSocket: (state: RootState) => ServerSocket | null;
5383
5576
  declare const selectShouldConnectSignal: ((state: {
5384
5577
  app: AppState;
@@ -5403,8 +5596,8 @@ declare const selectShouldConnectSignal: ((state: {
5403
5596
  resultsCount: () => number;
5404
5597
  resetResultsCount: () => void;
5405
5598
  } & {
5406
- resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: "" | "connecting" | "connected" | "reconnect" | "disconnected") => boolean;
5407
- memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: "" | "connecting" | "connected" | "reconnect" | "disconnected") => boolean) & {
5599
+ resultFunc: (resultFuncArgs_0: boolean, resultFuncArgs_1: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting") => boolean;
5600
+ memoizedResultFunc: ((resultFuncArgs_0: boolean, resultFuncArgs_1: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting") => boolean) & {
5408
5601
  clearCache: () => void;
5409
5602
  resultsCount: () => number;
5410
5603
  resetResultsCount: () => void;
@@ -5428,7 +5621,7 @@ declare const selectShouldConnectSignal: ((state: {
5428
5621
  signalConnection: SignalConnectionState;
5429
5622
  streaming: StreamingState;
5430
5623
  waitingParticipants: WaitingParticipantsState;
5431
- }) => boolean, (state: RootState) => "" | "connecting" | "connected" | "reconnect" | "disconnected"];
5624
+ }) => boolean, (state: RootState) => "ready" | "connecting" | "connected" | "disconnected" | "reconnecting"];
5432
5625
  recomputations: () => number;
5433
5626
  resetRecomputations: () => void;
5434
5627
  dependencyRecomputations: () => number;
@@ -5460,8 +5653,8 @@ declare const selectShouldIdentifyDevice: ((state: {
5460
5653
  resultsCount: () => number;
5461
5654
  resetResultsCount: () => void;
5462
5655
  } & {
5463
- resultFunc: (resultFuncArgs_0: DeviceCredentialsState, resultFuncArgs_1: "" | "connecting" | "connected" | "reconnect" | "disconnected", resultFuncArgs_2: boolean, resultFuncArgs_3: boolean) => boolean;
5464
- memoizedResultFunc: ((resultFuncArgs_0: DeviceCredentialsState, resultFuncArgs_1: "" | "connecting" | "connected" | "reconnect" | "disconnected", resultFuncArgs_2: boolean, resultFuncArgs_3: boolean) => boolean) & {
5656
+ resultFunc: (resultFuncArgs_0: DeviceCredentialsState, resultFuncArgs_1: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting", resultFuncArgs_2: boolean, resultFuncArgs_3: boolean) => boolean;
5657
+ memoizedResultFunc: ((resultFuncArgs_0: DeviceCredentialsState, resultFuncArgs_1: "ready" | "connecting" | "connected" | "disconnected" | "reconnecting", resultFuncArgs_2: boolean, resultFuncArgs_3: boolean) => boolean) & {
5465
5658
  clearCache: () => void;
5466
5659
  resultsCount: () => number;
5467
5660
  resetResultsCount: () => void;
@@ -5485,7 +5678,7 @@ declare const selectShouldIdentifyDevice: ((state: {
5485
5678
  signalConnection: SignalConnectionState;
5486
5679
  streaming: StreamingState;
5487
5680
  waitingParticipants: WaitingParticipantsState;
5488
- }) => DeviceCredentialsState, (state: RootState) => "" | "connecting" | "connected" | "reconnect" | "disconnected", (state: RootState) => boolean, (state: RootState) => boolean];
5681
+ }) => DeviceCredentialsState, (state: RootState) => "ready" | "connecting" | "connected" | "disconnected" | "reconnecting", (state: RootState) => boolean, (state: RootState) => boolean];
5489
5682
  recomputations: () => number;
5490
5683
  resetRecomputations: () => void;
5491
5684
  dependencyRecomputations: () => number;
@@ -5502,7 +5695,7 @@ declare function createServices(): {
5502
5695
  fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
5503
5696
  };
5504
5697
 
5505
- declare const rootReducer: redux.Reducer<{
5698
+ declare const appReducer: redux.Reducer<{
5506
5699
  app: AppState;
5507
5700
  authorization: AuthorizationState;
5508
5701
  chat: ChatState;
@@ -5539,6 +5732,7 @@ declare const rootReducer: redux.Reducer<{
5539
5732
  streaming: StreamingState | undefined;
5540
5733
  waitingParticipants: WaitingParticipantsState | undefined;
5541
5734
  }>>;
5735
+ declare const rootReducer: AppReducer;
5542
5736
  declare const createStore: ({ preloadedState, injectServices, }: {
5543
5737
  preloadedState?: Partial<{
5544
5738
  app: AppState;
@@ -5606,8 +5800,8 @@ declare const createStore: ({ preloadedState, injectServices, }: {
5606
5800
  };
5607
5801
  }, redux.UnknownAction>;
5608
5802
  }>, redux.StoreEnhancer]>>;
5609
- type RootReducer = typeof rootReducer;
5610
- type RootState = ReturnType<typeof rootReducer>;
5803
+ type AppReducer = typeof appReducer;
5804
+ type RootState = ReturnType<typeof appReducer>;
5611
5805
  type AppDispatch = ReturnType<typeof createStore>["dispatch"];
5612
5806
  type Store = ReturnType<typeof createStore>;
5613
5807
  declare const observeStore: <T>(store: Store, select: (state: RootState) => T, onChange: (result: T) => void) => redux.Unsubscribe;
@@ -5700,9 +5894,14 @@ declare const createReactor: <Selectors extends Selector<{
5700
5894
  extra: ReturnType<typeof createServices>;
5701
5895
  }, ...selectorValues: SelectorResults<Selectors>) => void | Promise<void>) => _reduxjs_toolkit.UnsubscribeListener;
5702
5896
 
5703
- declare function fakeAudioStream(): MediaStream;
5704
-
5705
- declare function fakeWebcamFrame(canvas: HTMLCanvasElement): void;
5897
+ declare function getAudioTrack(): MediaStreamTrack;
5898
+ declare function getVideoTrack({ canvas }: {
5899
+ canvas: HTMLCanvasElement;
5900
+ }): MediaStreamTrack;
5901
+ declare function getFakeMediaStream({ canvas, hasAudio }: {
5902
+ canvas: HTMLCanvasElement;
5903
+ hasAudio?: boolean;
5904
+ }): MediaStream;
5706
5905
 
5707
5906
  declare function parseRoomUrlAndSubdomain(roomAttribute?: string, subdomainAttribute?: string): {
5708
5907
  subdomain: string;
@@ -5711,4 +5910,4 @@ declare function parseRoomUrlAndSubdomain(roomAttribute?: string, subdomainAttri
5711
5910
 
5712
5911
  declare function parseUnverifiedRoomKeyData(roomKey: string): any;
5713
5912
 
5714
- export { ApiClient, type AppDispatch, type AppStartListening, type AppState, type AppThunk, type AuthorizationState, type ChatMessage, type ChatState, type CloudRecordingState, type ConnectionStatus, Credentials, CredentialsService, type DeviceCredentialsState, type LocalMediaOptions, type LocalMediaState, LocalParticipant, type LocalParticipantState, type LocalScreenshareState, OrganizationApiClient, OrganizationService, OrganizationServiceCache, type OrganizationState, type RemoteParticipant, type RemoteParticipantData, type RemoteParticipantState, type RoomConnectionState, RoomService, type RoomState, type RootReducer, type RootState, type RtcConnectionState, type Screenshare, type SignalConnectionState, type Store, type StreamState, type StreamingState, type ThunkConfig, type WaitingParticipant, type WaitingParticipantsState, addAppListener, appLeft, appSlice, authorizationSlice, chatSlice, cloudRecordingSlice, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createReactor, createServices, createStore, createWebRtcEmitter, debounce, deviceBusy, deviceCredentialsSlice, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppJoin, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doEndMeeting, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKickParticipant, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRequestAudioEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSetDevice, doSetDisplayName, doSetLocalParticipant, doSignalDisconnect, doSignalIdentifyDevice, doSignalSocketConnect, doStartCloudRecording, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doToggleLowDataMode, doUpdateDeviceList, fakeAudioStream, fakeWebcamFrame, initialCloudRecordingState, initialLocalMediaState, isAcceptingStreams, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localScreenshareSlice, localStreamMetadataUpdated, observeStore, organizationSlice, parseRoomUrlAndSubdomain, parseUnverifiedRoomKeyData, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, resolutionReported, roomConnectionSlice, roomSlice, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, type rtcAnalyticsState, rtcConnectionSlice, rtcDisconnected, rtcDispatcherCreated, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAppDisplayName, selectAppExternalId, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAppWantsToJoin, selectAuthorizationRoleName, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantClientClaim, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectOrganizationId, selectOrganizationRaw, 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, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, startAppListening, stopScreenshare, streamStatusUpdated, streamingSlice, toggleCameraEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice };
5913
+ export { ApiClient, type AppDispatch, type AppReducer, type AppStartListening, type AppState, type AppThunk, type AuthorizationState, type ChatMessage, type ChatState, type CloudRecordingState, type ConnectionStatus, Credentials, CredentialsService, type DeviceCredentialsState, type LocalMediaOptions, type LocalMediaState, LocalParticipant, type LocalParticipantState, type LocalScreenshareState, OrganizationApiClient, OrganizationService, OrganizationServiceCache, type OrganizationState, type RemoteParticipant, type RemoteParticipantData, type RemoteParticipantState, type RoomConnectionState, RoomService, type RoomState, type RootState, type RtcConnectionState, type Screenshare, type SignalConnectionState, type Store, type StreamState, type StreamingState, type ThunkConfig, type WaitingParticipant, type WaitingParticipantsState, addAppListener, appSlice, authorizationSlice, chatSlice, cloudRecordingSlice, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createReactor, createServices, createStore, createWebRtcEmitter, debounce, deviceBusy, deviceCredentialsSlice, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppConfigure, doAppReset, doAppStart, doAppStop, doConnectRoom, doConnectRtc, doDisconnectRtc, doEnableAudio, doEnableVideo, doEndMeeting, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doKickParticipant, doKnockRoom, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRequestAudioEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSetDevice, doSetDisplayName, doSetLocalParticipant, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doStartCloudRecording, doStartLocalMedia, doStartScreenshare, doStopCloudRecording, doStopLocalMedia, doStopScreenshare, doSwitchLocalStream, doToggleCamera, doToggleLowDataMode, doUpdateDeviceList, getAudioTrack, getFakeMediaStream, getVideoTrack, initialCloudRecordingState, initialLocalMediaState, isAcceptingStreams, listenerMiddleware, localMediaSlice, localMediaStopped, localParticipantSlice, localScreenshareSlice, localStreamMetadataUpdated, observeStore, organizationSlice, parseRoomUrlAndSubdomain, parseUnverifiedRoomKeyData, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, resolutionReported, roomConnectionSlice, roomSlice, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, type rtcAnalyticsState, rtcConnectionSlice, rtcDisconnected, rtcDispatcherCreated, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAppDisplayName, selectAppExternalId, selectAppInitialConfig, selectAppIsActive, selectAppIsLoaded, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAuthorizationRoleName, selectBusyDeviceIds, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToRequestAudioEnable, selectIsCameraEnabled, selectIsCloudRecording, selectIsLocalMediaStarting, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantClientClaim, selectLocalParticipantIsScreenSharing, selectLocalParticipantRaw, selectLocalScreenshareRaw, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectOrganizationId, selectOrganizationRaw, 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, selectShouldReloadApp, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectStreamingRaw, selectStreamsToAccept, selectWaitingParticipants, selectWaitingParticipantsRaw, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setLocalMediaOptions, setLocalMediaStream, setRoomKey, signalConnectionSlice, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, startAppListening, stopScreenshare, streamStatusUpdated, streamingSlice, toggleCameraEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, updateReportedValues, waitingParticipantsSlice };