@types/node-media-server 2.3.1 → 2.3.3
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
|
@@ -11,6 +11,7 @@ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree
|
|
|
11
11
|
// Type definitions for node-media-server 2.3
|
|
12
12
|
// Project: https://github.com/illuspas/Node-Media-Server
|
|
13
13
|
// Definitions by: Thomas Seberechts <https://github.com/Tseberechts>
|
|
14
|
+
// Chris Frewin <https://github.com/princefishthrower>
|
|
14
15
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
15
16
|
|
|
16
17
|
interface Config {
|
|
@@ -53,29 +54,29 @@ interface AuthConfig {
|
|
|
53
54
|
|
|
54
55
|
interface TransConfig {
|
|
55
56
|
ffmpeg: string;
|
|
56
|
-
tasks: [
|
|
57
|
+
tasks: TransTaskConfig[];
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
interface RelayConfig {
|
|
60
|
-
tasks: [
|
|
61
|
+
tasks: RelayTaskConfig[];
|
|
61
62
|
ffmpeg: string;
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
interface FissionConfig {
|
|
65
66
|
ffmpeg: string;
|
|
66
|
-
tasks: [
|
|
67
|
+
tasks: FissionTaskConfig[];
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
interface TransTaskConfig {
|
|
70
71
|
app: string;
|
|
71
72
|
hls?: boolean;
|
|
72
73
|
hlsFlags?: string;
|
|
73
|
-
dash?:
|
|
74
|
+
dash?: boolean;
|
|
74
75
|
dashFlags?: string;
|
|
75
76
|
vc?: string;
|
|
76
|
-
vcParam?: [
|
|
77
|
+
vcParam?: string[];
|
|
77
78
|
ac?: string;
|
|
78
|
-
acParam?: [
|
|
79
|
+
acParam?: string[];
|
|
79
80
|
rtmp?: boolean;
|
|
80
81
|
rtmpApp?: string;
|
|
81
82
|
mp4?: boolean;
|
|
@@ -92,7 +93,7 @@ interface RelayTaskConfig {
|
|
|
92
93
|
|
|
93
94
|
interface FissionTaskConfig {
|
|
94
95
|
rule: string;
|
|
95
|
-
model: [
|
|
96
|
+
model: FissionTaskModel[];
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
interface FissionTaskModel {
|
|
@@ -115,9 +116,9 @@ export = NodeMediaServer;
|
|
|
115
116
|
````
|
|
116
117
|
|
|
117
118
|
### Additional Details
|
|
118
|
-
* Last updated: Fri,
|
|
119
|
+
* Last updated: Fri, 14 Oct 2022 07:03:08 GMT
|
|
119
120
|
* Dependencies: none
|
|
120
121
|
* Global values: none
|
|
121
122
|
|
|
122
123
|
# Credits
|
|
123
|
-
These definitions were written by [Thomas Seberechts](https://github.com/Tseberechts).
|
|
124
|
+
These definitions were written by [Thomas Seberechts](https://github.com/Tseberechts), and [Chris Frewin](https://github.com/princefishthrower).
|
node-media-server/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Type definitions for node-media-server 2.3
|
|
2
2
|
// Project: https://github.com/illuspas/Node-Media-Server
|
|
3
3
|
// Definitions by: Thomas Seberechts <https://github.com/Tseberechts>
|
|
4
|
+
// Chris Frewin <https://github.com/princefishthrower>
|
|
4
5
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
5
6
|
|
|
6
7
|
interface Config {
|
|
@@ -43,29 +44,29 @@ interface AuthConfig {
|
|
|
43
44
|
|
|
44
45
|
interface TransConfig {
|
|
45
46
|
ffmpeg: string;
|
|
46
|
-
tasks: [
|
|
47
|
+
tasks: TransTaskConfig[];
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
interface RelayConfig {
|
|
50
|
-
tasks: [
|
|
51
|
+
tasks: RelayTaskConfig[];
|
|
51
52
|
ffmpeg: string;
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
interface FissionConfig {
|
|
55
56
|
ffmpeg: string;
|
|
56
|
-
tasks: [
|
|
57
|
+
tasks: FissionTaskConfig[];
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
interface TransTaskConfig {
|
|
60
61
|
app: string;
|
|
61
62
|
hls?: boolean;
|
|
62
63
|
hlsFlags?: string;
|
|
63
|
-
dash?:
|
|
64
|
+
dash?: boolean;
|
|
64
65
|
dashFlags?: string;
|
|
65
66
|
vc?: string;
|
|
66
|
-
vcParam?: [
|
|
67
|
+
vcParam?: string[];
|
|
67
68
|
ac?: string;
|
|
68
|
-
acParam?: [
|
|
69
|
+
acParam?: string[];
|
|
69
70
|
rtmp?: boolean;
|
|
70
71
|
rtmpApp?: string;
|
|
71
72
|
mp4?: boolean;
|
|
@@ -82,7 +83,7 @@ interface RelayTaskConfig {
|
|
|
82
83
|
|
|
83
84
|
interface FissionTaskConfig {
|
|
84
85
|
rule: string;
|
|
85
|
-
model: [
|
|
86
|
+
model: FissionTaskModel[];
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
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.3",
|
|
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",
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
"name": "Thomas Seberechts",
|
|
10
10
|
"url": "https://github.com/Tseberechts",
|
|
11
11
|
"githubUsername": "Tseberechts"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Chris Frewin",
|
|
15
|
+
"url": "https://github.com/princefishthrower",
|
|
16
|
+
"githubUsername": "princefishthrower"
|
|
12
17
|
}
|
|
13
18
|
],
|
|
14
19
|
"main": "",
|
|
@@ -20,6 +25,6 @@
|
|
|
20
25
|
},
|
|
21
26
|
"scripts": {},
|
|
22
27
|
"dependencies": {},
|
|
23
|
-
"typesPublisherContentHash": "
|
|
24
|
-
"typeScriptVersion": "
|
|
28
|
+
"typesPublisherContentHash": "584289a2aaa36c7aa9212a8efa5d24773acfca5f70b8a0869750296038ebc8a8",
|
|
29
|
+
"typeScriptVersion": "4.1"
|
|
25
30
|
}
|