camstreamerlib 4.0.0-beta.161 → 4.0.0-beta.163

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.
@@ -188,10 +188,13 @@ export declare const windySchema: z.ZodObject<{
188
188
  internalVapixParameters: string;
189
189
  }>, z.ZodObject<{
190
190
  type: z.ZodLiteral<"CSw">;
191
+ internalVapixParameters: z.ZodString;
191
192
  }, "strip", z.ZodTypeAny, {
192
193
  type: "CSw";
194
+ internalVapixParameters: string;
193
195
  }, {
194
196
  type: "CSw";
197
+ internalVapixParameters: string;
195
198
  }>, z.ZodObject<{
196
199
  type: z.ZodLiteral<"CRS">;
197
200
  internalVapixParameters: z.ZodString;
@@ -232,6 +235,7 @@ export declare const windySchema: z.ZodObject<{
232
235
  internalVapixParameters: string;
233
236
  } | {
234
237
  type: "CSw";
238
+ internalVapixParameters: string;
235
239
  } | {
236
240
  type: "CRS";
237
241
  internalVapixParameters: string;
@@ -264,6 +268,7 @@ export declare const windySchema: z.ZodObject<{
264
268
  internalVapixParameters: string;
265
269
  } | {
266
270
  type: "CSw";
271
+ internalVapixParameters: string;
267
272
  } | {
268
273
  type: "CRS";
269
274
  internalVapixParameters: string;
@@ -343,6 +348,7 @@ export declare const windySchema: z.ZodObject<{
343
348
  direction: z.ZodNullable<z.ZodEnum<["N", "NE", "E", "SE", "S", "SW", "W", "NW"]>>;
344
349
  position: z.ZodUnion<[z.ZodLiteral<"fix">, z.ZodLiteral<"rotating">, z.ZodLiteral<"controllable">]>;
345
350
  webPageUrl: z.ZodString;
351
+ mediaServerUrl: z.ZodNullable<z.ZodString>;
346
352
  }, "strip", z.ZodTypeAny, {
347
353
  status: {
348
354
  led: boolean;
@@ -402,6 +408,7 @@ export declare const windySchema: z.ZodObject<{
402
408
  internalVapixParameters: string;
403
409
  } | {
404
410
  type: "CSw";
411
+ internalVapixParameters: string;
405
412
  } | {
406
413
  type: "CRS";
407
414
  internalVapixParameters: string;
@@ -436,6 +443,7 @@ export declare const windySchema: z.ZodObject<{
436
443
  direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
437
444
  position: "fix" | "rotating" | "controllable";
438
445
  webPageUrl: string;
446
+ mediaServerUrl: string | null;
439
447
  }, {
440
448
  status: {
441
449
  led: boolean;
@@ -495,6 +503,7 @@ export declare const windySchema: z.ZodObject<{
495
503
  internalVapixParameters: string;
496
504
  } | {
497
505
  type: "CSw";
506
+ internalVapixParameters: string;
498
507
  } | {
499
508
  type: "CRS";
500
509
  internalVapixParameters: string;
@@ -529,6 +538,7 @@ export declare const windySchema: z.ZodObject<{
529
538
  direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
530
539
  position: "fix" | "rotating" | "controllable";
531
540
  webPageUrl: string;
541
+ mediaServerUrl: string | null;
532
542
  }>;
533
543
  export type TWindyDirection = z.infer<typeof windySchema>['direction'];
534
544
  export type TWindyPosition = z.infer<typeof windySchema>['position'];
@@ -16,4 +16,5 @@ exports.windySchema = streamCommonTypes_1.streamCommonSchema.extend({
16
16
  direction: zod_1.default.enum(['N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW']).nullable(),
17
17
  position: zod_1.default.union([zod_1.default.literal('fix'), zod_1.default.literal('rotating'), zod_1.default.literal('controllable')]),
18
18
  webPageUrl: zod_1.default.string(),
19
+ mediaServerUrl: zod_1.default.string().nullable(),
19
20
  });
@@ -188,10 +188,13 @@ export declare const youtubeSchema: z.ZodObject<{
188
188
  internalVapixParameters: string;
189
189
  }>, z.ZodObject<{
190
190
  type: z.ZodLiteral<"CSw">;
191
+ internalVapixParameters: z.ZodString;
191
192
  }, "strip", z.ZodTypeAny, {
192
193
  type: "CSw";
194
+ internalVapixParameters: string;
193
195
  }, {
194
196
  type: "CSw";
197
+ internalVapixParameters: string;
195
198
  }>, z.ZodObject<{
196
199
  type: z.ZodLiteral<"CRS">;
197
200
  internalVapixParameters: z.ZodString;
@@ -232,6 +235,7 @@ export declare const youtubeSchema: z.ZodObject<{
232
235
  internalVapixParameters: string;
233
236
  } | {
234
237
  type: "CSw";
238
+ internalVapixParameters: string;
235
239
  } | {
236
240
  type: "CRS";
237
241
  internalVapixParameters: string;
@@ -264,6 +268,7 @@ export declare const youtubeSchema: z.ZodObject<{
264
268
  internalVapixParameters: string;
265
269
  } | {
266
270
  type: "CSw";
271
+ internalVapixParameters: string;
267
272
  } | {
268
273
  type: "CRS";
269
274
  internalVapixParameters: string;
@@ -405,6 +410,7 @@ export declare const youtubeSchema: z.ZodObject<{
405
410
  internalVapixParameters: string;
406
411
  } | {
407
412
  type: "CSw";
413
+ internalVapixParameters: string;
408
414
  } | {
409
415
  type: "CRS";
410
416
  internalVapixParameters: string;
@@ -501,6 +507,7 @@ export declare const youtubeSchema: z.ZodObject<{
501
507
  internalVapixParameters: string;
502
508
  } | {
503
509
  type: "CSw";
510
+ internalVapixParameters: string;
504
511
  } | {
505
512
  type: "CRS";
506
513
  internalVapixParameters: string;
package/esm/VapixAPI.js CHANGED
@@ -95,65 +95,6 @@ export class VapixAPI extends BasicAPI {
95
95
  }, options);
96
96
  }
97
97
  }
98
- async checkSDCard(options) {
99
- const res = await this._postUrlEncoded('/axis-cgi/disks/list.cgi', {
100
- diskid: 'SD_DISK',
101
- }, options);
102
- const xmlText = await res.text();
103
- const parser = new XMLParser({
104
- ignoreAttributes: false,
105
- attributeNamePrefix: '',
106
- allowBooleanAttributes: true,
107
- });
108
- const result = parser.parse(xmlText);
109
- const data = result.root.disks.disk;
110
- return sdCardInfoSchema.parse({
111
- totalSize: parseInt(data.totalsize),
112
- freeSize: parseInt(data.freesize),
113
- status: sdCardWatchedStatuses.includes(data.status) ? data.status : 'disconnected',
114
- });
115
- }
116
- mountSDCard(options) {
117
- return this._doSDCardMountAction('MOUNT', options);
118
- }
119
- unmountSDCard(options) {
120
- return this._doSDCardMountAction('UNMOUNT', options);
121
- }
122
- async _doSDCardMountAction(action, options) {
123
- const res = await this._postUrlEncoded('/axis-cgi/disks/mount.cgi', {
124
- action: action,
125
- diskid: 'SD_DISK',
126
- }, options);
127
- const textXml = await res.text();
128
- const parser = new XMLParser({
129
- ignoreAttributes: false,
130
- attributeNamePrefix: '',
131
- allowBooleanAttributes: true,
132
- });
133
- const result = parser.parse(textXml);
134
- const job = result.root.job;
135
- if (job.result !== 'OK') {
136
- throw new SDCardActionError(action, job.description);
137
- }
138
- return Number(job.jobid);
139
- }
140
- async fetchSDCardJobProgress(jobId, options) {
141
- const res = await this._postUrlEncoded('/axis-cgi/disks/job.cgi', {
142
- jobid: String(jobId),
143
- diskid: 'SD_DISK',
144
- }, options);
145
- const textXml = await res.text();
146
- const parser = new XMLParser({
147
- ignoreAttributes: false,
148
- attributeNamePrefix: '',
149
- allowBooleanAttributes: true,
150
- });
151
- const job = parser.parse(textXml).root.job;
152
- if (job.result !== 'OK') {
153
- throw new SDCardJobError(job.description);
154
- }
155
- return Number(job.progress);
156
- }
157
98
  downloadCameraReport(options) {
158
99
  return this._getText('/axis-cgi/serverreport.cgi', { mode: 'text' }, options);
159
100
  }
@@ -239,6 +180,65 @@ export class VapixAPI extends BasicAPI {
239
180
  const data = { apiVersion: '1.0', method: 'set', params: headers };
240
181
  await this._postJsonEncoded('/axis-cgi/customhttpheader.cgi', data, undefined, options);
241
182
  }
183
+ async checkSDCard(options) {
184
+ const res = await this._postUrlEncoded('/axis-cgi/disks/list.cgi', {
185
+ diskid: 'SD_DISK',
186
+ }, options);
187
+ const xmlText = await res.text();
188
+ const parser = new XMLParser({
189
+ ignoreAttributes: false,
190
+ attributeNamePrefix: '',
191
+ allowBooleanAttributes: true,
192
+ });
193
+ const result = parser.parse(xmlText);
194
+ const data = result.root.disks.disk;
195
+ return sdCardInfoSchema.parse({
196
+ totalSize: parseInt(data.totalsize),
197
+ freeSize: parseInt(data.freesize),
198
+ status: sdCardWatchedStatuses.includes(data.status) ? data.status : 'disconnected',
199
+ });
200
+ }
201
+ mountSDCard(options) {
202
+ return this._doSDCardMountAction('MOUNT', options);
203
+ }
204
+ unmountSDCard(options) {
205
+ return this._doSDCardMountAction('UNMOUNT', options);
206
+ }
207
+ async _doSDCardMountAction(action, options) {
208
+ const res = await this._postUrlEncoded('/axis-cgi/disks/mount.cgi', {
209
+ action: action,
210
+ diskid: 'SD_DISK',
211
+ }, options);
212
+ const textXml = await res.text();
213
+ const parser = new XMLParser({
214
+ ignoreAttributes: false,
215
+ attributeNamePrefix: '',
216
+ allowBooleanAttributes: true,
217
+ });
218
+ const result = parser.parse(textXml);
219
+ const job = result.root.job;
220
+ if (job.result !== 'OK') {
221
+ throw new SDCardActionError(action, job.description);
222
+ }
223
+ return Number(job.jobid);
224
+ }
225
+ async fetchSDCardJobProgress(jobId, options) {
226
+ const res = await this._postUrlEncoded('/disks/job.cgi', {
227
+ jobid: String(jobId),
228
+ diskid: 'SD_DISK',
229
+ }, options);
230
+ const textXml = await res.text();
231
+ const parser = new XMLParser({
232
+ ignoreAttributes: false,
233
+ attributeNamePrefix: '',
234
+ allowBooleanAttributes: true,
235
+ });
236
+ const job = parser.parse(textXml).root.job;
237
+ if (job.result !== 'OK') {
238
+ throw new SDCardJobError(job.description);
239
+ }
240
+ return Number(job.progress);
241
+ }
242
242
  async getParameter(paramNames, options) {
243
243
  const response = await this._postUrlEncoded('/axis-cgi/param.cgi', {
244
244
  action: 'list',
@@ -69,7 +69,7 @@ export const parseVideoOptionsToVapixParams = (firmWareVersion, video) => {
69
69
  if (isFirmwareVersionAtLeast(firmWareVersion, FIRMWARE_WITH_OVERLAYS_SUPPORT) && video.overlays !== undefined) {
70
70
  overlaysParams = `&overlays=${video.overlays}`;
71
71
  }
72
- const nbrOfChannels = video.audio === 1 ? `&nbrOfChannels=${video.nbrOfChannels}` : '';
72
+ const nbrOfChannels = video.nbrOfChannels ? (video.audio === 1 ? `&nbrOfChannels=${video.nbrOfChannels}` : '') : '';
73
73
  const audioParams = `audio=${video.audio}${nbrOfChannels}`;
74
74
  const videoCodecParams = video.videoCodec === 'h264'
75
75
  ? `videoCodec=${video.videoCodec}&h264Profile=${video.h264Profile}`
@@ -67,6 +67,7 @@ export const streamCommonSchema = z.object({
67
67
  }),
68
68
  z.object({
69
69
  type: z.literal('CSw'),
70
+ internalVapixParameters: z.string(),
70
71
  }),
71
72
  z.object({
72
73
  type: z.literal('CRS'),
@@ -10,4 +10,5 @@ export const windySchema = streamCommonSchema.extend({
10
10
  direction: z.enum(['N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW']).nullable(),
11
11
  position: z.union([z.literal('fix'), z.literal('rotating'), z.literal('controllable')]),
12
12
  webPageUrl: z.string(),
13
+ mediaServerUrl: z.string().nullable(),
13
14
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstreamerlib",
3
- "version": "4.0.0-beta.161",
3
+ "version": "4.0.0-beta.163",
4
4
  "description": "Helper library for CamStreamer ACAP applications.",
5
5
  "prettier": "@camstreamer/prettier-config",
6
6
  "engine": {
@@ -81,6 +81,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
81
81
  internalVapixParameters: string;
82
82
  } | {
83
83
  type: "CSw";
84
+ internalVapixParameters: string;
84
85
  } | {
85
86
  type: "CRS";
86
87
  internalVapixParameters: string;
@@ -169,6 +170,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
169
170
  internalVapixParameters: string;
170
171
  } | {
171
172
  type: "CSw";
173
+ internalVapixParameters: string;
172
174
  } | {
173
175
  type: "CRS";
174
176
  internalVapixParameters: string;
@@ -203,6 +205,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
203
205
  direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
204
206
  position: "fix" | "rotating" | "controllable";
205
207
  webPageUrl: string;
208
+ mediaServerUrl: string | null;
206
209
  } | {
207
210
  status: {
208
211
  led: boolean;
@@ -262,6 +265,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
262
265
  internalVapixParameters: string;
263
266
  } | {
264
267
  type: "CSw";
268
+ internalVapixParameters: string;
265
269
  } | {
266
270
  type: "CRS";
267
271
  internalVapixParameters: string;
@@ -358,6 +362,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
358
362
  internalVapixParameters: string;
359
363
  } | {
360
364
  type: "CSw";
365
+ internalVapixParameters: string;
361
366
  } | {
362
367
  type: "CRS";
363
368
  internalVapixParameters: string;
@@ -443,6 +448,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
443
448
  internalVapixParameters: string;
444
449
  } | {
445
450
  type: "CSw";
451
+ internalVapixParameters: string;
446
452
  } | {
447
453
  type: "CRS";
448
454
  internalVapixParameters: string;
@@ -528,6 +534,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
528
534
  internalVapixParameters: string;
529
535
  } | {
530
536
  type: "CSw";
537
+ internalVapixParameters: string;
531
538
  } | {
532
539
  type: "CRS";
533
540
  internalVapixParameters: string;
@@ -613,6 +620,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
613
620
  internalVapixParameters: string;
614
621
  } | {
615
622
  type: "CSw";
623
+ internalVapixParameters: string;
616
624
  } | {
617
625
  type: "CRS";
618
626
  internalVapixParameters: string;
@@ -698,6 +706,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
698
706
  internalVapixParameters: string;
699
707
  } | {
700
708
  type: "CSw";
709
+ internalVapixParameters: string;
701
710
  } | {
702
711
  type: "CRS";
703
712
  internalVapixParameters: string;
@@ -783,6 +792,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
783
792
  internalVapixParameters: string;
784
793
  } | {
785
794
  type: "CSw";
795
+ internalVapixParameters: string;
786
796
  } | {
787
797
  type: "CRS";
788
798
  internalVapixParameters: string;
@@ -868,6 +878,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
868
878
  internalVapixParameters: string;
869
879
  } | {
870
880
  type: "CSw";
881
+ internalVapixParameters: string;
871
882
  } | {
872
883
  type: "CRS";
873
884
  internalVapixParameters: string;
@@ -953,6 +964,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
953
964
  internalVapixParameters: string;
954
965
  } | {
955
966
  type: "CSw";
967
+ internalVapixParameters: string;
956
968
  } | {
957
969
  type: "CRS";
958
970
  internalVapixParameters: string;
@@ -1038,6 +1050,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1038
1050
  internalVapixParameters: string;
1039
1051
  } | {
1040
1052
  type: "CSw";
1053
+ internalVapixParameters: string;
1041
1054
  } | {
1042
1055
  type: "CRS";
1043
1056
  internalVapixParameters: string;
@@ -1123,6 +1136,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1123
1136
  internalVapixParameters: string;
1124
1137
  } | {
1125
1138
  type: "CSw";
1139
+ internalVapixParameters: string;
1126
1140
  } | {
1127
1141
  type: "CRS";
1128
1142
  internalVapixParameters: string;
@@ -1208,6 +1222,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1208
1222
  internalVapixParameters: string;
1209
1223
  } | {
1210
1224
  type: "CSw";
1225
+ internalVapixParameters: string;
1211
1226
  } | {
1212
1227
  type: "CRS";
1213
1228
  internalVapixParameters: string;
@@ -1293,6 +1308,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1293
1308
  internalVapixParameters: string;
1294
1309
  } | {
1295
1310
  type: "CSw";
1311
+ internalVapixParameters: string;
1296
1312
  } | {
1297
1313
  type: "CRS";
1298
1314
  internalVapixParameters: string;
@@ -1378,6 +1394,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1378
1394
  internalVapixParameters: string;
1379
1395
  } | {
1380
1396
  type: "CSw";
1397
+ internalVapixParameters: string;
1381
1398
  } | {
1382
1399
  type: "CRS";
1383
1400
  internalVapixParameters: string;
@@ -1463,6 +1480,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1463
1480
  internalVapixParameters: string;
1464
1481
  } | {
1465
1482
  type: "CSw";
1483
+ internalVapixParameters: string;
1466
1484
  } | {
1467
1485
  type: "CRS";
1468
1486
  internalVapixParameters: string;
@@ -1548,6 +1566,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1548
1566
  internalVapixParameters: string;
1549
1567
  } | {
1550
1568
  type: "CSw";
1569
+ internalVapixParameters: string;
1551
1570
  } | {
1552
1571
  type: "CRS";
1553
1572
  internalVapixParameters: string;
@@ -1633,6 +1652,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1633
1652
  internalVapixParameters: string;
1634
1653
  } | {
1635
1654
  type: "CSw";
1655
+ internalVapixParameters: string;
1636
1656
  } | {
1637
1657
  type: "CRS";
1638
1658
  internalVapixParameters: string;
@@ -1718,6 +1738,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1718
1738
  internalVapixParameters: string;
1719
1739
  } | {
1720
1740
  type: "CSw";
1741
+ internalVapixParameters: string;
1721
1742
  } | {
1722
1743
  type: "CRS";
1723
1744
  internalVapixParameters: string;
@@ -1814,6 +1835,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1814
1835
  internalVapixParameters: string;
1815
1836
  } | {
1816
1837
  type: "CSw";
1838
+ internalVapixParameters: string;
1817
1839
  } | {
1818
1840
  type: "CRS";
1819
1841
  internalVapixParameters: string;
@@ -1902,6 +1924,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1902
1924
  internalVapixParameters: string;
1903
1925
  } | {
1904
1926
  type: "CSw";
1927
+ internalVapixParameters: string;
1905
1928
  } | {
1906
1929
  type: "CRS";
1907
1930
  internalVapixParameters: string;
@@ -1936,6 +1959,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1936
1959
  direction: "N" | "NE" | "E" | "SE" | "S" | "SW" | "W" | "NW" | null;
1937
1960
  position: "fix" | "rotating" | "controllable";
1938
1961
  webPageUrl: string;
1962
+ mediaServerUrl: string | null;
1939
1963
  } | {
1940
1964
  status: {
1941
1965
  led: boolean;
@@ -1995,6 +2019,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
1995
2019
  internalVapixParameters: string;
1996
2020
  } | {
1997
2021
  type: "CSw";
2022
+ internalVapixParameters: string;
1998
2023
  } | {
1999
2024
  type: "CRS";
2000
2025
  internalVapixParameters: string;
@@ -2091,6 +2116,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2091
2116
  internalVapixParameters: string;
2092
2117
  } | {
2093
2118
  type: "CSw";
2119
+ internalVapixParameters: string;
2094
2120
  } | {
2095
2121
  type: "CRS";
2096
2122
  internalVapixParameters: string;
@@ -2176,6 +2202,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2176
2202
  internalVapixParameters: string;
2177
2203
  } | {
2178
2204
  type: "CSw";
2205
+ internalVapixParameters: string;
2179
2206
  } | {
2180
2207
  type: "CRS";
2181
2208
  internalVapixParameters: string;
@@ -2261,6 +2288,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2261
2288
  internalVapixParameters: string;
2262
2289
  } | {
2263
2290
  type: "CSw";
2291
+ internalVapixParameters: string;
2264
2292
  } | {
2265
2293
  type: "CRS";
2266
2294
  internalVapixParameters: string;
@@ -2346,6 +2374,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2346
2374
  internalVapixParameters: string;
2347
2375
  } | {
2348
2376
  type: "CSw";
2377
+ internalVapixParameters: string;
2349
2378
  } | {
2350
2379
  type: "CRS";
2351
2380
  internalVapixParameters: string;
@@ -2431,6 +2460,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2431
2460
  internalVapixParameters: string;
2432
2461
  } | {
2433
2462
  type: "CSw";
2463
+ internalVapixParameters: string;
2434
2464
  } | {
2435
2465
  type: "CRS";
2436
2466
  internalVapixParameters: string;
@@ -2516,6 +2546,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2516
2546
  internalVapixParameters: string;
2517
2547
  } | {
2518
2548
  type: "CSw";
2549
+ internalVapixParameters: string;
2519
2550
  } | {
2520
2551
  type: "CRS";
2521
2552
  internalVapixParameters: string;
@@ -2601,6 +2632,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2601
2632
  internalVapixParameters: string;
2602
2633
  } | {
2603
2634
  type: "CSw";
2635
+ internalVapixParameters: string;
2604
2636
  } | {
2605
2637
  type: "CRS";
2606
2638
  internalVapixParameters: string;
@@ -2686,6 +2718,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2686
2718
  internalVapixParameters: string;
2687
2719
  } | {
2688
2720
  type: "CSw";
2721
+ internalVapixParameters: string;
2689
2722
  } | {
2690
2723
  type: "CRS";
2691
2724
  internalVapixParameters: string;
@@ -2771,6 +2804,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2771
2804
  internalVapixParameters: string;
2772
2805
  } | {
2773
2806
  type: "CSw";
2807
+ internalVapixParameters: string;
2774
2808
  } | {
2775
2809
  type: "CRS";
2776
2810
  internalVapixParameters: string;
@@ -2856,6 +2890,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2856
2890
  internalVapixParameters: string;
2857
2891
  } | {
2858
2892
  type: "CSw";
2893
+ internalVapixParameters: string;
2859
2894
  } | {
2860
2895
  type: "CRS";
2861
2896
  internalVapixParameters: string;
@@ -2941,6 +2976,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2941
2976
  internalVapixParameters: string;
2942
2977
  } | {
2943
2978
  type: "CSw";
2979
+ internalVapixParameters: string;
2944
2980
  } | {
2945
2981
  type: "CRS";
2946
2982
  internalVapixParameters: string;
@@ -3026,6 +3062,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
3026
3062
  internalVapixParameters: string;
3027
3063
  } | {
3028
3064
  type: "CSw";
3065
+ internalVapixParameters: string;
3029
3066
  } | {
3030
3067
  type: "CRS";
3031
3068
  internalVapixParameters: string;
@@ -3111,6 +3148,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
3111
3148
  internalVapixParameters: string;
3112
3149
  } | {
3113
3150
  type: "CSw";
3151
+ internalVapixParameters: string;
3114
3152
  } | {
3115
3153
  type: "CRS";
3116
3154
  internalVapixParameters: string;
@@ -3196,6 +3234,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
3196
3234
  internalVapixParameters: string;
3197
3235
  } | {
3198
3236
  type: "CSw";
3237
+ internalVapixParameters: string;
3199
3238
  } | {
3200
3239
  type: "CRS";
3201
3240
  internalVapixParameters: string;
@@ -3281,6 +3320,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
3281
3320
  internalVapixParameters: string;
3282
3321
  } | {
3283
3322
  type: "CSw";
3323
+ internalVapixParameters: string;
3284
3324
  } | {
3285
3325
  type: "CRS";
3286
3326
  internalVapixParameters: string;
@@ -3366,6 +3406,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
3366
3406
  internalVapixParameters: string;
3367
3407
  } | {
3368
3408
  type: "CSw";
3409
+ internalVapixParameters: string;
3369
3410
  } | {
3370
3411
  type: "CRS";
3371
3412
  internalVapixParameters: string;
@@ -3451,6 +3492,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
3451
3492
  internalVapixParameters: string;
3452
3493
  } | {
3453
3494
  type: "CSw";
3495
+ internalVapixParameters: string;
3454
3496
  } | {
3455
3497
  type: "CRS";
3456
3498
  internalVapixParameters: string;
@@ -17,15 +17,6 @@ export declare class VapixAPI<Client extends IClient<TResponse, any>> extends Ba
17
17
  bitRates: number[];
18
18
  }[]>;
19
19
  performAutofocus(options?: THttpRequestOptions): Promise<void>;
20
- checkSDCard(options?: THttpRequestOptions): Promise<{
21
- status: "OK" | "connected" | "disconnected";
22
- totalSize: number;
23
- freeSize: number;
24
- }>;
25
- mountSDCard(options?: THttpRequestOptions): Promise<number>;
26
- unmountSDCard(options?: THttpRequestOptions): Promise<number>;
27
- private _doSDCardMountAction;
28
- fetchSDCardJobProgress(jobId: number, options?: THttpRequestOptions): Promise<number>;
29
20
  downloadCameraReport(options?: THttpRequestOptions): Promise<string>;
30
21
  getSystemLog(options?: THttpRequestOptions): Promise<string>;
31
22
  getMaxFps(channel: number, options?: THttpRequestOptions): Promise<number>;
@@ -43,6 +34,15 @@ export declare class VapixAPI<Client extends IClient<TResponse, any>> extends Ba
43
34
  fetchRemoteDeviceInfo<T extends Record<string, any>>(payload: T, options?: THttpRequestOptions): Promise<any>;
44
35
  getHeaders(options?: THttpRequestOptions): Promise<Record<string, string>>;
45
36
  setHeaders(headers: Record<string, string>, options?: THttpRequestOptions): Promise<void>;
37
+ checkSDCard(options?: THttpRequestOptions): Promise<{
38
+ status: "OK" | "connected" | "disconnected";
39
+ totalSize: number;
40
+ freeSize: number;
41
+ }>;
42
+ mountSDCard(options?: THttpRequestOptions): Promise<number>;
43
+ unmountSDCard(options?: THttpRequestOptions): Promise<number>;
44
+ private _doSDCardMountAction;
45
+ fetchSDCardJobProgress(jobId: number, options?: THttpRequestOptions): Promise<number>;
46
46
  getParameter(paramNames: string | string[], options?: THttpRequestOptions): Promise<Record<string, string>>;
47
47
  setParameter(params: Record<string, string | number | boolean>, options?: THttpRequestOptions): Promise<void>;
48
48
  getGuardTourList(options?: THttpRequestOptions): Promise<{