camstreamerlib 4.0.0-beta.115 → 4.0.0-beta.117

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 (115) hide show
  1. package/cjs/CamStreamerAPI.d.ts +1235 -485
  2. package/cjs/CamStreamerAPI.js +4 -4
  3. package/cjs/VapixAPI.d.ts +1 -1
  4. package/cjs/errors/errors.d.ts +2 -2
  5. package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +8759 -2681
  6. package/cjs/types/CamStreamerAPI/CamStreamerAPI.js +39 -55
  7. package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +197 -55
  8. package/cjs/types/CamStreamerAPI/facebookSchema.js +6 -10
  9. package/cjs/types/CamStreamerAPI/index.d.ts +1 -5
  10. package/cjs/types/CamStreamerAPI/index.js +1 -5
  11. package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +39 -39
  12. package/cjs/types/CamStreamerAPI/oldStreamSchema.js +1 -1
  13. package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +238 -341
  14. package/cjs/types/CamStreamerAPI/streamCommonTypes.js +92 -75
  15. package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +7585 -0
  16. package/cjs/types/CamStreamerAPI/streamsSchema.js +63 -0
  17. package/cjs/types/CamStreamerAPI/windySchema.d.ts +173 -45
  18. package/cjs/types/CamStreamerAPI/windySchema.js +1 -1
  19. package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +173 -54
  20. package/cjs/types/CamStreamerAPI/youtubeSchema.js +1 -4
  21. package/cjs/types/VapixAPI.d.ts +10 -10
  22. package/cjs/types/ws/CamStreamerEvents.d.ts +33 -33
  23. package/cjs/types/ws/CamStreamerEvents.js +3 -3
  24. package/esm/CamStreamerAPI.js +4 -4
  25. package/esm/types/CamStreamerAPI/CamStreamerAPI.js +22 -38
  26. package/esm/types/CamStreamerAPI/facebookSchema.js +5 -9
  27. package/esm/types/CamStreamerAPI/index.js +1 -5
  28. package/esm/types/CamStreamerAPI/oldStreamSchema.js +1 -1
  29. package/esm/types/CamStreamerAPI/streamCommonTypes.js +91 -74
  30. package/esm/types/CamStreamerAPI/streamsSchema.js +57 -0
  31. package/esm/types/CamStreamerAPI/windySchema.js +1 -1
  32. package/esm/types/CamStreamerAPI/youtubeSchema.js +1 -4
  33. package/esm/types/ws/CamStreamerEvents.js +3 -3
  34. package/package.json +1 -1
  35. package/types/CamStreamerAPI.d.ts +1235 -485
  36. package/types/VapixAPI.d.ts +1 -1
  37. package/types/errors/errors.d.ts +2 -2
  38. package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +8759 -2681
  39. package/types/types/CamStreamerAPI/facebookSchema.d.ts +197 -55
  40. package/types/types/CamStreamerAPI/index.d.ts +1 -5
  41. package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +39 -39
  42. package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +238 -341
  43. package/types/types/CamStreamerAPI/streamsSchema.d.ts +7585 -0
  44. package/types/types/CamStreamerAPI/windySchema.d.ts +173 -45
  45. package/types/types/CamStreamerAPI/youtubeSchema.d.ts +173 -54
  46. package/types/types/VapixAPI.d.ts +10 -10
  47. package/types/types/ws/CamStreamerEvents.d.ts +33 -33
  48. package/cjs/types/CamStreamerAPI/churchSchema.d.ts +0 -293
  49. package/cjs/types/CamStreamerAPI/churchSchema.js +0 -11
  50. package/cjs/types/CamStreamerAPI/daCastSchema.d.ts +0 -293
  51. package/cjs/types/CamStreamerAPI/daCastSchema.js +0 -11
  52. package/cjs/types/CamStreamerAPI/dailymotionSchema.d.ts +0 -293
  53. package/cjs/types/CamStreamerAPI/dailymotionSchema.js +0 -11
  54. package/cjs/types/CamStreamerAPI/gameChangerSchema.d.ts +0 -312
  55. package/cjs/types/CamStreamerAPI/gameChangerSchema.js +0 -11
  56. package/cjs/types/CamStreamerAPI/hlsPullSchema.d.ts +0 -293
  57. package/cjs/types/CamStreamerAPI/hlsPullSchema.js +0 -11
  58. package/cjs/types/CamStreamerAPI/hlsPushSchema.d.ts +0 -293
  59. package/cjs/types/CamStreamerAPI/hlsPushSchema.js +0 -11
  60. package/cjs/types/CamStreamerAPI/ibmSchema.d.ts +0 -293
  61. package/cjs/types/CamStreamerAPI/ibmSchema.js +0 -11
  62. package/cjs/types/CamStreamerAPI/microsoftAzureSchema.d.ts +0 -293
  63. package/cjs/types/CamStreamerAPI/microsoftAzureSchema.js +0 -11
  64. package/cjs/types/CamStreamerAPI/microsoftStreamSchema.d.ts +0 -293
  65. package/cjs/types/CamStreamerAPI/microsoftStreamSchema.js +0 -11
  66. package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +0 -314
  67. package/cjs/types/CamStreamerAPI/mpegDvbSchema.js +0 -18
  68. package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +0 -619
  69. package/cjs/types/CamStreamerAPI/rtmpSchema.js +0 -19
  70. package/cjs/types/CamStreamerAPI/sdCardSchema.d.ts +0 -293
  71. package/cjs/types/CamStreamerAPI/sdCardSchema.js +0 -11
  72. package/cjs/types/CamStreamerAPI/srtSchema.d.ts +0 -293
  73. package/cjs/types/CamStreamerAPI/srtSchema.js +0 -11
  74. package/cjs/types/CamStreamerAPI/twitchSchema.d.ts +0 -293
  75. package/cjs/types/CamStreamerAPI/twitchSchema.js +0 -11
  76. package/cjs/types/CamStreamerAPI/vimeoSchema.d.ts +0 -293
  77. package/cjs/types/CamStreamerAPI/vimeoSchema.js +0 -11
  78. package/cjs/types/CamStreamerAPI/wowzaSchema.d.ts +0 -293
  79. package/cjs/types/CamStreamerAPI/wowzaSchema.js +0 -11
  80. package/cjs/types/CamStreamerAPI/youtubeRtmpSchema.d.ts +0 -312
  81. package/cjs/types/CamStreamerAPI/youtubeRtmpSchema.js +0 -11
  82. package/esm/types/CamStreamerAPI/churchSchema.js +0 -5
  83. package/esm/types/CamStreamerAPI/daCastSchema.js +0 -5
  84. package/esm/types/CamStreamerAPI/dailymotionSchema.js +0 -5
  85. package/esm/types/CamStreamerAPI/gameChangerSchema.js +0 -5
  86. package/esm/types/CamStreamerAPI/hlsPullSchema.js +0 -5
  87. package/esm/types/CamStreamerAPI/hlsPushSchema.js +0 -5
  88. package/esm/types/CamStreamerAPI/ibmSchema.js +0 -5
  89. package/esm/types/CamStreamerAPI/microsoftAzureSchema.js +0 -5
  90. package/esm/types/CamStreamerAPI/microsoftStreamSchema.js +0 -5
  91. package/esm/types/CamStreamerAPI/mpegDvbSchema.js +0 -12
  92. package/esm/types/CamStreamerAPI/rtmpSchema.js +0 -13
  93. package/esm/types/CamStreamerAPI/sdCardSchema.js +0 -5
  94. package/esm/types/CamStreamerAPI/srtSchema.js +0 -5
  95. package/esm/types/CamStreamerAPI/twitchSchema.js +0 -5
  96. package/esm/types/CamStreamerAPI/vimeoSchema.js +0 -5
  97. package/esm/types/CamStreamerAPI/wowzaSchema.js +0 -5
  98. package/esm/types/CamStreamerAPI/youtubeRtmpSchema.js +0 -5
  99. package/types/types/CamStreamerAPI/churchSchema.d.ts +0 -293
  100. package/types/types/CamStreamerAPI/daCastSchema.d.ts +0 -293
  101. package/types/types/CamStreamerAPI/dailymotionSchema.d.ts +0 -293
  102. package/types/types/CamStreamerAPI/gameChangerSchema.d.ts +0 -312
  103. package/types/types/CamStreamerAPI/hlsPullSchema.d.ts +0 -293
  104. package/types/types/CamStreamerAPI/hlsPushSchema.d.ts +0 -293
  105. package/types/types/CamStreamerAPI/ibmSchema.d.ts +0 -293
  106. package/types/types/CamStreamerAPI/microsoftAzureSchema.d.ts +0 -293
  107. package/types/types/CamStreamerAPI/microsoftStreamSchema.d.ts +0 -293
  108. package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +0 -314
  109. package/types/types/CamStreamerAPI/rtmpSchema.d.ts +0 -619
  110. package/types/types/CamStreamerAPI/sdCardSchema.d.ts +0 -293
  111. package/types/types/CamStreamerAPI/srtSchema.d.ts +0 -293
  112. package/types/types/CamStreamerAPI/twitchSchema.d.ts +0 -293
  113. package/types/types/CamStreamerAPI/vimeoSchema.d.ts +0 -293
  114. package/types/types/CamStreamerAPI/wowzaSchema.d.ts +0 -293
  115. package/types/types/CamStreamerAPI/youtubeRtmpSchema.d.ts +0 -312
@@ -23,43 +23,62 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
23
23
  postLocation: "page";
24
24
  page: string;
25
25
  };
26
- type: "facebook";
26
+ status: {
27
+ port: number | null;
28
+ led: boolean;
29
+ };
27
30
  audio: {
28
- source: "none";
29
- } | {
30
31
  source: "microphone";
31
32
  audioChannelNbr: 1 | 2;
33
+ forceStereo: 0 | 1;
32
34
  } | {
33
35
  source: "file";
36
+ forceStereo: 0 | 1;
34
37
  fileName: string;
35
38
  filePath: string;
36
39
  } | {
37
40
  source: "url";
41
+ forceStereo: 0 | 1;
38
42
  fileName: string;
39
43
  fileUrl: string;
40
44
  avSyncMsec: number;
41
- };
45
+ } | null;
42
46
  video: {
43
- inputType: "RTSP_URL" | "CSw" | "CRS";
47
+ output: {
48
+ type: "video" | "images";
49
+ url: string;
50
+ callApi: false;
51
+ } | {
52
+ type: "video";
53
+ callApi: true;
54
+ prepareAheadS: number;
55
+ };
56
+ outputParameters: string;
57
+ input: {
58
+ type: "RTSP_URL";
59
+ url: string;
60
+ } | {
61
+ type: "CSw";
62
+ } | {
63
+ type: "CRS";
64
+ };
65
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
44
66
  internalVapixParameters: string;
45
67
  userVapixParameters: string;
46
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
47
- sourceUrl?: string | undefined;
48
68
  streamDelay?: {
49
69
  value: number;
50
70
  unit: "seconds" | "minutes" | "hours";
51
71
  } | undefined;
52
72
  };
53
73
  enabled: boolean;
54
- id: number;
74
+ streamId: string;
55
75
  active: boolean;
56
76
  title: string;
57
77
  trigger: {
58
78
  type: "manual";
59
- ioPort: string | null;
79
+ ioPort: number | null;
60
80
  } | {
61
81
  type: "onetime";
62
- ioPort: string | null;
63
82
  startTime: number;
64
83
  stopTime: number;
65
84
  } | {
@@ -76,51 +95,67 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
76
95
  isActive: boolean;
77
96
  }[];
78
97
  };
98
+ platform: "facebook";
79
99
  deleteAfterEnd: boolean;
80
- saveToSdCard: boolean;
81
- statusCameraLed: boolean;
82
- statusCameraOutput: string | null;
83
100
  countdown: boolean;
84
101
  description?: string | undefined;
85
102
  } | {
86
- type: "mpeg_dvb";
103
+ status: {
104
+ port: number | null;
105
+ led: boolean;
106
+ };
87
107
  audio: {
88
- source: "none";
89
- } | {
90
108
  source: "microphone";
91
109
  audioChannelNbr: 1 | 2;
110
+ forceStereo: 0 | 1;
92
111
  } | {
93
112
  source: "file";
113
+ forceStereo: 0 | 1;
94
114
  fileName: string;
95
115
  filePath: string;
96
116
  } | {
97
117
  source: "url";
118
+ forceStereo: 0 | 1;
98
119
  fileName: string;
99
120
  fileUrl: string;
100
121
  avSyncMsec: number;
101
- };
122
+ } | null;
102
123
  video: {
103
- inputType: "RTSP_URL" | "CSw" | "CRS";
124
+ output: {
125
+ type: "video" | "images";
126
+ url: string;
127
+ callApi: false;
128
+ } | {
129
+ type: "video";
130
+ callApi: true;
131
+ prepareAheadS: number;
132
+ };
133
+ outputParameters: string;
134
+ input: {
135
+ type: "RTSP_URL";
136
+ url: string;
137
+ } | {
138
+ type: "CSw";
139
+ } | {
140
+ type: "CRS";
141
+ };
142
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
104
143
  internalVapixParameters: string;
105
144
  userVapixParameters: string;
106
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
107
- sourceUrl?: string | undefined;
108
145
  streamDelay?: {
109
146
  value: number;
110
147
  unit: "seconds" | "minutes" | "hours";
111
148
  } | undefined;
112
149
  };
113
- port: number;
114
150
  enabled: boolean;
115
- id: number;
151
+ streamId: string;
116
152
  active: boolean;
117
153
  title: string;
118
154
  trigger: {
119
155
  type: "manual";
120
- ioPort: string | null;
156
+ ioPort: number | null;
121
157
  } | {
122
158
  type: "onetime";
123
- ioPort: string | null;
124
159
  startTime: number;
125
160
  stopTime: number;
126
161
  } | {
@@ -137,50 +172,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
137
172
  isActive: boolean;
138
173
  }[];
139
174
  };
140
- saveToSdCard: boolean;
141
- statusCameraLed: boolean;
142
- statusCameraOutput: string | null;
143
- ipAddress: string;
144
- outputUrl: string;
145
- outputParameters: string;
175
+ platform: "windy";
146
176
  } | {
147
- type: "rtmp";
177
+ status: {
178
+ port: number | null;
179
+ led: boolean;
180
+ };
148
181
  audio: {
149
- source: "none";
150
- } | {
151
182
  source: "microphone";
152
183
  audioChannelNbr: 1 | 2;
184
+ forceStereo: 0 | 1;
153
185
  } | {
154
186
  source: "file";
187
+ forceStereo: 0 | 1;
155
188
  fileName: string;
156
189
  filePath: string;
157
190
  } | {
158
191
  source: "url";
192
+ forceStereo: 0 | 1;
159
193
  fileName: string;
160
194
  fileUrl: string;
161
195
  avSyncMsec: number;
162
- };
196
+ } | null;
163
197
  video: {
164
- inputType: "RTSP_URL" | "CSw" | "CRS";
198
+ output: {
199
+ type: "video" | "images";
200
+ url: string;
201
+ callApi: false;
202
+ } | {
203
+ type: "video";
204
+ callApi: true;
205
+ prepareAheadS: number;
206
+ };
207
+ outputParameters: string;
208
+ input: {
209
+ type: "RTSP_URL";
210
+ url: string;
211
+ } | {
212
+ type: "CSw";
213
+ } | {
214
+ type: "CRS";
215
+ };
216
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
165
217
  internalVapixParameters: string;
166
218
  userVapixParameters: string;
167
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
168
- sourceUrl?: string | undefined;
169
219
  streamDelay?: {
170
220
  value: number;
171
221
  unit: "seconds" | "minutes" | "hours";
172
222
  } | undefined;
173
223
  };
174
224
  enabled: boolean;
175
- id: number;
225
+ streamId: string;
176
226
  active: boolean;
177
227
  title: string;
178
228
  trigger: {
179
229
  type: "manual";
180
- ioPort: string | null;
230
+ ioPort: number | null;
181
231
  } | {
182
232
  type: "onetime";
183
- ioPort: string | null;
184
233
  startTime: number;
185
234
  stopTime: number;
186
235
  } | {
@@ -197,50 +246,75 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
197
246
  isActive: boolean;
198
247
  }[];
199
248
  };
200
- saveToSdCard: boolean;
201
- statusCameraLed: boolean;
202
- statusCameraOutput: string | null;
203
- outputUrl: string;
204
- streamKey: string;
205
- streamIdentifier?: string | undefined;
249
+ streamPrivacy: "public" | "unlisted" | "private";
250
+ platform: "youtube";
251
+ countdown: boolean;
252
+ tags: string[];
253
+ latency: "normal" | "low" | "ultra_low";
254
+ afterEndStatus: "public" | "unlisted" | "private" | "no_change";
255
+ dvr: boolean;
256
+ hasWatchdogs: boolean;
257
+ enableManualControl: boolean;
258
+ playlist?: string | undefined;
259
+ description?: string | undefined;
260
+ notificationEmail?: string[] | undefined;
206
261
  } | {
207
- type: "sd_card";
262
+ status: {
263
+ port: number | null;
264
+ led: boolean;
265
+ };
208
266
  audio: {
209
- source: "none";
210
- } | {
211
267
  source: "microphone";
212
268
  audioChannelNbr: 1 | 2;
269
+ forceStereo: 0 | 1;
213
270
  } | {
214
271
  source: "file";
272
+ forceStereo: 0 | 1;
215
273
  fileName: string;
216
274
  filePath: string;
217
275
  } | {
218
276
  source: "url";
277
+ forceStereo: 0 | 1;
219
278
  fileName: string;
220
279
  fileUrl: string;
221
280
  avSyncMsec: number;
222
- };
281
+ } | null;
223
282
  video: {
224
- inputType: "RTSP_URL" | "CSw" | "CRS";
283
+ output: {
284
+ type: "video" | "images";
285
+ url: string;
286
+ callApi: false;
287
+ } | {
288
+ type: "video";
289
+ callApi: true;
290
+ prepareAheadS: number;
291
+ };
292
+ outputParameters: string;
293
+ input: {
294
+ type: "RTSP_URL";
295
+ url: string;
296
+ } | {
297
+ type: "CSw";
298
+ } | {
299
+ type: "CRS";
300
+ };
301
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
225
302
  internalVapixParameters: string;
226
303
  userVapixParameters: string;
227
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
228
- sourceUrl?: string | undefined;
229
304
  streamDelay?: {
230
305
  value: number;
231
306
  unit: "seconds" | "minutes" | "hours";
232
307
  } | undefined;
233
308
  };
234
309
  enabled: boolean;
235
- id: number;
310
+ streamId: string;
236
311
  active: boolean;
237
312
  title: string;
238
313
  trigger: {
239
314
  type: "manual";
240
- ioPort: string | null;
315
+ ioPort: number | null;
241
316
  } | {
242
317
  type: "onetime";
243
- ioPort: string | null;
244
318
  startTime: number;
245
319
  stopTime: number;
246
320
  } | {
@@ -257,44 +331,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
257
331
  isActive: boolean;
258
332
  }[];
259
333
  };
334
+ platform: "church";
260
335
  } | {
261
- type: "windy";
336
+ status: {
337
+ port: number | null;
338
+ led: boolean;
339
+ };
262
340
  audio: {
263
- source: "none";
264
- } | {
265
341
  source: "microphone";
266
342
  audioChannelNbr: 1 | 2;
343
+ forceStereo: 0 | 1;
267
344
  } | {
268
345
  source: "file";
346
+ forceStereo: 0 | 1;
269
347
  fileName: string;
270
348
  filePath: string;
271
349
  } | {
272
350
  source: "url";
351
+ forceStereo: 0 | 1;
273
352
  fileName: string;
274
353
  fileUrl: string;
275
354
  avSyncMsec: number;
276
- };
355
+ } | null;
277
356
  video: {
278
- inputType: "RTSP_URL" | "CSw" | "CRS";
357
+ output: {
358
+ type: "video" | "images";
359
+ url: string;
360
+ callApi: false;
361
+ } | {
362
+ type: "video";
363
+ callApi: true;
364
+ prepareAheadS: number;
365
+ };
366
+ outputParameters: string;
367
+ input: {
368
+ type: "RTSP_URL";
369
+ url: string;
370
+ } | {
371
+ type: "CSw";
372
+ } | {
373
+ type: "CRS";
374
+ };
375
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
279
376
  internalVapixParameters: string;
280
377
  userVapixParameters: string;
281
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
282
- sourceUrl?: string | undefined;
283
378
  streamDelay?: {
284
379
  value: number;
285
380
  unit: "seconds" | "minutes" | "hours";
286
381
  } | undefined;
287
382
  };
288
383
  enabled: boolean;
289
- id: number;
384
+ streamId: string;
290
385
  active: boolean;
291
386
  title: string;
292
387
  trigger: {
293
388
  type: "manual";
294
- ioPort: string | null;
389
+ ioPort: number | null;
295
390
  } | {
296
391
  type: "onetime";
297
- ioPort: string | null;
298
392
  startTime: number;
299
393
  stopTime: number;
300
394
  } | {
@@ -311,44 +405,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
311
405
  isActive: boolean;
312
406
  }[];
313
407
  };
408
+ platform: "da_cast";
314
409
  } | {
315
- type: "youtube";
410
+ status: {
411
+ port: number | null;
412
+ led: boolean;
413
+ };
316
414
  audio: {
317
- source: "none";
318
- } | {
319
415
  source: "microphone";
320
416
  audioChannelNbr: 1 | 2;
417
+ forceStereo: 0 | 1;
321
418
  } | {
322
419
  source: "file";
420
+ forceStereo: 0 | 1;
323
421
  fileName: string;
324
422
  filePath: string;
325
423
  } | {
326
424
  source: "url";
425
+ forceStereo: 0 | 1;
327
426
  fileName: string;
328
427
  fileUrl: string;
329
428
  avSyncMsec: number;
330
- };
429
+ } | null;
331
430
  video: {
332
- inputType: "RTSP_URL" | "CSw" | "CRS";
431
+ output: {
432
+ type: "video" | "images";
433
+ url: string;
434
+ callApi: false;
435
+ } | {
436
+ type: "video";
437
+ callApi: true;
438
+ prepareAheadS: number;
439
+ };
440
+ outputParameters: string;
441
+ input: {
442
+ type: "RTSP_URL";
443
+ url: string;
444
+ } | {
445
+ type: "CSw";
446
+ } | {
447
+ type: "CRS";
448
+ };
449
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
333
450
  internalVapixParameters: string;
334
451
  userVapixParameters: string;
335
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
336
- sourceUrl?: string | undefined;
337
452
  streamDelay?: {
338
453
  value: number;
339
454
  unit: "seconds" | "minutes" | "hours";
340
455
  } | undefined;
341
456
  };
342
457
  enabled: boolean;
343
- id: number;
458
+ streamId: string;
344
459
  active: boolean;
345
460
  title: string;
346
461
  trigger: {
347
462
  type: "manual";
348
- ioPort: string | null;
463
+ ioPort: number | null;
349
464
  } | {
350
465
  type: "onetime";
351
- ioPort: string | null;
352
466
  startTime: number;
353
467
  stopTime: number;
354
468
  } | {
@@ -365,58 +479,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
365
479
  isActive: boolean;
366
480
  }[];
367
481
  };
368
- streamPrivacy: "public" | "unlisted" | "private";
369
- saveToSdCard: boolean;
370
- statusCameraLed: boolean;
371
- statusCameraOutput: string | null;
372
- countdown: boolean;
373
- tags: string[];
374
- latency: "normal" | "low" | "ultra_low";
375
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
376
- dvr: boolean;
377
- hasWatchdogs: boolean;
378
- enableManualControl: boolean;
379
- playlist?: string | undefined;
380
- description?: string | undefined;
381
- notificationEmail?: string[] | undefined;
482
+ platform: "dailymotion";
382
483
  } | {
383
- type: "vimeo";
484
+ status: {
485
+ port: number | null;
486
+ led: boolean;
487
+ };
384
488
  audio: {
385
- source: "none";
386
- } | {
387
489
  source: "microphone";
388
490
  audioChannelNbr: 1 | 2;
491
+ forceStereo: 0 | 1;
389
492
  } | {
390
493
  source: "file";
494
+ forceStereo: 0 | 1;
391
495
  fileName: string;
392
496
  filePath: string;
393
497
  } | {
394
498
  source: "url";
499
+ forceStereo: 0 | 1;
395
500
  fileName: string;
396
501
  fileUrl: string;
397
502
  avSyncMsec: number;
398
- };
503
+ } | null;
399
504
  video: {
400
- inputType: "RTSP_URL" | "CSw" | "CRS";
505
+ output: {
506
+ type: "video" | "images";
507
+ url: string;
508
+ callApi: false;
509
+ } | {
510
+ type: "video";
511
+ callApi: true;
512
+ prepareAheadS: number;
513
+ };
514
+ outputParameters: string;
515
+ input: {
516
+ type: "RTSP_URL";
517
+ url: string;
518
+ } | {
519
+ type: "CSw";
520
+ } | {
521
+ type: "CRS";
522
+ };
523
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
401
524
  internalVapixParameters: string;
402
525
  userVapixParameters: string;
403
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
404
- sourceUrl?: string | undefined;
405
526
  streamDelay?: {
406
527
  value: number;
407
528
  unit: "seconds" | "minutes" | "hours";
408
529
  } | undefined;
409
530
  };
410
531
  enabled: boolean;
411
- id: number;
532
+ streamId: string;
412
533
  active: boolean;
413
534
  title: string;
414
535
  trigger: {
415
536
  type: "manual";
416
- ioPort: string | null;
537
+ ioPort: number | null;
417
538
  } | {
418
539
  type: "onetime";
419
- ioPort: string | null;
420
540
  startTime: number;
421
541
  stopTime: number;
422
542
  } | {
@@ -433,44 +553,66 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
433
553
  isActive: boolean;
434
554
  }[];
435
555
  };
556
+ platform: "game_changer";
557
+ streamKey: string;
558
+ streamIdentifier?: string | undefined;
436
559
  } | {
437
- type: "twitch";
560
+ status: {
561
+ port: number | null;
562
+ led: boolean;
563
+ };
438
564
  audio: {
439
- source: "none";
440
- } | {
441
565
  source: "microphone";
442
566
  audioChannelNbr: 1 | 2;
567
+ forceStereo: 0 | 1;
443
568
  } | {
444
569
  source: "file";
570
+ forceStereo: 0 | 1;
445
571
  fileName: string;
446
572
  filePath: string;
447
573
  } | {
448
574
  source: "url";
575
+ forceStereo: 0 | 1;
449
576
  fileName: string;
450
577
  fileUrl: string;
451
578
  avSyncMsec: number;
452
- };
579
+ } | null;
453
580
  video: {
454
- inputType: "RTSP_URL" | "CSw" | "CRS";
581
+ output: {
582
+ type: "video" | "images";
583
+ url: string;
584
+ callApi: false;
585
+ } | {
586
+ type: "video";
587
+ callApi: true;
588
+ prepareAheadS: number;
589
+ };
590
+ outputParameters: string;
591
+ input: {
592
+ type: "RTSP_URL";
593
+ url: string;
594
+ } | {
595
+ type: "CSw";
596
+ } | {
597
+ type: "CRS";
598
+ };
599
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
455
600
  internalVapixParameters: string;
456
601
  userVapixParameters: string;
457
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
458
- sourceUrl?: string | undefined;
459
602
  streamDelay?: {
460
603
  value: number;
461
604
  unit: "seconds" | "minutes" | "hours";
462
605
  } | undefined;
463
606
  };
464
607
  enabled: boolean;
465
- id: number;
608
+ streamId: string;
466
609
  active: boolean;
467
610
  title: string;
468
611
  trigger: {
469
612
  type: "manual";
470
- ioPort: string | null;
613
+ ioPort: number | null;
471
614
  } | {
472
615
  type: "onetime";
473
- ioPort: string | null;
474
616
  startTime: number;
475
617
  stopTime: number;
476
618
  } | {
@@ -487,44 +629,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
487
629
  isActive: boolean;
488
630
  }[];
489
631
  };
632
+ platform: "hls_pull";
490
633
  } | {
491
- type: "church";
634
+ status: {
635
+ port: number | null;
636
+ led: boolean;
637
+ };
492
638
  audio: {
493
- source: "none";
494
- } | {
495
639
  source: "microphone";
496
640
  audioChannelNbr: 1 | 2;
641
+ forceStereo: 0 | 1;
497
642
  } | {
498
643
  source: "file";
644
+ forceStereo: 0 | 1;
499
645
  fileName: string;
500
646
  filePath: string;
501
647
  } | {
502
648
  source: "url";
649
+ forceStereo: 0 | 1;
503
650
  fileName: string;
504
651
  fileUrl: string;
505
652
  avSyncMsec: number;
506
- };
653
+ } | null;
507
654
  video: {
508
- inputType: "RTSP_URL" | "CSw" | "CRS";
655
+ output: {
656
+ type: "video" | "images";
657
+ url: string;
658
+ callApi: false;
659
+ } | {
660
+ type: "video";
661
+ callApi: true;
662
+ prepareAheadS: number;
663
+ };
664
+ outputParameters: string;
665
+ input: {
666
+ type: "RTSP_URL";
667
+ url: string;
668
+ } | {
669
+ type: "CSw";
670
+ } | {
671
+ type: "CRS";
672
+ };
673
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
509
674
  internalVapixParameters: string;
510
675
  userVapixParameters: string;
511
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
512
- sourceUrl?: string | undefined;
513
676
  streamDelay?: {
514
677
  value: number;
515
678
  unit: "seconds" | "minutes" | "hours";
516
679
  } | undefined;
517
680
  };
518
681
  enabled: boolean;
519
- id: number;
682
+ streamId: string;
520
683
  active: boolean;
521
684
  title: string;
522
685
  trigger: {
523
686
  type: "manual";
524
- ioPort: string | null;
687
+ ioPort: number | null;
525
688
  } | {
526
689
  type: "onetime";
527
- ioPort: string | null;
528
690
  startTime: number;
529
691
  stopTime: number;
530
692
  } | {
@@ -541,44 +703,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
541
703
  isActive: boolean;
542
704
  }[];
543
705
  };
706
+ platform: "hls_push";
544
707
  } | {
545
- type: "srt";
708
+ status: {
709
+ port: number | null;
710
+ led: boolean;
711
+ };
546
712
  audio: {
547
- source: "none";
548
- } | {
549
713
  source: "microphone";
550
714
  audioChannelNbr: 1 | 2;
715
+ forceStereo: 0 | 1;
551
716
  } | {
552
717
  source: "file";
718
+ forceStereo: 0 | 1;
553
719
  fileName: string;
554
720
  filePath: string;
555
721
  } | {
556
722
  source: "url";
723
+ forceStereo: 0 | 1;
557
724
  fileName: string;
558
725
  fileUrl: string;
559
726
  avSyncMsec: number;
560
- };
727
+ } | null;
561
728
  video: {
562
- inputType: "RTSP_URL" | "CSw" | "CRS";
729
+ output: {
730
+ type: "video" | "images";
731
+ url: string;
732
+ callApi: false;
733
+ } | {
734
+ type: "video";
735
+ callApi: true;
736
+ prepareAheadS: number;
737
+ };
738
+ outputParameters: string;
739
+ input: {
740
+ type: "RTSP_URL";
741
+ url: string;
742
+ } | {
743
+ type: "CSw";
744
+ } | {
745
+ type: "CRS";
746
+ };
747
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
563
748
  internalVapixParameters: string;
564
749
  userVapixParameters: string;
565
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
566
- sourceUrl?: string | undefined;
567
750
  streamDelay?: {
568
751
  value: number;
569
752
  unit: "seconds" | "minutes" | "hours";
570
753
  } | undefined;
571
754
  };
572
755
  enabled: boolean;
573
- id: number;
756
+ streamId: string;
574
757
  active: boolean;
575
758
  title: string;
576
759
  trigger: {
577
760
  type: "manual";
578
- ioPort: string | null;
761
+ ioPort: number | null;
579
762
  } | {
580
763
  type: "onetime";
581
- ioPort: string | null;
582
764
  startTime: number;
583
765
  stopTime: number;
584
766
  } | {
@@ -595,44 +777,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
595
777
  isActive: boolean;
596
778
  }[];
597
779
  };
780
+ platform: "ibm";
598
781
  } | {
599
- type: "da_cast";
782
+ status: {
783
+ port: number | null;
784
+ led: boolean;
785
+ };
600
786
  audio: {
601
- source: "none";
602
- } | {
603
787
  source: "microphone";
604
788
  audioChannelNbr: 1 | 2;
789
+ forceStereo: 0 | 1;
605
790
  } | {
606
791
  source: "file";
792
+ forceStereo: 0 | 1;
607
793
  fileName: string;
608
794
  filePath: string;
609
795
  } | {
610
796
  source: "url";
797
+ forceStereo: 0 | 1;
611
798
  fileName: string;
612
799
  fileUrl: string;
613
800
  avSyncMsec: number;
614
- };
801
+ } | null;
615
802
  video: {
616
- inputType: "RTSP_URL" | "CSw" | "CRS";
803
+ output: {
804
+ type: "video" | "images";
805
+ url: string;
806
+ callApi: false;
807
+ } | {
808
+ type: "video";
809
+ callApi: true;
810
+ prepareAheadS: number;
811
+ };
812
+ outputParameters: string;
813
+ input: {
814
+ type: "RTSP_URL";
815
+ url: string;
816
+ } | {
817
+ type: "CSw";
818
+ } | {
819
+ type: "CRS";
820
+ };
821
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
617
822
  internalVapixParameters: string;
618
823
  userVapixParameters: string;
619
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
620
- sourceUrl?: string | undefined;
621
824
  streamDelay?: {
622
825
  value: number;
623
826
  unit: "seconds" | "minutes" | "hours";
624
827
  } | undefined;
625
828
  };
626
829
  enabled: boolean;
627
- id: number;
830
+ streamId: string;
628
831
  active: boolean;
629
832
  title: string;
630
833
  trigger: {
631
834
  type: "manual";
632
- ioPort: string | null;
835
+ ioPort: number | null;
633
836
  } | {
634
837
  type: "onetime";
635
- ioPort: string | null;
636
838
  startTime: number;
637
839
  stopTime: number;
638
840
  } | {
@@ -649,44 +851,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
649
851
  isActive: boolean;
650
852
  }[];
651
853
  };
854
+ platform: "mpeg_dvb";
652
855
  } | {
653
- type: "hls_pull";
856
+ status: {
857
+ port: number | null;
858
+ led: boolean;
859
+ };
654
860
  audio: {
655
- source: "none";
656
- } | {
657
861
  source: "microphone";
658
862
  audioChannelNbr: 1 | 2;
863
+ forceStereo: 0 | 1;
659
864
  } | {
660
865
  source: "file";
866
+ forceStereo: 0 | 1;
661
867
  fileName: string;
662
868
  filePath: string;
663
869
  } | {
664
870
  source: "url";
871
+ forceStereo: 0 | 1;
665
872
  fileName: string;
666
873
  fileUrl: string;
667
874
  avSyncMsec: number;
668
- };
875
+ } | null;
669
876
  video: {
670
- inputType: "RTSP_URL" | "CSw" | "CRS";
877
+ output: {
878
+ type: "video" | "images";
879
+ url: string;
880
+ callApi: false;
881
+ } | {
882
+ type: "video";
883
+ callApi: true;
884
+ prepareAheadS: number;
885
+ };
886
+ outputParameters: string;
887
+ input: {
888
+ type: "RTSP_URL";
889
+ url: string;
890
+ } | {
891
+ type: "CSw";
892
+ } | {
893
+ type: "CRS";
894
+ };
895
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
671
896
  internalVapixParameters: string;
672
897
  userVapixParameters: string;
673
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
674
- sourceUrl?: string | undefined;
675
898
  streamDelay?: {
676
899
  value: number;
677
900
  unit: "seconds" | "minutes" | "hours";
678
901
  } | undefined;
679
902
  };
680
903
  enabled: boolean;
681
- id: number;
904
+ streamId: string;
682
905
  active: boolean;
683
906
  title: string;
684
907
  trigger: {
685
908
  type: "manual";
686
- ioPort: string | null;
909
+ ioPort: number | null;
687
910
  } | {
688
911
  type: "onetime";
689
- ioPort: string | null;
690
912
  startTime: number;
691
913
  stopTime: number;
692
914
  } | {
@@ -703,44 +925,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
703
925
  isActive: boolean;
704
926
  }[];
705
927
  };
928
+ platform: "microsoft_azure";
706
929
  } | {
707
- type: "hls_push";
930
+ status: {
931
+ port: number | null;
932
+ led: boolean;
933
+ };
708
934
  audio: {
709
- source: "none";
710
- } | {
711
935
  source: "microphone";
712
936
  audioChannelNbr: 1 | 2;
937
+ forceStereo: 0 | 1;
713
938
  } | {
714
939
  source: "file";
940
+ forceStereo: 0 | 1;
715
941
  fileName: string;
716
942
  filePath: string;
717
943
  } | {
718
944
  source: "url";
945
+ forceStereo: 0 | 1;
719
946
  fileName: string;
720
947
  fileUrl: string;
721
948
  avSyncMsec: number;
722
- };
949
+ } | null;
723
950
  video: {
724
- inputType: "RTSP_URL" | "CSw" | "CRS";
951
+ output: {
952
+ type: "video" | "images";
953
+ url: string;
954
+ callApi: false;
955
+ } | {
956
+ type: "video";
957
+ callApi: true;
958
+ prepareAheadS: number;
959
+ };
960
+ outputParameters: string;
961
+ input: {
962
+ type: "RTSP_URL";
963
+ url: string;
964
+ } | {
965
+ type: "CSw";
966
+ } | {
967
+ type: "CRS";
968
+ };
969
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
725
970
  internalVapixParameters: string;
726
971
  userVapixParameters: string;
727
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
728
- sourceUrl?: string | undefined;
729
972
  streamDelay?: {
730
973
  value: number;
731
974
  unit: "seconds" | "minutes" | "hours";
732
975
  } | undefined;
733
976
  };
734
977
  enabled: boolean;
735
- id: number;
978
+ streamId: string;
736
979
  active: boolean;
737
980
  title: string;
738
981
  trigger: {
739
982
  type: "manual";
740
- ioPort: string | null;
983
+ ioPort: number | null;
741
984
  } | {
742
985
  type: "onetime";
743
- ioPort: string | null;
744
986
  startTime: number;
745
987
  stopTime: number;
746
988
  } | {
@@ -757,44 +999,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
757
999
  isActive: boolean;
758
1000
  }[];
759
1001
  };
1002
+ platform: "microsoft_stream";
760
1003
  } | {
761
- type: "wowza";
1004
+ status: {
1005
+ port: number | null;
1006
+ led: boolean;
1007
+ };
762
1008
  audio: {
763
- source: "none";
764
- } | {
765
1009
  source: "microphone";
766
1010
  audioChannelNbr: 1 | 2;
1011
+ forceStereo: 0 | 1;
767
1012
  } | {
768
1013
  source: "file";
1014
+ forceStereo: 0 | 1;
769
1015
  fileName: string;
770
1016
  filePath: string;
771
1017
  } | {
772
1018
  source: "url";
1019
+ forceStereo: 0 | 1;
773
1020
  fileName: string;
774
1021
  fileUrl: string;
775
1022
  avSyncMsec: number;
776
- };
1023
+ } | null;
777
1024
  video: {
778
- inputType: "RTSP_URL" | "CSw" | "CRS";
1025
+ output: {
1026
+ type: "video" | "images";
1027
+ url: string;
1028
+ callApi: false;
1029
+ } | {
1030
+ type: "video";
1031
+ callApi: true;
1032
+ prepareAheadS: number;
1033
+ };
1034
+ outputParameters: string;
1035
+ input: {
1036
+ type: "RTSP_URL";
1037
+ url: string;
1038
+ } | {
1039
+ type: "CSw";
1040
+ } | {
1041
+ type: "CRS";
1042
+ };
1043
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
779
1044
  internalVapixParameters: string;
780
1045
  userVapixParameters: string;
781
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
782
- sourceUrl?: string | undefined;
783
1046
  streamDelay?: {
784
1047
  value: number;
785
1048
  unit: "seconds" | "minutes" | "hours";
786
1049
  } | undefined;
787
1050
  };
788
1051
  enabled: boolean;
789
- id: number;
1052
+ streamId: string;
790
1053
  active: boolean;
791
1054
  title: string;
792
1055
  trigger: {
793
1056
  type: "manual";
794
- ioPort: string | null;
1057
+ ioPort: number | null;
795
1058
  } | {
796
1059
  type: "onetime";
797
- ioPort: string | null;
798
1060
  startTime: number;
799
1061
  stopTime: number;
800
1062
  } | {
@@ -811,44 +1073,66 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
811
1073
  isActive: boolean;
812
1074
  }[];
813
1075
  };
1076
+ platform: "rtmp";
1077
+ streamKey: string;
1078
+ streamIdentifier?: string | undefined;
814
1079
  } | {
815
- type: "dailymotion";
1080
+ status: {
1081
+ port: number | null;
1082
+ led: boolean;
1083
+ };
816
1084
  audio: {
817
- source: "none";
818
- } | {
819
1085
  source: "microphone";
820
1086
  audioChannelNbr: 1 | 2;
1087
+ forceStereo: 0 | 1;
821
1088
  } | {
822
1089
  source: "file";
1090
+ forceStereo: 0 | 1;
823
1091
  fileName: string;
824
1092
  filePath: string;
825
1093
  } | {
826
1094
  source: "url";
1095
+ forceStereo: 0 | 1;
827
1096
  fileName: string;
828
1097
  fileUrl: string;
829
1098
  avSyncMsec: number;
830
- };
1099
+ } | null;
831
1100
  video: {
832
- inputType: "RTSP_URL" | "CSw" | "CRS";
1101
+ output: {
1102
+ type: "video" | "images";
1103
+ url: string;
1104
+ callApi: false;
1105
+ } | {
1106
+ type: "video";
1107
+ callApi: true;
1108
+ prepareAheadS: number;
1109
+ };
1110
+ outputParameters: string;
1111
+ input: {
1112
+ type: "RTSP_URL";
1113
+ url: string;
1114
+ } | {
1115
+ type: "CSw";
1116
+ } | {
1117
+ type: "CRS";
1118
+ };
1119
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
833
1120
  internalVapixParameters: string;
834
1121
  userVapixParameters: string;
835
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
836
- sourceUrl?: string | undefined;
837
1122
  streamDelay?: {
838
1123
  value: number;
839
1124
  unit: "seconds" | "minutes" | "hours";
840
1125
  } | undefined;
841
1126
  };
842
1127
  enabled: boolean;
843
- id: number;
1128
+ streamId: string;
844
1129
  active: boolean;
845
1130
  title: string;
846
1131
  trigger: {
847
1132
  type: "manual";
848
- ioPort: string | null;
1133
+ ioPort: number | null;
849
1134
  } | {
850
1135
  type: "onetime";
851
- ioPort: string | null;
852
1136
  startTime: number;
853
1137
  stopTime: number;
854
1138
  } | {
@@ -865,44 +1149,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
865
1149
  isActive: boolean;
866
1150
  }[];
867
1151
  };
1152
+ platform: "sd_card";
868
1153
  } | {
869
- type: "ibm";
1154
+ status: {
1155
+ port: number | null;
1156
+ led: boolean;
1157
+ };
870
1158
  audio: {
871
- source: "none";
872
- } | {
873
1159
  source: "microphone";
874
1160
  audioChannelNbr: 1 | 2;
1161
+ forceStereo: 0 | 1;
875
1162
  } | {
876
1163
  source: "file";
1164
+ forceStereo: 0 | 1;
877
1165
  fileName: string;
878
1166
  filePath: string;
879
1167
  } | {
880
1168
  source: "url";
1169
+ forceStereo: 0 | 1;
881
1170
  fileName: string;
882
1171
  fileUrl: string;
883
1172
  avSyncMsec: number;
884
- };
1173
+ } | null;
885
1174
  video: {
886
- inputType: "RTSP_URL" | "CSw" | "CRS";
1175
+ output: {
1176
+ type: "video" | "images";
1177
+ url: string;
1178
+ callApi: false;
1179
+ } | {
1180
+ type: "video";
1181
+ callApi: true;
1182
+ prepareAheadS: number;
1183
+ };
1184
+ outputParameters: string;
1185
+ input: {
1186
+ type: "RTSP_URL";
1187
+ url: string;
1188
+ } | {
1189
+ type: "CSw";
1190
+ } | {
1191
+ type: "CRS";
1192
+ };
1193
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
887
1194
  internalVapixParameters: string;
888
1195
  userVapixParameters: string;
889
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
890
- sourceUrl?: string | undefined;
891
1196
  streamDelay?: {
892
1197
  value: number;
893
1198
  unit: "seconds" | "minutes" | "hours";
894
1199
  } | undefined;
895
1200
  };
896
1201
  enabled: boolean;
897
- id: number;
1202
+ streamId: string;
898
1203
  active: boolean;
899
1204
  title: string;
900
1205
  trigger: {
901
1206
  type: "manual";
902
- ioPort: string | null;
1207
+ ioPort: number | null;
903
1208
  } | {
904
1209
  type: "onetime";
905
- ioPort: string | null;
906
1210
  startTime: number;
907
1211
  stopTime: number;
908
1212
  } | {
@@ -919,44 +1223,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
919
1223
  isActive: boolean;
920
1224
  }[];
921
1225
  };
1226
+ platform: "srt";
922
1227
  } | {
923
- type: "microsoft_azure";
1228
+ status: {
1229
+ port: number | null;
1230
+ led: boolean;
1231
+ };
924
1232
  audio: {
925
- source: "none";
926
- } | {
927
1233
  source: "microphone";
928
1234
  audioChannelNbr: 1 | 2;
1235
+ forceStereo: 0 | 1;
929
1236
  } | {
930
1237
  source: "file";
1238
+ forceStereo: 0 | 1;
931
1239
  fileName: string;
932
1240
  filePath: string;
933
1241
  } | {
934
1242
  source: "url";
1243
+ forceStereo: 0 | 1;
935
1244
  fileName: string;
936
1245
  fileUrl: string;
937
1246
  avSyncMsec: number;
938
- };
1247
+ } | null;
939
1248
  video: {
940
- inputType: "RTSP_URL" | "CSw" | "CRS";
1249
+ output: {
1250
+ type: "video" | "images";
1251
+ url: string;
1252
+ callApi: false;
1253
+ } | {
1254
+ type: "video";
1255
+ callApi: true;
1256
+ prepareAheadS: number;
1257
+ };
1258
+ outputParameters: string;
1259
+ input: {
1260
+ type: "RTSP_URL";
1261
+ url: string;
1262
+ } | {
1263
+ type: "CSw";
1264
+ } | {
1265
+ type: "CRS";
1266
+ };
1267
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
941
1268
  internalVapixParameters: string;
942
1269
  userVapixParameters: string;
943
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
944
- sourceUrl?: string | undefined;
945
1270
  streamDelay?: {
946
1271
  value: number;
947
1272
  unit: "seconds" | "minutes" | "hours";
948
1273
  } | undefined;
949
1274
  };
950
1275
  enabled: boolean;
951
- id: number;
1276
+ streamId: string;
952
1277
  active: boolean;
953
1278
  title: string;
954
1279
  trigger: {
955
1280
  type: "manual";
956
- ioPort: string | null;
1281
+ ioPort: number | null;
957
1282
  } | {
958
1283
  type: "onetime";
959
- ioPort: string | null;
960
1284
  startTime: number;
961
1285
  stopTime: number;
962
1286
  } | {
@@ -973,44 +1297,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
973
1297
  isActive: boolean;
974
1298
  }[];
975
1299
  };
1300
+ platform: "twitch";
976
1301
  } | {
977
- type: "microsoft_stream";
1302
+ status: {
1303
+ port: number | null;
1304
+ led: boolean;
1305
+ };
978
1306
  audio: {
979
- source: "none";
980
- } | {
981
1307
  source: "microphone";
982
1308
  audioChannelNbr: 1 | 2;
1309
+ forceStereo: 0 | 1;
983
1310
  } | {
984
1311
  source: "file";
1312
+ forceStereo: 0 | 1;
985
1313
  fileName: string;
986
1314
  filePath: string;
987
1315
  } | {
988
1316
  source: "url";
1317
+ forceStereo: 0 | 1;
989
1318
  fileName: string;
990
1319
  fileUrl: string;
991
1320
  avSyncMsec: number;
992
- };
1321
+ } | null;
993
1322
  video: {
994
- inputType: "RTSP_URL" | "CSw" | "CRS";
1323
+ output: {
1324
+ type: "video" | "images";
1325
+ url: string;
1326
+ callApi: false;
1327
+ } | {
1328
+ type: "video";
1329
+ callApi: true;
1330
+ prepareAheadS: number;
1331
+ };
1332
+ outputParameters: string;
1333
+ input: {
1334
+ type: "RTSP_URL";
1335
+ url: string;
1336
+ } | {
1337
+ type: "CSw";
1338
+ } | {
1339
+ type: "CRS";
1340
+ };
1341
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
995
1342
  internalVapixParameters: string;
996
1343
  userVapixParameters: string;
997
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
998
- sourceUrl?: string | undefined;
999
1344
  streamDelay?: {
1000
1345
  value: number;
1001
1346
  unit: "seconds" | "minutes" | "hours";
1002
1347
  } | undefined;
1003
1348
  };
1004
1349
  enabled: boolean;
1005
- id: number;
1350
+ streamId: string;
1006
1351
  active: boolean;
1007
1352
  title: string;
1008
1353
  trigger: {
1009
1354
  type: "manual";
1010
- ioPort: string | null;
1355
+ ioPort: number | null;
1011
1356
  } | {
1012
1357
  type: "onetime";
1013
- ioPort: string | null;
1014
1358
  startTime: number;
1015
1359
  stopTime: number;
1016
1360
  } | {
@@ -1027,44 +1371,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1027
1371
  isActive: boolean;
1028
1372
  }[];
1029
1373
  };
1374
+ platform: "vimeo";
1030
1375
  } | {
1031
- type: "game_changer";
1376
+ status: {
1377
+ port: number | null;
1378
+ led: boolean;
1379
+ };
1032
1380
  audio: {
1033
- source: "none";
1034
- } | {
1035
1381
  source: "microphone";
1036
1382
  audioChannelNbr: 1 | 2;
1383
+ forceStereo: 0 | 1;
1037
1384
  } | {
1038
1385
  source: "file";
1386
+ forceStereo: 0 | 1;
1039
1387
  fileName: string;
1040
1388
  filePath: string;
1041
1389
  } | {
1042
1390
  source: "url";
1391
+ forceStereo: 0 | 1;
1043
1392
  fileName: string;
1044
1393
  fileUrl: string;
1045
1394
  avSyncMsec: number;
1046
- };
1395
+ } | null;
1047
1396
  video: {
1048
- inputType: "RTSP_URL" | "CSw" | "CRS";
1397
+ output: {
1398
+ type: "video" | "images";
1399
+ url: string;
1400
+ callApi: false;
1401
+ } | {
1402
+ type: "video";
1403
+ callApi: true;
1404
+ prepareAheadS: number;
1405
+ };
1406
+ outputParameters: string;
1407
+ input: {
1408
+ type: "RTSP_URL";
1409
+ url: string;
1410
+ } | {
1411
+ type: "CSw";
1412
+ } | {
1413
+ type: "CRS";
1414
+ };
1415
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1049
1416
  internalVapixParameters: string;
1050
1417
  userVapixParameters: string;
1051
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1052
- sourceUrl?: string | undefined;
1053
1418
  streamDelay?: {
1054
1419
  value: number;
1055
1420
  unit: "seconds" | "minutes" | "hours";
1056
1421
  } | undefined;
1057
1422
  };
1058
1423
  enabled: boolean;
1059
- id: number;
1424
+ streamId: string;
1060
1425
  active: boolean;
1061
1426
  title: string;
1062
1427
  trigger: {
1063
1428
  type: "manual";
1064
- ioPort: string | null;
1429
+ ioPort: number | null;
1065
1430
  } | {
1066
1431
  type: "onetime";
1067
- ioPort: string | null;
1068
1432
  startTime: number;
1069
1433
  stopTime: number;
1070
1434
  } | {
@@ -1081,50 +1445,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1081
1445
  isActive: boolean;
1082
1446
  }[];
1083
1447
  };
1084
- saveToSdCard: boolean;
1085
- statusCameraLed: boolean;
1086
- statusCameraOutput: string | null;
1087
- outputUrl: string;
1088
- streamKey: string;
1089
- streamIdentifier?: string | undefined;
1448
+ platform: "wowza";
1090
1449
  } | {
1091
- type: "youtube_rtmp";
1450
+ status: {
1451
+ port: number | null;
1452
+ led: boolean;
1453
+ };
1092
1454
  audio: {
1093
- source: "none";
1094
- } | {
1095
1455
  source: "microphone";
1096
1456
  audioChannelNbr: 1 | 2;
1457
+ forceStereo: 0 | 1;
1097
1458
  } | {
1098
1459
  source: "file";
1460
+ forceStereo: 0 | 1;
1099
1461
  fileName: string;
1100
1462
  filePath: string;
1101
1463
  } | {
1102
1464
  source: "url";
1465
+ forceStereo: 0 | 1;
1103
1466
  fileName: string;
1104
1467
  fileUrl: string;
1105
1468
  avSyncMsec: number;
1106
- };
1469
+ } | null;
1107
1470
  video: {
1108
- inputType: "RTSP_URL" | "CSw" | "CRS";
1471
+ output: {
1472
+ type: "video" | "images";
1473
+ url: string;
1474
+ callApi: false;
1475
+ } | {
1476
+ type: "video";
1477
+ callApi: true;
1478
+ prepareAheadS: number;
1479
+ };
1480
+ outputParameters: string;
1481
+ input: {
1482
+ type: "RTSP_URL";
1483
+ url: string;
1484
+ } | {
1485
+ type: "CSw";
1486
+ } | {
1487
+ type: "CRS";
1488
+ };
1489
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1109
1490
  internalVapixParameters: string;
1110
1491
  userVapixParameters: string;
1111
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1112
- sourceUrl?: string | undefined;
1113
1492
  streamDelay?: {
1114
1493
  value: number;
1115
1494
  unit: "seconds" | "minutes" | "hours";
1116
1495
  } | undefined;
1117
1496
  };
1118
1497
  enabled: boolean;
1119
- id: number;
1498
+ streamId: string;
1120
1499
  active: boolean;
1121
1500
  title: string;
1122
1501
  trigger: {
1123
1502
  type: "manual";
1124
- ioPort: string | null;
1503
+ ioPort: number | null;
1125
1504
  } | {
1126
1505
  type: "onetime";
1127
- ioPort: string | null;
1128
1506
  startTime: number;
1129
1507
  stopTime: number;
1130
1508
  } | {
@@ -1141,15 +1519,12 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1141
1519
  isActive: boolean;
1142
1520
  }[];
1143
1521
  };
1144
- saveToSdCard: boolean;
1145
- statusCameraLed: boolean;
1146
- statusCameraOutput: string | null;
1147
- outputUrl: string;
1522
+ platform: "youtube_rtmp";
1148
1523
  streamKey: string;
1149
1524
  streamIdentifier?: string | undefined;
1150
1525
  })[]>;
1151
1526
  setStreamList(streamList: TStreamList['streamList'], options?: THttpRequestOptions): Promise<void>;
1152
- getStream(streamId: number, options?: THttpRequestOptions): Promise<{
1527
+ getStream(streamId: string, options?: THttpRequestOptions): Promise<{
1153
1528
  post: {
1154
1529
  postLocation: "timeline";
1155
1530
  streamPrivacy: "public" | "friends" | "only_me";
@@ -1157,43 +1532,62 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1157
1532
  postLocation: "page";
1158
1533
  page: string;
1159
1534
  };
1160
- type: "facebook";
1535
+ status: {
1536
+ port: number | null;
1537
+ led: boolean;
1538
+ };
1161
1539
  audio: {
1162
- source: "none";
1163
- } | {
1164
1540
  source: "microphone";
1165
1541
  audioChannelNbr: 1 | 2;
1542
+ forceStereo: 0 | 1;
1166
1543
  } | {
1167
1544
  source: "file";
1545
+ forceStereo: 0 | 1;
1168
1546
  fileName: string;
1169
1547
  filePath: string;
1170
1548
  } | {
1171
1549
  source: "url";
1550
+ forceStereo: 0 | 1;
1172
1551
  fileName: string;
1173
1552
  fileUrl: string;
1174
1553
  avSyncMsec: number;
1175
- };
1554
+ } | null;
1176
1555
  video: {
1177
- inputType: "RTSP_URL" | "CSw" | "CRS";
1556
+ output: {
1557
+ type: "video" | "images";
1558
+ url: string;
1559
+ callApi: false;
1560
+ } | {
1561
+ type: "video";
1562
+ callApi: true;
1563
+ prepareAheadS: number;
1564
+ };
1565
+ outputParameters: string;
1566
+ input: {
1567
+ type: "RTSP_URL";
1568
+ url: string;
1569
+ } | {
1570
+ type: "CSw";
1571
+ } | {
1572
+ type: "CRS";
1573
+ };
1574
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1178
1575
  internalVapixParameters: string;
1179
1576
  userVapixParameters: string;
1180
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1181
- sourceUrl?: string | undefined;
1182
1577
  streamDelay?: {
1183
1578
  value: number;
1184
1579
  unit: "seconds" | "minutes" | "hours";
1185
1580
  } | undefined;
1186
1581
  };
1187
1582
  enabled: boolean;
1188
- id: number;
1583
+ streamId: string;
1189
1584
  active: boolean;
1190
1585
  title: string;
1191
1586
  trigger: {
1192
1587
  type: "manual";
1193
- ioPort: string | null;
1588
+ ioPort: number | null;
1194
1589
  } | {
1195
1590
  type: "onetime";
1196
- ioPort: string | null;
1197
1591
  startTime: number;
1198
1592
  stopTime: number;
1199
1593
  } | {
@@ -1210,51 +1604,67 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1210
1604
  isActive: boolean;
1211
1605
  }[];
1212
1606
  };
1607
+ platform: "facebook";
1213
1608
  deleteAfterEnd: boolean;
1214
- saveToSdCard: boolean;
1215
- statusCameraLed: boolean;
1216
- statusCameraOutput: string | null;
1217
1609
  countdown: boolean;
1218
1610
  description?: string | undefined;
1219
1611
  } | {
1220
- type: "mpeg_dvb";
1612
+ status: {
1613
+ port: number | null;
1614
+ led: boolean;
1615
+ };
1221
1616
  audio: {
1222
- source: "none";
1223
- } | {
1224
1617
  source: "microphone";
1225
1618
  audioChannelNbr: 1 | 2;
1619
+ forceStereo: 0 | 1;
1226
1620
  } | {
1227
1621
  source: "file";
1622
+ forceStereo: 0 | 1;
1228
1623
  fileName: string;
1229
1624
  filePath: string;
1230
1625
  } | {
1231
1626
  source: "url";
1627
+ forceStereo: 0 | 1;
1232
1628
  fileName: string;
1233
1629
  fileUrl: string;
1234
1630
  avSyncMsec: number;
1235
- };
1631
+ } | null;
1236
1632
  video: {
1237
- inputType: "RTSP_URL" | "CSw" | "CRS";
1633
+ output: {
1634
+ type: "video" | "images";
1635
+ url: string;
1636
+ callApi: false;
1637
+ } | {
1638
+ type: "video";
1639
+ callApi: true;
1640
+ prepareAheadS: number;
1641
+ };
1642
+ outputParameters: string;
1643
+ input: {
1644
+ type: "RTSP_URL";
1645
+ url: string;
1646
+ } | {
1647
+ type: "CSw";
1648
+ } | {
1649
+ type: "CRS";
1650
+ };
1651
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1238
1652
  internalVapixParameters: string;
1239
1653
  userVapixParameters: string;
1240
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1241
- sourceUrl?: string | undefined;
1242
1654
  streamDelay?: {
1243
1655
  value: number;
1244
1656
  unit: "seconds" | "minutes" | "hours";
1245
1657
  } | undefined;
1246
1658
  };
1247
- port: number;
1248
1659
  enabled: boolean;
1249
- id: number;
1660
+ streamId: string;
1250
1661
  active: boolean;
1251
1662
  title: string;
1252
1663
  trigger: {
1253
1664
  type: "manual";
1254
- ioPort: string | null;
1665
+ ioPort: number | null;
1255
1666
  } | {
1256
1667
  type: "onetime";
1257
- ioPort: string | null;
1258
1668
  startTime: number;
1259
1669
  stopTime: number;
1260
1670
  } | {
@@ -1271,50 +1681,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1271
1681
  isActive: boolean;
1272
1682
  }[];
1273
1683
  };
1274
- saveToSdCard: boolean;
1275
- statusCameraLed: boolean;
1276
- statusCameraOutput: string | null;
1277
- ipAddress: string;
1278
- outputUrl: string;
1279
- outputParameters: string;
1684
+ platform: "windy";
1280
1685
  } | {
1281
- type: "rtmp";
1686
+ status: {
1687
+ port: number | null;
1688
+ led: boolean;
1689
+ };
1282
1690
  audio: {
1283
- source: "none";
1284
- } | {
1285
1691
  source: "microphone";
1286
1692
  audioChannelNbr: 1 | 2;
1693
+ forceStereo: 0 | 1;
1287
1694
  } | {
1288
1695
  source: "file";
1696
+ forceStereo: 0 | 1;
1289
1697
  fileName: string;
1290
1698
  filePath: string;
1291
1699
  } | {
1292
1700
  source: "url";
1701
+ forceStereo: 0 | 1;
1293
1702
  fileName: string;
1294
1703
  fileUrl: string;
1295
1704
  avSyncMsec: number;
1296
- };
1705
+ } | null;
1297
1706
  video: {
1298
- inputType: "RTSP_URL" | "CSw" | "CRS";
1707
+ output: {
1708
+ type: "video" | "images";
1709
+ url: string;
1710
+ callApi: false;
1711
+ } | {
1712
+ type: "video";
1713
+ callApi: true;
1714
+ prepareAheadS: number;
1715
+ };
1716
+ outputParameters: string;
1717
+ input: {
1718
+ type: "RTSP_URL";
1719
+ url: string;
1720
+ } | {
1721
+ type: "CSw";
1722
+ } | {
1723
+ type: "CRS";
1724
+ };
1725
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1299
1726
  internalVapixParameters: string;
1300
1727
  userVapixParameters: string;
1301
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1302
- sourceUrl?: string | undefined;
1303
1728
  streamDelay?: {
1304
1729
  value: number;
1305
1730
  unit: "seconds" | "minutes" | "hours";
1306
1731
  } | undefined;
1307
1732
  };
1308
1733
  enabled: boolean;
1309
- id: number;
1734
+ streamId: string;
1310
1735
  active: boolean;
1311
1736
  title: string;
1312
1737
  trigger: {
1313
1738
  type: "manual";
1314
- ioPort: string | null;
1739
+ ioPort: number | null;
1315
1740
  } | {
1316
1741
  type: "onetime";
1317
- ioPort: string | null;
1318
1742
  startTime: number;
1319
1743
  stopTime: number;
1320
1744
  } | {
@@ -1331,50 +1755,75 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1331
1755
  isActive: boolean;
1332
1756
  }[];
1333
1757
  };
1334
- saveToSdCard: boolean;
1335
- statusCameraLed: boolean;
1336
- statusCameraOutput: string | null;
1337
- outputUrl: string;
1338
- streamKey: string;
1339
- streamIdentifier?: string | undefined;
1758
+ streamPrivacy: "public" | "unlisted" | "private";
1759
+ platform: "youtube";
1760
+ countdown: boolean;
1761
+ tags: string[];
1762
+ latency: "normal" | "low" | "ultra_low";
1763
+ afterEndStatus: "public" | "unlisted" | "private" | "no_change";
1764
+ dvr: boolean;
1765
+ hasWatchdogs: boolean;
1766
+ enableManualControl: boolean;
1767
+ playlist?: string | undefined;
1768
+ description?: string | undefined;
1769
+ notificationEmail?: string[] | undefined;
1340
1770
  } | {
1341
- type: "sd_card";
1771
+ status: {
1772
+ port: number | null;
1773
+ led: boolean;
1774
+ };
1342
1775
  audio: {
1343
- source: "none";
1344
- } | {
1345
1776
  source: "microphone";
1346
1777
  audioChannelNbr: 1 | 2;
1778
+ forceStereo: 0 | 1;
1347
1779
  } | {
1348
1780
  source: "file";
1781
+ forceStereo: 0 | 1;
1349
1782
  fileName: string;
1350
1783
  filePath: string;
1351
1784
  } | {
1352
1785
  source: "url";
1786
+ forceStereo: 0 | 1;
1353
1787
  fileName: string;
1354
1788
  fileUrl: string;
1355
1789
  avSyncMsec: number;
1356
- };
1790
+ } | null;
1357
1791
  video: {
1358
- inputType: "RTSP_URL" | "CSw" | "CRS";
1792
+ output: {
1793
+ type: "video" | "images";
1794
+ url: string;
1795
+ callApi: false;
1796
+ } | {
1797
+ type: "video";
1798
+ callApi: true;
1799
+ prepareAheadS: number;
1800
+ };
1801
+ outputParameters: string;
1802
+ input: {
1803
+ type: "RTSP_URL";
1804
+ url: string;
1805
+ } | {
1806
+ type: "CSw";
1807
+ } | {
1808
+ type: "CRS";
1809
+ };
1810
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1359
1811
  internalVapixParameters: string;
1360
1812
  userVapixParameters: string;
1361
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1362
- sourceUrl?: string | undefined;
1363
1813
  streamDelay?: {
1364
1814
  value: number;
1365
1815
  unit: "seconds" | "minutes" | "hours";
1366
1816
  } | undefined;
1367
1817
  };
1368
1818
  enabled: boolean;
1369
- id: number;
1819
+ streamId: string;
1370
1820
  active: boolean;
1371
1821
  title: string;
1372
1822
  trigger: {
1373
1823
  type: "manual";
1374
- ioPort: string | null;
1824
+ ioPort: number | null;
1375
1825
  } | {
1376
1826
  type: "onetime";
1377
- ioPort: string | null;
1378
1827
  startTime: number;
1379
1828
  stopTime: number;
1380
1829
  } | {
@@ -1391,44 +1840,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1391
1840
  isActive: boolean;
1392
1841
  }[];
1393
1842
  };
1843
+ platform: "church";
1394
1844
  } | {
1395
- type: "windy";
1845
+ status: {
1846
+ port: number | null;
1847
+ led: boolean;
1848
+ };
1396
1849
  audio: {
1397
- source: "none";
1398
- } | {
1399
1850
  source: "microphone";
1400
1851
  audioChannelNbr: 1 | 2;
1852
+ forceStereo: 0 | 1;
1401
1853
  } | {
1402
1854
  source: "file";
1855
+ forceStereo: 0 | 1;
1403
1856
  fileName: string;
1404
1857
  filePath: string;
1405
1858
  } | {
1406
1859
  source: "url";
1860
+ forceStereo: 0 | 1;
1407
1861
  fileName: string;
1408
1862
  fileUrl: string;
1409
1863
  avSyncMsec: number;
1410
- };
1864
+ } | null;
1411
1865
  video: {
1412
- inputType: "RTSP_URL" | "CSw" | "CRS";
1866
+ output: {
1867
+ type: "video" | "images";
1868
+ url: string;
1869
+ callApi: false;
1870
+ } | {
1871
+ type: "video";
1872
+ callApi: true;
1873
+ prepareAheadS: number;
1874
+ };
1875
+ outputParameters: string;
1876
+ input: {
1877
+ type: "RTSP_URL";
1878
+ url: string;
1879
+ } | {
1880
+ type: "CSw";
1881
+ } | {
1882
+ type: "CRS";
1883
+ };
1884
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1413
1885
  internalVapixParameters: string;
1414
1886
  userVapixParameters: string;
1415
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1416
- sourceUrl?: string | undefined;
1417
1887
  streamDelay?: {
1418
1888
  value: number;
1419
1889
  unit: "seconds" | "minutes" | "hours";
1420
1890
  } | undefined;
1421
1891
  };
1422
1892
  enabled: boolean;
1423
- id: number;
1893
+ streamId: string;
1424
1894
  active: boolean;
1425
1895
  title: string;
1426
1896
  trigger: {
1427
1897
  type: "manual";
1428
- ioPort: string | null;
1898
+ ioPort: number | null;
1429
1899
  } | {
1430
1900
  type: "onetime";
1431
- ioPort: string | null;
1432
1901
  startTime: number;
1433
1902
  stopTime: number;
1434
1903
  } | {
@@ -1445,44 +1914,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1445
1914
  isActive: boolean;
1446
1915
  }[];
1447
1916
  };
1917
+ platform: "da_cast";
1448
1918
  } | {
1449
- type: "youtube";
1919
+ status: {
1920
+ port: number | null;
1921
+ led: boolean;
1922
+ };
1450
1923
  audio: {
1451
- source: "none";
1452
- } | {
1453
1924
  source: "microphone";
1454
1925
  audioChannelNbr: 1 | 2;
1926
+ forceStereo: 0 | 1;
1455
1927
  } | {
1456
1928
  source: "file";
1929
+ forceStereo: 0 | 1;
1457
1930
  fileName: string;
1458
1931
  filePath: string;
1459
1932
  } | {
1460
1933
  source: "url";
1934
+ forceStereo: 0 | 1;
1461
1935
  fileName: string;
1462
1936
  fileUrl: string;
1463
1937
  avSyncMsec: number;
1464
- };
1938
+ } | null;
1465
1939
  video: {
1466
- inputType: "RTSP_URL" | "CSw" | "CRS";
1940
+ output: {
1941
+ type: "video" | "images";
1942
+ url: string;
1943
+ callApi: false;
1944
+ } | {
1945
+ type: "video";
1946
+ callApi: true;
1947
+ prepareAheadS: number;
1948
+ };
1949
+ outputParameters: string;
1950
+ input: {
1951
+ type: "RTSP_URL";
1952
+ url: string;
1953
+ } | {
1954
+ type: "CSw";
1955
+ } | {
1956
+ type: "CRS";
1957
+ };
1958
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1467
1959
  internalVapixParameters: string;
1468
1960
  userVapixParameters: string;
1469
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1470
- sourceUrl?: string | undefined;
1471
1961
  streamDelay?: {
1472
1962
  value: number;
1473
1963
  unit: "seconds" | "minutes" | "hours";
1474
1964
  } | undefined;
1475
1965
  };
1476
1966
  enabled: boolean;
1477
- id: number;
1967
+ streamId: string;
1478
1968
  active: boolean;
1479
1969
  title: string;
1480
1970
  trigger: {
1481
1971
  type: "manual";
1482
- ioPort: string | null;
1972
+ ioPort: number | null;
1483
1973
  } | {
1484
1974
  type: "onetime";
1485
- ioPort: string | null;
1486
1975
  startTime: number;
1487
1976
  stopTime: number;
1488
1977
  } | {
@@ -1499,58 +1988,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1499
1988
  isActive: boolean;
1500
1989
  }[];
1501
1990
  };
1502
- streamPrivacy: "public" | "unlisted" | "private";
1503
- saveToSdCard: boolean;
1504
- statusCameraLed: boolean;
1505
- statusCameraOutput: string | null;
1506
- countdown: boolean;
1507
- tags: string[];
1508
- latency: "normal" | "low" | "ultra_low";
1509
- afterEndStatus: "public" | "unlisted" | "private" | "no_change";
1510
- dvr: boolean;
1511
- hasWatchdogs: boolean;
1512
- enableManualControl: boolean;
1513
- playlist?: string | undefined;
1514
- description?: string | undefined;
1515
- notificationEmail?: string[] | undefined;
1991
+ platform: "dailymotion";
1516
1992
  } | {
1517
- type: "vimeo";
1993
+ status: {
1994
+ port: number | null;
1995
+ led: boolean;
1996
+ };
1518
1997
  audio: {
1519
- source: "none";
1520
- } | {
1521
1998
  source: "microphone";
1522
1999
  audioChannelNbr: 1 | 2;
2000
+ forceStereo: 0 | 1;
1523
2001
  } | {
1524
2002
  source: "file";
2003
+ forceStereo: 0 | 1;
1525
2004
  fileName: string;
1526
2005
  filePath: string;
1527
2006
  } | {
1528
2007
  source: "url";
2008
+ forceStereo: 0 | 1;
1529
2009
  fileName: string;
1530
2010
  fileUrl: string;
1531
2011
  avSyncMsec: number;
1532
- };
2012
+ } | null;
1533
2013
  video: {
1534
- inputType: "RTSP_URL" | "CSw" | "CRS";
2014
+ output: {
2015
+ type: "video" | "images";
2016
+ url: string;
2017
+ callApi: false;
2018
+ } | {
2019
+ type: "video";
2020
+ callApi: true;
2021
+ prepareAheadS: number;
2022
+ };
2023
+ outputParameters: string;
2024
+ input: {
2025
+ type: "RTSP_URL";
2026
+ url: string;
2027
+ } | {
2028
+ type: "CSw";
2029
+ } | {
2030
+ type: "CRS";
2031
+ };
2032
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1535
2033
  internalVapixParameters: string;
1536
2034
  userVapixParameters: string;
1537
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1538
- sourceUrl?: string | undefined;
1539
2035
  streamDelay?: {
1540
2036
  value: number;
1541
2037
  unit: "seconds" | "minutes" | "hours";
1542
2038
  } | undefined;
1543
2039
  };
1544
2040
  enabled: boolean;
1545
- id: number;
2041
+ streamId: string;
1546
2042
  active: boolean;
1547
2043
  title: string;
1548
2044
  trigger: {
1549
2045
  type: "manual";
1550
- ioPort: string | null;
2046
+ ioPort: number | null;
1551
2047
  } | {
1552
2048
  type: "onetime";
1553
- ioPort: string | null;
1554
2049
  startTime: number;
1555
2050
  stopTime: number;
1556
2051
  } | {
@@ -1567,44 +2062,66 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1567
2062
  isActive: boolean;
1568
2063
  }[];
1569
2064
  };
2065
+ platform: "game_changer";
2066
+ streamKey: string;
2067
+ streamIdentifier?: string | undefined;
1570
2068
  } | {
1571
- type: "twitch";
2069
+ status: {
2070
+ port: number | null;
2071
+ led: boolean;
2072
+ };
1572
2073
  audio: {
1573
- source: "none";
1574
- } | {
1575
2074
  source: "microphone";
1576
2075
  audioChannelNbr: 1 | 2;
2076
+ forceStereo: 0 | 1;
1577
2077
  } | {
1578
2078
  source: "file";
2079
+ forceStereo: 0 | 1;
1579
2080
  fileName: string;
1580
2081
  filePath: string;
1581
2082
  } | {
1582
2083
  source: "url";
2084
+ forceStereo: 0 | 1;
1583
2085
  fileName: string;
1584
2086
  fileUrl: string;
1585
2087
  avSyncMsec: number;
1586
- };
2088
+ } | null;
1587
2089
  video: {
1588
- inputType: "RTSP_URL" | "CSw" | "CRS";
2090
+ output: {
2091
+ type: "video" | "images";
2092
+ url: string;
2093
+ callApi: false;
2094
+ } | {
2095
+ type: "video";
2096
+ callApi: true;
2097
+ prepareAheadS: number;
2098
+ };
2099
+ outputParameters: string;
2100
+ input: {
2101
+ type: "RTSP_URL";
2102
+ url: string;
2103
+ } | {
2104
+ type: "CSw";
2105
+ } | {
2106
+ type: "CRS";
2107
+ };
2108
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1589
2109
  internalVapixParameters: string;
1590
2110
  userVapixParameters: string;
1591
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1592
- sourceUrl?: string | undefined;
1593
2111
  streamDelay?: {
1594
2112
  value: number;
1595
2113
  unit: "seconds" | "minutes" | "hours";
1596
2114
  } | undefined;
1597
2115
  };
1598
2116
  enabled: boolean;
1599
- id: number;
2117
+ streamId: string;
1600
2118
  active: boolean;
1601
2119
  title: string;
1602
2120
  trigger: {
1603
2121
  type: "manual";
1604
- ioPort: string | null;
2122
+ ioPort: number | null;
1605
2123
  } | {
1606
2124
  type: "onetime";
1607
- ioPort: string | null;
1608
2125
  startTime: number;
1609
2126
  stopTime: number;
1610
2127
  } | {
@@ -1621,44 +2138,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1621
2138
  isActive: boolean;
1622
2139
  }[];
1623
2140
  };
2141
+ platform: "hls_pull";
1624
2142
  } | {
1625
- type: "church";
2143
+ status: {
2144
+ port: number | null;
2145
+ led: boolean;
2146
+ };
1626
2147
  audio: {
1627
- source: "none";
1628
- } | {
1629
2148
  source: "microphone";
1630
2149
  audioChannelNbr: 1 | 2;
2150
+ forceStereo: 0 | 1;
1631
2151
  } | {
1632
2152
  source: "file";
2153
+ forceStereo: 0 | 1;
1633
2154
  fileName: string;
1634
2155
  filePath: string;
1635
2156
  } | {
1636
2157
  source: "url";
2158
+ forceStereo: 0 | 1;
1637
2159
  fileName: string;
1638
2160
  fileUrl: string;
1639
2161
  avSyncMsec: number;
1640
- };
2162
+ } | null;
1641
2163
  video: {
1642
- inputType: "RTSP_URL" | "CSw" | "CRS";
2164
+ output: {
2165
+ type: "video" | "images";
2166
+ url: string;
2167
+ callApi: false;
2168
+ } | {
2169
+ type: "video";
2170
+ callApi: true;
2171
+ prepareAheadS: number;
2172
+ };
2173
+ outputParameters: string;
2174
+ input: {
2175
+ type: "RTSP_URL";
2176
+ url: string;
2177
+ } | {
2178
+ type: "CSw";
2179
+ } | {
2180
+ type: "CRS";
2181
+ };
2182
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1643
2183
  internalVapixParameters: string;
1644
2184
  userVapixParameters: string;
1645
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1646
- sourceUrl?: string | undefined;
1647
2185
  streamDelay?: {
1648
2186
  value: number;
1649
2187
  unit: "seconds" | "minutes" | "hours";
1650
2188
  } | undefined;
1651
2189
  };
1652
2190
  enabled: boolean;
1653
- id: number;
2191
+ streamId: string;
1654
2192
  active: boolean;
1655
2193
  title: string;
1656
2194
  trigger: {
1657
2195
  type: "manual";
1658
- ioPort: string | null;
2196
+ ioPort: number | null;
1659
2197
  } | {
1660
2198
  type: "onetime";
1661
- ioPort: string | null;
1662
2199
  startTime: number;
1663
2200
  stopTime: number;
1664
2201
  } | {
@@ -1675,44 +2212,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1675
2212
  isActive: boolean;
1676
2213
  }[];
1677
2214
  };
2215
+ platform: "hls_push";
1678
2216
  } | {
1679
- type: "srt";
2217
+ status: {
2218
+ port: number | null;
2219
+ led: boolean;
2220
+ };
1680
2221
  audio: {
1681
- source: "none";
1682
- } | {
1683
2222
  source: "microphone";
1684
2223
  audioChannelNbr: 1 | 2;
2224
+ forceStereo: 0 | 1;
1685
2225
  } | {
1686
2226
  source: "file";
2227
+ forceStereo: 0 | 1;
1687
2228
  fileName: string;
1688
2229
  filePath: string;
1689
2230
  } | {
1690
2231
  source: "url";
2232
+ forceStereo: 0 | 1;
1691
2233
  fileName: string;
1692
2234
  fileUrl: string;
1693
2235
  avSyncMsec: number;
1694
- };
2236
+ } | null;
1695
2237
  video: {
1696
- inputType: "RTSP_URL" | "CSw" | "CRS";
2238
+ output: {
2239
+ type: "video" | "images";
2240
+ url: string;
2241
+ callApi: false;
2242
+ } | {
2243
+ type: "video";
2244
+ callApi: true;
2245
+ prepareAheadS: number;
2246
+ };
2247
+ outputParameters: string;
2248
+ input: {
2249
+ type: "RTSP_URL";
2250
+ url: string;
2251
+ } | {
2252
+ type: "CSw";
2253
+ } | {
2254
+ type: "CRS";
2255
+ };
2256
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1697
2257
  internalVapixParameters: string;
1698
2258
  userVapixParameters: string;
1699
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1700
- sourceUrl?: string | undefined;
1701
2259
  streamDelay?: {
1702
2260
  value: number;
1703
2261
  unit: "seconds" | "minutes" | "hours";
1704
2262
  } | undefined;
1705
2263
  };
1706
2264
  enabled: boolean;
1707
- id: number;
2265
+ streamId: string;
1708
2266
  active: boolean;
1709
2267
  title: string;
1710
2268
  trigger: {
1711
2269
  type: "manual";
1712
- ioPort: string | null;
2270
+ ioPort: number | null;
1713
2271
  } | {
1714
2272
  type: "onetime";
1715
- ioPort: string | null;
1716
2273
  startTime: number;
1717
2274
  stopTime: number;
1718
2275
  } | {
@@ -1729,44 +2286,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1729
2286
  isActive: boolean;
1730
2287
  }[];
1731
2288
  };
2289
+ platform: "ibm";
1732
2290
  } | {
1733
- type: "da_cast";
2291
+ status: {
2292
+ port: number | null;
2293
+ led: boolean;
2294
+ };
1734
2295
  audio: {
1735
- source: "none";
1736
- } | {
1737
2296
  source: "microphone";
1738
2297
  audioChannelNbr: 1 | 2;
2298
+ forceStereo: 0 | 1;
1739
2299
  } | {
1740
2300
  source: "file";
2301
+ forceStereo: 0 | 1;
1741
2302
  fileName: string;
1742
2303
  filePath: string;
1743
2304
  } | {
1744
2305
  source: "url";
2306
+ forceStereo: 0 | 1;
1745
2307
  fileName: string;
1746
2308
  fileUrl: string;
1747
2309
  avSyncMsec: number;
1748
- };
2310
+ } | null;
1749
2311
  video: {
1750
- inputType: "RTSP_URL" | "CSw" | "CRS";
2312
+ output: {
2313
+ type: "video" | "images";
2314
+ url: string;
2315
+ callApi: false;
2316
+ } | {
2317
+ type: "video";
2318
+ callApi: true;
2319
+ prepareAheadS: number;
2320
+ };
2321
+ outputParameters: string;
2322
+ input: {
2323
+ type: "RTSP_URL";
2324
+ url: string;
2325
+ } | {
2326
+ type: "CSw";
2327
+ } | {
2328
+ type: "CRS";
2329
+ };
2330
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1751
2331
  internalVapixParameters: string;
1752
2332
  userVapixParameters: string;
1753
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1754
- sourceUrl?: string | undefined;
1755
2333
  streamDelay?: {
1756
2334
  value: number;
1757
2335
  unit: "seconds" | "minutes" | "hours";
1758
2336
  } | undefined;
1759
2337
  };
1760
2338
  enabled: boolean;
1761
- id: number;
2339
+ streamId: string;
1762
2340
  active: boolean;
1763
2341
  title: string;
1764
2342
  trigger: {
1765
2343
  type: "manual";
1766
- ioPort: string | null;
2344
+ ioPort: number | null;
1767
2345
  } | {
1768
2346
  type: "onetime";
1769
- ioPort: string | null;
1770
2347
  startTime: number;
1771
2348
  stopTime: number;
1772
2349
  } | {
@@ -1783,44 +2360,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1783
2360
  isActive: boolean;
1784
2361
  }[];
1785
2362
  };
2363
+ platform: "mpeg_dvb";
1786
2364
  } | {
1787
- type: "hls_pull";
2365
+ status: {
2366
+ port: number | null;
2367
+ led: boolean;
2368
+ };
1788
2369
  audio: {
1789
- source: "none";
1790
- } | {
1791
2370
  source: "microphone";
1792
2371
  audioChannelNbr: 1 | 2;
2372
+ forceStereo: 0 | 1;
1793
2373
  } | {
1794
2374
  source: "file";
2375
+ forceStereo: 0 | 1;
1795
2376
  fileName: string;
1796
2377
  filePath: string;
1797
2378
  } | {
1798
2379
  source: "url";
2380
+ forceStereo: 0 | 1;
1799
2381
  fileName: string;
1800
2382
  fileUrl: string;
1801
2383
  avSyncMsec: number;
1802
- };
2384
+ } | null;
1803
2385
  video: {
1804
- inputType: "RTSP_URL" | "CSw" | "CRS";
2386
+ output: {
2387
+ type: "video" | "images";
2388
+ url: string;
2389
+ callApi: false;
2390
+ } | {
2391
+ type: "video";
2392
+ callApi: true;
2393
+ prepareAheadS: number;
2394
+ };
2395
+ outputParameters: string;
2396
+ input: {
2397
+ type: "RTSP_URL";
2398
+ url: string;
2399
+ } | {
2400
+ type: "CSw";
2401
+ } | {
2402
+ type: "CRS";
2403
+ };
2404
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1805
2405
  internalVapixParameters: string;
1806
2406
  userVapixParameters: string;
1807
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1808
- sourceUrl?: string | undefined;
1809
2407
  streamDelay?: {
1810
2408
  value: number;
1811
2409
  unit: "seconds" | "minutes" | "hours";
1812
2410
  } | undefined;
1813
2411
  };
1814
2412
  enabled: boolean;
1815
- id: number;
2413
+ streamId: string;
1816
2414
  active: boolean;
1817
2415
  title: string;
1818
2416
  trigger: {
1819
2417
  type: "manual";
1820
- ioPort: string | null;
2418
+ ioPort: number | null;
1821
2419
  } | {
1822
2420
  type: "onetime";
1823
- ioPort: string | null;
1824
2421
  startTime: number;
1825
2422
  stopTime: number;
1826
2423
  } | {
@@ -1837,44 +2434,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1837
2434
  isActive: boolean;
1838
2435
  }[];
1839
2436
  };
2437
+ platform: "microsoft_azure";
1840
2438
  } | {
1841
- type: "hls_push";
2439
+ status: {
2440
+ port: number | null;
2441
+ led: boolean;
2442
+ };
1842
2443
  audio: {
1843
- source: "none";
1844
- } | {
1845
2444
  source: "microphone";
1846
2445
  audioChannelNbr: 1 | 2;
2446
+ forceStereo: 0 | 1;
1847
2447
  } | {
1848
2448
  source: "file";
2449
+ forceStereo: 0 | 1;
1849
2450
  fileName: string;
1850
2451
  filePath: string;
1851
2452
  } | {
1852
2453
  source: "url";
2454
+ forceStereo: 0 | 1;
1853
2455
  fileName: string;
1854
2456
  fileUrl: string;
1855
2457
  avSyncMsec: number;
1856
- };
2458
+ } | null;
1857
2459
  video: {
1858
- inputType: "RTSP_URL" | "CSw" | "CRS";
2460
+ output: {
2461
+ type: "video" | "images";
2462
+ url: string;
2463
+ callApi: false;
2464
+ } | {
2465
+ type: "video";
2466
+ callApi: true;
2467
+ prepareAheadS: number;
2468
+ };
2469
+ outputParameters: string;
2470
+ input: {
2471
+ type: "RTSP_URL";
2472
+ url: string;
2473
+ } | {
2474
+ type: "CSw";
2475
+ } | {
2476
+ type: "CRS";
2477
+ };
2478
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1859
2479
  internalVapixParameters: string;
1860
2480
  userVapixParameters: string;
1861
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1862
- sourceUrl?: string | undefined;
1863
2481
  streamDelay?: {
1864
2482
  value: number;
1865
2483
  unit: "seconds" | "minutes" | "hours";
1866
2484
  } | undefined;
1867
2485
  };
1868
2486
  enabled: boolean;
1869
- id: number;
2487
+ streamId: string;
1870
2488
  active: boolean;
1871
2489
  title: string;
1872
2490
  trigger: {
1873
2491
  type: "manual";
1874
- ioPort: string | null;
2492
+ ioPort: number | null;
1875
2493
  } | {
1876
2494
  type: "onetime";
1877
- ioPort: string | null;
1878
2495
  startTime: number;
1879
2496
  stopTime: number;
1880
2497
  } | {
@@ -1891,44 +2508,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1891
2508
  isActive: boolean;
1892
2509
  }[];
1893
2510
  };
2511
+ platform: "microsoft_stream";
1894
2512
  } | {
1895
- type: "wowza";
2513
+ status: {
2514
+ port: number | null;
2515
+ led: boolean;
2516
+ };
1896
2517
  audio: {
1897
- source: "none";
1898
- } | {
1899
2518
  source: "microphone";
1900
2519
  audioChannelNbr: 1 | 2;
2520
+ forceStereo: 0 | 1;
1901
2521
  } | {
1902
2522
  source: "file";
2523
+ forceStereo: 0 | 1;
1903
2524
  fileName: string;
1904
2525
  filePath: string;
1905
2526
  } | {
1906
2527
  source: "url";
2528
+ forceStereo: 0 | 1;
1907
2529
  fileName: string;
1908
2530
  fileUrl: string;
1909
2531
  avSyncMsec: number;
1910
- };
2532
+ } | null;
1911
2533
  video: {
1912
- inputType: "RTSP_URL" | "CSw" | "CRS";
2534
+ output: {
2535
+ type: "video" | "images";
2536
+ url: string;
2537
+ callApi: false;
2538
+ } | {
2539
+ type: "video";
2540
+ callApi: true;
2541
+ prepareAheadS: number;
2542
+ };
2543
+ outputParameters: string;
2544
+ input: {
2545
+ type: "RTSP_URL";
2546
+ url: string;
2547
+ } | {
2548
+ type: "CSw";
2549
+ } | {
2550
+ type: "CRS";
2551
+ };
2552
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1913
2553
  internalVapixParameters: string;
1914
2554
  userVapixParameters: string;
1915
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1916
- sourceUrl?: string | undefined;
1917
2555
  streamDelay?: {
1918
2556
  value: number;
1919
2557
  unit: "seconds" | "minutes" | "hours";
1920
2558
  } | undefined;
1921
2559
  };
1922
2560
  enabled: boolean;
1923
- id: number;
2561
+ streamId: string;
1924
2562
  active: boolean;
1925
2563
  title: string;
1926
2564
  trigger: {
1927
2565
  type: "manual";
1928
- ioPort: string | null;
2566
+ ioPort: number | null;
1929
2567
  } | {
1930
2568
  type: "onetime";
1931
- ioPort: string | null;
1932
2569
  startTime: number;
1933
2570
  stopTime: number;
1934
2571
  } | {
@@ -1945,44 +2582,66 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1945
2582
  isActive: boolean;
1946
2583
  }[];
1947
2584
  };
2585
+ platform: "rtmp";
2586
+ streamKey: string;
2587
+ streamIdentifier?: string | undefined;
1948
2588
  } | {
1949
- type: "dailymotion";
2589
+ status: {
2590
+ port: number | null;
2591
+ led: boolean;
2592
+ };
1950
2593
  audio: {
1951
- source: "none";
1952
- } | {
1953
2594
  source: "microphone";
1954
2595
  audioChannelNbr: 1 | 2;
2596
+ forceStereo: 0 | 1;
1955
2597
  } | {
1956
2598
  source: "file";
2599
+ forceStereo: 0 | 1;
1957
2600
  fileName: string;
1958
2601
  filePath: string;
1959
2602
  } | {
1960
2603
  source: "url";
2604
+ forceStereo: 0 | 1;
1961
2605
  fileName: string;
1962
2606
  fileUrl: string;
1963
2607
  avSyncMsec: number;
1964
- };
2608
+ } | null;
1965
2609
  video: {
1966
- inputType: "RTSP_URL" | "CSw" | "CRS";
2610
+ output: {
2611
+ type: "video" | "images";
2612
+ url: string;
2613
+ callApi: false;
2614
+ } | {
2615
+ type: "video";
2616
+ callApi: true;
2617
+ prepareAheadS: number;
2618
+ };
2619
+ outputParameters: string;
2620
+ input: {
2621
+ type: "RTSP_URL";
2622
+ url: string;
2623
+ } | {
2624
+ type: "CSw";
2625
+ } | {
2626
+ type: "CRS";
2627
+ };
2628
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1967
2629
  internalVapixParameters: string;
1968
2630
  userVapixParameters: string;
1969
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
1970
- sourceUrl?: string | undefined;
1971
2631
  streamDelay?: {
1972
2632
  value: number;
1973
2633
  unit: "seconds" | "minutes" | "hours";
1974
2634
  } | undefined;
1975
2635
  };
1976
2636
  enabled: boolean;
1977
- id: number;
2637
+ streamId: string;
1978
2638
  active: boolean;
1979
2639
  title: string;
1980
2640
  trigger: {
1981
2641
  type: "manual";
1982
- ioPort: string | null;
2642
+ ioPort: number | null;
1983
2643
  } | {
1984
2644
  type: "onetime";
1985
- ioPort: string | null;
1986
2645
  startTime: number;
1987
2646
  stopTime: number;
1988
2647
  } | {
@@ -1999,44 +2658,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
1999
2658
  isActive: boolean;
2000
2659
  }[];
2001
2660
  };
2661
+ platform: "sd_card";
2002
2662
  } | {
2003
- type: "ibm";
2663
+ status: {
2664
+ port: number | null;
2665
+ led: boolean;
2666
+ };
2004
2667
  audio: {
2005
- source: "none";
2006
- } | {
2007
2668
  source: "microphone";
2008
2669
  audioChannelNbr: 1 | 2;
2670
+ forceStereo: 0 | 1;
2009
2671
  } | {
2010
2672
  source: "file";
2673
+ forceStereo: 0 | 1;
2011
2674
  fileName: string;
2012
2675
  filePath: string;
2013
2676
  } | {
2014
2677
  source: "url";
2678
+ forceStereo: 0 | 1;
2015
2679
  fileName: string;
2016
2680
  fileUrl: string;
2017
2681
  avSyncMsec: number;
2018
- };
2682
+ } | null;
2019
2683
  video: {
2020
- inputType: "RTSP_URL" | "CSw" | "CRS";
2684
+ output: {
2685
+ type: "video" | "images";
2686
+ url: string;
2687
+ callApi: false;
2688
+ } | {
2689
+ type: "video";
2690
+ callApi: true;
2691
+ prepareAheadS: number;
2692
+ };
2693
+ outputParameters: string;
2694
+ input: {
2695
+ type: "RTSP_URL";
2696
+ url: string;
2697
+ } | {
2698
+ type: "CSw";
2699
+ } | {
2700
+ type: "CRS";
2701
+ };
2702
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2021
2703
  internalVapixParameters: string;
2022
2704
  userVapixParameters: string;
2023
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2024
- sourceUrl?: string | undefined;
2025
2705
  streamDelay?: {
2026
2706
  value: number;
2027
2707
  unit: "seconds" | "minutes" | "hours";
2028
2708
  } | undefined;
2029
2709
  };
2030
2710
  enabled: boolean;
2031
- id: number;
2711
+ streamId: string;
2032
2712
  active: boolean;
2033
2713
  title: string;
2034
2714
  trigger: {
2035
2715
  type: "manual";
2036
- ioPort: string | null;
2716
+ ioPort: number | null;
2037
2717
  } | {
2038
2718
  type: "onetime";
2039
- ioPort: string | null;
2040
2719
  startTime: number;
2041
2720
  stopTime: number;
2042
2721
  } | {
@@ -2053,44 +2732,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
2053
2732
  isActive: boolean;
2054
2733
  }[];
2055
2734
  };
2735
+ platform: "srt";
2056
2736
  } | {
2057
- type: "microsoft_azure";
2737
+ status: {
2738
+ port: number | null;
2739
+ led: boolean;
2740
+ };
2058
2741
  audio: {
2059
- source: "none";
2060
- } | {
2061
2742
  source: "microphone";
2062
2743
  audioChannelNbr: 1 | 2;
2744
+ forceStereo: 0 | 1;
2063
2745
  } | {
2064
2746
  source: "file";
2747
+ forceStereo: 0 | 1;
2065
2748
  fileName: string;
2066
2749
  filePath: string;
2067
2750
  } | {
2068
2751
  source: "url";
2752
+ forceStereo: 0 | 1;
2069
2753
  fileName: string;
2070
2754
  fileUrl: string;
2071
2755
  avSyncMsec: number;
2072
- };
2756
+ } | null;
2073
2757
  video: {
2074
- inputType: "RTSP_URL" | "CSw" | "CRS";
2758
+ output: {
2759
+ type: "video" | "images";
2760
+ url: string;
2761
+ callApi: false;
2762
+ } | {
2763
+ type: "video";
2764
+ callApi: true;
2765
+ prepareAheadS: number;
2766
+ };
2767
+ outputParameters: string;
2768
+ input: {
2769
+ type: "RTSP_URL";
2770
+ url: string;
2771
+ } | {
2772
+ type: "CSw";
2773
+ } | {
2774
+ type: "CRS";
2775
+ };
2776
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2075
2777
  internalVapixParameters: string;
2076
2778
  userVapixParameters: string;
2077
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2078
- sourceUrl?: string | undefined;
2079
2779
  streamDelay?: {
2080
2780
  value: number;
2081
2781
  unit: "seconds" | "minutes" | "hours";
2082
2782
  } | undefined;
2083
2783
  };
2084
2784
  enabled: boolean;
2085
- id: number;
2785
+ streamId: string;
2086
2786
  active: boolean;
2087
2787
  title: string;
2088
2788
  trigger: {
2089
2789
  type: "manual";
2090
- ioPort: string | null;
2790
+ ioPort: number | null;
2091
2791
  } | {
2092
2792
  type: "onetime";
2093
- ioPort: string | null;
2094
2793
  startTime: number;
2095
2794
  stopTime: number;
2096
2795
  } | {
@@ -2107,44 +2806,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
2107
2806
  isActive: boolean;
2108
2807
  }[];
2109
2808
  };
2809
+ platform: "twitch";
2110
2810
  } | {
2111
- type: "microsoft_stream";
2811
+ status: {
2812
+ port: number | null;
2813
+ led: boolean;
2814
+ };
2112
2815
  audio: {
2113
- source: "none";
2114
- } | {
2115
2816
  source: "microphone";
2116
2817
  audioChannelNbr: 1 | 2;
2818
+ forceStereo: 0 | 1;
2117
2819
  } | {
2118
2820
  source: "file";
2821
+ forceStereo: 0 | 1;
2119
2822
  fileName: string;
2120
2823
  filePath: string;
2121
2824
  } | {
2122
2825
  source: "url";
2826
+ forceStereo: 0 | 1;
2123
2827
  fileName: string;
2124
2828
  fileUrl: string;
2125
2829
  avSyncMsec: number;
2126
- };
2830
+ } | null;
2127
2831
  video: {
2128
- inputType: "RTSP_URL" | "CSw" | "CRS";
2832
+ output: {
2833
+ type: "video" | "images";
2834
+ url: string;
2835
+ callApi: false;
2836
+ } | {
2837
+ type: "video";
2838
+ callApi: true;
2839
+ prepareAheadS: number;
2840
+ };
2841
+ outputParameters: string;
2842
+ input: {
2843
+ type: "RTSP_URL";
2844
+ url: string;
2845
+ } | {
2846
+ type: "CSw";
2847
+ } | {
2848
+ type: "CRS";
2849
+ };
2850
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2129
2851
  internalVapixParameters: string;
2130
2852
  userVapixParameters: string;
2131
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2132
- sourceUrl?: string | undefined;
2133
2853
  streamDelay?: {
2134
2854
  value: number;
2135
2855
  unit: "seconds" | "minutes" | "hours";
2136
2856
  } | undefined;
2137
2857
  };
2138
2858
  enabled: boolean;
2139
- id: number;
2859
+ streamId: string;
2140
2860
  active: boolean;
2141
2861
  title: string;
2142
2862
  trigger: {
2143
2863
  type: "manual";
2144
- ioPort: string | null;
2864
+ ioPort: number | null;
2145
2865
  } | {
2146
2866
  type: "onetime";
2147
- ioPort: string | null;
2148
2867
  startTime: number;
2149
2868
  stopTime: number;
2150
2869
  } | {
@@ -2161,44 +2880,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
2161
2880
  isActive: boolean;
2162
2881
  }[];
2163
2882
  };
2883
+ platform: "vimeo";
2164
2884
  } | {
2165
- type: "game_changer";
2885
+ status: {
2886
+ port: number | null;
2887
+ led: boolean;
2888
+ };
2166
2889
  audio: {
2167
- source: "none";
2168
- } | {
2169
2890
  source: "microphone";
2170
2891
  audioChannelNbr: 1 | 2;
2892
+ forceStereo: 0 | 1;
2171
2893
  } | {
2172
2894
  source: "file";
2895
+ forceStereo: 0 | 1;
2173
2896
  fileName: string;
2174
2897
  filePath: string;
2175
2898
  } | {
2176
2899
  source: "url";
2900
+ forceStereo: 0 | 1;
2177
2901
  fileName: string;
2178
2902
  fileUrl: string;
2179
2903
  avSyncMsec: number;
2180
- };
2904
+ } | null;
2181
2905
  video: {
2182
- inputType: "RTSP_URL" | "CSw" | "CRS";
2906
+ output: {
2907
+ type: "video" | "images";
2908
+ url: string;
2909
+ callApi: false;
2910
+ } | {
2911
+ type: "video";
2912
+ callApi: true;
2913
+ prepareAheadS: number;
2914
+ };
2915
+ outputParameters: string;
2916
+ input: {
2917
+ type: "RTSP_URL";
2918
+ url: string;
2919
+ } | {
2920
+ type: "CSw";
2921
+ } | {
2922
+ type: "CRS";
2923
+ };
2924
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2183
2925
  internalVapixParameters: string;
2184
2926
  userVapixParameters: string;
2185
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2186
- sourceUrl?: string | undefined;
2187
2927
  streamDelay?: {
2188
2928
  value: number;
2189
2929
  unit: "seconds" | "minutes" | "hours";
2190
2930
  } | undefined;
2191
2931
  };
2192
2932
  enabled: boolean;
2193
- id: number;
2933
+ streamId: string;
2194
2934
  active: boolean;
2195
2935
  title: string;
2196
2936
  trigger: {
2197
2937
  type: "manual";
2198
- ioPort: string | null;
2938
+ ioPort: number | null;
2199
2939
  } | {
2200
2940
  type: "onetime";
2201
- ioPort: string | null;
2202
2941
  startTime: number;
2203
2942
  stopTime: number;
2204
2943
  } | {
@@ -2215,50 +2954,64 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
2215
2954
  isActive: boolean;
2216
2955
  }[];
2217
2956
  };
2218
- saveToSdCard: boolean;
2219
- statusCameraLed: boolean;
2220
- statusCameraOutput: string | null;
2221
- outputUrl: string;
2222
- streamKey: string;
2223
- streamIdentifier?: string | undefined;
2957
+ platform: "wowza";
2224
2958
  } | {
2225
- type: "youtube_rtmp";
2959
+ status: {
2960
+ port: number | null;
2961
+ led: boolean;
2962
+ };
2226
2963
  audio: {
2227
- source: "none";
2228
- } | {
2229
2964
  source: "microphone";
2230
2965
  audioChannelNbr: 1 | 2;
2966
+ forceStereo: 0 | 1;
2231
2967
  } | {
2232
2968
  source: "file";
2969
+ forceStereo: 0 | 1;
2233
2970
  fileName: string;
2234
2971
  filePath: string;
2235
2972
  } | {
2236
2973
  source: "url";
2974
+ forceStereo: 0 | 1;
2237
2975
  fileName: string;
2238
2976
  fileUrl: string;
2239
2977
  avSyncMsec: number;
2240
- };
2978
+ } | null;
2241
2979
  video: {
2242
- inputType: "RTSP_URL" | "CSw" | "CRS";
2980
+ output: {
2981
+ type: "video" | "images";
2982
+ url: string;
2983
+ callApi: false;
2984
+ } | {
2985
+ type: "video";
2986
+ callApi: true;
2987
+ prepareAheadS: number;
2988
+ };
2989
+ outputParameters: string;
2990
+ input: {
2991
+ type: "RTSP_URL";
2992
+ url: string;
2993
+ } | {
2994
+ type: "CSw";
2995
+ } | {
2996
+ type: "CRS";
2997
+ };
2998
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2243
2999
  internalVapixParameters: string;
2244
3000
  userVapixParameters: string;
2245
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2246
- sourceUrl?: string | undefined;
2247
3001
  streamDelay?: {
2248
3002
  value: number;
2249
3003
  unit: "seconds" | "minutes" | "hours";
2250
3004
  } | undefined;
2251
3005
  };
2252
3006
  enabled: boolean;
2253
- id: number;
3007
+ streamId: string;
2254
3008
  active: boolean;
2255
3009
  title: string;
2256
3010
  trigger: {
2257
3011
  type: "manual";
2258
- ioPort: string | null;
3012
+ ioPort: number | null;
2259
3013
  } | {
2260
3014
  type: "onetime";
2261
- ioPort: string | null;
2262
3015
  startTime: number;
2263
3016
  stopTime: number;
2264
3017
  } | {
@@ -2275,17 +3028,14 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
2275
3028
  isActive: boolean;
2276
3029
  }[];
2277
3030
  };
2278
- saveToSdCard: boolean;
2279
- statusCameraLed: boolean;
2280
- statusCameraOutput: string | null;
2281
- outputUrl: string;
3031
+ platform: "youtube_rtmp";
2282
3032
  streamKey: string;
2283
3033
  streamIdentifier?: string | undefined;
2284
3034
  }>;
2285
- setStream(streamId: number, streamData: TStream, options?: THttpRequestOptions): Promise<void>;
2286
- isStreaming(streamId: number, options?: THttpRequestOptions): Promise<boolean>;
2287
- setStreamEnabled(streamId: number, enabled: boolean, options?: THttpRequestOptions): Promise<void>;
2288
- setStreamActive(streamId: number, active: boolean, options?: THttpRequestOptions): Promise<void>;
3035
+ setStream(streamId: string, streamData: TStream, options?: THttpRequestOptions): Promise<void>;
3036
+ isStreaming(streamId: string, options?: THttpRequestOptions): Promise<boolean>;
3037
+ setStreamEnabled(streamId: string, enabled: boolean, options?: THttpRequestOptions): Promise<void>;
3038
+ setStreamActive(streamId: string, active: boolean, options?: THttpRequestOptions): Promise<void>;
2289
3039
  listFiles(options?: THttpRequestOptions): Promise<{
2290
3040
  path: string;
2291
3041
  name: string;