@3dsource/angular-unreal-module 0.0.100 → 0.0.101-dev.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.
|
@@ -8,9 +8,9 @@ import * as _ngrx_store from '@ngrx/store';
|
|
|
8
8
|
import { Store } from '@ngrx/store';
|
|
9
9
|
import * as _ngrx_effects from '@ngrx/effects';
|
|
10
10
|
import { Actions } from '@ngrx/effects';
|
|
11
|
-
import { MetaBoxCommandPacket, MetaBoxCommandList } from '@3dsource/types-unreal';
|
|
12
11
|
import { IKeyCode, ImageOutputValues } from '@3dsource/utils';
|
|
13
12
|
import { SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
13
|
+
import { MetaBoxCommandPacket, MetaBoxCommandList, FSceneState, FProductPayload, FCameraChangedPayload, FTransformJson } from '@3dsource/types-unreal';
|
|
14
14
|
|
|
15
15
|
declare class AfkTimeoutModalComponent {
|
|
16
16
|
#private;
|
|
@@ -453,6 +453,8 @@ declare class AggregatorService extends SubService {
|
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
declare class CommandTelemetryService {
|
|
456
|
+
private actions$;
|
|
457
|
+
private store;
|
|
456
458
|
private readonly appId;
|
|
457
459
|
private commandsSent;
|
|
458
460
|
private exileTimeout;
|
|
@@ -1025,9 +1027,7 @@ declare class FileHandlerService {
|
|
|
1025
1027
|
private fileService;
|
|
1026
1028
|
private fileHandlers;
|
|
1027
1029
|
private handleJsonFile;
|
|
1028
|
-
observeFileResponse<K extends keyof MetaBoxCommandList, T extends MetaBoxCommandList[K] = MetaBoxCommandList[K]>(mimetype: ReceivedMimeType, data: T, sender: (data: T) => void, timeOut?: number): Observable<
|
|
1029
|
-
commandCallback: ObservedCallbackResponse<T>;
|
|
1030
|
-
} | never>;
|
|
1030
|
+
observeFileResponse<K extends keyof MetaBoxCommandList, T extends MetaBoxCommandList[K] = MetaBoxCommandList[K]>(mimetype: ReceivedMimeType, data: T, sender: (data: T) => void, timeOut?: number): Observable<unknown>;
|
|
1031
1031
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileHandlerService, never>;
|
|
1032
1032
|
static ɵprov: i0.ɵɵInjectableDeclaration<FileHandlerService>;
|
|
1033
1033
|
}
|
|
@@ -1111,7 +1111,7 @@ declare class AnalyticsService {
|
|
|
1111
1111
|
* ## FPS dispatch
|
|
1112
1112
|
*
|
|
1113
1113
|
* FPS changes are dispatched via the NgRx `setMaxFps` action, which triggers
|
|
1114
|
-
* the existing `
|
|
1114
|
+
* the existing `CommandsEffects.setMaxFps$` effect that sends the
|
|
1115
1115
|
* `t.MaxFPS <value>` console command to Unreal Engine.
|
|
1116
1116
|
*/
|
|
1117
1117
|
declare class FpsMonitorService {
|
|
@@ -1217,6 +1217,101 @@ declare class FpsMonitorService {
|
|
|
1217
1217
|
static ɵprov: i0.ɵɵInjectableDeclaration<FpsMonitorService>;
|
|
1218
1218
|
}
|
|
1219
1219
|
|
|
1220
|
+
/**
|
|
1221
|
+
* Custom Unreal callback events that are not part of MetaBoxCommandList.
|
|
1222
|
+
* These events are pushed from Unreal to the frontend via the data channel.
|
|
1223
|
+
*/
|
|
1224
|
+
interface UnrealCallbackEventMap {
|
|
1225
|
+
onSceneState: {
|
|
1226
|
+
command: 'onSceneState';
|
|
1227
|
+
payload: FSceneState;
|
|
1228
|
+
};
|
|
1229
|
+
onFocusObject: {
|
|
1230
|
+
command: 'onFocusObject';
|
|
1231
|
+
payload: FProductPayload;
|
|
1232
|
+
};
|
|
1233
|
+
cameraChanged: {
|
|
1234
|
+
command: 'cameraChanged';
|
|
1235
|
+
payload: FCameraChangedPayload;
|
|
1236
|
+
};
|
|
1237
|
+
onObjectTransformChanged: {
|
|
1238
|
+
command: 'onObjectTransformChanged';
|
|
1239
|
+
payload: {
|
|
1240
|
+
objectName: string;
|
|
1241
|
+
transform: FTransformJson;
|
|
1242
|
+
};
|
|
1243
|
+
};
|
|
1244
|
+
onChangeSequence: {
|
|
1245
|
+
command: 'onChangeSequence';
|
|
1246
|
+
payload: unknown;
|
|
1247
|
+
};
|
|
1248
|
+
onFinishedSequence: {
|
|
1249
|
+
command: 'onFinishedSequence';
|
|
1250
|
+
payload: unknown;
|
|
1251
|
+
};
|
|
1252
|
+
}
|
|
1253
|
+
/**
|
|
1254
|
+
* Combined map of all known callback event types:
|
|
1255
|
+
* MetaBoxCommandList (command responses) + UnrealCallbackEventMap (custom events).
|
|
1256
|
+
*/
|
|
1257
|
+
type UnrealCallbackDescriptor = MetaBoxCommandList & UnrealCallbackEventMap;
|
|
1258
|
+
declare class UnrealCallbackService {
|
|
1259
|
+
private readonly actions$;
|
|
1260
|
+
/**
|
|
1261
|
+
* Listens for unreal command callbacks matching a specific command or event type.
|
|
1262
|
+
*
|
|
1263
|
+
* Supports both MetaBoxCommand keys (e.g. `MetaBoxCommand.FLoadProductCommand`)
|
|
1264
|
+
* and custom Unreal callback events (e.g. `'cameraChanged'`, `'onSceneState'`).
|
|
1265
|
+
*
|
|
1266
|
+
* @param command - The command or event key to filter callbacks by
|
|
1267
|
+
* @returns Observable that emits matching callback payloads
|
|
1268
|
+
*
|
|
1269
|
+
* @example
|
|
1270
|
+
* ```ts
|
|
1271
|
+
* // Listen for a MetaBox command callback
|
|
1272
|
+
* this.unrealCallbackService
|
|
1273
|
+
* .fromUnrealCallback(MetaBoxCommand.FLoadProductCommand)
|
|
1274
|
+
* .subscribe(data => console.log(data));
|
|
1275
|
+
*
|
|
1276
|
+
* // Listen for a custom Unreal event
|
|
1277
|
+
* this.unrealCallbackService
|
|
1278
|
+
* .fromUnrealCallback('cameraChanged')
|
|
1279
|
+
* .subscribe(data => console.log(data));
|
|
1280
|
+
* ```
|
|
1281
|
+
*/
|
|
1282
|
+
fromUnrealCallback<K extends keyof UnrealCallbackDescriptor>(command: K): rxjs.Observable<UnrealCallbackDescriptor[K]>;
|
|
1283
|
+
/**
|
|
1284
|
+
* Sends a command and observes the matching response by correlationId.
|
|
1285
|
+
* Replaces the old `observeCommandResponse` standalone function.
|
|
1286
|
+
*
|
|
1287
|
+
* @param data - The command data to send
|
|
1288
|
+
* @param sender - Function to send the command to Unreal
|
|
1289
|
+
* @param timeOut - Timeout in ms (default 60000)
|
|
1290
|
+
* @param dispatchOnTimeout - Whether to emit on timeout (default true)
|
|
1291
|
+
*
|
|
1292
|
+
* @example
|
|
1293
|
+
* ```ts
|
|
1294
|
+
* this.unrealCallbackService
|
|
1295
|
+
* .observeCommandResponse<FLoopBackCommand['command']>(
|
|
1296
|
+
* { command: MetaBoxCommand.FLoopBackCommand },
|
|
1297
|
+
* (data) => this.communicator.sendCommandToUnreal(data),
|
|
1298
|
+
* )
|
|
1299
|
+
* .subscribe();
|
|
1300
|
+
* ```
|
|
1301
|
+
*/
|
|
1302
|
+
observeCommandResponse<K extends keyof MetaBoxCommandList, T extends MetaBoxCommandList[K] = MetaBoxCommandList[K]>(data: T, sender: (data: T) => void, timeOut?: number, dispatchOnTimeout?: boolean): rxjs.Observable<{
|
|
1303
|
+
json: _3dsource_angular_unreal_module.UnrealCallbackJsonWrapped;
|
|
1304
|
+
} | {
|
|
1305
|
+
json: {
|
|
1306
|
+
commandCallback: {
|
|
1307
|
+
correlationId: string;
|
|
1308
|
+
};
|
|
1309
|
+
};
|
|
1310
|
+
}>;
|
|
1311
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnrealCallbackService, never>;
|
|
1312
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UnrealCallbackService>;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1220
1315
|
declare function AnswerHandler(this: SignallingService, msg: RTCSessionDescriptionInit): void;
|
|
1221
1316
|
|
|
1222
1317
|
declare function ConfigHandler(this: SignallingService, msg: ConfigMessage): void;
|
|
@@ -1249,34 +1344,12 @@ declare function OnOpenHandler(this: SignallingService): void;
|
|
|
1249
1344
|
*/
|
|
1250
1345
|
declare const keepMaxUntilReset: (reset$: Observable<unknown>) => ((source: Observable<number>) => Observable<number>);
|
|
1251
1346
|
|
|
1252
|
-
declare function observeCommandResponse<K extends keyof MetaBoxCommandList, T extends MetaBoxCommandList[K] = MetaBoxCommandList[K]>(data: T, sender: (data: T) => void, timeOut?: number, dispatchOnTimeout?: boolean): Observable<ObservedCallbackResponse<T> | never>;
|
|
1253
|
-
interface ObservedCallbackResponse<T extends MetaBoxCommandPacket> {
|
|
1254
|
-
json: {
|
|
1255
|
-
commandCallback: T;
|
|
1256
|
-
};
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
1347
|
declare function decodeData(anyData: ArrayBuffer): string;
|
|
1260
1348
|
|
|
1261
1349
|
declare const dispatchResize: () => void;
|
|
1262
1350
|
|
|
1263
1351
|
declare function getRtcErrorMessage(code: number | null): string | undefined;
|
|
1264
1352
|
|
|
1265
|
-
type Descriptor = MetaBoxCommandList & SignalDescriptor;
|
|
1266
|
-
/**
|
|
1267
|
-
* UnrealInternalSignalEvents commands list wrapper listener
|
|
1268
|
-
* @param event
|
|
1269
|
-
*/
|
|
1270
|
-
declare function fromSignal<K extends keyof Descriptor>(event: K): Observable<Descriptor[K]>;
|
|
1271
|
-
type ArgumentType<K extends keyof Descriptor> = Descriptor[K] extends void ? never : Descriptor[K];
|
|
1272
|
-
/**
|
|
1273
|
-
* UnrealInternalSignalEvents commands list wrapper sender
|
|
1274
|
-
* @param event
|
|
1275
|
-
* @param args
|
|
1276
|
-
*/
|
|
1277
|
-
declare function sendSignal<K extends keyof Descriptor>(event: K, ...args: ArgumentType<K> extends never ? [] : [ArgumentType<K>]): void;
|
|
1278
|
-
declare function fromUnrealCallBackSignal<K extends keyof Descriptor>(command: K): Observable<Descriptor[K]>;
|
|
1279
|
-
|
|
1280
1353
|
declare const floatToSmoothPercents: () => ((source: Observable<number>) => Observable<number>);
|
|
1281
1354
|
/**
|
|
1282
1355
|
* Creates an observable that emits values transitioning smoothly from the start value to the end value over a specified duration.
|
|
@@ -1328,543 +1401,483 @@ declare class LatencyTimings {
|
|
|
1328
1401
|
|
|
1329
1402
|
declare function qpToQuality(VideoEncoderQP: number): Quality;
|
|
1330
1403
|
|
|
1331
|
-
declare
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
}
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
id: string;
|
|
1398
|
-
} & _ngrx_store.Action<string>>;
|
|
1399
|
-
declare const setIntroImageSrc: _ngrx_store.ActionCreator<string, (props: {
|
|
1400
|
-
src: string;
|
|
1401
|
-
}) => {
|
|
1402
|
-
src: string;
|
|
1403
|
-
} & _ngrx_store.Action<string>>;
|
|
1404
|
-
declare const setLoadingImageSrc: _ngrx_store.ActionCreator<string, (props: {
|
|
1405
|
-
src: string;
|
|
1406
|
-
}) => {
|
|
1407
|
-
src: string;
|
|
1408
|
-
} & _ngrx_store.Action<string>>;
|
|
1409
|
-
declare const setIntroVideoSrc: _ngrx_store.ActionCreator<string, (props: {
|
|
1410
|
-
src: string;
|
|
1411
|
-
}) => {
|
|
1412
|
-
src: string;
|
|
1413
|
-
} & _ngrx_store.Action<string>>;
|
|
1414
|
-
declare const resetIntroSrc: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1415
|
-
declare const setFreezeFrameFromVideo: _ngrx_store.ActionCreator<string, (props: {
|
|
1416
|
-
dataUrl: string | null;
|
|
1417
|
-
progress: number | null;
|
|
1418
|
-
}) => {
|
|
1419
|
-
dataUrl: string | null;
|
|
1420
|
-
progress: number | null;
|
|
1421
|
-
} & _ngrx_store.Action<string>>;
|
|
1422
|
-
declare const setEstablishingConnection: _ngrx_store.ActionCreator<string, (props: {
|
|
1423
|
-
value: boolean;
|
|
1424
|
-
}) => {
|
|
1425
|
-
value: boolean;
|
|
1426
|
-
} & _ngrx_store.Action<string>>;
|
|
1427
|
-
/**
|
|
1428
|
-
* @deprecated Use `dataChannelReady` instead. Currently, this action is not working.
|
|
1429
|
-
*/
|
|
1430
|
-
declare const setDataChannelConnected: _ngrx_store.ActionCreator<string, (props: {
|
|
1431
|
-
statusMessage: string;
|
|
1432
|
-
}) => {
|
|
1433
|
-
statusMessage: string;
|
|
1434
|
-
} & _ngrx_store.Action<string>>;
|
|
1435
|
-
declare const dataChannelConnected: _ngrx_store.ActionCreator<string, (props: {
|
|
1436
|
-
statusMessage: string;
|
|
1437
|
-
}) => {
|
|
1438
|
-
statusMessage: string;
|
|
1439
|
-
} & _ngrx_store.Action<string>>;
|
|
1440
|
-
declare const dataChannelReady: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1441
|
-
declare const setConfig: _ngrx_store.ActionCreator<string, (props: {
|
|
1442
|
-
config: Partial<StreamConfig>;
|
|
1443
|
-
}) => {
|
|
1444
|
-
config: Partial<StreamConfig>;
|
|
1445
|
-
} & _ngrx_store.Action<string>>;
|
|
1446
|
-
declare const disconnectStream: _ngrx_store.ActionCreator<string, (props: {
|
|
1447
|
-
reason: DisconnectReasonType;
|
|
1448
|
-
message: string;
|
|
1449
|
-
}) => {
|
|
1450
|
-
reason: DisconnectReasonType;
|
|
1404
|
+
declare function fromResizeObserver(elem: HTMLElement): Observable<ResizeObserverEntry[]>;
|
|
1405
|
+
|
|
1406
|
+
interface LBMStats {
|
|
1407
|
+
dataFlowResult: DataFlowCheckResult;
|
|
1408
|
+
reason: string;
|
|
1409
|
+
triggerTime: number;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
type Quality = 'lime' | 'red' | 'orange';
|
|
1413
|
+
|
|
1414
|
+
interface SignalingData {
|
|
1415
|
+
instanceType: string;
|
|
1416
|
+
branchInfo: string;
|
|
1417
|
+
cirrusVersion: string;
|
|
1418
|
+
streamerVersion: string;
|
|
1419
|
+
streamPath: string;
|
|
1420
|
+
streamApp: string;
|
|
1421
|
+
connectionId: string;
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
declare const OrchestrationMessageTypes: {
|
|
1425
|
+
readonly ping: "ping";
|
|
1426
|
+
readonly error: "error";
|
|
1427
|
+
readonly offer: "offer";
|
|
1428
|
+
readonly answer: "answer";
|
|
1429
|
+
readonly ssInfo: "ssInfo";
|
|
1430
|
+
readonly config: "config";
|
|
1431
|
+
readonly playerCount: "playerCount";
|
|
1432
|
+
readonly iceCandidate: "iceCandidate";
|
|
1433
|
+
readonly streamerList: "streamerList";
|
|
1434
|
+
readonly requestStream: "requestStream";
|
|
1435
|
+
readonly listStreamers: "listStreamers";
|
|
1436
|
+
readonly instanceReady: "instanceReady";
|
|
1437
|
+
readonly p2pEstablished: "p2pEstablished";
|
|
1438
|
+
readonly instanceReserved: "instanceReserved";
|
|
1439
|
+
readonly playerDisconnected: "playerDisconnected";
|
|
1440
|
+
readonly streamPreparedForUserInteraction: "streamPreparedForUserInteraction";
|
|
1441
|
+
readonly streamerDisconnected: "streamerDisconnected";
|
|
1442
|
+
readonly interruptClientStream: "interruptClientStream";
|
|
1443
|
+
};
|
|
1444
|
+
interface InstanceReady extends InstanceMessageBase {
|
|
1445
|
+
type: 'instanceReady';
|
|
1446
|
+
}
|
|
1447
|
+
interface InstanceReserved extends InstanceMessageBase {
|
|
1448
|
+
type: 'instanceReserved';
|
|
1449
|
+
}
|
|
1450
|
+
interface OrchestrationErrorMessage {
|
|
1451
|
+
type: 'error';
|
|
1452
|
+
payload: {
|
|
1453
|
+
code: number;
|
|
1454
|
+
message: string;
|
|
1455
|
+
};
|
|
1456
|
+
}
|
|
1457
|
+
interface InstanceMessageBase extends MessageBase {
|
|
1458
|
+
correlationId: string;
|
|
1459
|
+
payload: {
|
|
1460
|
+
instanceId: string;
|
|
1461
|
+
streamRequestId: string;
|
|
1462
|
+
eta: number;
|
|
1463
|
+
};
|
|
1464
|
+
}
|
|
1465
|
+
interface MessageBase {
|
|
1466
|
+
type: OrchestrationMessageType;
|
|
1467
|
+
}
|
|
1468
|
+
interface SSInfo extends MessageBase {
|
|
1469
|
+
type: 'ssInfo';
|
|
1451
1470
|
message: string;
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
streamRequestId: string;
|
|
1482
|
-
eta: number;
|
|
1483
|
-
} & _ngrx_store.Action<string>>;
|
|
1484
|
-
declare const setOrchestrationMessage: _ngrx_store.ActionCreator<string, (props: {
|
|
1485
|
-
message: string;
|
|
1486
|
-
}) => {
|
|
1487
|
-
message: string;
|
|
1488
|
-
} & _ngrx_store.Action<string>>;
|
|
1489
|
-
declare const setOrchestrationProgress: _ngrx_store.ActionCreator<string, (props: {
|
|
1490
|
-
progressComplete: number;
|
|
1491
|
-
}) => {
|
|
1492
|
-
progressComplete: number;
|
|
1493
|
-
} & _ngrx_store.Action<string>>;
|
|
1494
|
-
declare const setOrchestrationContext: _ngrx_store.ActionCreator<string, (props: {
|
|
1495
|
-
urls: string[];
|
|
1496
|
-
environmentId: string;
|
|
1497
|
-
streamRequestContext: StreamRequestContext;
|
|
1498
|
-
}) => {
|
|
1499
|
-
urls: string[];
|
|
1500
|
-
environmentId: string;
|
|
1501
|
-
streamRequestContext: StreamRequestContext;
|
|
1502
|
-
} & _ngrx_store.Action<string>>;
|
|
1503
|
-
declare const updateCirrusInfo: _ngrx_store.ActionCreator<string, (props: {
|
|
1504
|
-
ssInfo: string;
|
|
1505
|
-
ssData: SignalingData;
|
|
1506
|
-
}) => {
|
|
1507
|
-
ssInfo: string;
|
|
1508
|
-
ssData: SignalingData;
|
|
1509
|
-
} & _ngrx_store.Action<string>>;
|
|
1510
|
-
declare const commandStarted: _ngrx_store.ActionCreator<string, (props: {
|
|
1511
|
-
id: string;
|
|
1512
|
-
command: string;
|
|
1513
|
-
}) => {
|
|
1514
|
-
id: string;
|
|
1515
|
-
command: string;
|
|
1516
|
-
} & _ngrx_store.Action<string>>;
|
|
1517
|
-
declare const commandCompleted: _ngrx_store.ActionCreator<string, (props: {
|
|
1518
|
-
id: string;
|
|
1519
|
-
}) => {
|
|
1520
|
-
id: string;
|
|
1521
|
-
} & _ngrx_store.Action<string>>;
|
|
1522
|
-
declare const setLoopBackCommandIsCompleted: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1523
|
-
declare const setAfkTimerVisible: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1524
|
-
declare const setAfkTimerHide: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1525
|
-
declare const setAfkTimerCountdown: _ngrx_store.ActionCreator<string, (props: {
|
|
1526
|
-
countdown: number;
|
|
1527
|
-
}) => {
|
|
1528
|
-
countdown: number;
|
|
1529
|
-
} & _ngrx_store.Action<string>>;
|
|
1530
|
-
declare const showUnrealErrorMessage: _ngrx_store.ActionCreator<string, (props: {
|
|
1531
|
-
code: number | null;
|
|
1532
|
-
error?: string;
|
|
1533
|
-
}) => {
|
|
1534
|
-
code: number | null;
|
|
1535
|
-
error?: string;
|
|
1536
|
-
} & _ngrx_store.Action<string>>;
|
|
1537
|
-
declare const initSignalling: _ngrx_store.FunctionWithParametersType<[data?: {
|
|
1538
|
-
resetDisconnectionReason: boolean;
|
|
1539
|
-
} | undefined], {
|
|
1540
|
-
resetDisconnectionReason: boolean;
|
|
1541
|
-
} & _ngrx_store.Action<string>> & _ngrx_store.Action<string>;
|
|
1542
|
-
declare const startStream: _ngrx_store.ActionCreator<string, (props: {
|
|
1543
|
-
config: Partial<StreamConfig>;
|
|
1544
|
-
}) => {
|
|
1545
|
-
config: Partial<StreamConfig>;
|
|
1546
|
-
} & _ngrx_store.Action<string>>;
|
|
1547
|
-
declare const resetConfig: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1548
|
-
declare const resetAfk: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1549
|
-
declare const resetWarnTimeout: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1550
|
-
declare const abortEstablishingConnection: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1551
|
-
declare const setUnrealPlaywrightConfig: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1552
|
-
declare const saveAnalyticsEvent: _ngrx_store.ActionCreator<string, (props: {
|
|
1553
|
-
event: {
|
|
1554
|
-
name: string;
|
|
1555
|
-
params: Record<string, unknown>;
|
|
1471
|
+
data: SignalingData;
|
|
1472
|
+
}
|
|
1473
|
+
interface PlayerCountMessage extends MessageBase {
|
|
1474
|
+
type: 'playerCount';
|
|
1475
|
+
playerCount: number;
|
|
1476
|
+
}
|
|
1477
|
+
interface StreamerListMessage extends MessageBase {
|
|
1478
|
+
type: 'streamerList';
|
|
1479
|
+
ids: string[];
|
|
1480
|
+
}
|
|
1481
|
+
interface ConfigMessage extends MessageBase, UnknownFields {
|
|
1482
|
+
type: 'config';
|
|
1483
|
+
peerConnectionOptions: RTCConfiguration;
|
|
1484
|
+
}
|
|
1485
|
+
interface CandidateMessage extends MessageBase {
|
|
1486
|
+
type: 'iceCandidate';
|
|
1487
|
+
candidate: RTCIceCandidate;
|
|
1488
|
+
}
|
|
1489
|
+
interface PingMessage extends MessageBase {
|
|
1490
|
+
type: 'ping';
|
|
1491
|
+
playerId: string;
|
|
1492
|
+
appConnectionCounter: number;
|
|
1493
|
+
}
|
|
1494
|
+
type UnknownFields = Record<string, unknown>;
|
|
1495
|
+
interface InterruptClientStream extends MessageBase {
|
|
1496
|
+
type: 'interruptClientStream';
|
|
1497
|
+
correlationId: string;
|
|
1498
|
+
payload: {
|
|
1499
|
+
environmentId: string;
|
|
1556
1500
|
};
|
|
1557
|
-
}
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1501
|
+
}
|
|
1502
|
+
interface ForceClientDisconnect extends MessageBase {
|
|
1503
|
+
type: 'streamerDisconnected' | 'playerDisconnected';
|
|
1504
|
+
connectionId: string;
|
|
1505
|
+
}
|
|
1506
|
+
interface ListStreamersMessage extends MessageBase {
|
|
1507
|
+
type: 'listStreamers';
|
|
1508
|
+
correlationId: string;
|
|
1509
|
+
}
|
|
1510
|
+
interface P2PEstablishedMessage extends MessageBase {
|
|
1511
|
+
type: 'p2pEstablished';
|
|
1512
|
+
source: string;
|
|
1513
|
+
sessionId: string;
|
|
1514
|
+
}
|
|
1515
|
+
interface streamPreparedForUserInteractionMessage extends MessageBase {
|
|
1516
|
+
type: 'streamPreparedForUserInteraction';
|
|
1517
|
+
correlationId: string;
|
|
1518
|
+
}
|
|
1519
|
+
interface RequestStream extends MessageBase {
|
|
1520
|
+
type: 'requestStream';
|
|
1521
|
+
correlationId: string;
|
|
1522
|
+
payload: {
|
|
1523
|
+
environmentId: string;
|
|
1524
|
+
region?: string;
|
|
1525
|
+
/**
|
|
1526
|
+
* The context field is used for plugins of the external
|
|
1527
|
+
* applications for collecting additional statistics, etc.
|
|
1528
|
+
*/
|
|
1529
|
+
context: StreamRequestContext;
|
|
1561
1530
|
};
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
}
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1531
|
+
}
|
|
1532
|
+
interface MetaboxBasicConfiguratorContext {
|
|
1533
|
+
id: 'metaboxBasicConfigurator';
|
|
1534
|
+
data: {
|
|
1535
|
+
configuratorId: string;
|
|
1536
|
+
};
|
|
1537
|
+
}
|
|
1538
|
+
interface MetaboxModularConfiguratorContext {
|
|
1539
|
+
id: 'metaboxModularConfigurator';
|
|
1540
|
+
data: {
|
|
1541
|
+
configuratorId: string;
|
|
1542
|
+
};
|
|
1543
|
+
}
|
|
1544
|
+
interface MetaboxProductContext {
|
|
1545
|
+
id: 'metaboxProduct';
|
|
1546
|
+
data: {
|
|
1547
|
+
productId: string;
|
|
1548
|
+
};
|
|
1549
|
+
}
|
|
1550
|
+
interface MetaboxEnvironmentContext {
|
|
1551
|
+
id: 'metaboxEnvironment';
|
|
1552
|
+
data: {
|
|
1553
|
+
environmentId: string;
|
|
1554
|
+
};
|
|
1555
|
+
}
|
|
1556
|
+
interface MetaboxStudioContext {
|
|
1557
|
+
id: 'metaboxStudio';
|
|
1558
|
+
data: {
|
|
1559
|
+
userId: string;
|
|
1560
|
+
workspaceId: string;
|
|
1561
|
+
};
|
|
1562
|
+
}
|
|
1563
|
+
interface CustomApplicationContext {
|
|
1564
|
+
id: 'customApplication';
|
|
1565
|
+
data: {
|
|
1566
|
+
clientId: string;
|
|
1567
|
+
applicationId: string;
|
|
1568
|
+
};
|
|
1569
|
+
}
|
|
1570
|
+
type StreamRequestContext = MetaboxStudioContext | MetaboxProductContext | CustomApplicationContext | MetaboxEnvironmentContext | MetaboxBasicConfiguratorContext | MetaboxModularConfiguratorContext;
|
|
1571
|
+
interface SignalingMessageMap {
|
|
1572
|
+
[OrchestrationMessageTypes.ping]: PingMessage;
|
|
1573
|
+
[OrchestrationMessageTypes.offer]: RTCSessionDescriptionInit;
|
|
1574
|
+
[OrchestrationMessageTypes.error]: OrchestrationErrorMessage;
|
|
1575
|
+
[OrchestrationMessageTypes.ssInfo]: SSInfo;
|
|
1576
|
+
[OrchestrationMessageTypes.config]: ConfigMessage;
|
|
1577
|
+
[OrchestrationMessageTypes.answer]: RTCSessionDescriptionInit;
|
|
1578
|
+
[OrchestrationMessageTypes.playerCount]: PlayerCountMessage;
|
|
1579
|
+
[OrchestrationMessageTypes.iceCandidate]: CandidateMessage;
|
|
1580
|
+
[OrchestrationMessageTypes.streamerList]: StreamerListMessage;
|
|
1581
|
+
[OrchestrationMessageTypes.instanceReady]: InstanceReady;
|
|
1582
|
+
[OrchestrationMessageTypes.requestStream]: RequestStream;
|
|
1583
|
+
[OrchestrationMessageTypes.listStreamers]: ListStreamersMessage;
|
|
1584
|
+
[OrchestrationMessageTypes.p2pEstablished]: P2PEstablishedMessage;
|
|
1585
|
+
[OrchestrationMessageTypes.instanceReserved]: InstanceReserved;
|
|
1586
|
+
[OrchestrationMessageTypes.playerDisconnected]: ForceClientDisconnect;
|
|
1587
|
+
[OrchestrationMessageTypes.streamPreparedForUserInteraction]: streamPreparedForUserInteractionMessage;
|
|
1588
|
+
[OrchestrationMessageTypes.streamerDisconnected]: ForceClientDisconnect;
|
|
1589
|
+
[OrchestrationMessageTypes.interruptClientStream]: InterruptClientStream;
|
|
1590
|
+
}
|
|
1591
|
+
type OrchestrationMessageType = keyof SignalingMessageMap;
|
|
1592
|
+
type AnySignalingMessage = SignalingMessageMap[OrchestrationMessageType] | string;
|
|
1593
|
+
type SignalingMessageHandler<T extends keyof SignalingMessageMap> = (msg: SignalingMessageMap[T]) => void;
|
|
1594
|
+
interface PollingOrchestrationMessage {
|
|
1595
|
+
mm_message?: string;
|
|
1596
|
+
signallingServer?: string;
|
|
1597
|
+
error?: string;
|
|
1598
|
+
info?: {
|
|
1599
|
+
age: number | null;
|
|
1600
|
+
left: number | null;
|
|
1601
|
+
percent: number | null;
|
|
1602
|
+
total: number | null;
|
|
1603
|
+
};
|
|
1604
|
+
}
|
|
1592
1605
|
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
progressComplete: number;
|
|
1640
|
-
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
1641
|
-
setDataChannelTimeoutCheck$: rxjs.Observable<{
|
|
1642
|
-
reason: _3dsource_angular_unreal_module.DisconnectReasonType;
|
|
1643
|
-
message: string;
|
|
1644
|
-
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
1645
|
-
destroyConnectionAndRestart$: rxjs.Observable<{
|
|
1646
|
-
resetDisconnectionReason: boolean;
|
|
1647
|
-
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
1648
|
-
showUnrealError$: rxjs.Observable<{
|
|
1649
|
-
code: number | null;
|
|
1650
|
-
error?: string;
|
|
1651
|
-
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
1652
|
-
sendStatisticsToUnreal$: rxjs.Observable<Object> & _ngrx_effects.CreateEffectMetadata;
|
|
1653
|
-
unrealReceiverReady$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
1654
|
-
initAppBySetDataChannelConnected$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
1655
|
-
setViewportReadyBySetLoopBackCommandIsCompleted$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
1656
|
-
startStream$: rxjs.Observable<{
|
|
1657
|
-
resetDisconnectionReason: boolean;
|
|
1658
|
-
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
1659
|
-
listenUnrealCallbackByInitSignalling$: rxjs.Observable<{
|
|
1660
|
-
id: string;
|
|
1661
|
-
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
1662
|
-
connectToSignaling$: rxjs.Observable<WebSocket> & _ngrx_effects.CreateEffectMetadata;
|
|
1606
|
+
interface StreamConfig {
|
|
1607
|
+
autoStart: boolean;
|
|
1608
|
+
warnTimeout: number;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
interface StreamResolutionProps {
|
|
1612
|
+
width: number | null;
|
|
1613
|
+
height: number | null;
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
type TelemetryType = 'commandSent' | 'commandStop';
|
|
1617
|
+
|
|
1618
|
+
interface AggregatedStat {
|
|
1619
|
+
quality: Quality;
|
|
1620
|
+
aggregatedStats: InboundVideoStats;
|
|
1621
|
+
}
|
|
1622
|
+
interface InboundVideoStats extends RTCInboundRtpStreamStats {
|
|
1623
|
+
VideoEncoderQP: number;
|
|
1624
|
+
runTime: number;
|
|
1625
|
+
pixelRatio: number;
|
|
1626
|
+
bytesReceivedStart: number;
|
|
1627
|
+
framesDecodedStart: number;
|
|
1628
|
+
timestampStart: number;
|
|
1629
|
+
videoCodec: string;
|
|
1630
|
+
avgBitrate: number;
|
|
1631
|
+
avgFrameRate: number;
|
|
1632
|
+
selectedPair: {
|
|
1633
|
+
local: {
|
|
1634
|
+
type: string;
|
|
1635
|
+
url: string;
|
|
1636
|
+
};
|
|
1637
|
+
remote: {
|
|
1638
|
+
type: string;
|
|
1639
|
+
url: string;
|
|
1640
|
+
};
|
|
1641
|
+
} | null;
|
|
1642
|
+
currentRoundTripTime: number;
|
|
1643
|
+
codecs: Record<string, string>;
|
|
1644
|
+
receiveToCompositeMs: number;
|
|
1645
|
+
bitrate: number;
|
|
1646
|
+
kalmanBitrate: number;
|
|
1647
|
+
bitrateDrop: number;
|
|
1648
|
+
dataFlowCheckResult: DataFlowCheckResult;
|
|
1649
|
+
dataFlowBitrate: DataFlowCheckResult;
|
|
1650
|
+
}
|
|
1651
|
+
interface AwsInstance {
|
|
1663
1652
|
/**
|
|
1664
|
-
*
|
|
1665
|
-
*
|
|
1666
|
-
* Ensures the viewport is explicitly marked as *not ready* to prevent
|
|
1667
|
-
* a temporary black screen flash when disconnecting.
|
|
1668
|
-
*
|
|
1669
|
-
* ### Why
|
|
1670
|
-
* - The video stream is disconnected immediately.
|
|
1671
|
-
* - The DataChannel closes slightly later.
|
|
1672
|
-
* - Closing the DataChannel resets the Unreal scene,
|
|
1673
|
-
* which also sets `viewPortReady` to `false`.
|
|
1674
|
-
*
|
|
1675
|
-
* Without this effect, the order of these events may cause
|
|
1676
|
-
* a visible flicker (video flashing to black).
|
|
1653
|
+
* WebSocket URL for connecting to the Cirrus (polling mode) or Orchestration (direct mode).
|
|
1677
1654
|
*/
|
|
1678
|
-
|
|
1655
|
+
wsUrl: string | null;
|
|
1656
|
+
pollingUrl: string | null;
|
|
1657
|
+
instanceName: string | null;
|
|
1679
1658
|
/**
|
|
1680
|
-
*
|
|
1681
|
-
*
|
|
1682
|
-
* Triggers peer reconnection when DataChannel closes unexpectedly.
|
|
1683
|
-
* Only triggers if reconnection is enabled, onDataChannelClose is true,
|
|
1684
|
-
* and the signaling WebSocket is still connected.
|
|
1659
|
+
* Unique identifier for the streaming request.
|
|
1660
|
+
* Coming with a new orchestration message "instanceReserved".
|
|
1685
1661
|
*/
|
|
1686
|
-
|
|
1687
|
-
attempt: number;
|
|
1688
|
-
maxAttempts: number;
|
|
1689
|
-
delay?: number;
|
|
1690
|
-
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
1662
|
+
streamRequestId?: string;
|
|
1691
1663
|
/**
|
|
1692
|
-
*
|
|
1693
|
-
*
|
|
1694
|
-
* Resets the data channel state when peer reconnection starts.
|
|
1664
|
+
* Estimated time of arrival (in seconds) for the instance to be ready.
|
|
1665
|
+
* Coming with a new orchestration message "instanceReserved".
|
|
1695
1666
|
*/
|
|
1696
|
-
|
|
1667
|
+
eta?: number;
|
|
1697
1668
|
/**
|
|
1698
|
-
*
|
|
1699
|
-
*
|
|
1700
|
-
*
|
|
1701
|
-
* This only re-establishes the WebRTC connection, not the signaling.
|
|
1669
|
+
* Progress of completion for the instance launch (0-1).
|
|
1670
|
+
* Based on ETA time comes from the backend with new orchestration.
|
|
1671
|
+
* If eta is not provided, this value will be undefined.
|
|
1702
1672
|
*/
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1673
|
+
progressComplete?: number;
|
|
1674
|
+
message?: string;
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
interface DataFlowCheckResult {
|
|
1678
|
+
isDropDetected: boolean;
|
|
1679
|
+
dropPercentage: number;
|
|
1680
|
+
activeMedian: number;
|
|
1681
|
+
quality: Quality;
|
|
1682
|
+
message: string;
|
|
1683
|
+
dataHistory: number[];
|
|
1684
|
+
config: {
|
|
1685
|
+
yellowFlagThresholdPercentage: number;
|
|
1686
|
+
redFlagThresholdPercentage: number;
|
|
1687
|
+
historyBufferLength: number;
|
|
1688
|
+
splitPoint: number;
|
|
1689
|
+
};
|
|
1690
|
+
}
|
|
1691
|
+
declare class DataFlowMonitor {
|
|
1692
|
+
protected yellowFlagThresholdPercentage: number;
|
|
1693
|
+
protected redFlagThresholdPercentage: number;
|
|
1694
|
+
protected historyBufferLength: number;
|
|
1695
|
+
protected splitPoint: number;
|
|
1696
|
+
protected dataHistory: number[];
|
|
1710
1697
|
/**
|
|
1711
|
-
*
|
|
1712
|
-
*
|
|
1713
|
-
*
|
|
1714
|
-
*
|
|
1698
|
+
* Initializes the DataFlowMonitor monitor.
|
|
1699
|
+
* @param yellowFlagThresholdPercentage - The percentage drop to trigger a YELLOW warning (default: 15%).
|
|
1700
|
+
* @param redFlagThresholdPercentage - The percentage drop to trigger a RED warning (default: 30%).
|
|
1701
|
+
* @param historyBufferLength - buffer length (default: 100).
|
|
1702
|
+
* @param splitPoint - The point at which to split the history buffer into two halves (default: 0.5).
|
|
1715
1703
|
*/
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
1704
|
+
constructor(yellowFlagThresholdPercentage?: number, redFlagThresholdPercentage?: number, historyBufferLength?: number, splitPoint?: number);
|
|
1705
|
+
reset(): void;
|
|
1706
|
+
config(data: FilterSettings): void;
|
|
1720
1707
|
/**
|
|
1721
|
-
*
|
|
1722
|
-
*
|
|
1723
|
-
*
|
|
1708
|
+
* Adds a new bitrate measurement and checks for significant drops.
|
|
1709
|
+
* @param currentValue - The current bitrate in kbps.
|
|
1710
|
+
* @returns BitrateCheckResult indicating if a drop was detected.
|
|
1724
1711
|
*/
|
|
1725
|
-
|
|
1726
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UnrealEffects, never>;
|
|
1727
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UnrealEffects>;
|
|
1712
|
+
addValue(currentValue: number): DataFlowCheckResult;
|
|
1728
1713
|
}
|
|
1729
1714
|
|
|
1730
|
-
|
|
1731
|
-
name: "unrealFeature";
|
|
1732
|
-
reducer: _ngrx_store.ActionReducer<_3dsource_angular_unreal_module.UnrealState, _ngrx_store.Action<string>>;
|
|
1733
|
-
selectUnrealFeatureState: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.UnrealState, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.UnrealState>;
|
|
1734
|
-
selectSsInfo: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
1735
|
-
selectLowBandwidth: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1736
|
-
selectIsVideoPlaying: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1737
|
-
selectStatusMessage: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
1738
|
-
selectEnvironmentId: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
1739
|
-
selectStreamRequestContext: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamRequestContext | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.StreamRequestContext | null>;
|
|
1740
|
-
selectSsData: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.SignalingData | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.SignalingData | null>;
|
|
1741
|
-
selectLowBandwidthStats: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.LBMStats | undefined, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.LBMStats | undefined>;
|
|
1742
|
-
selectStreamConfig: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamConfig, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.StreamConfig>;
|
|
1743
|
-
selectAwsInstance: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.AwsInstance, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.AwsInstance>;
|
|
1744
|
-
selectWasInitialized: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1745
|
-
selectIsFirstSuccessLoad: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1746
|
-
selectIsAfkTimerVisible: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1747
|
-
selectAfkCountdown: _ngrx_store.MemoizedSelector<Record<string, any>, number, (featureState: _3dsource_angular_unreal_module.UnrealState) => number>;
|
|
1748
|
-
selectCirrusConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1749
|
-
selectViewportReady: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1750
|
-
selectFreezeFrameFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.FreezeFrameMessage, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.FreezeFrameMessage>;
|
|
1751
|
-
selectFreezeFrame: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.FreezeFrameMessage, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.FreezeFrameMessage>;
|
|
1752
|
-
selectStatusPercentSignallingServer: _ngrx_store.MemoizedSelector<Record<string, any>, number | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => number | null>;
|
|
1753
|
-
selectErrorMessage: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.ConnectionError | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.ConnectionError | null>;
|
|
1754
|
-
selectIsReconnecting: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1755
|
-
selectDataChannelConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1756
|
-
selectStreamResolution: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamResolutionProps, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.StreamResolutionProps>;
|
|
1757
|
-
selectEstablishingConnection: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
1758
|
-
selectDisconnectReason: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.DisconnectReasonType, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.DisconnectReasonType>;
|
|
1759
|
-
selectLoaderCommands: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.CommandsLoaderState, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.CommandsLoaderState>;
|
|
1760
|
-
selectMatchUrls: _ngrx_store.MemoizedSelector<Record<string, any>, string[], (featureState: _3dsource_angular_unreal_module.UnrealState) => string[]>;
|
|
1761
|
-
selectStreamClientCompanyId: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
1762
|
-
selectStreamViewId: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
1763
|
-
selectVideoIntroSrc: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
1764
|
-
selectImageIntroSrc: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
1765
|
-
selectImageLoadingSrc: _ngrx_store.MemoizedSelector<Record<string, any>, string, (featureState: _3dsource_angular_unreal_module.UnrealState) => string>;
|
|
1766
|
-
selectAnalyticsEvent: _ngrx_store.MemoizedSelector<Record<string, any>, {
|
|
1767
|
-
name: string;
|
|
1768
|
-
params: Record<string, unknown>;
|
|
1769
|
-
} | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => {
|
|
1770
|
-
name: string;
|
|
1771
|
-
params: Record<string, unknown>;
|
|
1772
|
-
} | null>;
|
|
1773
|
-
};
|
|
1774
|
-
|
|
1775
|
-
interface CommandsLoaderState {
|
|
1776
|
-
commandsInProgress: {
|
|
1777
|
-
timeStamp: number;
|
|
1778
|
-
command: string;
|
|
1779
|
-
id: string;
|
|
1780
|
-
}[];
|
|
1781
|
-
totalCommandsStarted: number;
|
|
1782
|
-
totalCommandsCompleted: number;
|
|
1783
|
-
}
|
|
1784
|
-
interface UnrealState {
|
|
1785
|
-
lowBandwidthStats: LBMStats | undefined;
|
|
1786
|
-
streamConfig: StreamConfig;
|
|
1787
|
-
awsInstance: AwsInstance;
|
|
1788
|
-
lowBandwidth: boolean;
|
|
1789
|
-
wasInitialized: boolean;
|
|
1790
|
-
isFirstSuccessLoad: boolean;
|
|
1791
|
-
isAfkTimerVisible: boolean;
|
|
1792
|
-
afkCountdown: number;
|
|
1793
|
-
cirrusConnected: boolean;
|
|
1794
|
-
viewportReady: boolean;
|
|
1795
|
-
freezeFrameFromVideo: FreezeFrameMessage;
|
|
1796
|
-
freezeFrame: FreezeFrameMessage;
|
|
1797
|
-
statusMessage: string | null;
|
|
1715
|
+
interface FilterSettings {
|
|
1798
1716
|
/**
|
|
1799
|
-
*
|
|
1717
|
+
* Minimum number of kilobits per second to trigger low bandwidth
|
|
1800
1718
|
*/
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
} | null;
|
|
1719
|
+
minimumBitrate: number;
|
|
1720
|
+
/**
|
|
1721
|
+
* Amount of a percentage drop to trigger a yellow warning
|
|
1722
|
+
*/
|
|
1723
|
+
yellowFlag: number;
|
|
1724
|
+
/**
|
|
1725
|
+
* Amount of a percentage drop to trigger a red warning
|
|
1726
|
+
*/
|
|
1727
|
+
redFlag: number;
|
|
1728
|
+
/**
|
|
1729
|
+
* Minimum number of frames per second to trigger low bandwidth
|
|
1730
|
+
*/
|
|
1731
|
+
minimumFps: number;
|
|
1732
|
+
/**
|
|
1733
|
+
* Time to wait before checking if we can switch to low bandwidth
|
|
1734
|
+
*/
|
|
1735
|
+
monitoringDelayTime: number;
|
|
1736
|
+
initialBitrateEstimate: number;
|
|
1737
|
+
initialErrorCovariance: number;
|
|
1738
|
+
processNoise: number;
|
|
1739
|
+
measurementNoise: number;
|
|
1740
|
+
panelOpen: boolean;
|
|
1824
1741
|
}
|
|
1825
|
-
declare const initialState: UnrealState;
|
|
1826
|
-
declare const unrealReducer: _ngrx_store.ActionReducer<UnrealState, _ngrx_store.Action<string>>;
|
|
1827
1742
|
|
|
1828
|
-
declare
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1743
|
+
declare class FilterSettingsComponent implements OnInit {
|
|
1744
|
+
private store;
|
|
1745
|
+
private readonly storageKey;
|
|
1746
|
+
readonly defaultFilterModel: {
|
|
1747
|
+
minimumBitrate: number;
|
|
1748
|
+
yellowFlag: number;
|
|
1749
|
+
redFlag: number;
|
|
1750
|
+
minimumFps: number;
|
|
1751
|
+
monitoringDelayTime: number;
|
|
1752
|
+
initialBitrateEstimate: number;
|
|
1753
|
+
initialErrorCovariance: number;
|
|
1754
|
+
processNoise: number;
|
|
1755
|
+
measurementNoise: number;
|
|
1756
|
+
panelOpen: boolean;
|
|
1757
|
+
};
|
|
1758
|
+
settings: {
|
|
1759
|
+
minimumBitrate: number;
|
|
1760
|
+
yellowFlag: number;
|
|
1761
|
+
redFlag: number;
|
|
1762
|
+
minimumFps: number;
|
|
1763
|
+
monitoringDelayTime: number;
|
|
1764
|
+
initialBitrateEstimate: number;
|
|
1765
|
+
initialErrorCovariance: number;
|
|
1766
|
+
processNoise: number;
|
|
1767
|
+
measurementNoise: number;
|
|
1768
|
+
panelOpen: boolean;
|
|
1769
|
+
};
|
|
1770
|
+
ngOnInit(): void;
|
|
1771
|
+
togglePanel(): void;
|
|
1772
|
+
saveSettings(): void;
|
|
1773
|
+
dispatch(settings: FilterSettings): void;
|
|
1774
|
+
reset(): void;
|
|
1775
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterSettingsComponent, never>;
|
|
1776
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterSettingsComponent, "app-filter-settings", never, {}, {}, never, never, true, never>;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
declare class LowBandwidthDetectorComponent implements OnInit {
|
|
1780
|
+
private readonly store;
|
|
1781
|
+
private readonly dialog;
|
|
1782
|
+
private readonly destroyRef;
|
|
1783
|
+
private readonly videoService;
|
|
1784
|
+
readonly isDevMode: boolean;
|
|
1785
|
+
private readonly viewportReady$;
|
|
1786
|
+
private readonly isLowBandwidth$;
|
|
1787
|
+
private readonly lowBandwidthTrigger$;
|
|
1788
|
+
private readonly highBandwidthTrigger$;
|
|
1789
|
+
private readonly viewPortDestroyedTrigger$;
|
|
1790
|
+
private readonly aggregatedStats$;
|
|
1791
|
+
private readonly nativeQuality$;
|
|
1792
|
+
private readonly monitoringTrigger$;
|
|
1793
|
+
private readonly reTrigger$;
|
|
1794
|
+
private readonly canSwitchToLowBand$;
|
|
1795
|
+
private readonly videoQuality$;
|
|
1796
|
+
private readonly fps$;
|
|
1797
|
+
private readonly bitrateDrop$;
|
|
1798
|
+
readonly fps: i0.Signal<number>;
|
|
1799
|
+
readonly nativeQuality: i0.Signal<Quality | undefined>;
|
|
1800
|
+
readonly isLowBandwidth: i0.Signal<boolean | undefined>;
|
|
1801
|
+
readonly aggregatedStats: i0.Signal<_3dsource_angular_unreal_module.InboundVideoStats | undefined>;
|
|
1802
|
+
readonly isReducedQuality: i0.WritableSignal<boolean>;
|
|
1803
|
+
readonly isIndicatorExpanded: i0.WritableSignal<boolean>;
|
|
1804
|
+
readonly isIndicatorExpandedTrigger$: rxjs.Observable<false>;
|
|
1805
|
+
ngOnInit(): void;
|
|
1806
|
+
private trySetLowBandwidth;
|
|
1807
|
+
toggleIndicator(value: boolean): void;
|
|
1808
|
+
hideIndicatorAfterDelay(): void;
|
|
1809
|
+
openLBMDialog(): void;
|
|
1810
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LowBandwidthDetectorComponent, never>;
|
|
1811
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LowBandwidthDetectorComponent, "app-low-bandwidth-detector", never, {}, {}, never, never, true, never>;
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
declare class SafePipe implements PipeTransform {
|
|
1815
|
+
private sanitizer;
|
|
1816
|
+
transform(value: string, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
|
|
1817
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafePipe, never>;
|
|
1818
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "safe", true>;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
declare function provideAngularUnrealModule(config?: {
|
|
1822
|
+
playwright: boolean;
|
|
1823
|
+
}): i0.EnvironmentProviders;
|
|
1824
|
+
|
|
1825
|
+
/**
|
|
1826
|
+
* Raw JSON from Unreal can either be wrapped in `commandCallback`
|
|
1827
|
+
* (e.g. `{ commandCallback: { command: '...', correlationId: '...' } }`)
|
|
1828
|
+
* or be a direct command/event object (e.g. `{ command: 'cameraChanged', payload: {...} }`).
|
|
1829
|
+
*/
|
|
1830
|
+
interface UnrealCallbackJsonWrapped {
|
|
1831
|
+
commandCallback: MetaBoxCommandPacket;
|
|
1832
|
+
timeStamp?: unknown;
|
|
1833
|
+
}
|
|
1834
|
+
type UnrealCallbackJson = UnrealCallbackJsonWrapped | MetaBoxCommandPacket;
|
|
1835
|
+
declare const unrealCommandCallback: _ngrx_store.ActionCreator<string, (props: {
|
|
1836
|
+
json: UnrealCallbackJson;
|
|
1837
|
+
}) => {
|
|
1838
|
+
json: UnrealCallbackJson;
|
|
1839
|
+
} & _ngrx_store.Action<string>>;
|
|
1840
|
+
declare const commandStarted: _ngrx_store.ActionCreator<string, (props: {
|
|
1841
|
+
id: string;
|
|
1847
1842
|
command: string;
|
|
1843
|
+
}) => {
|
|
1848
1844
|
id: string;
|
|
1849
|
-
} | null, (s1: _3dsource_angular_unreal_module.CommandsLoaderState) => {
|
|
1850
|
-
timeStamp: number;
|
|
1851
1845
|
command: string;
|
|
1846
|
+
} & _ngrx_store.Action<string>>;
|
|
1847
|
+
declare const commandCompleted: _ngrx_store.ActionCreator<string, (props: {
|
|
1852
1848
|
id: string;
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
declare
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1849
|
+
}) => {
|
|
1850
|
+
id: string;
|
|
1851
|
+
} & _ngrx_store.Action<string>>;
|
|
1852
|
+
|
|
1853
|
+
declare class CommandsEffects {
|
|
1854
|
+
private actions$;
|
|
1855
|
+
private unrealInitialConfig;
|
|
1856
|
+
listenUnrealCallbackByInitSignalling$: rxjs.Observable<{
|
|
1857
|
+
id: string;
|
|
1858
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
1859
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommandsEffects, never>;
|
|
1860
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommandsEffects>;
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
declare const commandsFeature: {
|
|
1864
|
+
name: "commandsFeature";
|
|
1865
|
+
reducer: _ngrx_store.ActionReducer<_3dsource_angular_unreal_module.UnrealCommandsState, _ngrx_store.Action<string>>;
|
|
1866
|
+
selectCommandsFeatureState: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.UnrealCommandsState, (featureState: _3dsource_angular_unreal_module.UnrealCommandsState) => _3dsource_angular_unreal_module.UnrealCommandsState>;
|
|
1867
|
+
selectCommandsInProgress: _ngrx_store.MemoizedSelector<Record<string, any>, {
|
|
1868
|
+
timeStamp: number;
|
|
1869
|
+
command: string;
|
|
1870
|
+
id: string;
|
|
1871
|
+
}[], (featureState: _3dsource_angular_unreal_module.UnrealCommandsState) => {
|
|
1872
|
+
timeStamp: number;
|
|
1873
|
+
command: string;
|
|
1874
|
+
id: string;
|
|
1875
|
+
}[]>;
|
|
1876
|
+
selectTotalCommandsStarted: _ngrx_store.MemoizedSelector<Record<string, any>, number, (featureState: _3dsource_angular_unreal_module.UnrealCommandsState) => number>;
|
|
1877
|
+
selectTotalCommandsCompleted: _ngrx_store.MemoizedSelector<Record<string, any>, number, (featureState: _3dsource_angular_unreal_module.UnrealCommandsState) => number>;
|
|
1878
|
+
};
|
|
1866
1879
|
|
|
1867
|
-
|
|
1880
|
+
interface UnrealCommandsState {
|
|
1868
1881
|
commandsInProgress: {
|
|
1869
1882
|
timeStamp: number;
|
|
1870
1883
|
command: string;
|
|
@@ -1872,443 +1885,533 @@ declare const removeExileCommands: (state: CommandsLoaderState, idToRemove: stri
|
|
|
1872
1885
|
}[];
|
|
1873
1886
|
totalCommandsStarted: number;
|
|
1874
1887
|
totalCommandsCompleted: number;
|
|
1875
|
-
};
|
|
1876
|
-
|
|
1877
|
-
declare function fromResizeObserver(elem: HTMLElement): Observable<ResizeObserverEntry[]>;
|
|
1878
|
-
|
|
1879
|
-
interface LBMStats {
|
|
1880
|
-
dataFlowResult: DataFlowCheckResult;
|
|
1881
|
-
reason: string;
|
|
1882
|
-
triggerTime: number;
|
|
1883
1888
|
}
|
|
1889
|
+
declare const commandsReducer: _ngrx_store.ActionReducer<UnrealCommandsState, _ngrx_store.Action<string>>;
|
|
1884
1890
|
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
}
|
|
1891
|
+
declare const selectCommandsInProgress: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: {
|
|
1892
|
+
timeStamp: number;
|
|
1893
|
+
command: string;
|
|
1894
|
+
id: string;
|
|
1895
|
+
}[]) => number>;
|
|
1896
|
+
declare const selectCommandProgress: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: number, s2: number) => number>;
|
|
1897
|
+
declare const selectLastCommandInProgress: _ngrx_store.MemoizedSelector<Record<string, any>, {
|
|
1898
|
+
timeStamp: number;
|
|
1899
|
+
command: string;
|
|
1900
|
+
id: string;
|
|
1901
|
+
} | null, (s1: {
|
|
1902
|
+
timeStamp: number;
|
|
1903
|
+
command: string;
|
|
1904
|
+
id: string;
|
|
1905
|
+
}[]) => {
|
|
1906
|
+
timeStamp: number;
|
|
1907
|
+
command: string;
|
|
1908
|
+
id: string;
|
|
1909
|
+
} | null>;
|
|
1896
1910
|
|
|
1897
|
-
declare const
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
}
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
}
|
|
1941
|
-
|
|
1942
|
-
|
|
1911
|
+
declare const trackMixpanelEvent: _ngrx_store.ActionCreator<string, (props: {
|
|
1912
|
+
event: string;
|
|
1913
|
+
data?: unknown;
|
|
1914
|
+
}) => {
|
|
1915
|
+
event: string;
|
|
1916
|
+
data?: unknown;
|
|
1917
|
+
} & _ngrx_store.Action<string>>;
|
|
1918
|
+
declare const changeLowBandwidth: _ngrx_store.ActionCreator<string, (props: {
|
|
1919
|
+
lowBandwidth: boolean;
|
|
1920
|
+
stats?: LBMStats;
|
|
1921
|
+
}) => {
|
|
1922
|
+
lowBandwidth: boolean;
|
|
1923
|
+
stats?: LBMStats;
|
|
1924
|
+
} & _ngrx_store.Action<string>>;
|
|
1925
|
+
declare const setMaxFps: _ngrx_store.ActionCreator<string, (props: {
|
|
1926
|
+
maxFps: number;
|
|
1927
|
+
}) => {
|
|
1928
|
+
maxFps: number;
|
|
1929
|
+
} & _ngrx_store.Action<string>>;
|
|
1930
|
+
declare const destroyRemoteConnections: _ngrx_store.ActionCreator<string, (props: {
|
|
1931
|
+
reason: DisconnectReasonType;
|
|
1932
|
+
}) => {
|
|
1933
|
+
reason: DisconnectReasonType;
|
|
1934
|
+
} & _ngrx_store.Action<string>>;
|
|
1935
|
+
declare const destroyUnrealScene: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1936
|
+
declare const setCirrusConnected: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1937
|
+
declare const setCirrusDisconnected: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1938
|
+
declare const changeStatusMainVideoOnScene: _ngrx_store.ActionCreator<string, (props: {
|
|
1939
|
+
isVideoPlaying: boolean;
|
|
1940
|
+
}) => {
|
|
1941
|
+
isVideoPlaying: boolean;
|
|
1942
|
+
} & _ngrx_store.Action<string>>;
|
|
1943
|
+
declare const setAwsInstance: _ngrx_store.ActionCreator<string, (props: {
|
|
1944
|
+
wsUrl: string | null;
|
|
1945
|
+
pollingUrl: string | null;
|
|
1946
|
+
instanceName: string | null;
|
|
1947
|
+
}) => {
|
|
1948
|
+
wsUrl: string | null;
|
|
1949
|
+
pollingUrl: string | null;
|
|
1950
|
+
instanceName: string | null;
|
|
1951
|
+
} & _ngrx_store.Action<string>>;
|
|
1952
|
+
declare const setStatusMessage: _ngrx_store.ActionCreator<string, (props: {
|
|
1953
|
+
statusMessage: string | null;
|
|
1954
|
+
}) => {
|
|
1955
|
+
statusMessage: string | null;
|
|
1956
|
+
} & _ngrx_store.Action<string>>;
|
|
1957
|
+
declare const setStatusPercentSignallingServer: _ngrx_store.ActionCreator<string, (props: {
|
|
1958
|
+
percent: number | null;
|
|
1959
|
+
}) => {
|
|
1960
|
+
percent: number | null;
|
|
1961
|
+
} & _ngrx_store.Action<string>>;
|
|
1962
|
+
declare const setFreezeFrame: _ngrx_store.ActionCreator<string, (props: {
|
|
1963
|
+
dataUrl: string | null;
|
|
1964
|
+
progress: number | null;
|
|
1965
|
+
}) => {
|
|
1966
|
+
dataUrl: string | null;
|
|
1967
|
+
progress: number | null;
|
|
1968
|
+
} & _ngrx_store.Action<string>>;
|
|
1969
|
+
declare const setStreamClientCompanyId: _ngrx_store.ActionCreator<string, (props: {
|
|
1970
|
+
id: string;
|
|
1971
|
+
}) => {
|
|
1972
|
+
id: string;
|
|
1973
|
+
} & _ngrx_store.Action<string>>;
|
|
1974
|
+
declare const setStreamViewId: _ngrx_store.ActionCreator<string, (props: {
|
|
1975
|
+
id: string;
|
|
1976
|
+
}) => {
|
|
1977
|
+
id: string;
|
|
1978
|
+
} & _ngrx_store.Action<string>>;
|
|
1979
|
+
declare const setIntroImageSrc: _ngrx_store.ActionCreator<string, (props: {
|
|
1980
|
+
src: string;
|
|
1981
|
+
}) => {
|
|
1982
|
+
src: string;
|
|
1983
|
+
} & _ngrx_store.Action<string>>;
|
|
1984
|
+
declare const setLoadingImageSrc: _ngrx_store.ActionCreator<string, (props: {
|
|
1985
|
+
src: string;
|
|
1986
|
+
}) => {
|
|
1987
|
+
src: string;
|
|
1988
|
+
} & _ngrx_store.Action<string>>;
|
|
1989
|
+
declare const setIntroVideoSrc: _ngrx_store.ActionCreator<string, (props: {
|
|
1990
|
+
src: string;
|
|
1991
|
+
}) => {
|
|
1992
|
+
src: string;
|
|
1993
|
+
} & _ngrx_store.Action<string>>;
|
|
1994
|
+
declare const resetIntroSrc: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
1995
|
+
declare const setFreezeFrameFromVideo: _ngrx_store.ActionCreator<string, (props: {
|
|
1996
|
+
dataUrl: string | null;
|
|
1997
|
+
progress: number | null;
|
|
1998
|
+
}) => {
|
|
1999
|
+
dataUrl: string | null;
|
|
2000
|
+
progress: number | null;
|
|
2001
|
+
} & _ngrx_store.Action<string>>;
|
|
2002
|
+
declare const setEstablishingConnection: _ngrx_store.ActionCreator<string, (props: {
|
|
2003
|
+
value: boolean;
|
|
2004
|
+
}) => {
|
|
2005
|
+
value: boolean;
|
|
2006
|
+
} & _ngrx_store.Action<string>>;
|
|
2007
|
+
/**
|
|
2008
|
+
* @deprecated Use `dataChannelReady` instead. Currently, this action is not working.
|
|
2009
|
+
*/
|
|
2010
|
+
declare const setDataChannelConnected: _ngrx_store.ActionCreator<string, (props: {
|
|
2011
|
+
statusMessage: string;
|
|
2012
|
+
}) => {
|
|
2013
|
+
statusMessage: string;
|
|
2014
|
+
} & _ngrx_store.Action<string>>;
|
|
2015
|
+
declare const dataChannelConnected: _ngrx_store.ActionCreator<string, (props: {
|
|
2016
|
+
statusMessage: string;
|
|
2017
|
+
}) => {
|
|
2018
|
+
statusMessage: string;
|
|
2019
|
+
} & _ngrx_store.Action<string>>;
|
|
2020
|
+
declare const dataChannelReady: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2021
|
+
declare const setConfig: _ngrx_store.ActionCreator<string, (props: {
|
|
2022
|
+
config: Partial<StreamConfig>;
|
|
2023
|
+
}) => {
|
|
2024
|
+
config: Partial<StreamConfig>;
|
|
2025
|
+
} & _ngrx_store.Action<string>>;
|
|
2026
|
+
declare const disconnectStream: _ngrx_store.ActionCreator<string, (props: {
|
|
2027
|
+
reason: DisconnectReasonType;
|
|
1943
2028
|
message: string;
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
}
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
}
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
}
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
}
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
}
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
};
|
|
2016
|
-
}
|
|
2017
|
-
interface MetaboxProductContext {
|
|
2018
|
-
id: 'metaboxProduct';
|
|
2019
|
-
data: {
|
|
2020
|
-
productId: string;
|
|
2021
|
-
};
|
|
2022
|
-
}
|
|
2023
|
-
interface MetaboxEnvironmentContext {
|
|
2024
|
-
id: 'metaboxEnvironment';
|
|
2025
|
-
data: {
|
|
2026
|
-
environmentId: string;
|
|
2027
|
-
};
|
|
2028
|
-
}
|
|
2029
|
-
interface MetaboxStudioContext {
|
|
2030
|
-
id: 'metaboxStudio';
|
|
2031
|
-
data: {
|
|
2032
|
-
userId: string;
|
|
2033
|
-
workspaceId: string;
|
|
2034
|
-
};
|
|
2035
|
-
}
|
|
2036
|
-
interface CustomApplicationContext {
|
|
2037
|
-
id: 'customApplication';
|
|
2038
|
-
data: {
|
|
2039
|
-
clientId: string;
|
|
2040
|
-
applicationId: string;
|
|
2041
|
-
};
|
|
2042
|
-
}
|
|
2043
|
-
type StreamRequestContext = MetaboxStudioContext | MetaboxProductContext | CustomApplicationContext | MetaboxEnvironmentContext | MetaboxBasicConfiguratorContext | MetaboxModularConfiguratorContext;
|
|
2044
|
-
interface SignalingMessageMap {
|
|
2045
|
-
[OrchestrationMessageTypes.ping]: PingMessage;
|
|
2046
|
-
[OrchestrationMessageTypes.offer]: RTCSessionDescriptionInit;
|
|
2047
|
-
[OrchestrationMessageTypes.error]: OrchestrationErrorMessage;
|
|
2048
|
-
[OrchestrationMessageTypes.ssInfo]: SSInfo;
|
|
2049
|
-
[OrchestrationMessageTypes.config]: ConfigMessage;
|
|
2050
|
-
[OrchestrationMessageTypes.answer]: RTCSessionDescriptionInit;
|
|
2051
|
-
[OrchestrationMessageTypes.playerCount]: PlayerCountMessage;
|
|
2052
|
-
[OrchestrationMessageTypes.iceCandidate]: CandidateMessage;
|
|
2053
|
-
[OrchestrationMessageTypes.streamerList]: StreamerListMessage;
|
|
2054
|
-
[OrchestrationMessageTypes.instanceReady]: InstanceReady;
|
|
2055
|
-
[OrchestrationMessageTypes.requestStream]: RequestStream;
|
|
2056
|
-
[OrchestrationMessageTypes.listStreamers]: ListStreamersMessage;
|
|
2057
|
-
[OrchestrationMessageTypes.p2pEstablished]: P2PEstablishedMessage;
|
|
2058
|
-
[OrchestrationMessageTypes.instanceReserved]: InstanceReserved;
|
|
2059
|
-
[OrchestrationMessageTypes.playerDisconnected]: ForceClientDisconnect;
|
|
2060
|
-
[OrchestrationMessageTypes.streamPreparedForUserInteraction]: streamPreparedForUserInteractionMessage;
|
|
2061
|
-
[OrchestrationMessageTypes.streamerDisconnected]: ForceClientDisconnect;
|
|
2062
|
-
[OrchestrationMessageTypes.interruptClientStream]: InterruptClientStream;
|
|
2063
|
-
}
|
|
2064
|
-
type OrchestrationMessageType = keyof SignalingMessageMap;
|
|
2065
|
-
type AnySignalingMessage = SignalingMessageMap[OrchestrationMessageType] | string;
|
|
2066
|
-
type SignalingMessageHandler<T extends keyof SignalingMessageMap> = (msg: SignalingMessageMap[T]) => void;
|
|
2067
|
-
interface PollingOrchestrationMessage {
|
|
2068
|
-
mm_message?: string;
|
|
2069
|
-
signallingServer?: string;
|
|
2029
|
+
}) => {
|
|
2030
|
+
reason: DisconnectReasonType;
|
|
2031
|
+
message: string;
|
|
2032
|
+
} & _ngrx_store.Action<string>>;
|
|
2033
|
+
declare const dropConnection: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2034
|
+
declare const setViewportReady: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2035
|
+
declare const setViewportNotReady: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2036
|
+
declare const changeStreamResolutionAction: _ngrx_store.ActionCreator<string, (props: {
|
|
2037
|
+
width: number | null;
|
|
2038
|
+
height: number | null;
|
|
2039
|
+
}) => {
|
|
2040
|
+
width: number | null;
|
|
2041
|
+
height: number | null;
|
|
2042
|
+
} & _ngrx_store.Action<string>>;
|
|
2043
|
+
declare const changeStreamResolutionSuccessAction: _ngrx_store.ActionCreator<string, (props: {
|
|
2044
|
+
width: number | null;
|
|
2045
|
+
height: number | null;
|
|
2046
|
+
}) => {
|
|
2047
|
+
width: number | null;
|
|
2048
|
+
height: number | null;
|
|
2049
|
+
} & _ngrx_store.Action<string>>;
|
|
2050
|
+
declare const setSignalingName: _ngrx_store.ActionCreator<string, (props: {
|
|
2051
|
+
instanceName: string;
|
|
2052
|
+
}) => {
|
|
2053
|
+
instanceName: string;
|
|
2054
|
+
} & _ngrx_store.Action<string>>;
|
|
2055
|
+
declare const setOrchestrationParameters: _ngrx_store.ActionCreator<string, (props: {
|
|
2056
|
+
instanceName: string;
|
|
2057
|
+
streamRequestId: string;
|
|
2058
|
+
eta: number;
|
|
2059
|
+
}) => {
|
|
2060
|
+
instanceName: string;
|
|
2061
|
+
streamRequestId: string;
|
|
2062
|
+
eta: number;
|
|
2063
|
+
} & _ngrx_store.Action<string>>;
|
|
2064
|
+
declare const setOrchestrationMessage: _ngrx_store.ActionCreator<string, (props: {
|
|
2065
|
+
message: string;
|
|
2066
|
+
}) => {
|
|
2067
|
+
message: string;
|
|
2068
|
+
} & _ngrx_store.Action<string>>;
|
|
2069
|
+
declare const setOrchestrationProgress: _ngrx_store.ActionCreator<string, (props: {
|
|
2070
|
+
progressComplete: number;
|
|
2071
|
+
}) => {
|
|
2072
|
+
progressComplete: number;
|
|
2073
|
+
} & _ngrx_store.Action<string>>;
|
|
2074
|
+
declare const setOrchestrationContext: _ngrx_store.ActionCreator<string, (props: {
|
|
2075
|
+
urls: string[];
|
|
2076
|
+
environmentId: string;
|
|
2077
|
+
streamRequestContext: StreamRequestContext;
|
|
2078
|
+
}) => {
|
|
2079
|
+
urls: string[];
|
|
2080
|
+
environmentId: string;
|
|
2081
|
+
streamRequestContext: StreamRequestContext;
|
|
2082
|
+
} & _ngrx_store.Action<string>>;
|
|
2083
|
+
declare const updateCirrusInfo: _ngrx_store.ActionCreator<string, (props: {
|
|
2084
|
+
ssInfo: string;
|
|
2085
|
+
ssData: SignalingData;
|
|
2086
|
+
}) => {
|
|
2087
|
+
ssInfo: string;
|
|
2088
|
+
ssData: SignalingData;
|
|
2089
|
+
} & _ngrx_store.Action<string>>;
|
|
2090
|
+
declare const setLoopBackCommandIsCompleted: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2091
|
+
declare const setAfkTimerVisible: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2092
|
+
declare const setAfkTimerHide: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2093
|
+
declare const setAfkTimerCountdown: _ngrx_store.ActionCreator<string, (props: {
|
|
2094
|
+
countdown: number;
|
|
2095
|
+
}) => {
|
|
2096
|
+
countdown: number;
|
|
2097
|
+
} & _ngrx_store.Action<string>>;
|
|
2098
|
+
declare const showUnrealErrorMessage: _ngrx_store.ActionCreator<string, (props: {
|
|
2099
|
+
code: number | null;
|
|
2070
2100
|
error?: string;
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2101
|
+
}) => {
|
|
2102
|
+
code: number | null;
|
|
2103
|
+
error?: string;
|
|
2104
|
+
} & _ngrx_store.Action<string>>;
|
|
2105
|
+
declare const initSignalling: _ngrx_store.FunctionWithParametersType<[data?: {
|
|
2106
|
+
resetDisconnectionReason: boolean;
|
|
2107
|
+
} | undefined], {
|
|
2108
|
+
resetDisconnectionReason: boolean;
|
|
2109
|
+
} & _ngrx_store.Action<string>> & _ngrx_store.Action<string>;
|
|
2110
|
+
declare const startStream: _ngrx_store.ActionCreator<string, (props: {
|
|
2111
|
+
config: Partial<StreamConfig>;
|
|
2112
|
+
}) => {
|
|
2113
|
+
config: Partial<StreamConfig>;
|
|
2114
|
+
} & _ngrx_store.Action<string>>;
|
|
2115
|
+
declare const resetConfig: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2116
|
+
declare const resetAfk: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2117
|
+
declare const resetWarnTimeout: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2118
|
+
declare const abortEstablishingConnection: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2119
|
+
declare const setUnrealPlaywrightConfig: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2120
|
+
declare const saveAnalyticsEvent: _ngrx_store.ActionCreator<string, (props: {
|
|
2121
|
+
event: {
|
|
2122
|
+
name: string;
|
|
2123
|
+
params: Record<string, unknown>;
|
|
2076
2124
|
};
|
|
2077
|
-
}
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
warnTimeout: number;
|
|
2082
|
-
}
|
|
2083
|
-
|
|
2084
|
-
interface StreamResolutionProps {
|
|
2085
|
-
width: number | null;
|
|
2086
|
-
height: number | null;
|
|
2087
|
-
}
|
|
2088
|
-
|
|
2089
|
-
type TelemetryType = 'commandSent' | 'commandStop';
|
|
2090
|
-
|
|
2091
|
-
declare const UnrealInternalSignalEvents: {
|
|
2092
|
-
readonly UnrealCallback: "UnrealCallback";
|
|
2093
|
-
};
|
|
2094
|
-
interface SignalDescriptor {
|
|
2095
|
-
[UnrealInternalSignalEvents.UnrealCallback]: {
|
|
2096
|
-
json: UnrealCallBackJson;
|
|
2125
|
+
}) => {
|
|
2126
|
+
event: {
|
|
2127
|
+
name: string;
|
|
2128
|
+
params: Record<string, unknown>;
|
|
2097
2129
|
};
|
|
2098
|
-
}
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
}
|
|
2136
|
-
interface AwsInstance {
|
|
2137
|
-
/**
|
|
2138
|
-
* WebSocket URL for connecting to the Cirrus (polling mode) or Orchestration (direct mode).
|
|
2139
|
-
*/
|
|
2140
|
-
wsUrl: string | null;
|
|
2141
|
-
pollingUrl: string | null;
|
|
2142
|
-
instanceName: string | null;
|
|
2143
|
-
/**
|
|
2144
|
-
* Unique identifier for the streaming request.
|
|
2145
|
-
* Coming with a new orchestration message "instanceReserved".
|
|
2146
|
-
*/
|
|
2147
|
-
streamRequestId?: string;
|
|
2148
|
-
/**
|
|
2149
|
-
* Estimated time of arrival (in seconds) for the instance to be ready.
|
|
2150
|
-
* Coming with a new orchestration message "instanceReserved".
|
|
2151
|
-
*/
|
|
2152
|
-
eta?: number;
|
|
2153
|
-
/**
|
|
2154
|
-
* Progress of completion for the instance launch (0-1).
|
|
2155
|
-
* Based on ETA time comes from the backend with new orchestration.
|
|
2156
|
-
* If eta is not provided, this value will be undefined.
|
|
2157
|
-
*/
|
|
2158
|
-
progressComplete?: number;
|
|
2159
|
-
message?: string;
|
|
2160
|
-
}
|
|
2130
|
+
} & _ngrx_store.Action<string>>;
|
|
2131
|
+
/** Action to trigger WebRTC peer reconnection (keeps signaling connection) */
|
|
2132
|
+
declare const reconnectPeer: _ngrx_store.ActionCreator<string, (props: {
|
|
2133
|
+
attempt: number;
|
|
2134
|
+
maxAttempts: number;
|
|
2135
|
+
delay?: number;
|
|
2136
|
+
}) => {
|
|
2137
|
+
attempt: number;
|
|
2138
|
+
maxAttempts: number;
|
|
2139
|
+
delay?: number;
|
|
2140
|
+
} & _ngrx_store.Action<string>>;
|
|
2141
|
+
/** Action to reset the data channel state before reconnection */
|
|
2142
|
+
declare const resetDataChannelForReconnect: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2143
|
+
/** Action dispatched when peer reconnection succeeds */
|
|
2144
|
+
declare const reconnectPeerSuccess: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2145
|
+
/** Action dispatched when all peer reconnection attempts are exhausted */
|
|
2146
|
+
declare const reconnectPeerFailed: _ngrx_store.ActionCreator<string, (props: {
|
|
2147
|
+
reason: string;
|
|
2148
|
+
}) => {
|
|
2149
|
+
reason: string;
|
|
2150
|
+
} & _ngrx_store.Action<string>>;
|
|
2151
|
+
/** Action dispatched when ICE connection state changes to failed/disconnected */
|
|
2152
|
+
declare const iceConnectionFailed: _ngrx_store.ActionCreator<string, (props: {
|
|
2153
|
+
state: RTCIceConnectionState;
|
|
2154
|
+
}) => {
|
|
2155
|
+
state: RTCIceConnectionState;
|
|
2156
|
+
} & _ngrx_store.Action<string>>;
|
|
2157
|
+
declare const forceResizeViewport: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2158
|
+
declare const videoAdaptedToContainer: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2159
|
+
declare const videoStreamInitialized: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2160
|
+
declare const setKalmanSettings: _ngrx_store.ActionCreator<string, (props: {
|
|
2161
|
+
settings: FilterSettings;
|
|
2162
|
+
}) => {
|
|
2163
|
+
settings: FilterSettings;
|
|
2164
|
+
} & _ngrx_store.Action<string>>;
|
|
2165
|
+
declare const dropDC: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2166
|
+
declare const dropPC: _ngrx_store.ActionCreator<string, () => _ngrx_store.Action<string>>;
|
|
2161
2167
|
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2168
|
+
declare class UnrealEffects {
|
|
2169
|
+
private actions$;
|
|
2170
|
+
private dialog;
|
|
2171
|
+
private http;
|
|
2172
|
+
private store;
|
|
2173
|
+
private isDevMode;
|
|
2174
|
+
private scrollStrategy;
|
|
2175
|
+
private unrealInitialConfig;
|
|
2176
|
+
private webRtcPlayerService;
|
|
2177
|
+
private commandsSender;
|
|
2178
|
+
private readonly commandTelemetryService;
|
|
2179
|
+
private signallingService;
|
|
2180
|
+
private videoService;
|
|
2181
|
+
private unrealCallbackService;
|
|
2182
|
+
private dataChannelConnectionTimeout;
|
|
2183
|
+
private connectionCompleted$;
|
|
2184
|
+
private reconnectConfig;
|
|
2185
|
+
disconnectReasonHandling$: rxjs.Observable<{
|
|
2186
|
+
reason: _3dsource_angular_unreal_module.DisconnectReasonType;
|
|
2187
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2188
|
+
destroyConnections$: rxjs.Observable<{
|
|
2189
|
+
reason: _3dsource_angular_unreal_module.DisconnectReasonType;
|
|
2190
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2191
|
+
destroyRemoteConnections$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2192
|
+
webrtcErrorModalComponent$: rxjs.Observable<false> & _ngrx_effects.CreateEffectMetadata;
|
|
2193
|
+
changeStreamResolution$: rxjs.Observable<{
|
|
2194
|
+
width: number | null;
|
|
2195
|
+
height: number | null;
|
|
2196
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2197
|
+
forceLBMOff$: rxjs.Observable<{
|
|
2198
|
+
lowBandwidth: boolean;
|
|
2199
|
+
stats?: _3dsource_angular_unreal_module.LBMStats;
|
|
2200
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2201
|
+
resetFreezeFrameOnLowBandwidthTriggered$: rxjs.Observable<{
|
|
2202
|
+
dataUrl: string | null;
|
|
2203
|
+
progress: number | null;
|
|
2204
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2205
|
+
sendLbmStat$: rxjs.Subscription;
|
|
2206
|
+
resetAfk$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2207
|
+
abortEstablishingConnection$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2208
|
+
setMaxFps$: rxjs.Observable<{
|
|
2209
|
+
maxFps: number;
|
|
2210
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2211
|
+
setSignalingTo100$: rxjs.Observable<{
|
|
2212
|
+
percent: number | null;
|
|
2213
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2214
|
+
setOrchestrationParameters$: rxjs.Observable<{
|
|
2215
|
+
progressComplete: number;
|
|
2216
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2217
|
+
setDataChannelTimeoutCheck$: rxjs.Observable<{
|
|
2218
|
+
reason: _3dsource_angular_unreal_module.DisconnectReasonType;
|
|
2219
|
+
message: string;
|
|
2220
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2221
|
+
destroyConnectionAndRestart$: rxjs.Observable<{
|
|
2222
|
+
resetDisconnectionReason: boolean;
|
|
2223
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2224
|
+
showUnrealError$: rxjs.Observable<{
|
|
2225
|
+
code: number | null;
|
|
2226
|
+
error?: string;
|
|
2227
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2228
|
+
sendStatisticsToUnreal$: rxjs.Observable<Object> & _ngrx_effects.CreateEffectMetadata;
|
|
2229
|
+
unrealReceiverReady$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2230
|
+
initAppBySetDataChannelConnected$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2231
|
+
setViewportReadyBySetLoopBackCommandIsCompleted$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2232
|
+
startStream$: rxjs.Observable<{
|
|
2233
|
+
resetDisconnectionReason: boolean;
|
|
2234
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2235
|
+
connectToSignaling$: rxjs.Observable<WebSocket> & _ngrx_effects.CreateEffectMetadata;
|
|
2192
2236
|
/**
|
|
2193
|
-
*
|
|
2194
|
-
*
|
|
2195
|
-
*
|
|
2237
|
+
* Effect: `forceViewportNotReady$`
|
|
2238
|
+
*
|
|
2239
|
+
* Ensures the viewport is explicitly marked as *not ready* to prevent
|
|
2240
|
+
* a temporary black screen flash when disconnecting.
|
|
2241
|
+
*
|
|
2242
|
+
* ### Why
|
|
2243
|
+
* - The video stream is disconnected immediately.
|
|
2244
|
+
* - The DataChannel closes slightly later.
|
|
2245
|
+
* - Closing the DataChannel resets the Unreal scene,
|
|
2246
|
+
* which also sets `viewPortReady` to `false`.
|
|
2247
|
+
*
|
|
2248
|
+
* Without this effect, the order of these events may cause
|
|
2249
|
+
* a visible flicker (video flashing to black).
|
|
2196
2250
|
*/
|
|
2197
|
-
|
|
2198
|
-
}
|
|
2199
|
-
|
|
2200
|
-
interface FilterSettings {
|
|
2251
|
+
forceViewportNotReady$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2201
2252
|
/**
|
|
2202
|
-
*
|
|
2253
|
+
* Effect: `handleDataChannelClosed$`
|
|
2254
|
+
*
|
|
2255
|
+
* Triggers peer reconnection when DataChannel closes unexpectedly.
|
|
2256
|
+
* Only triggers if reconnection is enabled, onDataChannelClose is true,
|
|
2257
|
+
* and the signaling WebSocket is still connected.
|
|
2203
2258
|
*/
|
|
2204
|
-
|
|
2259
|
+
handleDataChannelClosed$: rxjs.Observable<{
|
|
2260
|
+
attempt: number;
|
|
2261
|
+
maxAttempts: number;
|
|
2262
|
+
delay?: number;
|
|
2263
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2205
2264
|
/**
|
|
2206
|
-
*
|
|
2265
|
+
* Effect: `resetStateForPeerReconnect$`
|
|
2266
|
+
*
|
|
2267
|
+
* Resets the data channel state when peer reconnection starts.
|
|
2207
2268
|
*/
|
|
2208
|
-
|
|
2269
|
+
resetStateForPeerReconnect$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2209
2270
|
/**
|
|
2210
|
-
*
|
|
2271
|
+
* Effect: `executePeerReconnect$`
|
|
2272
|
+
*
|
|
2273
|
+
* Executes the actual peer reconnection attempt.
|
|
2274
|
+
* This only re-establishes the WebRTC connection, not the signaling.
|
|
2211
2275
|
*/
|
|
2212
|
-
|
|
2276
|
+
executePeerReconnect$: rxjs.Observable<_ngrx_store.Action<string> | ({
|
|
2277
|
+
attempt: number;
|
|
2278
|
+
maxAttempts: number;
|
|
2279
|
+
delay?: number;
|
|
2280
|
+
} & _ngrx_store.Action<string>) | ({
|
|
2281
|
+
reason: string;
|
|
2282
|
+
} & _ngrx_store.Action<string>)> & _ngrx_effects.CreateEffectMetadata;
|
|
2213
2283
|
/**
|
|
2214
|
-
*
|
|
2284
|
+
* Effect: `handlePeerReconnectFailed$`
|
|
2285
|
+
*
|
|
2286
|
+
* Handles the case when all peer reconnection attempts have failed.
|
|
2287
|
+
* Falls back to full disconnection which may trigger full reconnection.
|
|
2215
2288
|
*/
|
|
2216
|
-
|
|
2289
|
+
handlePeerReconnectFailed$: rxjs.Observable<{
|
|
2290
|
+
reason: _3dsource_angular_unreal_module.DisconnectReasonType;
|
|
2291
|
+
message: string;
|
|
2292
|
+
} & _ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2217
2293
|
/**
|
|
2218
|
-
*
|
|
2294
|
+
* Effect: `logPeerReconnectSuccess$`
|
|
2295
|
+
*
|
|
2296
|
+
* Logs successful peer reconnection for telemetry.
|
|
2219
2297
|
*/
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
processNoise: number;
|
|
2224
|
-
measurementNoise: number;
|
|
2225
|
-
panelOpen: boolean;
|
|
2226
|
-
}
|
|
2227
|
-
/**
|
|
2228
|
-
* Default LBM Filter Parameters
|
|
2229
|
-
*/
|
|
2230
|
-
declare const DefaultFilterModel: FilterSettings;
|
|
2231
|
-
|
|
2232
|
-
declare class FilterSettingsComponent implements OnInit {
|
|
2233
|
-
private readonly storageKey;
|
|
2234
|
-
readonly defaultFilterModel: {
|
|
2235
|
-
minimumBitrate: number;
|
|
2236
|
-
yellowFlag: number;
|
|
2237
|
-
redFlag: number;
|
|
2238
|
-
minimumFps: number;
|
|
2239
|
-
monitoringDelayTime: number;
|
|
2240
|
-
initialBitrateEstimate: number;
|
|
2241
|
-
initialErrorCovariance: number;
|
|
2242
|
-
processNoise: number;
|
|
2243
|
-
measurementNoise: number;
|
|
2244
|
-
panelOpen: boolean;
|
|
2245
|
-
};
|
|
2246
|
-
settings: {
|
|
2247
|
-
minimumBitrate: number;
|
|
2248
|
-
yellowFlag: number;
|
|
2249
|
-
redFlag: number;
|
|
2250
|
-
minimumFps: number;
|
|
2251
|
-
monitoringDelayTime: number;
|
|
2252
|
-
initialBitrateEstimate: number;
|
|
2253
|
-
initialErrorCovariance: number;
|
|
2254
|
-
processNoise: number;
|
|
2255
|
-
measurementNoise: number;
|
|
2256
|
-
panelOpen: boolean;
|
|
2257
|
-
};
|
|
2258
|
-
ngOnInit(): void;
|
|
2259
|
-
togglePanel(): void;
|
|
2260
|
-
saveSettings(): void;
|
|
2261
|
-
dispatch(model: typeof DefaultFilterModel): void;
|
|
2262
|
-
reset(): void;
|
|
2263
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterSettingsComponent, never>;
|
|
2264
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterSettingsComponent, "app-filter-settings", never, {}, {}, never, never, true, never>;
|
|
2298
|
+
logPeerReconnectSuccess$: rxjs.Observable<_ngrx_store.Action<string>> & _ngrx_effects.CreateEffectMetadata;
|
|
2299
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnrealEffects, never>;
|
|
2300
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UnrealEffects>;
|
|
2265
2301
|
}
|
|
2266
2302
|
|
|
2267
|
-
declare
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2303
|
+
declare const unrealFeature: {
|
|
2304
|
+
name: "unrealFeature";
|
|
2305
|
+
reducer: _ngrx_store.ActionReducer<_3dsource_angular_unreal_module.UnrealState, _ngrx_store.Action<string>>;
|
|
2306
|
+
selectUnrealFeatureState: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.UnrealState, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.UnrealState>;
|
|
2307
|
+
selectSsInfo: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
2308
|
+
selectFreezeFrame: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.FreezeFrameMessage, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.FreezeFrameMessage>;
|
|
2309
|
+
selectLowBandwidth: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2310
|
+
selectIsVideoPlaying: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2311
|
+
selectStatusMessage: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
2312
|
+
selectEnvironmentId: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
2313
|
+
selectStreamRequestContext: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamRequestContext | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.StreamRequestContext | null>;
|
|
2314
|
+
selectSsData: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.SignalingData | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.SignalingData | null>;
|
|
2315
|
+
selectLowBandwidthStats: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.LBMStats | undefined, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.LBMStats | undefined>;
|
|
2316
|
+
selectStreamConfig: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamConfig, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.StreamConfig>;
|
|
2317
|
+
selectAwsInstance: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.AwsInstance, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.AwsInstance>;
|
|
2318
|
+
selectWasInitialized: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2319
|
+
selectIsFirstSuccessLoad: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2320
|
+
selectIsAfkTimerVisible: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2321
|
+
selectAfkCountdown: _ngrx_store.MemoizedSelector<Record<string, any>, number, (featureState: _3dsource_angular_unreal_module.UnrealState) => number>;
|
|
2322
|
+
selectCirrusConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2323
|
+
selectViewportReady: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2324
|
+
selectFreezeFrameFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.FreezeFrameMessage, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.FreezeFrameMessage>;
|
|
2325
|
+
selectStatusPercentSignallingServer: _ngrx_store.MemoizedSelector<Record<string, any>, number | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => number | null>;
|
|
2326
|
+
selectErrorMessage: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.ConnectionError | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.ConnectionError | null>;
|
|
2327
|
+
selectIsReconnecting: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2328
|
+
selectDataChannelConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2329
|
+
selectStreamResolution: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamResolutionProps, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.StreamResolutionProps>;
|
|
2330
|
+
selectEstablishingConnection: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (featureState: _3dsource_angular_unreal_module.UnrealState) => boolean>;
|
|
2331
|
+
selectDisconnectReason: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.DisconnectReasonType, (featureState: _3dsource_angular_unreal_module.UnrealState) => _3dsource_angular_unreal_module.DisconnectReasonType>;
|
|
2332
|
+
selectMatchUrls: _ngrx_store.MemoizedSelector<Record<string, any>, string[], (featureState: _3dsource_angular_unreal_module.UnrealState) => string[]>;
|
|
2333
|
+
selectStreamClientCompanyId: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
2334
|
+
selectStreamViewId: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
2335
|
+
selectVideoIntroSrc: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
2336
|
+
selectImageIntroSrc: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => string | null>;
|
|
2337
|
+
selectImageLoadingSrc: _ngrx_store.MemoizedSelector<Record<string, any>, string, (featureState: _3dsource_angular_unreal_module.UnrealState) => string>;
|
|
2338
|
+
selectAnalyticsEvent: _ngrx_store.MemoizedSelector<Record<string, any>, {
|
|
2339
|
+
name: string;
|
|
2340
|
+
params: Record<string, unknown>;
|
|
2341
|
+
} | null, (featureState: _3dsource_angular_unreal_module.UnrealState) => {
|
|
2342
|
+
name: string;
|
|
2343
|
+
params: Record<string, unknown>;
|
|
2344
|
+
} | null>;
|
|
2345
|
+
};
|
|
2301
2346
|
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2347
|
+
interface UnrealState {
|
|
2348
|
+
lowBandwidthStats: LBMStats | undefined;
|
|
2349
|
+
streamConfig: StreamConfig;
|
|
2350
|
+
awsInstance: AwsInstance;
|
|
2351
|
+
lowBandwidth: boolean;
|
|
2352
|
+
wasInitialized: boolean;
|
|
2353
|
+
isFirstSuccessLoad: boolean;
|
|
2354
|
+
isAfkTimerVisible: boolean;
|
|
2355
|
+
afkCountdown: number;
|
|
2356
|
+
cirrusConnected: boolean;
|
|
2357
|
+
viewportReady: boolean;
|
|
2358
|
+
freezeFrameFromVideo: FreezeFrameMessage;
|
|
2359
|
+
freezeFrame: FreezeFrameMessage;
|
|
2360
|
+
statusMessage: string | null;
|
|
2361
|
+
/**
|
|
2362
|
+
* @deprecated, use ssData in future
|
|
2363
|
+
*/
|
|
2364
|
+
ssInfo: string | null;
|
|
2365
|
+
ssData: SignalingData | null;
|
|
2366
|
+
statusPercentSignallingServer: number | null;
|
|
2367
|
+
errorMessage: ConnectionError | null;
|
|
2368
|
+
isReconnecting: boolean;
|
|
2369
|
+
dataChannelConnected: boolean;
|
|
2370
|
+
streamResolution: StreamResolutionProps;
|
|
2371
|
+
isVideoPlaying: boolean;
|
|
2372
|
+
establishingConnection: boolean;
|
|
2373
|
+
disconnectReason: DisconnectReasonType;
|
|
2374
|
+
matchUrls: string[];
|
|
2375
|
+
environmentId: string | null;
|
|
2376
|
+
streamClientCompanyId: string | null;
|
|
2377
|
+
streamViewId: string | null;
|
|
2378
|
+
videoIntroSrc: string | null;
|
|
2379
|
+
imageIntroSrc: string | null;
|
|
2380
|
+
imageLoadingSrc: string;
|
|
2381
|
+
streamRequestContext: StreamRequestContext | null;
|
|
2382
|
+
analyticsEvent: {
|
|
2383
|
+
name: string;
|
|
2384
|
+
params: Record<string, unknown>;
|
|
2385
|
+
} | null;
|
|
2307
2386
|
}
|
|
2387
|
+
declare const unrealReducer: _ngrx_store.ActionReducer<UnrealState, _ngrx_store.Action<string>>;
|
|
2308
2388
|
|
|
2309
|
-
declare
|
|
2310
|
-
|
|
2311
|
-
|
|
2389
|
+
declare const selectFreezeFrameDataUrlFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage, s2: boolean) => string | null>;
|
|
2390
|
+
declare const selectFreezeFrameProgressMessageFromVideo: _ngrx_store.MemoizedSelector<Record<string, any>, number | null, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage, s2: boolean) => number | null>;
|
|
2391
|
+
declare const selectFreezeFrameDataUrl: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage, s2: boolean) => string | null>;
|
|
2392
|
+
declare const selectIsFreezeFrameLoading: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: _3dsource_angular_unreal_module.FreezeFrameMessage) => boolean>;
|
|
2393
|
+
declare const selectFreezeFrameCombinedDataUrl: _ngrx_store.MemoizedSelector<Record<string, any>, string | null, (s1: string | null, s2: string | null) => string | null>;
|
|
2394
|
+
declare const selectStreamConfig: _ngrx_store.MemoizedSelector<Record<string, any>, _3dsource_angular_unreal_module.StreamConfig, (s1: _3dsource_angular_unreal_module.StreamConfig) => _3dsource_angular_unreal_module.StreamConfig>;
|
|
2395
|
+
declare const selectWarnTimeout: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: _3dsource_angular_unreal_module.StreamConfig) => number>;
|
|
2396
|
+
declare const selectIsExistMatchUrls: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: string[]) => boolean>;
|
|
2397
|
+
declare const selectIsAutostart: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: _3dsource_angular_unreal_module.StreamConfig) => boolean>;
|
|
2398
|
+
declare const selectIsShowPopupWithoutAutoStart: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: _3dsource_angular_unreal_module.StreamConfig, s2: boolean) => boolean>;
|
|
2399
|
+
declare const selectShowReconnectPopup: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
2400
|
+
declare const selectShowLoader: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
2401
|
+
declare const selectIsVideoPlayingAndDataChannelConnected: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean) => boolean>;
|
|
2402
|
+
declare const selectSignalingParameters: _ngrx_store.MemoizedSelector<Record<string, any>, string, (s1: _3dsource_angular_unreal_module.SignalingData | null, s2: _3dsource_angular_unreal_module.AwsInstance, s3: string | null) => string>;
|
|
2403
|
+
/**
|
|
2404
|
+
* Returns Scene load progress as a float value in between 0-1
|
|
2405
|
+
*/
|
|
2406
|
+
declare const selectTotalProgress: _ngrx_store.MemoizedSelector<Record<string, any>, number, (s1: number | null, s2: number, s3: _3dsource_angular_unreal_module.AwsInstance, s4: boolean) => number>;
|
|
2407
|
+
declare const selectClientAndViewIds: _ngrx_store.MemoizedSelector<Record<string, any>, {
|
|
2408
|
+
clientId: string | null;
|
|
2409
|
+
viewId: string | null;
|
|
2410
|
+
}, (s1: string | null, s2: string | null) => {
|
|
2411
|
+
clientId: string | null;
|
|
2412
|
+
viewId: string | null;
|
|
2413
|
+
}>;
|
|
2414
|
+
declare const selectIsLoaderScreenVisible: _ngrx_store.MemoizedSelector<Record<string, any>, boolean, (s1: boolean, s2: boolean, s3: boolean) => boolean>;
|
|
2312
2415
|
|
|
2313
|
-
export { AFKService, AfkPlaywrightService, AfkTimeoutModalComponent, AggregatorPlaywrightService, AggregatorService, AnalyticsService, AnswerHandler, CONSOLE_COMMAND_DISABLE_MESSAGES, CONSOLE_COMMAND_ENABLE_MESSAGES, CONSOLE_COMMAND_PIXEL_QUALITY, CommandTelemetryPlaywrightService, CommandTelemetryService, ConfigHandler, ConsoleExtensionsPlaywrightService, ConsoleExtensionsService, ControlScheme, DATA_CHANNEL_CONNECTION_TIMEOUT, DEBOUNCE_TO_MANY_RESIZE_CALLS, DEFAULT_AFK_TIMEOUT, DEFAULT_AFK_TIMEOUT_PERIOD, DEFAULT_RECONNECT_DELAY_MS, DEFAULT_RECONNECT_ENABLED, DEFAULT_RECONNECT_MAX_ATTEMPTS, DEFAULT_RECONNECT_ON_DATACHANNEL_CLOSE, DEFAULT_RECONNECT_ON_ICE_FAILURE, DataFlowMonitor, DevModeService, DisconnectReason, FULL_HD_HEIGHT, FULL_HD_WIDTH, FileHandlerService, FileReceiverPlaywrightService, FileReceiverService, FilterSettingsComponent, FpsMonitorService, FreezeFrameComponent, FreezeFramePlaywrightService, FreezeFrameService, IceCandidateHandler, ImageLoadingSrcComponent, InputOptions, InputPlaywrightService, InputService, InstanceReadyHandler, InstanceReservedHandler, IntroSrcComponent, KalmanFilter1D, LatencyTimings, LowBandwidthDetectorComponent, LowBandwidthModalComponent, MINIMAL_FPS, MessageType, MouseButton, MouseButtonsMask, OnCloseHandler, OnErrorHandler, OnMessageHandler, OnOpenHandler, OrchestrationMessageTypes, POLLING_TIME, PingHandler, PlayerCountHandler, RegionsPingService, SAME_SIZE_THRESHOLD, SCREEN_LOCKER_CONTAINER_ID, SIGNALLING_PERCENT_VALUE, SSInfoHandler, STREAMING_VIDEO_ID, SafePipe, SignallingPlaywrightService, SignallingService, SpecialKeyCodes, StatGraphComponent, StreamStatusTelemetryPlaywrightService, StreamStatusTelemetryService, SubService, ToClientMessage, UNREAL_CONFIG, UnrealCommunicatorPlaywrightService, UnrealCommunicatorService, UnrealEffects,
|
|
2314
|
-
export type { AggregatedStat, AnySignalingMessage, AwsInstance, CandidateMessage, CloseReason,
|
|
2416
|
+
export { AFKService, AfkPlaywrightService, AfkTimeoutModalComponent, AggregatorPlaywrightService, AggregatorService, AnalyticsService, AnswerHandler, CONSOLE_COMMAND_DISABLE_MESSAGES, CONSOLE_COMMAND_ENABLE_MESSAGES, CONSOLE_COMMAND_PIXEL_QUALITY, CommandTelemetryPlaywrightService, CommandTelemetryService, CommandsEffects, ConfigHandler, ConsoleExtensionsPlaywrightService, ConsoleExtensionsService, ControlScheme, DATA_CHANNEL_CONNECTION_TIMEOUT, DEBOUNCE_TO_MANY_RESIZE_CALLS, DEFAULT_AFK_TIMEOUT, DEFAULT_AFK_TIMEOUT_PERIOD, DEFAULT_RECONNECT_DELAY_MS, DEFAULT_RECONNECT_ENABLED, DEFAULT_RECONNECT_MAX_ATTEMPTS, DEFAULT_RECONNECT_ON_DATACHANNEL_CLOSE, DEFAULT_RECONNECT_ON_ICE_FAILURE, DataFlowMonitor, DevModeService, DisconnectReason, FULL_HD_HEIGHT, FULL_HD_WIDTH, FileHandlerService, FileReceiverPlaywrightService, FileReceiverService, FilterSettingsComponent, FpsMonitorService, FreezeFrameComponent, FreezeFramePlaywrightService, FreezeFrameService, IceCandidateHandler, ImageLoadingSrcComponent, InputOptions, InputPlaywrightService, InputService, InstanceReadyHandler, InstanceReservedHandler, IntroSrcComponent, KalmanFilter1D, LatencyTimings, LowBandwidthDetectorComponent, LowBandwidthModalComponent, MINIMAL_FPS, MessageType, MouseButton, MouseButtonsMask, OnCloseHandler, OnErrorHandler, OnMessageHandler, OnOpenHandler, OrchestrationMessageTypes, POLLING_TIME, PingHandler, PlayerCountHandler, RegionsPingService, SAME_SIZE_THRESHOLD, SCREEN_LOCKER_CONTAINER_ID, SIGNALLING_PERCENT_VALUE, SSInfoHandler, STREAMING_VIDEO_ID, SafePipe, SignallingPlaywrightService, SignallingService, SpecialKeyCodes, StatGraphComponent, StreamStatusTelemetryPlaywrightService, StreamStatusTelemetryService, SubService, ToClientMessage, UNREAL_CONFIG, UnrealCallbackService, UnrealCommunicatorPlaywrightService, UnrealCommunicatorService, UnrealEffects, UnrealSceneComponent, UnrealStatusMessage, VideoService, VideoStatsComponent, WSCloseCode_CIRRUS_ABNORMAL_CLOSURE, WSCloseCode_CIRRUS_MAX_PLAYERS_ERROR, WSCloseCode_CIRRUS_PLAYER_DISCONNECTED, WSCloseCode_CIRRUS_STREAMER_KIKED_PLAYER, WSCloseCode_FORCE_CIRRUS_CLOSE, WSCloseCode_NORMAL_AFK_TIMEOUT, WSCloseCode_NORMAL_CLOSURE, WSCloseCode_NORMAL_MANUAL_DISCONNECT, WSCloseCode_UNKNOWN, WSCloseCodes, WS_OPEN_STATE, WS_TIMEOUT, WebRtcPlayerService, WebrtcErrorModalComponent, abortEstablishingConnection, changeLowBandwidth, changeStatusMainVideoOnScene, changeStreamResolutionAction, changeStreamResolutionSuccessAction, commandCompleted, commandStarted, commandsFeature, commandsReducer, dataChannelConnected, dataChannelReady, decodeData, destroyRemoteConnections, destroyUnrealScene, disconnectStream, dispatchResize, dropConnection, dropDC, dropPC, floatToSmoothPercents, forceResizeViewport, fromResizeObserver, getActiveUrl, getImageFromVideoStream, getRtcErrorMessage, iceConnectionFailed, initSignalling, keepMaxUntilReset, provideAngularUnrealModule, qpToQuality, reconnectPeer, reconnectPeerFailed, reconnectPeerSuccess, resetAfk, resetConfig, resetDataChannelForReconnect, resetIntroSrc, resetWarnTimeout, saveAnalyticsEvent, selectClientAndViewIds, selectCommandProgress, selectCommandsInProgress, selectFreezeFrameCombinedDataUrl, selectFreezeFrameDataUrl, selectFreezeFrameDataUrlFromVideo, selectFreezeFrameProgressMessageFromVideo, selectIsAutostart, selectIsExistMatchUrls, selectIsFreezeFrameLoading, selectIsLoaderScreenVisible, selectIsShowPopupWithoutAutoStart, selectIsVideoPlayingAndDataChannelConnected, selectLastCommandInProgress, selectShowLoader, selectShowReconnectPopup, selectSignalingParameters, selectStreamConfig, selectTotalProgress, selectWarnTimeout, setAfkTimerCountdown, setAfkTimerHide, setAfkTimerVisible, setAwsInstance, setCirrusConnected, setCirrusDisconnected, setConfig, setDataChannelConnected, setEstablishingConnection, setFreezeFrame, setFreezeFrameFromVideo, setIntroImageSrc, setIntroVideoSrc, setKalmanSettings, setLoadingImageSrc, setLoopBackCommandIsCompleted, setMaxFps, setOrchestrationContext, setOrchestrationMessage, setOrchestrationParameters, setOrchestrationProgress, setSignalingName, setStatusMessage, setStatusPercentSignallingServer, setStreamClientCompanyId, setStreamViewId, setUnrealPlaywrightConfig, setViewportNotReady, setViewportReady, showUnrealErrorMessage, smoothTransition, startStream, trackMixpanelEvent, unrealCommandCallback, unrealFeature, unrealReducer, updateCirrusInfo, videoAdaptedToContainer, videoStreamInitialized };
|
|
2417
|
+
export type { AggregatedStat, AnySignalingMessage, AwsInstance, CandidateMessage, CloseReason, ConfigMessage, ConnectionError, ControlSchemeValues, DataFlowCheckResult, DisconnectReasonType, ForceClientDisconnect, FreezeFrameMessage, InboundVideoStats, InputProps, InstanceReady, InstanceReserved, InterruptClientStream, LBMStats, ListStreamersMessage, MessageBase, MessageTypeValues, NormalizeAndQuantizeSignedValue, NormalizeAndQuantizeUnsignedValue, OrchestrationErrorMessage, OrchestrationMessageType, P2PEstablishedMessage, PingMessage, PlayerCountMessage, PollingOrchestrationMessage, Quality, ReceivedFile, ReconnectConfig, RequestStream, SSInfo, SignalingData, SignalingMessageHandler, SignalingMessageMap, StreamConfig, StreamRequestContext, StreamResolutionProps, StreamerListMessage, TelemetryType, UnknownFields, UnquantizeAndDenormalizeUnsignedValue, UnrealCallbackDescriptor, UnrealCallbackEventMap, UnrealCallbackJson, UnrealCallbackJsonWrapped, UnrealCommandsState, UnrealInitialConfig, UnrealState, WSCloseCodesValues, streamPreparedForUserInteractionMessage };
|