@epicgames-ps/lib-pixelstreamingfrontend-ue5.5 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/AFK/AFKController.js +109 -109
- package/dist/commonjs/Config/Config.js +559 -559
- package/dist/commonjs/Config/SettingBase.js +98 -98
- package/dist/commonjs/Config/SettingFlag.js +49 -49
- package/dist/commonjs/Config/SettingNumber.js +83 -83
- package/dist/commonjs/Config/SettingOption.js +84 -84
- package/dist/commonjs/Config/SettingText.js +42 -42
- package/dist/commonjs/DataChannel/DataChannelController.js +106 -106
- package/dist/commonjs/DataChannel/DataChannelLatencyTestController.js +94 -94
- package/dist/commonjs/DataChannel/DataChannelLatencyTestResults.js +18 -18
- package/dist/commonjs/DataChannel/DataChannelSender.js +43 -43
- package/dist/commonjs/DataChannel/InitialSettings.js +41 -41
- package/dist/commonjs/DataChannel/LatencyTestResults.js +60 -60
- package/dist/commonjs/FreezeFrame/FreezeFrame.js +93 -93
- package/dist/commonjs/FreezeFrame/FreezeFrameController.js +95 -95
- package/dist/commonjs/Inputs/GamepadController.js +188 -188
- package/dist/commonjs/Inputs/GamepadTypes.js +21 -21
- package/dist/commonjs/Inputs/IInputController.js +2 -2
- package/dist/commonjs/Inputs/InputClassesFactory.js +96 -96
- package/dist/commonjs/Inputs/KeyCodes.js +112 -112
- package/dist/commonjs/Inputs/KeyboardController.js +137 -137
- package/dist/commonjs/Inputs/MouseButtons.js +28 -28
- package/dist/commonjs/Inputs/MouseController.js +97 -97
- package/dist/commonjs/Inputs/MouseControllerHovering.js +93 -93
- package/dist/commonjs/Inputs/MouseControllerLocked.js +153 -153
- package/dist/commonjs/Inputs/SpecialKeyCodes.js +19 -19
- package/dist/commonjs/Inputs/TouchController.js +123 -123
- package/dist/commonjs/Inputs/TouchControllerFake.js +91 -91
- package/dist/commonjs/Inputs/XRGamepadController.js +124 -124
- package/dist/commonjs/PeerConnectionController/AggregatedStats.js +252 -252
- package/dist/commonjs/PeerConnectionController/CandidatePairStats.js +10 -10
- package/dist/commonjs/PeerConnectionController/CandidateStat.js +10 -10
- package/dist/commonjs/PeerConnectionController/CodecStats.js +10 -10
- package/dist/commonjs/PeerConnectionController/DataChannelStats.js +10 -10
- package/dist/commonjs/PeerConnectionController/InboundRTPStats.js +22 -22
- package/dist/commonjs/PeerConnectionController/InboundTrackStats.js +10 -10
- package/dist/commonjs/PeerConnectionController/OutBoundRTPStats.js +16 -16
- package/dist/commonjs/PeerConnectionController/PeerConnectionController.js +584 -584
- package/dist/commonjs/PeerConnectionController/SessionStats.js +10 -10
- package/dist/commonjs/PeerConnectionController/StreamStats.js +10 -10
- package/dist/commonjs/PixelStreaming/PixelStreaming.js +607 -607
- package/dist/commonjs/UI/OnScreenKeyboard.js +82 -82
- package/dist/commonjs/UeInstanceMessage/ResponseController.js +38 -38
- package/dist/commonjs/UeInstanceMessage/SendMessageController.js +120 -120
- package/dist/commonjs/UeInstanceMessage/StreamMessageController.js +210 -210
- package/dist/commonjs/UeInstanceMessage/ToStreamerMessagesController.js +49 -49
- package/dist/commonjs/Util/EventEmitter.js +386 -386
- package/dist/commonjs/Util/FileUtil.js +108 -108
- package/dist/commonjs/Util/IURLSearchParams.js +25 -25
- package/dist/commonjs/Util/InputCoordTranslator.js +49 -49
- package/dist/commonjs/Util/RTCUtils.js +40 -40
- package/dist/commonjs/VideoPlayer/StreamController.js +67 -67
- package/dist/commonjs/VideoPlayer/VideoPlayer.js +177 -177
- package/dist/commonjs/WebRtcPlayer/WebRtcPlayerController.js +1221 -1221
- package/dist/commonjs/WebXR/WebXRController.js +335 -335
- package/dist/commonjs/pixelstreamingfrontend.js +70 -70
- package/dist/esm/AFK/AFKController.js +105 -105
- package/dist/esm/Config/Config.js +551 -551
- package/dist/esm/Config/SettingBase.js +94 -94
- package/dist/esm/Config/SettingFlag.js +45 -45
- package/dist/esm/Config/SettingNumber.js +79 -79
- package/dist/esm/Config/SettingOption.js +80 -80
- package/dist/esm/Config/SettingText.js +38 -38
- package/dist/esm/DataChannel/DataChannelController.js +102 -102
- package/dist/esm/DataChannel/DataChannelLatencyTestController.js +90 -90
- package/dist/esm/DataChannel/DataChannelLatencyTestResults.js +14 -14
- package/dist/esm/DataChannel/DataChannelSender.js +39 -39
- package/dist/esm/DataChannel/InitialSettings.js +34 -34
- package/dist/esm/DataChannel/LatencyTestResults.js +56 -56
- package/dist/esm/FreezeFrame/FreezeFrame.js +89 -89
- package/dist/esm/FreezeFrame/FreezeFrameController.js +91 -91
- package/dist/esm/Inputs/GamepadController.js +184 -184
- package/dist/esm/Inputs/GamepadTypes.js +17 -17
- package/dist/esm/Inputs/IInputController.js +1 -1
- package/dist/esm/Inputs/InputClassesFactory.js +91 -91
- package/dist/esm/Inputs/KeyCodes.js +109 -109
- package/dist/esm/Inputs/KeyboardController.js +133 -133
- package/dist/esm/Inputs/MouseButtons.js +23 -23
- package/dist/esm/Inputs/MouseController.js +93 -93
- package/dist/esm/Inputs/MouseControllerHovering.js +89 -89
- package/dist/esm/Inputs/MouseControllerLocked.js +149 -149
- package/dist/esm/Inputs/SpecialKeyCodes.js +15 -15
- package/dist/esm/Inputs/TouchController.js +119 -119
- package/dist/esm/Inputs/TouchControllerFake.js +87 -87
- package/dist/esm/Inputs/XRGamepadController.js +120 -120
- package/dist/esm/PeerConnectionController/AggregatedStats.js +248 -248
- package/dist/esm/PeerConnectionController/CandidatePairStats.js +6 -6
- package/dist/esm/PeerConnectionController/CandidateStat.js +6 -6
- package/dist/esm/PeerConnectionController/CodecStats.js +6 -6
- package/dist/esm/PeerConnectionController/DataChannelStats.js +6 -6
- package/dist/esm/PeerConnectionController/InboundRTPStats.js +16 -16
- package/dist/esm/PeerConnectionController/InboundTrackStats.js +6 -6
- package/dist/esm/PeerConnectionController/OutBoundRTPStats.js +11 -11
- package/dist/esm/PeerConnectionController/PeerConnectionController.js +580 -580
- package/dist/esm/PeerConnectionController/SessionStats.js +6 -6
- package/dist/esm/PeerConnectionController/StreamStats.js +6 -6
- package/dist/esm/PixelStreaming/PixelStreaming.js +603 -603
- package/dist/esm/UI/OnScreenKeyboard.js +78 -78
- package/dist/esm/UeInstanceMessage/ResponseController.js +34 -34
- package/dist/esm/UeInstanceMessage/SendMessageController.js +116 -116
- package/dist/esm/UeInstanceMessage/StreamMessageController.js +205 -205
- package/dist/esm/UeInstanceMessage/ToStreamerMessagesController.js +45 -45
- package/dist/esm/Util/EventEmitter.js +345 -345
- package/dist/esm/Util/FileUtil.js +103 -103
- package/dist/esm/Util/IURLSearchParams.js +21 -21
- package/dist/esm/Util/InputCoordTranslator.js +45 -45
- package/dist/esm/Util/RTCUtils.js +36 -36
- package/dist/esm/VideoPlayer/StreamController.js +63 -63
- package/dist/esm/VideoPlayer/VideoPlayer.js +173 -173
- package/dist/esm/WebRtcPlayer/WebRtcPlayerController.js +1217 -1217
- package/dist/esm/WebXR/WebXRController.js +331 -331
- package/dist/esm/pixelstreamingfrontend.js +24 -24
- package/dist/types/AFK/AFKController.d.ts +38 -38
- package/dist/types/Config/Config.d.ts +220 -220
- package/dist/types/Config/SettingBase.d.ts +43 -43
- package/dist/types/Config/SettingFlag.d.ts +24 -24
- package/dist/types/Config/SettingNumber.d.ts +41 -41
- package/dist/types/Config/SettingOption.d.ts +41 -41
- package/dist/types/Config/SettingText.d.ts +21 -21
- package/dist/types/DataChannel/DataChannelController.d.ts +59 -59
- package/dist/types/DataChannel/DataChannelLatencyTestController.d.ts +25 -25
- package/dist/types/DataChannel/DataChannelLatencyTestResults.d.ts +46 -46
- package/dist/types/DataChannel/DataChannelSender.d.ts +21 -21
- package/dist/types/DataChannel/InitialSettings.d.ts +44 -44
- package/dist/types/DataChannel/LatencyTestResults.d.ts +31 -31
- package/dist/types/FreezeFrame/FreezeFrame.d.ts +36 -36
- package/dist/types/FreezeFrame/FreezeFrameController.d.ts +37 -37
- package/dist/types/Inputs/GamepadController.d.ts +61 -61
- package/dist/types/Inputs/GamepadTypes.d.ts +15 -15
- package/dist/types/Inputs/IInputController.d.ts +16 -16
- package/dist/types/Inputs/InputClassesFactory.d.ts +53 -53
- package/dist/types/Inputs/KeyCodes.d.ts +5 -5
- package/dist/types/Inputs/KeyboardController.d.ts +34 -34
- package/dist/types/Inputs/MouseButtons.d.ts +22 -22
- package/dist/types/Inputs/MouseController.d.ts +40 -40
- package/dist/types/Inputs/MouseControllerHovering.d.ts +26 -26
- package/dist/types/Inputs/MouseControllerLocked.d.ts +31 -31
- package/dist/types/Inputs/SpecialKeyCodes.d.ts +14 -14
- package/dist/types/Inputs/TouchController.d.ts +28 -28
- package/dist/types/Inputs/TouchControllerFake.d.ts +29 -29
- package/dist/types/Inputs/XRGamepadController.d.ts +15 -15
- package/dist/types/PeerConnectionController/AggregatedStats.d.ts +82 -82
- package/dist/types/PeerConnectionController/CandidatePairStats.d.ts +22 -22
- package/dist/types/PeerConnectionController/CandidateStat.d.ts +13 -13
- package/dist/types/PeerConnectionController/CodecStats.d.ts +14 -14
- package/dist/types/PeerConnectionController/DataChannelStats.d.ts +15 -15
- package/dist/types/PeerConnectionController/InboundRTPStats.d.ts +141 -141
- package/dist/types/PeerConnectionController/InboundTrackStats.d.ts +32 -32
- package/dist/types/PeerConnectionController/OutBoundRTPStats.d.ts +23 -23
- package/dist/types/PeerConnectionController/PeerConnectionController.d.ts +143 -143
- package/dist/types/PeerConnectionController/SessionStats.d.ts +8 -8
- package/dist/types/PeerConnectionController/StreamStats.d.ts +9 -9
- package/dist/types/PixelStreaming/PixelStreaming.d.ts +271 -271
- package/dist/types/UI/OnScreenKeyboard.d.ts +30 -30
- package/dist/types/UeInstanceMessage/ResponseController.d.ts +19 -19
- package/dist/types/UeInstanceMessage/SendMessageController.d.ts +18 -18
- package/dist/types/UeInstanceMessage/StreamMessageController.d.ts +29 -29
- package/dist/types/UeInstanceMessage/ToStreamerMessagesController.d.ts +32 -32
- package/dist/types/Util/EventEmitter.d.ts +429 -429
- package/dist/types/Util/FileUtil.d.ts +32 -32
- package/dist/types/Util/IURLSearchParams.d.ts +9 -9
- package/dist/types/Util/InputCoordTranslator.d.ts +29 -29
- package/dist/types/Util/RTCUtils.d.ts +8 -8
- package/dist/types/VideoPlayer/StreamController.d.ts +22 -22
- package/dist/types/VideoPlayer/VideoPlayer.d.ts +78 -78
- package/dist/types/WebRtcPlayer/WebRtcPlayerController.d.ts +379 -379
- package/dist/types/WebXR/WebXRController.d.ts +42 -42
- package/dist/types/pixelstreamingfrontend.d.ts +23 -23
- package/package.json +45 -45
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { StreamMessageController } from '../UeInstanceMessage/StreamMessageController';
|
|
2
|
-
import { InputCoordTranslator } from '../Util/InputCoordTranslator';
|
|
3
|
-
import { VideoPlayer } from '../VideoPlayer/VideoPlayer';
|
|
4
|
-
import type { ActiveKeys } from './InputClassesFactory';
|
|
5
|
-
import { IInputController } from './IInputController';
|
|
6
|
-
/**
|
|
7
|
-
* Extra types for Document and WheelEvent
|
|
8
|
-
*/
|
|
9
|
-
declare global {
|
|
10
|
-
interface Document {
|
|
11
|
-
mozPointerLockElement: unknown;
|
|
12
|
-
mozExitPointerLock?(): void;
|
|
13
|
-
}
|
|
14
|
-
interface WheelEvent {
|
|
15
|
-
wheelDelta: number;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* The base class for mouse controllers. Since there is a bunch of shared behaviour between locked and
|
|
20
|
-
* hover mouse controllers this is where that shared behaviour lives.
|
|
21
|
-
*/
|
|
22
|
-
export declare class MouseController implements IInputController {
|
|
23
|
-
videoPlayer: VideoPlayer;
|
|
24
|
-
streamMessageController: StreamMessageController;
|
|
25
|
-
coordinateConverter: InputCoordTranslator;
|
|
26
|
-
activeKeys: ActiveKeys;
|
|
27
|
-
onEnterListener: (event: MouseEvent) => void;
|
|
28
|
-
onLeaveListener: (event: MouseEvent) => void;
|
|
29
|
-
constructor(streamMessageController: StreamMessageController, videoPlayer: VideoPlayer, coordinateConverter: InputCoordTranslator, activeKeys: ActiveKeys);
|
|
30
|
-
register(): void;
|
|
31
|
-
unregister(): void;
|
|
32
|
-
registerMouseEnterAndLeaveEvents(): void;
|
|
33
|
-
unregisterMouseEnterAndLeaveEvents(): void;
|
|
34
|
-
private onMouseEnter;
|
|
35
|
-
private onMouseLeave;
|
|
36
|
-
private releaseMouseButtons;
|
|
37
|
-
private pressMouseButtons;
|
|
38
|
-
private sendMouseDown;
|
|
39
|
-
private sendMouseUp;
|
|
40
|
-
}
|
|
1
|
+
import { StreamMessageController } from '../UeInstanceMessage/StreamMessageController';
|
|
2
|
+
import { InputCoordTranslator } from '../Util/InputCoordTranslator';
|
|
3
|
+
import { VideoPlayer } from '../VideoPlayer/VideoPlayer';
|
|
4
|
+
import type { ActiveKeys } from './InputClassesFactory';
|
|
5
|
+
import { IInputController } from './IInputController';
|
|
6
|
+
/**
|
|
7
|
+
* Extra types for Document and WheelEvent
|
|
8
|
+
*/
|
|
9
|
+
declare global {
|
|
10
|
+
interface Document {
|
|
11
|
+
mozPointerLockElement: unknown;
|
|
12
|
+
mozExitPointerLock?(): void;
|
|
13
|
+
}
|
|
14
|
+
interface WheelEvent {
|
|
15
|
+
wheelDelta: number;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The base class for mouse controllers. Since there is a bunch of shared behaviour between locked and
|
|
20
|
+
* hover mouse controllers this is where that shared behaviour lives.
|
|
21
|
+
*/
|
|
22
|
+
export declare class MouseController implements IInputController {
|
|
23
|
+
videoPlayer: VideoPlayer;
|
|
24
|
+
streamMessageController: StreamMessageController;
|
|
25
|
+
coordinateConverter: InputCoordTranslator;
|
|
26
|
+
activeKeys: ActiveKeys;
|
|
27
|
+
onEnterListener: (event: MouseEvent) => void;
|
|
28
|
+
onLeaveListener: (event: MouseEvent) => void;
|
|
29
|
+
constructor(streamMessageController: StreamMessageController, videoPlayer: VideoPlayer, coordinateConverter: InputCoordTranslator, activeKeys: ActiveKeys);
|
|
30
|
+
register(): void;
|
|
31
|
+
unregister(): void;
|
|
32
|
+
registerMouseEnterAndLeaveEvents(): void;
|
|
33
|
+
unregisterMouseEnterAndLeaveEvents(): void;
|
|
34
|
+
private onMouseEnter;
|
|
35
|
+
private onMouseLeave;
|
|
36
|
+
private releaseMouseButtons;
|
|
37
|
+
private pressMouseButtons;
|
|
38
|
+
private sendMouseDown;
|
|
39
|
+
private sendMouseUp;
|
|
40
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { StreamMessageController } from '../UeInstanceMessage/StreamMessageController';
|
|
2
|
-
import { InputCoordTranslator } from '../Util/InputCoordTranslator';
|
|
3
|
-
import { VideoPlayer } from '../VideoPlayer/VideoPlayer';
|
|
4
|
-
import type { ActiveKeys } from './InputClassesFactory';
|
|
5
|
-
import { MouseController } from './MouseController';
|
|
6
|
-
/**
|
|
7
|
-
* A mouse controller that allows the mouse to freely float over the video document.
|
|
8
|
-
*/
|
|
9
|
-
export declare class MouseControllerHovering extends MouseController {
|
|
10
|
-
videoElementParent: HTMLDivElement;
|
|
11
|
-
onMouseUpListener: (event: MouseEvent) => void;
|
|
12
|
-
onMouseDownListener: (event: MouseEvent) => void;
|
|
13
|
-
onMouseDblClickListener: (event: MouseEvent) => void;
|
|
14
|
-
onMouseWheelListener: (event: WheelEvent) => void;
|
|
15
|
-
onMouseMoveListener: (event: MouseEvent) => void;
|
|
16
|
-
onContextMenuListener: (event: MouseEvent) => void;
|
|
17
|
-
constructor(streamMessageController: StreamMessageController, videoPlayer: VideoPlayer, coordinateConverter: InputCoordTranslator, activeKeys: ActiveKeys);
|
|
18
|
-
register(): void;
|
|
19
|
-
unregister(): void;
|
|
20
|
-
private onMouseDown;
|
|
21
|
-
private onMouseUp;
|
|
22
|
-
private onContextMenu;
|
|
23
|
-
private onMouseMove;
|
|
24
|
-
private onMouseWheel;
|
|
25
|
-
private onMouseDblClick;
|
|
26
|
-
}
|
|
1
|
+
import { StreamMessageController } from '../UeInstanceMessage/StreamMessageController';
|
|
2
|
+
import { InputCoordTranslator } from '../Util/InputCoordTranslator';
|
|
3
|
+
import { VideoPlayer } from '../VideoPlayer/VideoPlayer';
|
|
4
|
+
import type { ActiveKeys } from './InputClassesFactory';
|
|
5
|
+
import { MouseController } from './MouseController';
|
|
6
|
+
/**
|
|
7
|
+
* A mouse controller that allows the mouse to freely float over the video document.
|
|
8
|
+
*/
|
|
9
|
+
export declare class MouseControllerHovering extends MouseController {
|
|
10
|
+
videoElementParent: HTMLDivElement;
|
|
11
|
+
onMouseUpListener: (event: MouseEvent) => void;
|
|
12
|
+
onMouseDownListener: (event: MouseEvent) => void;
|
|
13
|
+
onMouseDblClickListener: (event: MouseEvent) => void;
|
|
14
|
+
onMouseWheelListener: (event: WheelEvent) => void;
|
|
15
|
+
onMouseMoveListener: (event: MouseEvent) => void;
|
|
16
|
+
onContextMenuListener: (event: MouseEvent) => void;
|
|
17
|
+
constructor(streamMessageController: StreamMessageController, videoPlayer: VideoPlayer, coordinateConverter: InputCoordTranslator, activeKeys: ActiveKeys);
|
|
18
|
+
register(): void;
|
|
19
|
+
unregister(): void;
|
|
20
|
+
private onMouseDown;
|
|
21
|
+
private onMouseUp;
|
|
22
|
+
private onContextMenu;
|
|
23
|
+
private onMouseMove;
|
|
24
|
+
private onMouseWheel;
|
|
25
|
+
private onMouseDblClick;
|
|
26
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { StreamMessageController } from '../UeInstanceMessage/StreamMessageController';
|
|
2
|
-
import { InputCoordTranslator, TranslatedCoordUnsigned } from '../Util/InputCoordTranslator';
|
|
3
|
-
import { VideoPlayer } from '../VideoPlayer/VideoPlayer';
|
|
4
|
-
import type { ActiveKeys } from './InputClassesFactory';
|
|
5
|
-
import { MouseController } from './MouseController';
|
|
6
|
-
/**
|
|
7
|
-
* A mouse controller that locks the mouse to the video document and prevents it from leaving the window
|
|
8
|
-
*/
|
|
9
|
-
export declare class MouseControllerLocked extends MouseController {
|
|
10
|
-
videoElementParent: HTMLDivElement;
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
normalizedCoord: TranslatedCoordUnsigned;
|
|
14
|
-
onRequestLockListener: () => void;
|
|
15
|
-
onLockStateChangeListener: () => void;
|
|
16
|
-
onMouseUpListener: (event: MouseEvent) => void;
|
|
17
|
-
onMouseDownListener: (event: MouseEvent) => void;
|
|
18
|
-
onMouseDblClickListener: (event: MouseEvent) => void;
|
|
19
|
-
onMouseWheelListener: (event: WheelEvent) => void;
|
|
20
|
-
onMouseMoveListener: (event: MouseEvent) => void;
|
|
21
|
-
constructor(streamMessageController: StreamMessageController, videoPlayer: VideoPlayer, coordinateConverter: InputCoordTranslator, activeKeys: ActiveKeys);
|
|
22
|
-
register(): void;
|
|
23
|
-
unregister(): void;
|
|
24
|
-
private onRequestLock;
|
|
25
|
-
private onLockStateChange;
|
|
26
|
-
private onMouseDown;
|
|
27
|
-
private onMouseUp;
|
|
28
|
-
private onMouseMove;
|
|
29
|
-
private onMouseWheel;
|
|
30
|
-
private onMouseDblClick;
|
|
31
|
-
}
|
|
1
|
+
import { StreamMessageController } from '../UeInstanceMessage/StreamMessageController';
|
|
2
|
+
import { InputCoordTranslator, TranslatedCoordUnsigned } from '../Util/InputCoordTranslator';
|
|
3
|
+
import { VideoPlayer } from '../VideoPlayer/VideoPlayer';
|
|
4
|
+
import type { ActiveKeys } from './InputClassesFactory';
|
|
5
|
+
import { MouseController } from './MouseController';
|
|
6
|
+
/**
|
|
7
|
+
* A mouse controller that locks the mouse to the video document and prevents it from leaving the window
|
|
8
|
+
*/
|
|
9
|
+
export declare class MouseControllerLocked extends MouseController {
|
|
10
|
+
videoElementParent: HTMLDivElement;
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
normalizedCoord: TranslatedCoordUnsigned;
|
|
14
|
+
onRequestLockListener: () => void;
|
|
15
|
+
onLockStateChangeListener: () => void;
|
|
16
|
+
onMouseUpListener: (event: MouseEvent) => void;
|
|
17
|
+
onMouseDownListener: (event: MouseEvent) => void;
|
|
18
|
+
onMouseDblClickListener: (event: MouseEvent) => void;
|
|
19
|
+
onMouseWheelListener: (event: WheelEvent) => void;
|
|
20
|
+
onMouseMoveListener: (event: MouseEvent) => void;
|
|
21
|
+
constructor(streamMessageController: StreamMessageController, videoPlayer: VideoPlayer, coordinateConverter: InputCoordTranslator, activeKeys: ActiveKeys);
|
|
22
|
+
register(): void;
|
|
23
|
+
unregister(): void;
|
|
24
|
+
private onRequestLock;
|
|
25
|
+
private onLockStateChange;
|
|
26
|
+
private onMouseDown;
|
|
27
|
+
private onMouseUp;
|
|
28
|
+
private onMouseMove;
|
|
29
|
+
private onMouseWheel;
|
|
30
|
+
private onMouseDblClick;
|
|
31
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Registers the Special Key codes
|
|
3
|
-
* Must be kept in sync with JavaScriptKeyCodeToFKey C++ array.
|
|
4
|
-
* The index of the entry in the array is the special key code given below.
|
|
5
|
-
*/
|
|
6
|
-
export declare class SpecialKeyCodes {
|
|
7
|
-
static backSpace: number;
|
|
8
|
-
static shift: number;
|
|
9
|
-
static control: number;
|
|
10
|
-
static alt: number;
|
|
11
|
-
static rightShift: number;
|
|
12
|
-
static rightControl: number;
|
|
13
|
-
static rightAlt: number;
|
|
14
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Registers the Special Key codes
|
|
3
|
+
* Must be kept in sync with JavaScriptKeyCodeToFKey C++ array.
|
|
4
|
+
* The index of the entry in the array is the special key code given below.
|
|
5
|
+
*/
|
|
6
|
+
export declare class SpecialKeyCodes {
|
|
7
|
+
static backSpace: number;
|
|
8
|
+
static shift: number;
|
|
9
|
+
static control: number;
|
|
10
|
+
static alt: number;
|
|
11
|
+
static rightShift: number;
|
|
12
|
+
static rightControl: number;
|
|
13
|
+
static rightAlt: number;
|
|
14
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { InputCoordTranslator } from '../Util/InputCoordTranslator';
|
|
2
|
-
import { StreamMessageController } from '../UeInstanceMessage/StreamMessageController';
|
|
3
|
-
import { VideoPlayer } from '../VideoPlayer/VideoPlayer';
|
|
4
|
-
import { IInputController } from './IInputController';
|
|
5
|
-
/**
|
|
6
|
-
* The basic touch controller that handles the touch events on the document.
|
|
7
|
-
*/
|
|
8
|
-
export declare class TouchController implements IInputController {
|
|
9
|
-
streamMessageController: StreamMessageController;
|
|
10
|
-
videoPlayer: VideoPlayer;
|
|
11
|
-
coordinateConverter: InputCoordTranslator;
|
|
12
|
-
videoElementParent: HTMLVideoElement;
|
|
13
|
-
fingers: number[];
|
|
14
|
-
fingerIds: Map<any, any>;
|
|
15
|
-
maxByteValue: number;
|
|
16
|
-
onTouchStartListener: (event: TouchEvent) => void;
|
|
17
|
-
onTouchEndListener: (event: TouchEvent) => void;
|
|
18
|
-
onTouchMoveListener: (event: TouchEvent) => void;
|
|
19
|
-
constructor(streamMessageController: StreamMessageController, videoPlayer: VideoPlayer, coordinateConverter: InputCoordTranslator);
|
|
20
|
-
register(): void;
|
|
21
|
-
unregister(): void;
|
|
22
|
-
private rememberTouch;
|
|
23
|
-
private forgetTouch;
|
|
24
|
-
private onTouchStart;
|
|
25
|
-
private onTouchEnd;
|
|
26
|
-
private onTouchMove;
|
|
27
|
-
private emitTouchData;
|
|
28
|
-
}
|
|
1
|
+
import { InputCoordTranslator } from '../Util/InputCoordTranslator';
|
|
2
|
+
import { StreamMessageController } from '../UeInstanceMessage/StreamMessageController';
|
|
3
|
+
import { VideoPlayer } from '../VideoPlayer/VideoPlayer';
|
|
4
|
+
import { IInputController } from './IInputController';
|
|
5
|
+
/**
|
|
6
|
+
* The basic touch controller that handles the touch events on the document.
|
|
7
|
+
*/
|
|
8
|
+
export declare class TouchController implements IInputController {
|
|
9
|
+
streamMessageController: StreamMessageController;
|
|
10
|
+
videoPlayer: VideoPlayer;
|
|
11
|
+
coordinateConverter: InputCoordTranslator;
|
|
12
|
+
videoElementParent: HTMLVideoElement;
|
|
13
|
+
fingers: number[];
|
|
14
|
+
fingerIds: Map<any, any>;
|
|
15
|
+
maxByteValue: number;
|
|
16
|
+
onTouchStartListener: (event: TouchEvent) => void;
|
|
17
|
+
onTouchEndListener: (event: TouchEvent) => void;
|
|
18
|
+
onTouchMoveListener: (event: TouchEvent) => void;
|
|
19
|
+
constructor(streamMessageController: StreamMessageController, videoPlayer: VideoPlayer, coordinateConverter: InputCoordTranslator);
|
|
20
|
+
register(): void;
|
|
21
|
+
unregister(): void;
|
|
22
|
+
private rememberTouch;
|
|
23
|
+
private forgetTouch;
|
|
24
|
+
private onTouchStart;
|
|
25
|
+
private onTouchEnd;
|
|
26
|
+
private onTouchMove;
|
|
27
|
+
private emitTouchData;
|
|
28
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { InputCoordTranslator } from '../Util/InputCoordTranslator';
|
|
2
|
-
import { StreamMessageController } from '../UeInstanceMessage/StreamMessageController';
|
|
3
|
-
import { VideoPlayer } from '../VideoPlayer/VideoPlayer';
|
|
4
|
-
import { IInputController } from './IInputController';
|
|
5
|
-
interface FakeTouchFinger {
|
|
6
|
-
id: number;
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Allows for the usage of fake touch events
|
|
12
|
-
*/
|
|
13
|
-
export declare class TouchControllerFake implements IInputController {
|
|
14
|
-
streamMessageController: StreamMessageController;
|
|
15
|
-
videoPlayer: VideoPlayer;
|
|
16
|
-
coordinateConverter: InputCoordTranslator;
|
|
17
|
-
fakeTouchFinger: FakeTouchFinger;
|
|
18
|
-
videoElementParentClientRect: DOMRect;
|
|
19
|
-
onTouchStartListener: (event: TouchEvent) => void;
|
|
20
|
-
onTouchEndListener: (event: TouchEvent) => void;
|
|
21
|
-
onTouchMoveListener: (event: TouchEvent) => void;
|
|
22
|
-
constructor(streamMessageController: StreamMessageController, videoPlayer: VideoPlayer, coordinateConverter: InputCoordTranslator);
|
|
23
|
-
register(): void;
|
|
24
|
-
unregister(): void;
|
|
25
|
-
private onTouchStart;
|
|
26
|
-
private onTouchEnd;
|
|
27
|
-
private onTouchMove;
|
|
28
|
-
}
|
|
29
|
-
export {};
|
|
1
|
+
import { InputCoordTranslator } from '../Util/InputCoordTranslator';
|
|
2
|
+
import { StreamMessageController } from '../UeInstanceMessage/StreamMessageController';
|
|
3
|
+
import { VideoPlayer } from '../VideoPlayer/VideoPlayer';
|
|
4
|
+
import { IInputController } from './IInputController';
|
|
5
|
+
interface FakeTouchFinger {
|
|
6
|
+
id: number;
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Allows for the usage of fake touch events
|
|
12
|
+
*/
|
|
13
|
+
export declare class TouchControllerFake implements IInputController {
|
|
14
|
+
streamMessageController: StreamMessageController;
|
|
15
|
+
videoPlayer: VideoPlayer;
|
|
16
|
+
coordinateConverter: InputCoordTranslator;
|
|
17
|
+
fakeTouchFinger: FakeTouchFinger;
|
|
18
|
+
videoElementParentClientRect: DOMRect;
|
|
19
|
+
onTouchStartListener: (event: TouchEvent) => void;
|
|
20
|
+
onTouchEndListener: (event: TouchEvent) => void;
|
|
21
|
+
onTouchMoveListener: (event: TouchEvent) => void;
|
|
22
|
+
constructor(streamMessageController: StreamMessageController, videoPlayer: VideoPlayer, coordinateConverter: InputCoordTranslator);
|
|
23
|
+
register(): void;
|
|
24
|
+
unregister(): void;
|
|
25
|
+
private onTouchStart;
|
|
26
|
+
private onTouchEnd;
|
|
27
|
+
private onTouchMove;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/// <reference types="webxr" />
|
|
2
|
-
import { StreamMessageController } from '../UeInstanceMessage/StreamMessageController';
|
|
3
|
-
import { Controller } from './GamepadTypes';
|
|
4
|
-
/**
|
|
5
|
-
* The class that handles the functionality of XR gamepads and controllers.
|
|
6
|
-
*/
|
|
7
|
-
export declare class XRGamepadController {
|
|
8
|
-
controllers: Array<Controller>;
|
|
9
|
-
toStreamerMessagesProvider: StreamMessageController;
|
|
10
|
-
/**
|
|
11
|
-
* @param toStreamerMessagesProvider - Stream message instance
|
|
12
|
-
*/
|
|
13
|
-
constructor(toStreamerMessagesProvider: StreamMessageController);
|
|
14
|
-
updateStatus(source: XRInputSource, frame: XRFrame, refSpace: XRReferenceSpace): void;
|
|
15
|
-
}
|
|
1
|
+
/// <reference types="webxr" />
|
|
2
|
+
import { StreamMessageController } from '../UeInstanceMessage/StreamMessageController';
|
|
3
|
+
import { Controller } from './GamepadTypes';
|
|
4
|
+
/**
|
|
5
|
+
* The class that handles the functionality of XR gamepads and controllers.
|
|
6
|
+
*/
|
|
7
|
+
export declare class XRGamepadController {
|
|
8
|
+
controllers: Array<Controller>;
|
|
9
|
+
toStreamerMessagesProvider: StreamMessageController;
|
|
10
|
+
/**
|
|
11
|
+
* @param toStreamerMessagesProvider - Stream message instance
|
|
12
|
+
*/
|
|
13
|
+
constructor(toStreamerMessagesProvider: StreamMessageController);
|
|
14
|
+
updateStatus(source: XRInputSource, frame: XRFrame, refSpace: XRReferenceSpace): void;
|
|
15
|
+
}
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { InboundRTPStats, InboundVideoStats, InboundAudioStats } from './InboundRTPStats';
|
|
2
|
-
import { InboundTrackStats } from './InboundTrackStats';
|
|
3
|
-
import { DataChannelStats } from './DataChannelStats';
|
|
4
|
-
import { CandidateStat } from './CandidateStat';
|
|
5
|
-
import { CandidatePairStats } from './CandidatePairStats';
|
|
6
|
-
import { OutBoundRTPStats, OutBoundVideoStats } from './OutBoundRTPStats';
|
|
7
|
-
import { SessionStats } from './SessionStats';
|
|
8
|
-
import { StreamStats } from './StreamStats';
|
|
9
|
-
import { CodecStats } from './CodecStats';
|
|
10
|
-
export declare class AggregatedStats {
|
|
11
|
-
inboundVideoStats: InboundVideoStats;
|
|
12
|
-
inboundAudioStats: InboundAudioStats;
|
|
13
|
-
candidatePairs: Array<CandidatePairStats>;
|
|
14
|
-
DataChannelStats: DataChannelStats;
|
|
15
|
-
localCandidates: Array<CandidateStat>;
|
|
16
|
-
remoteCandidates: Array<CandidateStat>;
|
|
17
|
-
outBoundVideoStats: OutBoundVideoStats;
|
|
18
|
-
sessionStats: SessionStats;
|
|
19
|
-
streamStats: StreamStats;
|
|
20
|
-
codecs: Map<string, CodecStats>;
|
|
21
|
-
transportStats: RTCTransportStats;
|
|
22
|
-
constructor();
|
|
23
|
-
/**
|
|
24
|
-
* Gather all the information from the RTC Peer Connection Report
|
|
25
|
-
* @param rtcStatsReport - RTC Stats Report
|
|
26
|
-
*/
|
|
27
|
-
processStats(rtcStatsReport: RTCStatsReport): void;
|
|
28
|
-
/**
|
|
29
|
-
* Process stream stats data from webrtc
|
|
30
|
-
*
|
|
31
|
-
* @param stat - the stats coming in from webrtc
|
|
32
|
-
*/
|
|
33
|
-
handleStream(stat: StreamStats): void;
|
|
34
|
-
/**
|
|
35
|
-
* Process the Ice Candidate Pair Data
|
|
36
|
-
* @param stat - the stats coming in from ice candidates
|
|
37
|
-
*/
|
|
38
|
-
handleCandidatePair(stat: CandidatePairStats): void;
|
|
39
|
-
/**
|
|
40
|
-
* Process the Data Channel Data
|
|
41
|
-
* @param stat - the stats coming in from the data channel
|
|
42
|
-
*/
|
|
43
|
-
handleDataChannel(stat: DataChannelStats): void;
|
|
44
|
-
/**
|
|
45
|
-
* Process the Local Ice Candidate Data
|
|
46
|
-
* @param stat - local stats
|
|
47
|
-
*/
|
|
48
|
-
handleLocalCandidate(stat: CandidateStat): void;
|
|
49
|
-
/**
|
|
50
|
-
* Process the Remote Ice Candidate Data
|
|
51
|
-
* @param stat - ice candidate stats
|
|
52
|
-
*/
|
|
53
|
-
handleRemoteCandidate(stat: CandidateStat): void;
|
|
54
|
-
/**
|
|
55
|
-
* Process the Inbound RTP Audio and Video Data
|
|
56
|
-
* @param stat - inbound rtp stats
|
|
57
|
-
*/
|
|
58
|
-
handleInBoundRTP(stat: InboundRTPStats): void;
|
|
59
|
-
/**
|
|
60
|
-
* Process the outbound RTP Audio and Video Data
|
|
61
|
-
* @param stat - remote outbound stats
|
|
62
|
-
*/
|
|
63
|
-
handleRemoteOutBound(stat: OutBoundRTPStats): void;
|
|
64
|
-
/**
|
|
65
|
-
* Process the Inbound Video Track Data
|
|
66
|
-
* @param stat - video track stats
|
|
67
|
-
*/
|
|
68
|
-
handleTrack(stat: InboundTrackStats): void;
|
|
69
|
-
handleTransport(stat: RTCTransportStats): void;
|
|
70
|
-
handleCodec(stat: CodecStats): void;
|
|
71
|
-
handleSessionStatistics(videoStartTime: number, inputController: boolean | null, videoEncoderAvgQP: number): void;
|
|
72
|
-
/**
|
|
73
|
-
* Check if a value coming in from our stats is actually a number
|
|
74
|
-
* @param value - the number to be checked
|
|
75
|
-
*/
|
|
76
|
-
isNumber(value: unknown): boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Helper function to return the active candidate pair
|
|
79
|
-
* @returns The candidate pair that is currently receiving data
|
|
80
|
-
*/
|
|
81
|
-
getActiveCandidatePair(): CandidatePairStats | null;
|
|
82
|
-
}
|
|
1
|
+
import { InboundRTPStats, InboundVideoStats, InboundAudioStats } from './InboundRTPStats';
|
|
2
|
+
import { InboundTrackStats } from './InboundTrackStats';
|
|
3
|
+
import { DataChannelStats } from './DataChannelStats';
|
|
4
|
+
import { CandidateStat } from './CandidateStat';
|
|
5
|
+
import { CandidatePairStats } from './CandidatePairStats';
|
|
6
|
+
import { OutBoundRTPStats, OutBoundVideoStats } from './OutBoundRTPStats';
|
|
7
|
+
import { SessionStats } from './SessionStats';
|
|
8
|
+
import { StreamStats } from './StreamStats';
|
|
9
|
+
import { CodecStats } from './CodecStats';
|
|
10
|
+
export declare class AggregatedStats {
|
|
11
|
+
inboundVideoStats: InboundVideoStats;
|
|
12
|
+
inboundAudioStats: InboundAudioStats;
|
|
13
|
+
candidatePairs: Array<CandidatePairStats>;
|
|
14
|
+
DataChannelStats: DataChannelStats;
|
|
15
|
+
localCandidates: Array<CandidateStat>;
|
|
16
|
+
remoteCandidates: Array<CandidateStat>;
|
|
17
|
+
outBoundVideoStats: OutBoundVideoStats;
|
|
18
|
+
sessionStats: SessionStats;
|
|
19
|
+
streamStats: StreamStats;
|
|
20
|
+
codecs: Map<string, CodecStats>;
|
|
21
|
+
transportStats: RTCTransportStats;
|
|
22
|
+
constructor();
|
|
23
|
+
/**
|
|
24
|
+
* Gather all the information from the RTC Peer Connection Report
|
|
25
|
+
* @param rtcStatsReport - RTC Stats Report
|
|
26
|
+
*/
|
|
27
|
+
processStats(rtcStatsReport: RTCStatsReport): void;
|
|
28
|
+
/**
|
|
29
|
+
* Process stream stats data from webrtc
|
|
30
|
+
*
|
|
31
|
+
* @param stat - the stats coming in from webrtc
|
|
32
|
+
*/
|
|
33
|
+
handleStream(stat: StreamStats): void;
|
|
34
|
+
/**
|
|
35
|
+
* Process the Ice Candidate Pair Data
|
|
36
|
+
* @param stat - the stats coming in from ice candidates
|
|
37
|
+
*/
|
|
38
|
+
handleCandidatePair(stat: CandidatePairStats): void;
|
|
39
|
+
/**
|
|
40
|
+
* Process the Data Channel Data
|
|
41
|
+
* @param stat - the stats coming in from the data channel
|
|
42
|
+
*/
|
|
43
|
+
handleDataChannel(stat: DataChannelStats): void;
|
|
44
|
+
/**
|
|
45
|
+
* Process the Local Ice Candidate Data
|
|
46
|
+
* @param stat - local stats
|
|
47
|
+
*/
|
|
48
|
+
handleLocalCandidate(stat: CandidateStat): void;
|
|
49
|
+
/**
|
|
50
|
+
* Process the Remote Ice Candidate Data
|
|
51
|
+
* @param stat - ice candidate stats
|
|
52
|
+
*/
|
|
53
|
+
handleRemoteCandidate(stat: CandidateStat): void;
|
|
54
|
+
/**
|
|
55
|
+
* Process the Inbound RTP Audio and Video Data
|
|
56
|
+
* @param stat - inbound rtp stats
|
|
57
|
+
*/
|
|
58
|
+
handleInBoundRTP(stat: InboundRTPStats): void;
|
|
59
|
+
/**
|
|
60
|
+
* Process the outbound RTP Audio and Video Data
|
|
61
|
+
* @param stat - remote outbound stats
|
|
62
|
+
*/
|
|
63
|
+
handleRemoteOutBound(stat: OutBoundRTPStats): void;
|
|
64
|
+
/**
|
|
65
|
+
* Process the Inbound Video Track Data
|
|
66
|
+
* @param stat - video track stats
|
|
67
|
+
*/
|
|
68
|
+
handleTrack(stat: InboundTrackStats): void;
|
|
69
|
+
handleTransport(stat: RTCTransportStats): void;
|
|
70
|
+
handleCodec(stat: CodecStats): void;
|
|
71
|
+
handleSessionStatistics(videoStartTime: number, inputController: boolean | null, videoEncoderAvgQP: number): void;
|
|
72
|
+
/**
|
|
73
|
+
* Check if a value coming in from our stats is actually a number
|
|
74
|
+
* @param value - the number to be checked
|
|
75
|
+
*/
|
|
76
|
+
isNumber(value: unknown): boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Helper function to return the active candidate pair
|
|
79
|
+
* @returns The candidate pair that is currently receiving data
|
|
80
|
+
*/
|
|
81
|
+
getActiveCandidatePair(): CandidatePairStats | null;
|
|
82
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ICE Candidate Pair Stats collected from the RTC Stats Report
|
|
3
|
-
*/
|
|
4
|
-
export declare class CandidatePairStats {
|
|
5
|
-
bytesReceived: number;
|
|
6
|
-
bytesSent: number;
|
|
7
|
-
currentRoundTripTime: number;
|
|
8
|
-
id: string;
|
|
9
|
-
lastPacketReceivedTimestamp: number;
|
|
10
|
-
lastPacketSentTimestamp: number;
|
|
11
|
-
localCandidateId: string;
|
|
12
|
-
nominated: boolean;
|
|
13
|
-
priority: number;
|
|
14
|
-
readable: boolean;
|
|
15
|
-
remoteCandidateId: string;
|
|
16
|
-
selected: boolean;
|
|
17
|
-
state: string;
|
|
18
|
-
timestamp: number;
|
|
19
|
-
transportId: string;
|
|
20
|
-
type: string;
|
|
21
|
-
writable: boolean;
|
|
22
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* ICE Candidate Pair Stats collected from the RTC Stats Report
|
|
3
|
+
*/
|
|
4
|
+
export declare class CandidatePairStats {
|
|
5
|
+
bytesReceived: number;
|
|
6
|
+
bytesSent: number;
|
|
7
|
+
currentRoundTripTime: number;
|
|
8
|
+
id: string;
|
|
9
|
+
lastPacketReceivedTimestamp: number;
|
|
10
|
+
lastPacketSentTimestamp: number;
|
|
11
|
+
localCandidateId: string;
|
|
12
|
+
nominated: boolean;
|
|
13
|
+
priority: number;
|
|
14
|
+
readable: boolean;
|
|
15
|
+
remoteCandidateId: string;
|
|
16
|
+
selected: boolean;
|
|
17
|
+
state: string;
|
|
18
|
+
timestamp: number;
|
|
19
|
+
transportId: string;
|
|
20
|
+
type: string;
|
|
21
|
+
writable: boolean;
|
|
22
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ICE Candidate Stat collected from the RTC Stats Report
|
|
3
|
-
*/
|
|
4
|
-
export declare class CandidateStat {
|
|
5
|
-
address: string;
|
|
6
|
-
candidateType: string;
|
|
7
|
-
id: string;
|
|
8
|
-
label: string;
|
|
9
|
-
port: number;
|
|
10
|
-
protocol: 'tcp' | 'udp';
|
|
11
|
-
relayProtocol: 'tcp' | 'udp' | 'tls';
|
|
12
|
-
transportId: string;
|
|
13
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* ICE Candidate Stat collected from the RTC Stats Report
|
|
3
|
+
*/
|
|
4
|
+
export declare class CandidateStat {
|
|
5
|
+
address: string;
|
|
6
|
+
candidateType: string;
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
port: number;
|
|
10
|
+
protocol: 'tcp' | 'udp';
|
|
11
|
+
relayProtocol: 'tcp' | 'udp' | 'tls';
|
|
12
|
+
transportId: string;
|
|
13
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Codec Stats collected from the RTC Stats Report
|
|
3
|
-
*/
|
|
4
|
-
export declare class CodecStats {
|
|
5
|
-
clockRate: number;
|
|
6
|
-
id: string;
|
|
7
|
-
mimeType: string;
|
|
8
|
-
payloadType: number;
|
|
9
|
-
sdpFmtpLine: string;
|
|
10
|
-
timestamp: number;
|
|
11
|
-
transportId: string;
|
|
12
|
-
type: string;
|
|
13
|
-
channels: number;
|
|
14
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Codec Stats collected from the RTC Stats Report
|
|
3
|
+
*/
|
|
4
|
+
export declare class CodecStats {
|
|
5
|
+
clockRate: number;
|
|
6
|
+
id: string;
|
|
7
|
+
mimeType: string;
|
|
8
|
+
payloadType: number;
|
|
9
|
+
sdpFmtpLine: string;
|
|
10
|
+
timestamp: number;
|
|
11
|
+
transportId: string;
|
|
12
|
+
type: string;
|
|
13
|
+
channels: number;
|
|
14
|
+
}
|