camstreamerlib 4.0.0-beta.103 → 4.0.0-beta.105

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 (51) hide show
  1. package/cjs/CamStreamerAPI.d.ts +420 -344
  2. package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +2804 -1778
  3. package/cjs/types/CamStreamerAPI/churchSchema.d.ts +56 -32
  4. package/cjs/types/CamStreamerAPI/daCastSchema.d.ts +56 -32
  5. package/cjs/types/CamStreamerAPI/dailymotionSchema.d.ts +56 -32
  6. package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +56 -32
  7. package/cjs/types/CamStreamerAPI/gameChangerSchema.d.ts +56 -32
  8. package/cjs/types/CamStreamerAPI/hlsPullSchema.d.ts +56 -32
  9. package/cjs/types/CamStreamerAPI/hlsPushSchema.d.ts +56 -32
  10. package/cjs/types/CamStreamerAPI/ibmSchema.d.ts +56 -32
  11. package/cjs/types/CamStreamerAPI/microsoftAzureSchema.d.ts +56 -32
  12. package/cjs/types/CamStreamerAPI/microsoftStreamSchema.d.ts +56 -32
  13. package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +56 -32
  14. package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +18 -18
  15. package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +59 -35
  16. package/cjs/types/CamStreamerAPI/rtmpSchema.js +1 -1
  17. package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +56 -32
  18. package/cjs/types/CamStreamerAPI/srtSchema.d.ts +56 -32
  19. package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +101 -42
  20. package/cjs/types/CamStreamerAPI/streamCommonTypes.js +12 -14
  21. package/cjs/types/CamStreamerAPI/twitchSchema.d.ts +56 -32
  22. package/cjs/types/CamStreamerAPI/vimeoSchema.d.ts +56 -32
  23. package/cjs/types/CamStreamerAPI/windySchema.d.ts +56 -32
  24. package/cjs/types/CamStreamerAPI/wowzaSchema.d.ts +56 -32
  25. package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +56 -32
  26. package/esm/types/CamStreamerAPI/rtmpSchema.js +1 -1
  27. package/esm/types/CamStreamerAPI/streamCommonTypes.js +11 -13
  28. package/package.json +1 -1
  29. package/types/CamStreamerAPI.d.ts +420 -344
  30. package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +2804 -1778
  31. package/types/types/CamStreamerAPI/churchSchema.d.ts +56 -32
  32. package/types/types/CamStreamerAPI/daCastSchema.d.ts +56 -32
  33. package/types/types/CamStreamerAPI/dailymotionSchema.d.ts +56 -32
  34. package/types/types/CamStreamerAPI/facebookSchema.d.ts +56 -32
  35. package/types/types/CamStreamerAPI/gameChangerSchema.d.ts +56 -32
  36. package/types/types/CamStreamerAPI/hlsPullSchema.d.ts +56 -32
  37. package/types/types/CamStreamerAPI/hlsPushSchema.d.ts +56 -32
  38. package/types/types/CamStreamerAPI/ibmSchema.d.ts +56 -32
  39. package/types/types/CamStreamerAPI/microsoftAzureSchema.d.ts +56 -32
  40. package/types/types/CamStreamerAPI/microsoftStreamSchema.d.ts +56 -32
  41. package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +56 -32
  42. package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +18 -18
  43. package/types/types/CamStreamerAPI/rtmpSchema.d.ts +59 -35
  44. package/types/types/CamStreamerAPI/sdCardSchema.d.ts +56 -32
  45. package/types/types/CamStreamerAPI/srtSchema.d.ts +56 -32
  46. package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +101 -42
  47. package/types/types/CamStreamerAPI/twitchSchema.d.ts +56 -32
  48. package/types/types/CamStreamerAPI/vimeoSchema.d.ts +56 -32
  49. package/types/types/CamStreamerAPI/windySchema.d.ts +56 -32
  50. package/types/types/CamStreamerAPI/wowzaSchema.d.ts +56 -32
  51. package/types/types/CamStreamerAPI/youtubeSchema.d.ts +56 -32
@@ -97,22 +97,42 @@ export declare const churchSchema: 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.ZodString;
102
- userVapixParameters: z.ZodString;
103
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTSP">, z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
104
- streamDelay: z.ZodObject<{
105
- enabled: z.ZodBoolean;
106
- timeS: z.ZodNumber;
107
- unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
100
+ video: z.ZodObject<{
101
+ inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
102
+ sourceUrl: z.ZodOptional<z.ZodString>;
103
+ internalVapixParameters: z.ZodString;
104
+ userVapixParameters: z.ZodString;
105
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
106
+ streamDelay: z.ZodOptional<z.ZodObject<{
107
+ value: z.ZodNumber;
108
+ unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ value: number;
111
+ unit: "seconds" | "minutes" | "hours";
112
+ }, {
113
+ value: number;
114
+ unit: "seconds" | "minutes" | "hours";
115
+ }>>;
108
116
  }, "strip", z.ZodTypeAny, {
109
- enabled: boolean;
110
- timeS: number;
111
- unit: "seconds" | "minutes" | "hours";
117
+ inputType: "RTSP_URL" | "CSw" | "CRS";
118
+ internalVapixParameters: string;
119
+ userVapixParameters: string;
120
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
121
+ sourceUrl?: string | undefined;
122
+ streamDelay?: {
123
+ value: number;
124
+ unit: "seconds" | "minutes" | "hours";
125
+ } | undefined;
112
126
  }, {
113
- enabled: boolean;
114
- timeS: number;
115
- unit: "seconds" | "minutes" | "hours";
127
+ inputType: "RTSP_URL" | "CSw" | "CRS";
128
+ internalVapixParameters: string;
129
+ userVapixParameters: string;
130
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
131
+ sourceUrl?: string | undefined;
132
+ streamDelay?: {
133
+ value: number;
134
+ unit: "seconds" | "minutes" | "hours";
135
+ } | undefined;
116
136
  }>;
117
137
  audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
118
138
  source: z.ZodLiteral<"none">;
@@ -176,6 +196,17 @@ export declare const churchSchema: z.ZodObject<{
176
196
  fileUrl: string;
177
197
  avSyncMsec: number;
178
198
  };
199
+ video: {
200
+ inputType: "RTSP_URL" | "CSw" | "CRS";
201
+ internalVapixParameters: string;
202
+ userVapixParameters: string;
203
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
204
+ sourceUrl?: string | undefined;
205
+ streamDelay?: {
206
+ value: number;
207
+ unit: "seconds" | "minutes" | "hours";
208
+ } | undefined;
209
+ };
179
210
  enabled: boolean;
180
211
  id: number;
181
212
  active: boolean;
@@ -201,15 +232,6 @@ export declare const churchSchema: z.ZodObject<{
201
232
  isActive: boolean;
202
233
  }[];
203
234
  };
204
- inputType: "RTSP_URL" | "CSw" | "CRS";
205
- internalVapixParameters: string;
206
- userVapixParameters: string;
207
- streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
208
- streamDelay: {
209
- enabled: boolean;
210
- timeS: number;
211
- unit: "seconds" | "minutes" | "hours";
212
- };
213
235
  }, {
214
236
  type: "church";
215
237
  audio: {
@@ -227,6 +249,17 @@ export declare const churchSchema: z.ZodObject<{
227
249
  fileUrl: string;
228
250
  avSyncMsec: number;
229
251
  };
252
+ video: {
253
+ inputType: "RTSP_URL" | "CSw" | "CRS";
254
+ internalVapixParameters: string;
255
+ userVapixParameters: string;
256
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
257
+ sourceUrl?: string | undefined;
258
+ streamDelay?: {
259
+ value: number;
260
+ unit: "seconds" | "minutes" | "hours";
261
+ } | undefined;
262
+ };
230
263
  enabled: boolean;
231
264
  id: number;
232
265
  active: boolean;
@@ -252,13 +285,4 @@ export declare const churchSchema: z.ZodObject<{
252
285
  isActive: boolean;
253
286
  }[];
254
287
  };
255
- inputType: "RTSP_URL" | "CSw" | "CRS";
256
- internalVapixParameters: string;
257
- userVapixParameters: string;
258
- streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
259
- streamDelay: {
260
- enabled: boolean;
261
- timeS: number;
262
- unit: "seconds" | "minutes" | "hours";
263
- };
264
288
  }>;
@@ -97,22 +97,42 @@ export declare const daCastSchema: 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.ZodString;
102
- userVapixParameters: z.ZodString;
103
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTSP">, z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
104
- streamDelay: z.ZodObject<{
105
- enabled: z.ZodBoolean;
106
- timeS: z.ZodNumber;
107
- unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
100
+ video: z.ZodObject<{
101
+ inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
102
+ sourceUrl: z.ZodOptional<z.ZodString>;
103
+ internalVapixParameters: z.ZodString;
104
+ userVapixParameters: z.ZodString;
105
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
106
+ streamDelay: z.ZodOptional<z.ZodObject<{
107
+ value: z.ZodNumber;
108
+ unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ value: number;
111
+ unit: "seconds" | "minutes" | "hours";
112
+ }, {
113
+ value: number;
114
+ unit: "seconds" | "minutes" | "hours";
115
+ }>>;
108
116
  }, "strip", z.ZodTypeAny, {
109
- enabled: boolean;
110
- timeS: number;
111
- unit: "seconds" | "minutes" | "hours";
117
+ inputType: "RTSP_URL" | "CSw" | "CRS";
118
+ internalVapixParameters: string;
119
+ userVapixParameters: string;
120
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
121
+ sourceUrl?: string | undefined;
122
+ streamDelay?: {
123
+ value: number;
124
+ unit: "seconds" | "minutes" | "hours";
125
+ } | undefined;
112
126
  }, {
113
- enabled: boolean;
114
- timeS: number;
115
- unit: "seconds" | "minutes" | "hours";
127
+ inputType: "RTSP_URL" | "CSw" | "CRS";
128
+ internalVapixParameters: string;
129
+ userVapixParameters: string;
130
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
131
+ sourceUrl?: string | undefined;
132
+ streamDelay?: {
133
+ value: number;
134
+ unit: "seconds" | "minutes" | "hours";
135
+ } | undefined;
116
136
  }>;
117
137
  audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
118
138
  source: z.ZodLiteral<"none">;
@@ -176,6 +196,17 @@ export declare const daCastSchema: z.ZodObject<{
176
196
  fileUrl: string;
177
197
  avSyncMsec: number;
178
198
  };
199
+ video: {
200
+ inputType: "RTSP_URL" | "CSw" | "CRS";
201
+ internalVapixParameters: string;
202
+ userVapixParameters: string;
203
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
204
+ sourceUrl?: string | undefined;
205
+ streamDelay?: {
206
+ value: number;
207
+ unit: "seconds" | "minutes" | "hours";
208
+ } | undefined;
209
+ };
179
210
  enabled: boolean;
180
211
  id: number;
181
212
  active: boolean;
@@ -201,15 +232,6 @@ export declare const daCastSchema: z.ZodObject<{
201
232
  isActive: boolean;
202
233
  }[];
203
234
  };
204
- inputType: "RTSP_URL" | "CSw" | "CRS";
205
- internalVapixParameters: string;
206
- userVapixParameters: string;
207
- streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
208
- streamDelay: {
209
- enabled: boolean;
210
- timeS: number;
211
- unit: "seconds" | "minutes" | "hours";
212
- };
213
235
  }, {
214
236
  type: "da_cast";
215
237
  audio: {
@@ -227,6 +249,17 @@ export declare const daCastSchema: z.ZodObject<{
227
249
  fileUrl: string;
228
250
  avSyncMsec: number;
229
251
  };
252
+ video: {
253
+ inputType: "RTSP_URL" | "CSw" | "CRS";
254
+ internalVapixParameters: string;
255
+ userVapixParameters: string;
256
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
257
+ sourceUrl?: string | undefined;
258
+ streamDelay?: {
259
+ value: number;
260
+ unit: "seconds" | "minutes" | "hours";
261
+ } | undefined;
262
+ };
230
263
  enabled: boolean;
231
264
  id: number;
232
265
  active: boolean;
@@ -252,13 +285,4 @@ export declare const daCastSchema: z.ZodObject<{
252
285
  isActive: boolean;
253
286
  }[];
254
287
  };
255
- inputType: "RTSP_URL" | "CSw" | "CRS";
256
- internalVapixParameters: string;
257
- userVapixParameters: string;
258
- streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
259
- streamDelay: {
260
- enabled: boolean;
261
- timeS: number;
262
- unit: "seconds" | "minutes" | "hours";
263
- };
264
288
  }>;
@@ -97,22 +97,42 @@ export declare const dailymotionSchema: 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.ZodString;
102
- userVapixParameters: z.ZodString;
103
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTSP">, z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
104
- streamDelay: z.ZodObject<{
105
- enabled: z.ZodBoolean;
106
- timeS: z.ZodNumber;
107
- unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
100
+ video: z.ZodObject<{
101
+ inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
102
+ sourceUrl: z.ZodOptional<z.ZodString>;
103
+ internalVapixParameters: z.ZodString;
104
+ userVapixParameters: z.ZodString;
105
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
106
+ streamDelay: z.ZodOptional<z.ZodObject<{
107
+ value: z.ZodNumber;
108
+ unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ value: number;
111
+ unit: "seconds" | "minutes" | "hours";
112
+ }, {
113
+ value: number;
114
+ unit: "seconds" | "minutes" | "hours";
115
+ }>>;
108
116
  }, "strip", z.ZodTypeAny, {
109
- enabled: boolean;
110
- timeS: number;
111
- unit: "seconds" | "minutes" | "hours";
117
+ inputType: "RTSP_URL" | "CSw" | "CRS";
118
+ internalVapixParameters: string;
119
+ userVapixParameters: string;
120
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
121
+ sourceUrl?: string | undefined;
122
+ streamDelay?: {
123
+ value: number;
124
+ unit: "seconds" | "minutes" | "hours";
125
+ } | undefined;
112
126
  }, {
113
- enabled: boolean;
114
- timeS: number;
115
- unit: "seconds" | "minutes" | "hours";
127
+ inputType: "RTSP_URL" | "CSw" | "CRS";
128
+ internalVapixParameters: string;
129
+ userVapixParameters: string;
130
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
131
+ sourceUrl?: string | undefined;
132
+ streamDelay?: {
133
+ value: number;
134
+ unit: "seconds" | "minutes" | "hours";
135
+ } | undefined;
116
136
  }>;
117
137
  audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
118
138
  source: z.ZodLiteral<"none">;
@@ -176,6 +196,17 @@ export declare const dailymotionSchema: z.ZodObject<{
176
196
  fileUrl: string;
177
197
  avSyncMsec: number;
178
198
  };
199
+ video: {
200
+ inputType: "RTSP_URL" | "CSw" | "CRS";
201
+ internalVapixParameters: string;
202
+ userVapixParameters: string;
203
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
204
+ sourceUrl?: string | undefined;
205
+ streamDelay?: {
206
+ value: number;
207
+ unit: "seconds" | "minutes" | "hours";
208
+ } | undefined;
209
+ };
179
210
  enabled: boolean;
180
211
  id: number;
181
212
  active: boolean;
@@ -201,15 +232,6 @@ export declare const dailymotionSchema: z.ZodObject<{
201
232
  isActive: boolean;
202
233
  }[];
203
234
  };
204
- inputType: "RTSP_URL" | "CSw" | "CRS";
205
- internalVapixParameters: string;
206
- userVapixParameters: string;
207
- streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
208
- streamDelay: {
209
- enabled: boolean;
210
- timeS: number;
211
- unit: "seconds" | "minutes" | "hours";
212
- };
213
235
  }, {
214
236
  type: "dailymotion";
215
237
  audio: {
@@ -227,6 +249,17 @@ export declare const dailymotionSchema: z.ZodObject<{
227
249
  fileUrl: string;
228
250
  avSyncMsec: number;
229
251
  };
252
+ video: {
253
+ inputType: "RTSP_URL" | "CSw" | "CRS";
254
+ internalVapixParameters: string;
255
+ userVapixParameters: string;
256
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
257
+ sourceUrl?: string | undefined;
258
+ streamDelay?: {
259
+ value: number;
260
+ unit: "seconds" | "minutes" | "hours";
261
+ } | undefined;
262
+ };
230
263
  enabled: boolean;
231
264
  id: number;
232
265
  active: boolean;
@@ -252,13 +285,4 @@ export declare const dailymotionSchema: z.ZodObject<{
252
285
  isActive: boolean;
253
286
  }[];
254
287
  };
255
- inputType: "RTSP_URL" | "CSw" | "CRS";
256
- internalVapixParameters: string;
257
- userVapixParameters: string;
258
- streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
259
- streamDelay: {
260
- enabled: boolean;
261
- timeS: number;
262
- unit: "seconds" | "minutes" | "hours";
263
- };
264
288
  }>;
@@ -97,22 +97,42 @@ 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.ZodString;
102
- userVapixParameters: z.ZodString;
103
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTSP">, z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
104
- streamDelay: z.ZodObject<{
105
- enabled: z.ZodBoolean;
106
- timeS: z.ZodNumber;
107
- unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
100
+ video: z.ZodObject<{
101
+ inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
102
+ sourceUrl: z.ZodOptional<z.ZodString>;
103
+ internalVapixParameters: z.ZodString;
104
+ userVapixParameters: z.ZodString;
105
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
106
+ streamDelay: z.ZodOptional<z.ZodObject<{
107
+ value: z.ZodNumber;
108
+ unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ value: number;
111
+ unit: "seconds" | "minutes" | "hours";
112
+ }, {
113
+ value: number;
114
+ unit: "seconds" | "minutes" | "hours";
115
+ }>>;
108
116
  }, "strip", z.ZodTypeAny, {
109
- enabled: boolean;
110
- timeS: number;
111
- unit: "seconds" | "minutes" | "hours";
117
+ inputType: "RTSP_URL" | "CSw" | "CRS";
118
+ internalVapixParameters: string;
119
+ userVapixParameters: string;
120
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
121
+ sourceUrl?: string | undefined;
122
+ streamDelay?: {
123
+ value: number;
124
+ unit: "seconds" | "minutes" | "hours";
125
+ } | undefined;
112
126
  }, {
113
- enabled: boolean;
114
- timeS: number;
115
- unit: "seconds" | "minutes" | "hours";
127
+ inputType: "RTSP_URL" | "CSw" | "CRS";
128
+ internalVapixParameters: string;
129
+ userVapixParameters: string;
130
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
131
+ sourceUrl?: string | undefined;
132
+ streamDelay?: {
133
+ value: number;
134
+ unit: "seconds" | "minutes" | "hours";
135
+ } | undefined;
116
136
  }>;
117
137
  audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
118
138
  source: z.ZodLiteral<"none">;
@@ -176,6 +196,17 @@ export declare const facebookSchema: z.ZodObject<{
176
196
  fileUrl: string;
177
197
  avSyncMsec: number;
178
198
  };
199
+ video: {
200
+ inputType: "RTSP_URL" | "CSw" | "CRS";
201
+ internalVapixParameters: string;
202
+ userVapixParameters: string;
203
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
204
+ sourceUrl?: string | undefined;
205
+ streamDelay?: {
206
+ value: number;
207
+ unit: "seconds" | "minutes" | "hours";
208
+ } | undefined;
209
+ };
179
210
  enabled: boolean;
180
211
  id: number;
181
212
  active: boolean;
@@ -201,15 +232,6 @@ export declare const facebookSchema: z.ZodObject<{
201
232
  isActive: boolean;
202
233
  }[];
203
234
  };
204
- inputType: "RTSP_URL" | "CSw" | "CRS";
205
- internalVapixParameters: string;
206
- userVapixParameters: string;
207
- streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
208
- streamDelay: {
209
- enabled: boolean;
210
- timeS: number;
211
- unit: "seconds" | "minutes" | "hours";
212
- };
213
235
  }, {
214
236
  type: "facebook";
215
237
  audio: {
@@ -227,6 +249,17 @@ export declare const facebookSchema: z.ZodObject<{
227
249
  fileUrl: string;
228
250
  avSyncMsec: number;
229
251
  };
252
+ video: {
253
+ inputType: "RTSP_URL" | "CSw" | "CRS";
254
+ internalVapixParameters: string;
255
+ userVapixParameters: string;
256
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
257
+ sourceUrl?: string | undefined;
258
+ streamDelay?: {
259
+ value: number;
260
+ unit: "seconds" | "minutes" | "hours";
261
+ } | undefined;
262
+ };
230
263
  enabled: boolean;
231
264
  id: number;
232
265
  active: boolean;
@@ -252,13 +285,4 @@ export declare const facebookSchema: z.ZodObject<{
252
285
  isActive: boolean;
253
286
  }[];
254
287
  };
255
- inputType: "RTSP_URL" | "CSw" | "CRS";
256
- internalVapixParameters: string;
257
- userVapixParameters: string;
258
- streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
259
- streamDelay: {
260
- enabled: boolean;
261
- timeS: number;
262
- unit: "seconds" | "minutes" | "hours";
263
- };
264
288
  }>;
@@ -97,22 +97,42 @@ export declare const gameChangerSchema: 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.ZodString;
102
- userVapixParameters: z.ZodString;
103
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTSP">, z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
104
- streamDelay: z.ZodObject<{
105
- enabled: z.ZodBoolean;
106
- timeS: z.ZodNumber;
107
- unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
100
+ video: z.ZodObject<{
101
+ inputType: z.ZodUnion<[z.ZodLiteral<"CSw">, z.ZodLiteral<"CRS">, z.ZodLiteral<"RTSP_URL">]>;
102
+ sourceUrl: z.ZodOptional<z.ZodString>;
103
+ internalVapixParameters: z.ZodString;
104
+ userVapixParameters: z.ZodString;
105
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
106
+ streamDelay: z.ZodOptional<z.ZodObject<{
107
+ value: z.ZodNumber;
108
+ unit: z.ZodUnion<[z.ZodLiteral<"seconds">, z.ZodLiteral<"minutes">, z.ZodLiteral<"hours">]>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ value: number;
111
+ unit: "seconds" | "minutes" | "hours";
112
+ }, {
113
+ value: number;
114
+ unit: "seconds" | "minutes" | "hours";
115
+ }>>;
108
116
  }, "strip", z.ZodTypeAny, {
109
- enabled: boolean;
110
- timeS: number;
111
- unit: "seconds" | "minutes" | "hours";
117
+ inputType: "RTSP_URL" | "CSw" | "CRS";
118
+ internalVapixParameters: string;
119
+ userVapixParameters: string;
120
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
121
+ sourceUrl?: string | undefined;
122
+ streamDelay?: {
123
+ value: number;
124
+ unit: "seconds" | "minutes" | "hours";
125
+ } | undefined;
112
126
  }, {
113
- enabled: boolean;
114
- timeS: number;
115
- unit: "seconds" | "minutes" | "hours";
127
+ inputType: "RTSP_URL" | "CSw" | "CRS";
128
+ internalVapixParameters: string;
129
+ userVapixParameters: string;
130
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
131
+ sourceUrl?: string | undefined;
132
+ streamDelay?: {
133
+ value: number;
134
+ unit: "seconds" | "minutes" | "hours";
135
+ } | undefined;
116
136
  }>;
117
137
  audio: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
118
138
  source: z.ZodLiteral<"none">;
@@ -176,6 +196,17 @@ export declare const gameChangerSchema: z.ZodObject<{
176
196
  fileUrl: string;
177
197
  avSyncMsec: number;
178
198
  };
199
+ video: {
200
+ inputType: "RTSP_URL" | "CSw" | "CRS";
201
+ internalVapixParameters: string;
202
+ userVapixParameters: string;
203
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
204
+ sourceUrl?: string | undefined;
205
+ streamDelay?: {
206
+ value: number;
207
+ unit: "seconds" | "minutes" | "hours";
208
+ } | undefined;
209
+ };
179
210
  enabled: boolean;
180
211
  id: number;
181
212
  active: boolean;
@@ -201,15 +232,6 @@ export declare const gameChangerSchema: z.ZodObject<{
201
232
  isActive: boolean;
202
233
  }[];
203
234
  };
204
- inputType: "RTSP_URL" | "CSw" | "CRS";
205
- internalVapixParameters: string;
206
- userVapixParameters: string;
207
- streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
208
- streamDelay: {
209
- enabled: boolean;
210
- timeS: number;
211
- unit: "seconds" | "minutes" | "hours";
212
- };
213
235
  }, {
214
236
  type: "game_changer";
215
237
  audio: {
@@ -227,6 +249,17 @@ export declare const gameChangerSchema: z.ZodObject<{
227
249
  fileUrl: string;
228
250
  avSyncMsec: number;
229
251
  };
252
+ video: {
253
+ inputType: "RTSP_URL" | "CSw" | "CRS";
254
+ internalVapixParameters: string;
255
+ userVapixParameters: string;
256
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
257
+ sourceUrl?: string | undefined;
258
+ streamDelay?: {
259
+ value: number;
260
+ unit: "seconds" | "minutes" | "hours";
261
+ } | undefined;
262
+ };
230
263
  enabled: boolean;
231
264
  id: number;
232
265
  active: boolean;
@@ -252,13 +285,4 @@ export declare const gameChangerSchema: z.ZodObject<{
252
285
  isActive: boolean;
253
286
  }[];
254
287
  };
255
- inputType: "RTSP_URL" | "CSw" | "CRS";
256
- internalVapixParameters: string;
257
- userVapixParameters: string;
258
- streamingProtocol: "RTSP" | "RTMP" | "RTMPS" | "HLS";
259
- streamDelay: {
260
- enabled: boolean;
261
- timeS: number;
262
- unit: "seconds" | "minutes" | "hours";
263
- };
264
288
  }>;