camstreamerlib 4.0.0-beta.80 → 4.0.0-beta.82
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/cjs/CamStreamerAPI.d.ts +85 -3
- package/cjs/CamStreamerAPI.js +82 -35
- package/cjs/errors/errors.d.ts +7 -3
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +424 -0
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.js +28 -1
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +3 -0
- package/cjs/types/CamStreamerAPI/hlsSchema.d.ts +3 -0
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +3 -0
- package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +71 -0
- package/cjs/types/CamStreamerAPI/oldStreamSchema.js +4 -1
- package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +3 -0
- package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +3 -0
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +3 -0
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +1 -0
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +3 -0
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +3 -0
- package/esm/CamStreamerAPI.js +84 -37
- package/esm/types/CamStreamerAPI/CamStreamerAPI.js +27 -0
- package/esm/types/CamStreamerAPI/oldStreamSchema.js +3 -0
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +1 -0
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +85 -3
- package/types/errors/errors.d.ts +7 -3
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +424 -0
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +3 -0
- package/types/types/CamStreamerAPI/hlsSchema.d.ts +3 -0
- package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +3 -0
- package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +71 -0
- package/types/types/CamStreamerAPI/rtmpSchema.d.ts +3 -0
- package/types/types/CamStreamerAPI/sdCardSchema.d.ts +3 -0
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +3 -0
- package/types/types/CamStreamerAPI/windySchema.d.ts +3 -0
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +3 -0
|
@@ -66,6 +66,77 @@ export declare const oldStringStreamSchema: z.ZodObject<{
|
|
|
66
66
|
startTime: string;
|
|
67
67
|
stopTime: string;
|
|
68
68
|
}>;
|
|
69
|
+
export declare const oldStringStreamSchemaWithId: z.ZodObject<{
|
|
70
|
+
enabled: z.ZodString;
|
|
71
|
+
active: z.ZodString;
|
|
72
|
+
audioSource: z.ZodString;
|
|
73
|
+
avSyncMsec: z.ZodString;
|
|
74
|
+
internalVapixParameters: z.ZodString;
|
|
75
|
+
userVapixParameters: z.ZodString;
|
|
76
|
+
outputParameters: z.ZodString;
|
|
77
|
+
outputType: z.ZodString;
|
|
78
|
+
mediaServerUrl: z.ZodString;
|
|
79
|
+
inputType: z.ZodString;
|
|
80
|
+
inputUrl: z.ZodString;
|
|
81
|
+
forceStereo: z.ZodString;
|
|
82
|
+
streamDelay: z.ZodString;
|
|
83
|
+
statusLed: z.ZodString;
|
|
84
|
+
statusPort: z.ZodString;
|
|
85
|
+
callApi: z.ZodString;
|
|
86
|
+
trigger: z.ZodString;
|
|
87
|
+
schedule: z.ZodString;
|
|
88
|
+
prepareAhead: z.ZodString;
|
|
89
|
+
startTime: z.ZodString;
|
|
90
|
+
stopTime: z.ZodString;
|
|
91
|
+
} & {
|
|
92
|
+
id: z.ZodString;
|
|
93
|
+
}, "strip", z.ZodTypeAny, {
|
|
94
|
+
enabled: string;
|
|
95
|
+
id: string;
|
|
96
|
+
active: string;
|
|
97
|
+
audioSource: string;
|
|
98
|
+
avSyncMsec: string;
|
|
99
|
+
internalVapixParameters: string;
|
|
100
|
+
userVapixParameters: string;
|
|
101
|
+
outputParameters: string;
|
|
102
|
+
outputType: string;
|
|
103
|
+
mediaServerUrl: string;
|
|
104
|
+
inputType: string;
|
|
105
|
+
inputUrl: string;
|
|
106
|
+
forceStereo: string;
|
|
107
|
+
streamDelay: string;
|
|
108
|
+
statusLed: string;
|
|
109
|
+
statusPort: string;
|
|
110
|
+
callApi: string;
|
|
111
|
+
trigger: string;
|
|
112
|
+
schedule: string;
|
|
113
|
+
prepareAhead: string;
|
|
114
|
+
startTime: string;
|
|
115
|
+
stopTime: string;
|
|
116
|
+
}, {
|
|
117
|
+
enabled: string;
|
|
118
|
+
id: string;
|
|
119
|
+
active: string;
|
|
120
|
+
audioSource: string;
|
|
121
|
+
avSyncMsec: string;
|
|
122
|
+
internalVapixParameters: string;
|
|
123
|
+
userVapixParameters: string;
|
|
124
|
+
outputParameters: string;
|
|
125
|
+
outputType: string;
|
|
126
|
+
mediaServerUrl: string;
|
|
127
|
+
inputType: string;
|
|
128
|
+
inputUrl: string;
|
|
129
|
+
forceStereo: string;
|
|
130
|
+
streamDelay: string;
|
|
131
|
+
statusLed: string;
|
|
132
|
+
statusPort: string;
|
|
133
|
+
callApi: string;
|
|
134
|
+
trigger: string;
|
|
135
|
+
schedule: string;
|
|
136
|
+
prepareAhead: string;
|
|
137
|
+
startTime: string;
|
|
138
|
+
stopTime: string;
|
|
139
|
+
}>;
|
|
69
140
|
export type TOldStringStream = z.infer<typeof oldStringStreamSchema>;
|
|
70
141
|
export declare const oldStreamSchema: z.ZodObject<{
|
|
71
142
|
enabled: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
export declare const rtmpSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
3
4
|
enabled: z.ZodBoolean;
|
|
4
5
|
active: z.ZodBoolean;
|
|
5
6
|
title: z.ZodString;
|
|
@@ -8,11 +9,13 @@ export declare const rtmpSchema: z.ZodObject<{
|
|
|
8
9
|
}, "strip", z.ZodTypeAny, {
|
|
9
10
|
type: "rtmp";
|
|
10
11
|
enabled: boolean;
|
|
12
|
+
id: number;
|
|
11
13
|
active: boolean;
|
|
12
14
|
title: string;
|
|
13
15
|
}, {
|
|
14
16
|
type: "rtmp";
|
|
15
17
|
enabled: boolean;
|
|
18
|
+
id: number;
|
|
16
19
|
active: boolean;
|
|
17
20
|
title: string;
|
|
18
21
|
}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
export declare const sdCardSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
3
4
|
enabled: z.ZodBoolean;
|
|
4
5
|
active: z.ZodBoolean;
|
|
5
6
|
title: z.ZodString;
|
|
@@ -8,11 +9,13 @@ export declare const sdCardSchema: z.ZodObject<{
|
|
|
8
9
|
}, "strip", z.ZodTypeAny, {
|
|
9
10
|
type: "sd_card";
|
|
10
11
|
enabled: boolean;
|
|
12
|
+
id: number;
|
|
11
13
|
active: boolean;
|
|
12
14
|
title: string;
|
|
13
15
|
}, {
|
|
14
16
|
type: "sd_card";
|
|
15
17
|
enabled: boolean;
|
|
18
|
+
id: number;
|
|
16
19
|
active: boolean;
|
|
17
20
|
title: string;
|
|
18
21
|
}>;
|
|
@@ -2,15 +2,18 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const streamTypeSchema: z.ZodUnion<[z.ZodLiteral<"youtube">, z.ZodLiteral<"facebook">, z.ZodLiteral<"sd_card">, z.ZodLiteral<"windy">, z.ZodLiteral<"mpeg_dvb">, z.ZodLiteral<"hls">, z.ZodLiteral<"rtmp">]>;
|
|
3
3
|
export type TStreamType = z.infer<typeof streamTypeSchema>;
|
|
4
4
|
export declare const streamCommonSchema: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
5
6
|
enabled: z.ZodBoolean;
|
|
6
7
|
active: z.ZodBoolean;
|
|
7
8
|
title: z.ZodString;
|
|
8
9
|
}, "strip", z.ZodTypeAny, {
|
|
9
10
|
enabled: boolean;
|
|
11
|
+
id: number;
|
|
10
12
|
active: boolean;
|
|
11
13
|
title: string;
|
|
12
14
|
}, {
|
|
13
15
|
enabled: boolean;
|
|
16
|
+
id: number;
|
|
14
17
|
active: boolean;
|
|
15
18
|
title: string;
|
|
16
19
|
}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
export declare const windySchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
3
4
|
enabled: z.ZodBoolean;
|
|
4
5
|
active: z.ZodBoolean;
|
|
5
6
|
title: z.ZodString;
|
|
@@ -8,11 +9,13 @@ export declare const windySchema: z.ZodObject<{
|
|
|
8
9
|
}, "strip", z.ZodTypeAny, {
|
|
9
10
|
type: "windy";
|
|
10
11
|
enabled: boolean;
|
|
12
|
+
id: number;
|
|
11
13
|
active: boolean;
|
|
12
14
|
title: string;
|
|
13
15
|
}, {
|
|
14
16
|
type: "windy";
|
|
15
17
|
enabled: boolean;
|
|
18
|
+
id: number;
|
|
16
19
|
active: boolean;
|
|
17
20
|
title: string;
|
|
18
21
|
}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
export declare const youtubeSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
3
4
|
enabled: z.ZodBoolean;
|
|
4
5
|
active: z.ZodBoolean;
|
|
5
6
|
title: z.ZodString;
|
|
@@ -8,11 +9,13 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
8
9
|
}, "strip", z.ZodTypeAny, {
|
|
9
10
|
type: "youtube";
|
|
10
11
|
enabled: boolean;
|
|
12
|
+
id: number;
|
|
11
13
|
active: boolean;
|
|
12
14
|
title: string;
|
|
13
15
|
}, {
|
|
14
16
|
type: "youtube";
|
|
15
17
|
enabled: boolean;
|
|
18
|
+
id: number;
|
|
16
19
|
active: boolean;
|
|
17
20
|
title: string;
|
|
18
21
|
}>;
|