camstreamerlib 4.0.0-beta.93 → 4.0.0-beta.95

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.
Files changed (89) hide show
  1. package/cjs/CamOverlayAPI.d.ts +4 -4
  2. package/cjs/CamStreamerAPI.d.ts +63 -981
  3. package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +22 -22
  4. package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +12 -12
  5. package/cjs/types/CamOverlayAPI/scoreBoardSchema.d.ts +2 -2
  6. package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +1122 -7466
  7. package/cjs/types/CamStreamerAPI/CamStreamerAPI.js +16 -76
  8. package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +0 -46
  9. package/{types/types/CamStreamerAPI/ibmSchema.d.ts → cjs/types/CamStreamerAPI/hlsSchema.d.ts} +4 -50
  10. package/cjs/types/CamStreamerAPI/{ibmSchema.js → hlsSchema.js} +3 -3
  11. package/cjs/types/CamStreamerAPI/index.d.ts +1 -0
  12. package/cjs/types/CamStreamerAPI/index.js +1 -0
  13. package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +0 -46
  14. package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +12 -12
  15. package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +9 -46
  16. package/cjs/types/CamStreamerAPI/rtmpSchema.js +3 -0
  17. package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +0 -46
  18. package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +1 -75
  19. package/cjs/types/CamStreamerAPI/streamCommonTypes.js +2 -25
  20. package/cjs/types/CamStreamerAPI/windySchema.d.ts +0 -46
  21. package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +45 -46
  22. package/cjs/types/CamStreamerAPI/youtubeSchema.js +15 -0
  23. package/esm/types/CamStreamerAPI/CamStreamerAPI.js +14 -63
  24. package/esm/types/CamStreamerAPI/{ibmSchema.js → hlsSchema.js} +2 -2
  25. package/esm/types/CamStreamerAPI/index.js +1 -0
  26. package/esm/types/CamStreamerAPI/rtmpSchema.js +3 -0
  27. package/esm/types/CamStreamerAPI/streamCommonTypes.js +1 -24
  28. package/esm/types/CamStreamerAPI/youtubeSchema.js +15 -0
  29. package/package.json +1 -1
  30. package/types/CamOverlayAPI.d.ts +4 -4
  31. package/types/CamStreamerAPI.d.ts +63 -981
  32. package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +22 -22
  33. package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +12 -12
  34. package/types/types/CamOverlayAPI/scoreBoardSchema.d.ts +2 -2
  35. package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +1122 -7466
  36. package/types/types/CamStreamerAPI/facebookSchema.d.ts +0 -46
  37. package/{cjs/types/CamStreamerAPI/ibmSchema.d.ts → types/types/CamStreamerAPI/hlsSchema.d.ts} +4 -50
  38. package/types/types/CamStreamerAPI/index.d.ts +1 -0
  39. package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +0 -46
  40. package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +12 -12
  41. package/types/types/CamStreamerAPI/rtmpSchema.d.ts +9 -46
  42. package/types/types/CamStreamerAPI/sdCardSchema.d.ts +0 -46
  43. package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +1 -75
  44. package/types/types/CamStreamerAPI/windySchema.d.ts +0 -46
  45. package/types/types/CamStreamerAPI/youtubeSchema.d.ts +45 -46
  46. package/cjs/types/CamStreamerAPI/churchSchema.d.ts +0 -202
  47. package/cjs/types/CamStreamerAPI/churchSchema.js +0 -11
  48. package/cjs/types/CamStreamerAPI/daCastSchema.d.ts +0 -202
  49. package/cjs/types/CamStreamerAPI/daCastSchema.js +0 -11
  50. package/cjs/types/CamStreamerAPI/dailymotionSchema.d.ts +0 -202
  51. package/cjs/types/CamStreamerAPI/dailymotionSchema.js +0 -11
  52. package/cjs/types/CamStreamerAPI/hlsPullSchema.d.ts +0 -202
  53. package/cjs/types/CamStreamerAPI/hlsPullSchema.js +0 -11
  54. package/cjs/types/CamStreamerAPI/hlsPushSchema.d.ts +0 -202
  55. package/cjs/types/CamStreamerAPI/hlsPushSchema.js +0 -11
  56. package/cjs/types/CamStreamerAPI/microsoftAzureSchema.d.ts +0 -202
  57. package/cjs/types/CamStreamerAPI/microsoftAzureSchema.js +0 -11
  58. package/cjs/types/CamStreamerAPI/microsoftStreamSchema.d.ts +0 -202
  59. package/cjs/types/CamStreamerAPI/microsoftStreamSchema.js +0 -11
  60. package/cjs/types/CamStreamerAPI/srtSchema.d.ts +0 -202
  61. package/cjs/types/CamStreamerAPI/srtSchema.js +0 -11
  62. package/cjs/types/CamStreamerAPI/twitchSchema.d.ts +0 -202
  63. package/cjs/types/CamStreamerAPI/twitchSchema.js +0 -11
  64. package/cjs/types/CamStreamerAPI/vimeoSchema.d.ts +0 -202
  65. package/cjs/types/CamStreamerAPI/vimeoSchema.js +0 -11
  66. package/cjs/types/CamStreamerAPI/wowzaSchema.d.ts +0 -202
  67. package/cjs/types/CamStreamerAPI/wowzaSchema.js +0 -11
  68. package/esm/types/CamStreamerAPI/churchSchema.js +0 -5
  69. package/esm/types/CamStreamerAPI/daCastSchema.js +0 -5
  70. package/esm/types/CamStreamerAPI/dailymotionSchema.js +0 -5
  71. package/esm/types/CamStreamerAPI/hlsPullSchema.js +0 -5
  72. package/esm/types/CamStreamerAPI/hlsPushSchema.js +0 -5
  73. package/esm/types/CamStreamerAPI/microsoftAzureSchema.js +0 -5
  74. package/esm/types/CamStreamerAPI/microsoftStreamSchema.js +0 -5
  75. package/esm/types/CamStreamerAPI/srtSchema.js +0 -5
  76. package/esm/types/CamStreamerAPI/twitchSchema.js +0 -5
  77. package/esm/types/CamStreamerAPI/vimeoSchema.js +0 -5
  78. package/esm/types/CamStreamerAPI/wowzaSchema.js +0 -5
  79. package/types/types/CamStreamerAPI/churchSchema.d.ts +0 -202
  80. package/types/types/CamStreamerAPI/daCastSchema.d.ts +0 -202
  81. package/types/types/CamStreamerAPI/dailymotionSchema.d.ts +0 -202
  82. package/types/types/CamStreamerAPI/hlsPullSchema.d.ts +0 -202
  83. package/types/types/CamStreamerAPI/hlsPushSchema.d.ts +0 -202
  84. package/types/types/CamStreamerAPI/microsoftAzureSchema.d.ts +0 -202
  85. package/types/types/CamStreamerAPI/microsoftStreamSchema.d.ts +0 -202
  86. package/types/types/CamStreamerAPI/srtSchema.d.ts +0 -202
  87. package/types/types/CamStreamerAPI/twitchSchema.d.ts +0 -202
  88. package/types/types/CamStreamerAPI/vimeoSchema.d.ts +0 -202
  89. package/types/types/CamStreamerAPI/wowzaSchema.d.ts +0 -202
@@ -97,32 +97,6 @@ export declare const facebookSchema: z.ZodObject<{
97
97
  isActive: boolean;
98
98
  }[];
99
99
  }>]>;
100
- inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
101
- internalVapixParameters: z.ZodObject<{
102
- camera: z.ZodString;
103
- resolution: z.ZodOptional<z.ZodString>;
104
- compression: z.ZodOptional<z.ZodNumber>;
105
- fps: z.ZodOptional<z.ZodNumber>;
106
- videobitrate: z.ZodOptional<z.ZodNumber>;
107
- videomaxbitrate: z.ZodOptional<z.ZodNumber>;
108
- audio: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
109
- }, "strip", z.ZodTypeAny, {
110
- camera: string;
111
- resolution?: string | undefined;
112
- compression?: number | undefined;
113
- audio?: 0 | 1 | undefined;
114
- fps?: number | undefined;
115
- videobitrate?: number | undefined;
116
- videomaxbitrate?: number | undefined;
117
- }, {
118
- camera: string;
119
- resolution?: string | undefined;
120
- compression?: number | undefined;
121
- audio?: 0 | 1 | undefined;
122
- fps?: number | undefined;
123
- videobitrate?: number | undefined;
124
- videomaxbitrate?: number | undefined;
125
- }>;
126
100
  } & {
127
101
  type: z.ZodLiteral<"facebook">;
128
102
  }, "strip", z.ZodTypeAny, {
@@ -152,16 +126,6 @@ export declare const facebookSchema: z.ZodObject<{
152
126
  isActive: boolean;
153
127
  }[];
154
128
  };
155
- inputType: "RTSP_URL" | "CSw" | "CRS";
156
- internalVapixParameters: {
157
- camera: string;
158
- resolution?: string | undefined;
159
- compression?: number | undefined;
160
- audio?: 0 | 1 | undefined;
161
- fps?: number | undefined;
162
- videobitrate?: number | undefined;
163
- videomaxbitrate?: number | undefined;
164
- };
165
129
  }, {
166
130
  type: "facebook";
167
131
  enabled: boolean;
@@ -189,14 +153,4 @@ export declare const facebookSchema: z.ZodObject<{
189
153
  isActive: boolean;
190
154
  }[];
191
155
  };
192
- inputType: "RTSP_URL" | "CSw" | "CRS";
193
- internalVapixParameters: {
194
- camera: string;
195
- resolution?: string | undefined;
196
- compression?: number | undefined;
197
- audio?: 0 | 1 | undefined;
198
- fps?: number | undefined;
199
- videobitrate?: number | undefined;
200
- videomaxbitrate?: number | undefined;
201
- };
202
156
  }>;
@@ -1,5 +1,5 @@
1
1
  import z from 'zod';
2
- export declare const ibmSchema: z.ZodObject<{
2
+ export declare const hlsSchema: z.ZodObject<{
3
3
  id: z.ZodNumber;
4
4
  enabled: z.ZodBoolean;
5
5
  active: z.ZodBoolean;
@@ -97,36 +97,10 @@ export declare const ibmSchema: z.ZodObject<{
97
97
  isActive: boolean;
98
98
  }[];
99
99
  }>]>;
100
- inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
101
- internalVapixParameters: z.ZodObject<{
102
- camera: z.ZodString;
103
- resolution: z.ZodOptional<z.ZodString>;
104
- compression: z.ZodOptional<z.ZodNumber>;
105
- fps: z.ZodOptional<z.ZodNumber>;
106
- videobitrate: z.ZodOptional<z.ZodNumber>;
107
- videomaxbitrate: z.ZodOptional<z.ZodNumber>;
108
- audio: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
109
- }, "strip", z.ZodTypeAny, {
110
- camera: string;
111
- resolution?: string | undefined;
112
- compression?: number | undefined;
113
- audio?: 0 | 1 | undefined;
114
- fps?: number | undefined;
115
- videobitrate?: number | undefined;
116
- videomaxbitrate?: number | undefined;
117
- }, {
118
- camera: string;
119
- resolution?: string | undefined;
120
- compression?: number | undefined;
121
- audio?: 0 | 1 | undefined;
122
- fps?: number | undefined;
123
- videobitrate?: number | undefined;
124
- videomaxbitrate?: number | undefined;
125
- }>;
126
100
  } & {
127
- type: z.ZodLiteral<"ibm">;
101
+ type: z.ZodLiteral<"hls">;
128
102
  }, "strip", z.ZodTypeAny, {
129
- type: "ibm";
103
+ type: "hls";
130
104
  enabled: boolean;
131
105
  id: number;
132
106
  active: boolean;
@@ -152,18 +126,8 @@ export declare const ibmSchema: z.ZodObject<{
152
126
  isActive: boolean;
153
127
  }[];
154
128
  };
155
- inputType: "RTSP_URL" | "CSw" | "CRS";
156
- internalVapixParameters: {
157
- camera: string;
158
- resolution?: string | undefined;
159
- compression?: number | undefined;
160
- audio?: 0 | 1 | undefined;
161
- fps?: number | undefined;
162
- videobitrate?: number | undefined;
163
- videomaxbitrate?: number | undefined;
164
- };
165
129
  }, {
166
- type: "ibm";
130
+ type: "hls";
167
131
  enabled: boolean;
168
132
  id: number;
169
133
  active: boolean;
@@ -189,14 +153,4 @@ export declare const ibmSchema: z.ZodObject<{
189
153
  isActive: boolean;
190
154
  }[];
191
155
  };
192
- inputType: "RTSP_URL" | "CSw" | "CRS";
193
- internalVapixParameters: {
194
- camera: string;
195
- resolution?: string | undefined;
196
- compression?: number | undefined;
197
- audio?: 0 | 1 | undefined;
198
- fps?: number | undefined;
199
- videobitrate?: number | undefined;
200
- videomaxbitrate?: number | undefined;
201
- };
202
156
  }>;
@@ -1,6 +1,7 @@
1
1
  export * from './CamStreamerAPI';
2
2
  export * from './streamCommonTypes';
3
3
  export * from './facebookSchema';
4
+ export * from './hlsSchema';
4
5
  export * from './mpegDvbSchema';
5
6
  export * from './rtmpSchema';
6
7
  export * from './sdCardSchema';
@@ -97,32 +97,6 @@ export declare const mpegDvbSchema: z.ZodObject<{
97
97
  isActive: boolean;
98
98
  }[];
99
99
  }>]>;
100
- inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
101
- internalVapixParameters: z.ZodObject<{
102
- camera: z.ZodString;
103
- resolution: z.ZodOptional<z.ZodString>;
104
- compression: z.ZodOptional<z.ZodNumber>;
105
- fps: z.ZodOptional<z.ZodNumber>;
106
- videobitrate: z.ZodOptional<z.ZodNumber>;
107
- videomaxbitrate: z.ZodOptional<z.ZodNumber>;
108
- audio: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
109
- }, "strip", z.ZodTypeAny, {
110
- camera: string;
111
- resolution?: string | undefined;
112
- compression?: number | undefined;
113
- audio?: 0 | 1 | undefined;
114
- fps?: number | undefined;
115
- videobitrate?: number | undefined;
116
- videomaxbitrate?: number | undefined;
117
- }, {
118
- camera: string;
119
- resolution?: string | undefined;
120
- compression?: number | undefined;
121
- audio?: 0 | 1 | undefined;
122
- fps?: number | undefined;
123
- videobitrate?: number | undefined;
124
- videomaxbitrate?: number | undefined;
125
- }>;
126
100
  } & {
127
101
  type: z.ZodLiteral<"mpeg_dvb">;
128
102
  ipAddress: z.ZodString;
@@ -169,16 +143,6 @@ export declare const mpegDvbSchema: z.ZodObject<{
169
143
  isActive: boolean;
170
144
  }[];
171
145
  };
172
- inputType: "RTSP_URL" | "CSw" | "CRS";
173
- internalVapixParameters: {
174
- camera: string;
175
- resolution?: string | undefined;
176
- compression?: number | undefined;
177
- audio?: 0 | 1 | undefined;
178
- fps?: number | undefined;
179
- videobitrate?: number | undefined;
180
- videomaxbitrate?: number | undefined;
181
- };
182
146
  ipAddress: string;
183
147
  standard: "DVB" | "ATSC";
184
148
  nullPacketsPaddingEnabled: boolean;
@@ -222,16 +186,6 @@ export declare const mpegDvbSchema: z.ZodObject<{
222
186
  isActive: boolean;
223
187
  }[];
224
188
  };
225
- inputType: "RTSP_URL" | "CSw" | "CRS";
226
- internalVapixParameters: {
227
- camera: string;
228
- resolution?: string | undefined;
229
- compression?: number | undefined;
230
- audio?: 0 | 1 | undefined;
231
- fps?: number | undefined;
232
- videobitrate?: number | undefined;
233
- videomaxbitrate?: number | undefined;
234
- };
235
189
  ipAddress: string;
236
190
  standard: "DVB" | "ATSC";
237
191
  nullPacketsPaddingEnabled: boolean;
@@ -28,14 +28,14 @@ export declare const oldStringStreamSchema: z.ZodObject<{
28
28
  schedule: string;
29
29
  active: string;
30
30
  trigger: string;
31
- inputType: string;
32
- internalVapixParameters: string;
33
31
  audioSource: string;
34
32
  avSyncMsec: string;
33
+ internalVapixParameters: string;
35
34
  userVapixParameters: string;
36
35
  outputParameters: string;
37
36
  outputType: string;
38
37
  mediaServerUrl: string;
38
+ inputType: string;
39
39
  inputUrl: string;
40
40
  forceStereo: string;
41
41
  streamDelay: string;
@@ -50,14 +50,14 @@ export declare const oldStringStreamSchema: z.ZodObject<{
50
50
  schedule: string;
51
51
  active: string;
52
52
  trigger: string;
53
- inputType: string;
54
- internalVapixParameters: string;
55
53
  audioSource: string;
56
54
  avSyncMsec: string;
55
+ internalVapixParameters: string;
57
56
  userVapixParameters: string;
58
57
  outputParameters: string;
59
58
  outputType: string;
60
59
  mediaServerUrl: string;
60
+ inputType: string;
61
61
  inputUrl: string;
62
62
  forceStereo: string;
63
63
  streamDelay: string;
@@ -98,14 +98,14 @@ export declare const oldStringStreamSchemaWithId: z.ZodObject<{
98
98
  schedule: string;
99
99
  active: string;
100
100
  trigger: string;
101
- inputType: string;
102
- internalVapixParameters: string;
103
101
  audioSource: string;
104
102
  avSyncMsec: string;
103
+ internalVapixParameters: string;
105
104
  userVapixParameters: string;
106
105
  outputParameters: string;
107
106
  outputType: string;
108
107
  mediaServerUrl: string;
108
+ inputType: string;
109
109
  inputUrl: string;
110
110
  forceStereo: string;
111
111
  streamDelay: string;
@@ -121,14 +121,14 @@ export declare const oldStringStreamSchemaWithId: z.ZodObject<{
121
121
  schedule: string;
122
122
  active: string;
123
123
  trigger: string;
124
- inputType: string;
125
- internalVapixParameters: string;
126
124
  audioSource: string;
127
125
  avSyncMsec: string;
126
+ internalVapixParameters: string;
128
127
  userVapixParameters: string;
129
128
  outputParameters: string;
130
129
  outputType: string;
131
130
  mediaServerUrl: string;
131
+ inputType: string;
132
132
  inputUrl: string;
133
133
  forceStereo: string;
134
134
  streamDelay: string;
@@ -167,14 +167,14 @@ export declare const oldStreamSchema: z.ZodObject<{
167
167
  schedule: string;
168
168
  active: 0 | 1;
169
169
  trigger: string;
170
- inputType: "RTSP_URL" | "CSw" | "CRS";
171
- internalVapixParameters: string;
172
170
  audioSource: string;
173
171
  avSyncMsec: number;
172
+ internalVapixParameters: string;
174
173
  userVapixParameters: string;
175
174
  outputParameters: string;
176
175
  outputType: "video" | "none" | "images";
177
176
  mediaServerUrl: string;
177
+ inputType: "RTSP_URL" | "CSw" | "CRS";
178
178
  inputUrl: string;
179
179
  forceStereo: 0 | 1;
180
180
  streamDelay: number | null;
@@ -189,14 +189,14 @@ export declare const oldStreamSchema: z.ZodObject<{
189
189
  schedule: string;
190
190
  active: 0 | 1;
191
191
  trigger: string;
192
- inputType: "RTSP_URL" | "CSw" | "CRS";
193
- internalVapixParameters: string;
194
192
  audioSource: string;
195
193
  avSyncMsec: number;
194
+ internalVapixParameters: string;
196
195
  userVapixParameters: string;
197
196
  outputParameters: string;
198
197
  outputType: "video" | "none" | "images";
199
198
  mediaServerUrl: string;
199
+ inputType: "RTSP_URL" | "CSw" | "CRS";
200
200
  inputUrl: string;
201
201
  forceStereo: 0 | 1;
202
202
  streamDelay: number | null;
@@ -97,34 +97,11 @@ export declare const rtmpSchema: z.ZodObject<{
97
97
  isActive: boolean;
98
98
  }[];
99
99
  }>]>;
100
- inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
101
- internalVapixParameters: z.ZodObject<{
102
- camera: z.ZodString;
103
- resolution: z.ZodOptional<z.ZodString>;
104
- compression: z.ZodOptional<z.ZodNumber>;
105
- fps: z.ZodOptional<z.ZodNumber>;
106
- videobitrate: z.ZodOptional<z.ZodNumber>;
107
- videomaxbitrate: z.ZodOptional<z.ZodNumber>;
108
- audio: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
109
- }, "strip", z.ZodTypeAny, {
110
- camera: string;
111
- resolution?: string | undefined;
112
- compression?: number | undefined;
113
- audio?: 0 | 1 | undefined;
114
- fps?: number | undefined;
115
- videobitrate?: number | undefined;
116
- videomaxbitrate?: number | undefined;
117
- }, {
118
- camera: string;
119
- resolution?: string | undefined;
120
- compression?: number | undefined;
121
- audio?: 0 | 1 | undefined;
122
- fps?: number | undefined;
123
- videobitrate?: number | undefined;
124
- videomaxbitrate?: number | undefined;
125
- }>;
126
100
  } & {
127
101
  type: z.ZodLiteral<"rtmp">;
102
+ rtmpUrl: z.ZodString;
103
+ streamKey: z.ZodString;
104
+ streamIdentifier: z.ZodOptional<z.ZodString>;
128
105
  }, "strip", z.ZodTypeAny, {
129
106
  type: "rtmp";
130
107
  enabled: boolean;
@@ -152,16 +129,9 @@ export declare const rtmpSchema: z.ZodObject<{
152
129
  isActive: boolean;
153
130
  }[];
154
131
  };
155
- inputType: "RTSP_URL" | "CSw" | "CRS";
156
- internalVapixParameters: {
157
- camera: string;
158
- resolution?: string | undefined;
159
- compression?: number | undefined;
160
- audio?: 0 | 1 | undefined;
161
- fps?: number | undefined;
162
- videobitrate?: number | undefined;
163
- videomaxbitrate?: number | undefined;
164
- };
132
+ rtmpUrl: string;
133
+ streamKey: string;
134
+ streamIdentifier?: string | undefined;
165
135
  }, {
166
136
  type: "rtmp";
167
137
  enabled: boolean;
@@ -189,14 +159,7 @@ export declare const rtmpSchema: z.ZodObject<{
189
159
  isActive: boolean;
190
160
  }[];
191
161
  };
192
- inputType: "RTSP_URL" | "CSw" | "CRS";
193
- internalVapixParameters: {
194
- camera: string;
195
- resolution?: string | undefined;
196
- compression?: number | undefined;
197
- audio?: 0 | 1 | undefined;
198
- fps?: number | undefined;
199
- videobitrate?: number | undefined;
200
- videomaxbitrate?: number | undefined;
201
- };
162
+ rtmpUrl: string;
163
+ streamKey: string;
164
+ streamIdentifier?: string | undefined;
202
165
  }>;
@@ -97,32 +97,6 @@ export declare const sdCardSchema: z.ZodObject<{
97
97
  isActive: boolean;
98
98
  }[];
99
99
  }>]>;
100
- inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
101
- internalVapixParameters: z.ZodObject<{
102
- camera: z.ZodString;
103
- resolution: z.ZodOptional<z.ZodString>;
104
- compression: z.ZodOptional<z.ZodNumber>;
105
- fps: z.ZodOptional<z.ZodNumber>;
106
- videobitrate: z.ZodOptional<z.ZodNumber>;
107
- videomaxbitrate: z.ZodOptional<z.ZodNumber>;
108
- audio: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
109
- }, "strip", z.ZodTypeAny, {
110
- camera: string;
111
- resolution?: string | undefined;
112
- compression?: number | undefined;
113
- audio?: 0 | 1 | undefined;
114
- fps?: number | undefined;
115
- videobitrate?: number | undefined;
116
- videomaxbitrate?: number | undefined;
117
- }, {
118
- camera: string;
119
- resolution?: string | undefined;
120
- compression?: number | undefined;
121
- audio?: 0 | 1 | undefined;
122
- fps?: number | undefined;
123
- videobitrate?: number | undefined;
124
- videomaxbitrate?: number | undefined;
125
- }>;
126
100
  } & {
127
101
  type: z.ZodLiteral<"sd_card">;
128
102
  }, "strip", z.ZodTypeAny, {
@@ -152,16 +126,6 @@ export declare const sdCardSchema: z.ZodObject<{
152
126
  isActive: boolean;
153
127
  }[];
154
128
  };
155
- inputType: "RTSP_URL" | "CSw" | "CRS";
156
- internalVapixParameters: {
157
- camera: string;
158
- resolution?: string | undefined;
159
- compression?: number | undefined;
160
- audio?: 0 | 1 | undefined;
161
- fps?: number | undefined;
162
- videobitrate?: number | undefined;
163
- videomaxbitrate?: number | undefined;
164
- };
165
129
  }, {
166
130
  type: "sd_card";
167
131
  enabled: boolean;
@@ -189,14 +153,4 @@ export declare const sdCardSchema: z.ZodObject<{
189
153
  isActive: boolean;
190
154
  }[];
191
155
  };
192
- inputType: "RTSP_URL" | "CSw" | "CRS";
193
- internalVapixParameters: {
194
- camera: string;
195
- resolution?: string | undefined;
196
- compression?: number | undefined;
197
- audio?: 0 | 1 | undefined;
198
- fps?: number | undefined;
199
- videobitrate?: number | undefined;
200
- videomaxbitrate?: number | undefined;
201
- };
202
156
  }>;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
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<"rtmp">, z.ZodLiteral<"dailymotion">, z.ZodLiteral<"ibm">, z.ZodLiteral<"hls_pull">, z.ZodLiteral<"hls_push">, z.ZodLiteral<"wowza">, z.ZodLiteral<"microsoft_stream">, z.ZodLiteral<"microsoft_azure">, z.ZodLiteral<"vimeo">, z.ZodLiteral<"twitch">, z.ZodLiteral<"church">, z.ZodLiteral<"srt">, z.ZodLiteral<"da_cast">]>;
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
  declare const scheduleSchema: z.ZodObject<{
5
5
  start: z.ZodObject<{
@@ -140,34 +140,6 @@ export declare const streamTriggerSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
140
140
  export type TStreamTrigger = z.infer<typeof streamTriggerSchema>;
141
141
  export type TStreamTriggerType = TStreamTrigger['type'];
142
142
  export type TTriggerSchedule = z.infer<typeof scheduleSchema>;
143
- export declare const streamInputTypeSchema: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
144
- export type TStreamInputType = z.infer<typeof streamInputTypeSchema>;
145
- export declare const internalVapixParametersSchema: z.ZodObject<{
146
- camera: z.ZodString;
147
- resolution: z.ZodOptional<z.ZodString>;
148
- compression: z.ZodOptional<z.ZodNumber>;
149
- fps: z.ZodOptional<z.ZodNumber>;
150
- videobitrate: z.ZodOptional<z.ZodNumber>;
151
- videomaxbitrate: z.ZodOptional<z.ZodNumber>;
152
- audio: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
153
- }, "strip", z.ZodTypeAny, {
154
- camera: string;
155
- resolution?: string | undefined;
156
- compression?: number | undefined;
157
- audio?: 0 | 1 | undefined;
158
- fps?: number | undefined;
159
- videobitrate?: number | undefined;
160
- videomaxbitrate?: number | undefined;
161
- }, {
162
- camera: string;
163
- resolution?: string | undefined;
164
- compression?: number | undefined;
165
- audio?: 0 | 1 | undefined;
166
- fps?: number | undefined;
167
- videobitrate?: number | undefined;
168
- videomaxbitrate?: number | undefined;
169
- }>;
170
- export type TInternalVapixParameters = z.infer<typeof internalVapixParametersSchema>;
171
143
  export declare const streamCommonSchema: z.ZodObject<{
172
144
  id: z.ZodNumber;
173
145
  enabled: z.ZodBoolean;
@@ -266,32 +238,6 @@ export declare const streamCommonSchema: z.ZodObject<{
266
238
  isActive: boolean;
267
239
  }[];
268
240
  }>]>;
269
- inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
270
- internalVapixParameters: z.ZodObject<{
271
- camera: z.ZodString;
272
- resolution: z.ZodOptional<z.ZodString>;
273
- compression: z.ZodOptional<z.ZodNumber>;
274
- fps: z.ZodOptional<z.ZodNumber>;
275
- videobitrate: z.ZodOptional<z.ZodNumber>;
276
- videomaxbitrate: z.ZodOptional<z.ZodNumber>;
277
- audio: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
278
- }, "strip", z.ZodTypeAny, {
279
- camera: string;
280
- resolution?: string | undefined;
281
- compression?: number | undefined;
282
- audio?: 0 | 1 | undefined;
283
- fps?: number | undefined;
284
- videobitrate?: number | undefined;
285
- videomaxbitrate?: number | undefined;
286
- }, {
287
- camera: string;
288
- resolution?: string | undefined;
289
- compression?: number | undefined;
290
- audio?: 0 | 1 | undefined;
291
- fps?: number | undefined;
292
- videobitrate?: number | undefined;
293
- videomaxbitrate?: number | undefined;
294
- }>;
295
241
  }, "strip", z.ZodTypeAny, {
296
242
  enabled: boolean;
297
243
  id: number;
@@ -318,16 +264,6 @@ export declare const streamCommonSchema: z.ZodObject<{
318
264
  isActive: boolean;
319
265
  }[];
320
266
  };
321
- inputType: "RTSP_URL" | "CSw" | "CRS";
322
- internalVapixParameters: {
323
- camera: string;
324
- resolution?: string | undefined;
325
- compression?: number | undefined;
326
- audio?: 0 | 1 | undefined;
327
- fps?: number | undefined;
328
- videobitrate?: number | undefined;
329
- videomaxbitrate?: number | undefined;
330
- };
331
267
  }, {
332
268
  enabled: boolean;
333
269
  id: number;
@@ -354,16 +290,6 @@ export declare const streamCommonSchema: z.ZodObject<{
354
290
  isActive: boolean;
355
291
  }[];
356
292
  };
357
- inputType: "RTSP_URL" | "CSw" | "CRS";
358
- internalVapixParameters: {
359
- camera: string;
360
- resolution?: string | undefined;
361
- compression?: number | undefined;
362
- audio?: 0 | 1 | undefined;
363
- fps?: number | undefined;
364
- videobitrate?: number | undefined;
365
- videomaxbitrate?: number | undefined;
366
- };
367
293
  }>;
368
294
  export type TCommonStream = z.infer<typeof streamCommonSchema>;
369
295
  export {};
@@ -97,32 +97,6 @@ export declare const windySchema: z.ZodObject<{
97
97
  isActive: boolean;
98
98
  }[];
99
99
  }>]>;
100
- inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
101
- internalVapixParameters: z.ZodObject<{
102
- camera: z.ZodString;
103
- resolution: z.ZodOptional<z.ZodString>;
104
- compression: z.ZodOptional<z.ZodNumber>;
105
- fps: z.ZodOptional<z.ZodNumber>;
106
- videobitrate: z.ZodOptional<z.ZodNumber>;
107
- videomaxbitrate: z.ZodOptional<z.ZodNumber>;
108
- audio: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
109
- }, "strip", z.ZodTypeAny, {
110
- camera: string;
111
- resolution?: string | undefined;
112
- compression?: number | undefined;
113
- audio?: 0 | 1 | undefined;
114
- fps?: number | undefined;
115
- videobitrate?: number | undefined;
116
- videomaxbitrate?: number | undefined;
117
- }, {
118
- camera: string;
119
- resolution?: string | undefined;
120
- compression?: number | undefined;
121
- audio?: 0 | 1 | undefined;
122
- fps?: number | undefined;
123
- videobitrate?: number | undefined;
124
- videomaxbitrate?: number | undefined;
125
- }>;
126
100
  } & {
127
101
  type: z.ZodLiteral<"windy">;
128
102
  }, "strip", z.ZodTypeAny, {
@@ -152,16 +126,6 @@ export declare const windySchema: z.ZodObject<{
152
126
  isActive: boolean;
153
127
  }[];
154
128
  };
155
- inputType: "RTSP_URL" | "CSw" | "CRS";
156
- internalVapixParameters: {
157
- camera: string;
158
- resolution?: string | undefined;
159
- compression?: number | undefined;
160
- audio?: 0 | 1 | undefined;
161
- fps?: number | undefined;
162
- videobitrate?: number | undefined;
163
- videomaxbitrate?: number | undefined;
164
- };
165
129
  }, {
166
130
  type: "windy";
167
131
  enabled: boolean;
@@ -189,14 +153,4 @@ export declare const windySchema: z.ZodObject<{
189
153
  isActive: boolean;
190
154
  }[];
191
155
  };
192
- inputType: "RTSP_URL" | "CSw" | "CRS";
193
- internalVapixParameters: {
194
- camera: string;
195
- resolution?: string | undefined;
196
- compression?: number | undefined;
197
- audio?: 0 | 1 | undefined;
198
- fps?: number | undefined;
199
- videobitrate?: number | undefined;
200
- videomaxbitrate?: number | undefined;
201
- };
202
156
  }>;