camstreamerlib 4.0.0-beta.115 → 4.0.0-beta.116

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