@types/node-media-server 2.3.0 → 2.3.2
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.
node-media-server/README.md
CHANGED
|
@@ -40,6 +40,7 @@ interface SslConfig {
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
interface HttpConfig {
|
|
43
|
+
mediaroot: string;
|
|
43
44
|
port?: number;
|
|
44
45
|
allow_origin?: string;
|
|
45
46
|
}
|
|
@@ -52,29 +53,29 @@ interface AuthConfig {
|
|
|
52
53
|
|
|
53
54
|
interface TransConfig {
|
|
54
55
|
ffmpeg: string;
|
|
55
|
-
tasks: [
|
|
56
|
+
tasks: TransTaskConfig[];
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
interface RelayConfig {
|
|
59
|
-
tasks: [
|
|
60
|
+
tasks: RelayTaskConfig[];
|
|
60
61
|
ffmpeg: string;
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
interface FissionConfig {
|
|
64
65
|
ffmpeg: string;
|
|
65
|
-
tasks: [
|
|
66
|
+
tasks: FissionTaskConfig[];
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
interface TransTaskConfig {
|
|
69
70
|
app: string;
|
|
70
71
|
hls?: boolean;
|
|
71
72
|
hlsFlags?: string;
|
|
72
|
-
dash?:
|
|
73
|
+
dash?: boolean;
|
|
73
74
|
dashFlags?: string;
|
|
74
75
|
vc?: string;
|
|
75
|
-
vcParam?: [
|
|
76
|
+
vcParam?: string[];
|
|
76
77
|
ac?: string;
|
|
77
|
-
acParam?: [
|
|
78
|
+
acParam?: string[];
|
|
78
79
|
rtmp?: boolean;
|
|
79
80
|
rtmpApp?: string;
|
|
80
81
|
mp4?: boolean;
|
|
@@ -91,7 +92,7 @@ interface RelayTaskConfig {
|
|
|
91
92
|
|
|
92
93
|
interface FissionTaskConfig {
|
|
93
94
|
rule: string;
|
|
94
|
-
model: [
|
|
95
|
+
model: FissionTaskModel[];
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
interface FissionTaskModel {
|
|
@@ -114,7 +115,7 @@ export = NodeMediaServer;
|
|
|
114
115
|
````
|
|
115
116
|
|
|
116
117
|
### Additional Details
|
|
117
|
-
* Last updated:
|
|
118
|
+
* Last updated: Thu, 13 Oct 2022 20:32:53 GMT
|
|
118
119
|
* Dependencies: none
|
|
119
120
|
* Global values: none
|
|
120
121
|
|
node-media-server/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ interface SslConfig {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
interface HttpConfig {
|
|
33
|
+
mediaroot: string;
|
|
33
34
|
port?: number;
|
|
34
35
|
allow_origin?: string;
|
|
35
36
|
}
|
|
@@ -42,29 +43,29 @@ interface AuthConfig {
|
|
|
42
43
|
|
|
43
44
|
interface TransConfig {
|
|
44
45
|
ffmpeg: string;
|
|
45
|
-
tasks: [
|
|
46
|
+
tasks: TransTaskConfig[];
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
interface RelayConfig {
|
|
49
|
-
tasks: [
|
|
50
|
+
tasks: RelayTaskConfig[];
|
|
50
51
|
ffmpeg: string;
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
interface FissionConfig {
|
|
54
55
|
ffmpeg: string;
|
|
55
|
-
tasks: [
|
|
56
|
+
tasks: FissionTaskConfig[];
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
interface TransTaskConfig {
|
|
59
60
|
app: string;
|
|
60
61
|
hls?: boolean;
|
|
61
62
|
hlsFlags?: string;
|
|
62
|
-
dash?:
|
|
63
|
+
dash?: boolean;
|
|
63
64
|
dashFlags?: string;
|
|
64
65
|
vc?: string;
|
|
65
|
-
vcParam?: [
|
|
66
|
+
vcParam?: string[];
|
|
66
67
|
ac?: string;
|
|
67
|
-
acParam?: [
|
|
68
|
+
acParam?: string[];
|
|
68
69
|
rtmp?: boolean;
|
|
69
70
|
rtmpApp?: string;
|
|
70
71
|
mp4?: boolean;
|
|
@@ -81,7 +82,7 @@ interface RelayTaskConfig {
|
|
|
81
82
|
|
|
82
83
|
interface FissionTaskConfig {
|
|
83
84
|
rule: string;
|
|
84
|
-
model: [
|
|
85
|
+
model: FissionTaskModel[];
|
|
85
86
|
}
|
|
86
87
|
|
|
87
88
|
interface FissionTaskModel {
|
node-media-server/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node-media-server",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "TypeScript definitions for node-media-server",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-media-server",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
},
|
|
21
21
|
"scripts": {},
|
|
22
22
|
"dependencies": {},
|
|
23
|
-
"typesPublisherContentHash": "
|
|
24
|
-
"typeScriptVersion": "
|
|
23
|
+
"typesPublisherContentHash": "decb95e671bab3fd461ea207426a47c9eccbc7520e1804c8f4c8eafdeded7f14",
|
|
24
|
+
"typeScriptVersion": "4.1"
|
|
25
25
|
}
|