@vpalmisano/webrtcperf 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +296 -0
- package/app.min.js +2 -0
- package/build/src/app.d.ts +6 -0
- package/build/src/app.js +207 -0
- package/build/src/app.js.map +1 -0
- package/build/src/config.d.ts +104 -0
- package/build/src/config.js +880 -0
- package/build/src/config.js.map +1 -0
- package/build/src/generate-config-docs.d.ts +1 -0
- package/build/src/generate-config-docs.js +41 -0
- package/build/src/generate-config-docs.js.map +1 -0
- package/build/src/index.d.ts +9 -0
- package/build/src/index.js +26 -0
- package/build/src/index.js.map +1 -0
- package/build/src/media.d.ts +33 -0
- package/build/src/media.js +113 -0
- package/build/src/media.js.map +1 -0
- package/build/src/rtcstats.d.ts +302 -0
- package/build/src/rtcstats.js +418 -0
- package/build/src/rtcstats.js.map +1 -0
- package/build/src/server.d.ts +173 -0
- package/build/src/server.js +639 -0
- package/build/src/server.js.map +1 -0
- package/build/src/session.d.ts +277 -0
- package/build/src/session.js +1552 -0
- package/build/src/session.js.map +1 -0
- package/build/src/stats.d.ts +243 -0
- package/build/src/stats.js +1383 -0
- package/build/src/stats.js.map +1 -0
- package/build/src/utils.d.ts +249 -0
- package/build/src/utils.js +1220 -0
- package/build/src/utils.js.map +1 -0
- package/build/src/visqol.d.ts +6 -0
- package/build/src/visqol.js +61 -0
- package/build/src/visqol.js.map +1 -0
- package/build/src/vmaf.d.ts +83 -0
- package/build/src/vmaf.js +624 -0
- package/build/src/vmaf.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -0
- package/package.json +129 -0
- package/src/app.ts +241 -0
- package/src/config.ts +852 -0
- package/src/generate-config-docs.ts +47 -0
- package/src/index.ts +9 -0
- package/src/media.ts +151 -0
- package/src/rtcstats.ts +507 -0
- package/src/server.ts +645 -0
- package/src/session.ts +1908 -0
- package/src/stats.ts +1668 -0
- package/src/utils.ts +1295 -0
- package/src/visqol.ts +62 -0
- package/src/vmaf.ts +771 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
type ConfigDocs = Record<string, {
|
|
2
|
+
doc: string;
|
|
3
|
+
format: string;
|
|
4
|
+
default: string;
|
|
5
|
+
}>;
|
|
6
|
+
/**
|
|
7
|
+
* It returns the formatted configuration docs.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getConfigDocs(): ConfigDocs;
|
|
10
|
+
declare const _schemaProperties: {
|
|
11
|
+
url: string;
|
|
12
|
+
urlQuery: string;
|
|
13
|
+
customUrlHandler: string;
|
|
14
|
+
videoPath: string;
|
|
15
|
+
videoWidth: number;
|
|
16
|
+
videoHeight: number;
|
|
17
|
+
videoFramerate: number;
|
|
18
|
+
videoSeek: number;
|
|
19
|
+
videoDuration: number;
|
|
20
|
+
videoCacheRaw: boolean;
|
|
21
|
+
videoCachePath: string;
|
|
22
|
+
videoFormat: string;
|
|
23
|
+
useFakeMedia: boolean;
|
|
24
|
+
runDuration: number;
|
|
25
|
+
throttleConfig: string;
|
|
26
|
+
randomAudioPeriod: number;
|
|
27
|
+
randomAudioProbability: number;
|
|
28
|
+
randomAudioRange: number;
|
|
29
|
+
chromiumPath: string;
|
|
30
|
+
chromiumVersion: any;
|
|
31
|
+
chromiumUrl: string;
|
|
32
|
+
chromiumFieldTrials: string;
|
|
33
|
+
windowWidth: number;
|
|
34
|
+
windowHeight: number;
|
|
35
|
+
deviceScaleFactor: number;
|
|
36
|
+
maxVideoDecoders: number;
|
|
37
|
+
maxVideoDecodersAt: number;
|
|
38
|
+
incognito: boolean;
|
|
39
|
+
display: string;
|
|
40
|
+
sessions: number;
|
|
41
|
+
tabsPerSession: number;
|
|
42
|
+
startSessionId: number;
|
|
43
|
+
startTimestamp: number;
|
|
44
|
+
enableDetailedStats: string;
|
|
45
|
+
spawnRate: number;
|
|
46
|
+
showPageLog: boolean;
|
|
47
|
+
pageLogFilter: string;
|
|
48
|
+
pageLogPath: string;
|
|
49
|
+
userAgent: string;
|
|
50
|
+
scriptPath: string;
|
|
51
|
+
scriptParams: string;
|
|
52
|
+
disabledVideoCodecs: string;
|
|
53
|
+
localStorage: string;
|
|
54
|
+
sessionStorage: string;
|
|
55
|
+
clearCookies: boolean;
|
|
56
|
+
enableGpu: string;
|
|
57
|
+
enableBrowserLogging: string;
|
|
58
|
+
blockedUrls: string;
|
|
59
|
+
extraHeaders: string;
|
|
60
|
+
responseModifiers: string;
|
|
61
|
+
downloadResponses: string;
|
|
62
|
+
extraCSS: string;
|
|
63
|
+
cookies: string;
|
|
64
|
+
overridePermissions: string;
|
|
65
|
+
hardwareConcurrency: number;
|
|
66
|
+
debuggingPort: number;
|
|
67
|
+
debuggingAddress: string;
|
|
68
|
+
showStats: boolean;
|
|
69
|
+
statsPath: string;
|
|
70
|
+
detailedStatsPath: string;
|
|
71
|
+
statsInterval: number;
|
|
72
|
+
rtcStatsTimeout: number;
|
|
73
|
+
customMetrics: string;
|
|
74
|
+
prometheusPushgateway: string;
|
|
75
|
+
prometheusPushgatewayJobName: string;
|
|
76
|
+
prometheusPushgatewayAuth: string;
|
|
77
|
+
prometheusPushgatewayGzip: boolean;
|
|
78
|
+
alertRules: string;
|
|
79
|
+
alertRulesFilename: string;
|
|
80
|
+
alertRulesFailPercentile: number;
|
|
81
|
+
pushStatsUrl: string;
|
|
82
|
+
pushStatsId: string;
|
|
83
|
+
serverPort: number;
|
|
84
|
+
serverSecret: string;
|
|
85
|
+
serverUseHttps: boolean;
|
|
86
|
+
serverData: string;
|
|
87
|
+
vmafPath: string;
|
|
88
|
+
vmafPreview: boolean;
|
|
89
|
+
vmafKeepIntermediateFiles: boolean;
|
|
90
|
+
vmafKeepSourceFiles: boolean;
|
|
91
|
+
vmafCrop: string;
|
|
92
|
+
vmafPrepareVideo: string;
|
|
93
|
+
vmafProcessVideo: string;
|
|
94
|
+
vmafVideoCrop: string;
|
|
95
|
+
visqolPath: string;
|
|
96
|
+
visqolKeepSourceFiles: boolean;
|
|
97
|
+
};
|
|
98
|
+
/** [[include:config.md]] */
|
|
99
|
+
export type Config = typeof _schemaProperties;
|
|
100
|
+
/**
|
|
101
|
+
* Loads the config object.
|
|
102
|
+
*/
|
|
103
|
+
export declare function loadConfig(filePath?: string, values?: any): Config;
|
|
104
|
+
export {};
|