camstreamerlib 4.0.0-beta.105 → 4.0.0-beta.106
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.
- package/cjs/CamStreamerAPI.d.ts +22 -4
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +105 -20
- package/cjs/types/CamStreamerAPI/gameChangerSchema.d.ts +19 -0
- package/cjs/types/CamStreamerAPI/gameChangerSchema.js +2 -2
- package/cjs/types/CamStreamerAPI/index.d.ts +1 -0
- package/cjs/types/CamStreamerAPI/index.js +1 -0
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.d.ts +3 -3
- package/cjs/types/CamStreamerAPI/mpegDvbSchema.js +1 -1
- package/cjs/types/CamStreamerAPI/rtmpSchema.d.ts +313 -1
- package/cjs/types/CamStreamerAPI/rtmpSchema.js +8 -3
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +3 -3
- package/cjs/types/CamStreamerAPI/youtubeSchema.js +1 -1
- package/esm/types/CamStreamerAPI/gameChangerSchema.js +2 -2
- package/esm/types/CamStreamerAPI/index.js +1 -0
- package/esm/types/CamStreamerAPI/mpegDvbSchema.js +1 -1
- package/esm/types/CamStreamerAPI/rtmpSchema.js +7 -2
- package/esm/types/CamStreamerAPI/youtubeSchema.js +1 -1
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +22 -4
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +105 -20
- package/types/types/CamStreamerAPI/gameChangerSchema.d.ts +19 -0
- package/types/types/CamStreamerAPI/index.d.ts +1 -0
- package/types/types/CamStreamerAPI/mpegDvbSchema.d.ts +3 -3
- package/types/types/CamStreamerAPI/rtmpSchema.d.ts +313 -1
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +3 -3
package/cjs/CamStreamerAPI.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
|
|
|
132
132
|
providerName: string;
|
|
133
133
|
serviceName: string;
|
|
134
134
|
statusCameraLed: boolean;
|
|
135
|
-
statusCameraOutput: string;
|
|
135
|
+
statusCameraOutput: string | null;
|
|
136
136
|
saveToSdCard: boolean;
|
|
137
137
|
} | {
|
|
138
138
|
type: "rtmp";
|
|
@@ -187,6 +187,9 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
|
|
|
187
187
|
isActive: boolean;
|
|
188
188
|
}[];
|
|
189
189
|
};
|
|
190
|
+
statusCameraLed: boolean;
|
|
191
|
+
statusCameraOutput: string | null;
|
|
192
|
+
saveToSdCard: boolean;
|
|
190
193
|
outputUrl: string;
|
|
191
194
|
streamKey: string;
|
|
192
195
|
streamIdentifier?: string | undefined;
|
|
@@ -350,7 +353,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
|
|
|
350
353
|
}[];
|
|
351
354
|
};
|
|
352
355
|
statusCameraLed: boolean;
|
|
353
|
-
statusCameraOutput: string;
|
|
356
|
+
statusCameraOutput: string | null;
|
|
354
357
|
saveToSdCard: boolean;
|
|
355
358
|
tags: string[];
|
|
356
359
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
@@ -1052,6 +1055,12 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
|
|
|
1052
1055
|
isActive: boolean;
|
|
1053
1056
|
}[];
|
|
1054
1057
|
};
|
|
1058
|
+
statusCameraLed: boolean;
|
|
1059
|
+
statusCameraOutput: string | null;
|
|
1060
|
+
saveToSdCard: boolean;
|
|
1061
|
+
outputUrl: string;
|
|
1062
|
+
streamKey: string;
|
|
1063
|
+
streamIdentifier?: string | undefined;
|
|
1055
1064
|
})[]>;
|
|
1056
1065
|
setStreamList(streamList: TStreamList['streamList'], options?: THttpRequestOptions): Promise<void>;
|
|
1057
1066
|
getStream(streamId: number, options?: THttpRequestOptions): Promise<{
|
|
@@ -1174,7 +1183,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
|
|
|
1174
1183
|
providerName: string;
|
|
1175
1184
|
serviceName: string;
|
|
1176
1185
|
statusCameraLed: boolean;
|
|
1177
|
-
statusCameraOutput: string;
|
|
1186
|
+
statusCameraOutput: string | null;
|
|
1178
1187
|
saveToSdCard: boolean;
|
|
1179
1188
|
} | {
|
|
1180
1189
|
type: "rtmp";
|
|
@@ -1229,6 +1238,9 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
|
|
|
1229
1238
|
isActive: boolean;
|
|
1230
1239
|
}[];
|
|
1231
1240
|
};
|
|
1241
|
+
statusCameraLed: boolean;
|
|
1242
|
+
statusCameraOutput: string | null;
|
|
1243
|
+
saveToSdCard: boolean;
|
|
1232
1244
|
outputUrl: string;
|
|
1233
1245
|
streamKey: string;
|
|
1234
1246
|
streamIdentifier?: string | undefined;
|
|
@@ -1392,7 +1404,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
|
|
|
1392
1404
|
}[];
|
|
1393
1405
|
};
|
|
1394
1406
|
statusCameraLed: boolean;
|
|
1395
|
-
statusCameraOutput: string;
|
|
1407
|
+
statusCameraOutput: string | null;
|
|
1396
1408
|
saveToSdCard: boolean;
|
|
1397
1409
|
tags: string[];
|
|
1398
1410
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
@@ -2094,6 +2106,12 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> {
|
|
|
2094
2106
|
isActive: boolean;
|
|
2095
2107
|
}[];
|
|
2096
2108
|
};
|
|
2109
|
+
statusCameraLed: boolean;
|
|
2110
|
+
statusCameraOutput: string | null;
|
|
2111
|
+
saveToSdCard: boolean;
|
|
2112
|
+
outputUrl: string;
|
|
2113
|
+
streamKey: string;
|
|
2114
|
+
streamIdentifier?: string | undefined;
|
|
2097
2115
|
}>;
|
|
2098
2116
|
setStream(streamId: number, streamData: TStream, options?: THttpRequestOptions): Promise<void>;
|
|
2099
2117
|
isStreaming(streamId: number, options?: THttpRequestOptions): Promise<boolean>;
|
|
@@ -498,7 +498,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
498
498
|
providerName: z.ZodString;
|
|
499
499
|
serviceName: z.ZodString;
|
|
500
500
|
statusCameraLed: z.ZodBoolean;
|
|
501
|
-
statusCameraOutput: z.ZodString
|
|
501
|
+
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
502
502
|
saveToSdCard: z.ZodBoolean;
|
|
503
503
|
}, "strip", z.ZodTypeAny, {
|
|
504
504
|
type: "mpeg_dvb";
|
|
@@ -567,7 +567,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
567
567
|
providerName: string;
|
|
568
568
|
serviceName: string;
|
|
569
569
|
statusCameraLed: boolean;
|
|
570
|
-
statusCameraOutput: string;
|
|
570
|
+
statusCameraOutput: string | null;
|
|
571
571
|
saveToSdCard: boolean;
|
|
572
572
|
}, {
|
|
573
573
|
type: "mpeg_dvb";
|
|
@@ -636,7 +636,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
636
636
|
providerName: string;
|
|
637
637
|
serviceName: string;
|
|
638
638
|
statusCameraLed: boolean;
|
|
639
|
-
statusCameraOutput: string;
|
|
639
|
+
statusCameraOutput: string | null;
|
|
640
640
|
saveToSdCard: boolean;
|
|
641
641
|
}>, z.ZodObject<{
|
|
642
642
|
id: z.ZodNumber;
|
|
@@ -817,10 +817,14 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
817
817
|
avSyncMsec: number;
|
|
818
818
|
}>]>;
|
|
819
819
|
} & {
|
|
820
|
-
type: z.ZodLiteral<"rtmp">;
|
|
821
820
|
outputUrl: z.ZodString;
|
|
822
821
|
streamKey: z.ZodString;
|
|
823
822
|
streamIdentifier: z.ZodOptional<z.ZodString>;
|
|
823
|
+
saveToSdCard: z.ZodBoolean;
|
|
824
|
+
statusCameraLed: z.ZodBoolean;
|
|
825
|
+
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
826
|
+
} & {
|
|
827
|
+
type: z.ZodLiteral<"rtmp">;
|
|
824
828
|
}, "strip", z.ZodTypeAny, {
|
|
825
829
|
type: "rtmp";
|
|
826
830
|
audio: {
|
|
@@ -874,6 +878,9 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
874
878
|
isActive: boolean;
|
|
875
879
|
}[];
|
|
876
880
|
};
|
|
881
|
+
statusCameraLed: boolean;
|
|
882
|
+
statusCameraOutput: string | null;
|
|
883
|
+
saveToSdCard: boolean;
|
|
877
884
|
outputUrl: string;
|
|
878
885
|
streamKey: string;
|
|
879
886
|
streamIdentifier?: string | undefined;
|
|
@@ -930,6 +937,9 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
930
937
|
isActive: boolean;
|
|
931
938
|
}[];
|
|
932
939
|
};
|
|
940
|
+
statusCameraLed: boolean;
|
|
941
|
+
statusCameraOutput: string | null;
|
|
942
|
+
saveToSdCard: boolean;
|
|
933
943
|
outputUrl: string;
|
|
934
944
|
streamKey: string;
|
|
935
945
|
streamIdentifier?: string | undefined;
|
|
@@ -1695,7 +1705,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
1695
1705
|
dvr: z.ZodBoolean;
|
|
1696
1706
|
saveToSdCard: z.ZodBoolean;
|
|
1697
1707
|
statusCameraLed: z.ZodBoolean;
|
|
1698
|
-
statusCameraOutput: z.ZodString
|
|
1708
|
+
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
1699
1709
|
hasWatchdogs: z.ZodBoolean;
|
|
1700
1710
|
countdown: z.ZodBoolean;
|
|
1701
1711
|
enableManualControl: z.ZodBoolean;
|
|
@@ -1753,7 +1763,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
1753
1763
|
}[];
|
|
1754
1764
|
};
|
|
1755
1765
|
statusCameraLed: boolean;
|
|
1756
|
-
statusCameraOutput: string;
|
|
1766
|
+
statusCameraOutput: string | null;
|
|
1757
1767
|
saveToSdCard: boolean;
|
|
1758
1768
|
tags: string[];
|
|
1759
1769
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
@@ -1820,7 +1830,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
1820
1830
|
}[];
|
|
1821
1831
|
};
|
|
1822
1832
|
statusCameraLed: boolean;
|
|
1823
|
-
statusCameraOutput: string;
|
|
1833
|
+
statusCameraOutput: string | null;
|
|
1824
1834
|
saveToSdCard: boolean;
|
|
1825
1835
|
tags: string[];
|
|
1826
1836
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
@@ -5443,6 +5453,13 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
5443
5453
|
fileUrl: string;
|
|
5444
5454
|
avSyncMsec: number;
|
|
5445
5455
|
}>]>;
|
|
5456
|
+
} & {
|
|
5457
|
+
outputUrl: z.ZodString;
|
|
5458
|
+
streamKey: z.ZodString;
|
|
5459
|
+
streamIdentifier: z.ZodOptional<z.ZodString>;
|
|
5460
|
+
saveToSdCard: z.ZodBoolean;
|
|
5461
|
+
statusCameraLed: z.ZodBoolean;
|
|
5462
|
+
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
5446
5463
|
} & {
|
|
5447
5464
|
type: z.ZodLiteral<"game_changer">;
|
|
5448
5465
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5498,6 +5515,12 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
5498
5515
|
isActive: boolean;
|
|
5499
5516
|
}[];
|
|
5500
5517
|
};
|
|
5518
|
+
statusCameraLed: boolean;
|
|
5519
|
+
statusCameraOutput: string | null;
|
|
5520
|
+
saveToSdCard: boolean;
|
|
5521
|
+
outputUrl: string;
|
|
5522
|
+
streamKey: string;
|
|
5523
|
+
streamIdentifier?: string | undefined;
|
|
5501
5524
|
}, {
|
|
5502
5525
|
type: "game_changer";
|
|
5503
5526
|
audio: {
|
|
@@ -5551,6 +5574,12 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
5551
5574
|
isActive: boolean;
|
|
5552
5575
|
}[];
|
|
5553
5576
|
};
|
|
5577
|
+
statusCameraLed: boolean;
|
|
5578
|
+
statusCameraOutput: string | null;
|
|
5579
|
+
saveToSdCard: boolean;
|
|
5580
|
+
outputUrl: string;
|
|
5581
|
+
streamKey: string;
|
|
5582
|
+
streamIdentifier?: string | undefined;
|
|
5554
5583
|
}>]>;
|
|
5555
5584
|
export type TStream = z.infer<typeof streamSchema>;
|
|
5556
5585
|
export declare const streamListSchema: z.ZodObject<{
|
|
@@ -6034,7 +6063,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
6034
6063
|
providerName: z.ZodString;
|
|
6035
6064
|
serviceName: z.ZodString;
|
|
6036
6065
|
statusCameraLed: z.ZodBoolean;
|
|
6037
|
-
statusCameraOutput: z.ZodString
|
|
6066
|
+
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
6038
6067
|
saveToSdCard: z.ZodBoolean;
|
|
6039
6068
|
}, "strip", z.ZodTypeAny, {
|
|
6040
6069
|
type: "mpeg_dvb";
|
|
@@ -6103,7 +6132,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
6103
6132
|
providerName: string;
|
|
6104
6133
|
serviceName: string;
|
|
6105
6134
|
statusCameraLed: boolean;
|
|
6106
|
-
statusCameraOutput: string;
|
|
6135
|
+
statusCameraOutput: string | null;
|
|
6107
6136
|
saveToSdCard: boolean;
|
|
6108
6137
|
}, {
|
|
6109
6138
|
type: "mpeg_dvb";
|
|
@@ -6172,7 +6201,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
6172
6201
|
providerName: string;
|
|
6173
6202
|
serviceName: string;
|
|
6174
6203
|
statusCameraLed: boolean;
|
|
6175
|
-
statusCameraOutput: string;
|
|
6204
|
+
statusCameraOutput: string | null;
|
|
6176
6205
|
saveToSdCard: boolean;
|
|
6177
6206
|
}>, z.ZodObject<{
|
|
6178
6207
|
id: z.ZodNumber;
|
|
@@ -6353,10 +6382,14 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
6353
6382
|
avSyncMsec: number;
|
|
6354
6383
|
}>]>;
|
|
6355
6384
|
} & {
|
|
6356
|
-
type: z.ZodLiteral<"rtmp">;
|
|
6357
6385
|
outputUrl: z.ZodString;
|
|
6358
6386
|
streamKey: z.ZodString;
|
|
6359
6387
|
streamIdentifier: z.ZodOptional<z.ZodString>;
|
|
6388
|
+
saveToSdCard: z.ZodBoolean;
|
|
6389
|
+
statusCameraLed: z.ZodBoolean;
|
|
6390
|
+
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
6391
|
+
} & {
|
|
6392
|
+
type: z.ZodLiteral<"rtmp">;
|
|
6360
6393
|
}, "strip", z.ZodTypeAny, {
|
|
6361
6394
|
type: "rtmp";
|
|
6362
6395
|
audio: {
|
|
@@ -6410,6 +6443,9 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
6410
6443
|
isActive: boolean;
|
|
6411
6444
|
}[];
|
|
6412
6445
|
};
|
|
6446
|
+
statusCameraLed: boolean;
|
|
6447
|
+
statusCameraOutput: string | null;
|
|
6448
|
+
saveToSdCard: boolean;
|
|
6413
6449
|
outputUrl: string;
|
|
6414
6450
|
streamKey: string;
|
|
6415
6451
|
streamIdentifier?: string | undefined;
|
|
@@ -6466,6 +6502,9 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
6466
6502
|
isActive: boolean;
|
|
6467
6503
|
}[];
|
|
6468
6504
|
};
|
|
6505
|
+
statusCameraLed: boolean;
|
|
6506
|
+
statusCameraOutput: string | null;
|
|
6507
|
+
saveToSdCard: boolean;
|
|
6469
6508
|
outputUrl: string;
|
|
6470
6509
|
streamKey: string;
|
|
6471
6510
|
streamIdentifier?: string | undefined;
|
|
@@ -7231,7 +7270,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
7231
7270
|
dvr: z.ZodBoolean;
|
|
7232
7271
|
saveToSdCard: z.ZodBoolean;
|
|
7233
7272
|
statusCameraLed: z.ZodBoolean;
|
|
7234
|
-
statusCameraOutput: z.ZodString
|
|
7273
|
+
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
7235
7274
|
hasWatchdogs: z.ZodBoolean;
|
|
7236
7275
|
countdown: z.ZodBoolean;
|
|
7237
7276
|
enableManualControl: z.ZodBoolean;
|
|
@@ -7289,7 +7328,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
7289
7328
|
}[];
|
|
7290
7329
|
};
|
|
7291
7330
|
statusCameraLed: boolean;
|
|
7292
|
-
statusCameraOutput: string;
|
|
7331
|
+
statusCameraOutput: string | null;
|
|
7293
7332
|
saveToSdCard: boolean;
|
|
7294
7333
|
tags: string[];
|
|
7295
7334
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
@@ -7356,7 +7395,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
7356
7395
|
}[];
|
|
7357
7396
|
};
|
|
7358
7397
|
statusCameraLed: boolean;
|
|
7359
|
-
statusCameraOutput: string;
|
|
7398
|
+
statusCameraOutput: string | null;
|
|
7360
7399
|
saveToSdCard: boolean;
|
|
7361
7400
|
tags: string[];
|
|
7362
7401
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
@@ -10979,6 +11018,13 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
10979
11018
|
fileUrl: string;
|
|
10980
11019
|
avSyncMsec: number;
|
|
10981
11020
|
}>]>;
|
|
11021
|
+
} & {
|
|
11022
|
+
outputUrl: z.ZodString;
|
|
11023
|
+
streamKey: z.ZodString;
|
|
11024
|
+
streamIdentifier: z.ZodOptional<z.ZodString>;
|
|
11025
|
+
saveToSdCard: z.ZodBoolean;
|
|
11026
|
+
statusCameraLed: z.ZodBoolean;
|
|
11027
|
+
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
10982
11028
|
} & {
|
|
10983
11029
|
type: z.ZodLiteral<"game_changer">;
|
|
10984
11030
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11034,6 +11080,12 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
11034
11080
|
isActive: boolean;
|
|
11035
11081
|
}[];
|
|
11036
11082
|
};
|
|
11083
|
+
statusCameraLed: boolean;
|
|
11084
|
+
statusCameraOutput: string | null;
|
|
11085
|
+
saveToSdCard: boolean;
|
|
11086
|
+
outputUrl: string;
|
|
11087
|
+
streamKey: string;
|
|
11088
|
+
streamIdentifier?: string | undefined;
|
|
11037
11089
|
}, {
|
|
11038
11090
|
type: "game_changer";
|
|
11039
11091
|
audio: {
|
|
@@ -11087,6 +11139,12 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
11087
11139
|
isActive: boolean;
|
|
11088
11140
|
}[];
|
|
11089
11141
|
};
|
|
11142
|
+
statusCameraLed: boolean;
|
|
11143
|
+
statusCameraOutput: string | null;
|
|
11144
|
+
saveToSdCard: boolean;
|
|
11145
|
+
outputUrl: string;
|
|
11146
|
+
streamKey: string;
|
|
11147
|
+
streamIdentifier?: string | undefined;
|
|
11090
11148
|
}>]>, "many">;
|
|
11091
11149
|
}, "strip", z.ZodTypeAny, {
|
|
11092
11150
|
streamList: ({
|
|
@@ -11209,7 +11267,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
11209
11267
|
providerName: string;
|
|
11210
11268
|
serviceName: string;
|
|
11211
11269
|
statusCameraLed: boolean;
|
|
11212
|
-
statusCameraOutput: string;
|
|
11270
|
+
statusCameraOutput: string | null;
|
|
11213
11271
|
saveToSdCard: boolean;
|
|
11214
11272
|
} | {
|
|
11215
11273
|
type: "rtmp";
|
|
@@ -11264,6 +11322,9 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
11264
11322
|
isActive: boolean;
|
|
11265
11323
|
}[];
|
|
11266
11324
|
};
|
|
11325
|
+
statusCameraLed: boolean;
|
|
11326
|
+
statusCameraOutput: string | null;
|
|
11327
|
+
saveToSdCard: boolean;
|
|
11267
11328
|
outputUrl: string;
|
|
11268
11329
|
streamKey: string;
|
|
11269
11330
|
streamIdentifier?: string | undefined;
|
|
@@ -11427,7 +11488,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
11427
11488
|
}[];
|
|
11428
11489
|
};
|
|
11429
11490
|
statusCameraLed: boolean;
|
|
11430
|
-
statusCameraOutput: string;
|
|
11491
|
+
statusCameraOutput: string | null;
|
|
11431
11492
|
saveToSdCard: boolean;
|
|
11432
11493
|
tags: string[];
|
|
11433
11494
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
@@ -12129,6 +12190,12 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
12129
12190
|
isActive: boolean;
|
|
12130
12191
|
}[];
|
|
12131
12192
|
};
|
|
12193
|
+
statusCameraLed: boolean;
|
|
12194
|
+
statusCameraOutput: string | null;
|
|
12195
|
+
saveToSdCard: boolean;
|
|
12196
|
+
outputUrl: string;
|
|
12197
|
+
streamKey: string;
|
|
12198
|
+
streamIdentifier?: string | undefined;
|
|
12132
12199
|
})[];
|
|
12133
12200
|
}, {
|
|
12134
12201
|
streamList: ({
|
|
@@ -12251,7 +12318,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
12251
12318
|
providerName: string;
|
|
12252
12319
|
serviceName: string;
|
|
12253
12320
|
statusCameraLed: boolean;
|
|
12254
|
-
statusCameraOutput: string;
|
|
12321
|
+
statusCameraOutput: string | null;
|
|
12255
12322
|
saveToSdCard: boolean;
|
|
12256
12323
|
} | {
|
|
12257
12324
|
type: "rtmp";
|
|
@@ -12306,6 +12373,9 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
12306
12373
|
isActive: boolean;
|
|
12307
12374
|
}[];
|
|
12308
12375
|
};
|
|
12376
|
+
statusCameraLed: boolean;
|
|
12377
|
+
statusCameraOutput: string | null;
|
|
12378
|
+
saveToSdCard: boolean;
|
|
12309
12379
|
outputUrl: string;
|
|
12310
12380
|
streamKey: string;
|
|
12311
12381
|
streamIdentifier?: string | undefined;
|
|
@@ -12469,7 +12539,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
12469
12539
|
}[];
|
|
12470
12540
|
};
|
|
12471
12541
|
statusCameraLed: boolean;
|
|
12472
|
-
statusCameraOutput: string;
|
|
12542
|
+
statusCameraOutput: string | null;
|
|
12473
12543
|
saveToSdCard: boolean;
|
|
12474
12544
|
tags: string[];
|
|
12475
12545
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
@@ -13171,6 +13241,12 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
13171
13241
|
isActive: boolean;
|
|
13172
13242
|
}[];
|
|
13173
13243
|
};
|
|
13244
|
+
statusCameraLed: boolean;
|
|
13245
|
+
statusCameraOutput: string | null;
|
|
13246
|
+
saveToSdCard: boolean;
|
|
13247
|
+
outputUrl: string;
|
|
13248
|
+
streamKey: string;
|
|
13249
|
+
streamIdentifier?: string | undefined;
|
|
13174
13250
|
})[];
|
|
13175
13251
|
}>;
|
|
13176
13252
|
export type TStreamList = z.infer<typeof streamListSchema>;
|
|
@@ -13297,7 +13373,7 @@ export declare const isMpegDvbStream: (stream: TStream) => stream is {
|
|
|
13297
13373
|
providerName: string;
|
|
13298
13374
|
serviceName: string;
|
|
13299
13375
|
statusCameraLed: boolean;
|
|
13300
|
-
statusCameraOutput: string;
|
|
13376
|
+
statusCameraOutput: string | null;
|
|
13301
13377
|
saveToSdCard: boolean;
|
|
13302
13378
|
};
|
|
13303
13379
|
export type TRtmpStream = z.infer<typeof rtmpSchema>;
|
|
@@ -13354,6 +13430,9 @@ export declare const isRtmpStream: (stream: TStream) => stream is {
|
|
|
13354
13430
|
isActive: boolean;
|
|
13355
13431
|
}[];
|
|
13356
13432
|
};
|
|
13433
|
+
statusCameraLed: boolean;
|
|
13434
|
+
statusCameraOutput: string | null;
|
|
13435
|
+
saveToSdCard: boolean;
|
|
13357
13436
|
outputUrl: string;
|
|
13358
13437
|
streamKey: string;
|
|
13359
13438
|
streamIdentifier?: string | undefined;
|
|
@@ -13523,7 +13602,7 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
|
|
|
13523
13602
|
}[];
|
|
13524
13603
|
};
|
|
13525
13604
|
statusCameraLed: boolean;
|
|
13526
|
-
statusCameraOutput: string;
|
|
13605
|
+
statusCameraOutput: string | null;
|
|
13527
13606
|
saveToSdCard: boolean;
|
|
13528
13607
|
tags: string[];
|
|
13529
13608
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
@@ -14251,6 +14330,12 @@ export declare const isGameChangerStream: (stream: TStream) => stream is {
|
|
|
14251
14330
|
isActive: boolean;
|
|
14252
14331
|
}[];
|
|
14253
14332
|
};
|
|
14333
|
+
statusCameraLed: boolean;
|
|
14334
|
+
statusCameraOutput: string | null;
|
|
14335
|
+
saveToSdCard: boolean;
|
|
14336
|
+
outputUrl: string;
|
|
14337
|
+
streamKey: string;
|
|
14338
|
+
streamIdentifier?: string | undefined;
|
|
14254
14339
|
};
|
|
14255
14340
|
export declare enum AudioType {
|
|
14256
14341
|
MP3 = 0,
|
|
@@ -177,6 +177,13 @@ export declare const gameChangerSchema: z.ZodObject<{
|
|
|
177
177
|
fileUrl: string;
|
|
178
178
|
avSyncMsec: number;
|
|
179
179
|
}>]>;
|
|
180
|
+
} & {
|
|
181
|
+
outputUrl: z.ZodString;
|
|
182
|
+
streamKey: z.ZodString;
|
|
183
|
+
streamIdentifier: z.ZodOptional<z.ZodString>;
|
|
184
|
+
saveToSdCard: z.ZodBoolean;
|
|
185
|
+
statusCameraLed: z.ZodBoolean;
|
|
186
|
+
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
180
187
|
} & {
|
|
181
188
|
type: z.ZodLiteral<"game_changer">;
|
|
182
189
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -232,6 +239,12 @@ export declare const gameChangerSchema: z.ZodObject<{
|
|
|
232
239
|
isActive: boolean;
|
|
233
240
|
}[];
|
|
234
241
|
};
|
|
242
|
+
statusCameraLed: boolean;
|
|
243
|
+
statusCameraOutput: string | null;
|
|
244
|
+
saveToSdCard: boolean;
|
|
245
|
+
outputUrl: string;
|
|
246
|
+
streamKey: string;
|
|
247
|
+
streamIdentifier?: string | undefined;
|
|
235
248
|
}, {
|
|
236
249
|
type: "game_changer";
|
|
237
250
|
audio: {
|
|
@@ -285,4 +298,10 @@ export declare const gameChangerSchema: z.ZodObject<{
|
|
|
285
298
|
isActive: boolean;
|
|
286
299
|
}[];
|
|
287
300
|
};
|
|
301
|
+
statusCameraLed: boolean;
|
|
302
|
+
statusCameraOutput: string | null;
|
|
303
|
+
saveToSdCard: boolean;
|
|
304
|
+
outputUrl: string;
|
|
305
|
+
streamKey: string;
|
|
306
|
+
streamIdentifier?: string | undefined;
|
|
288
307
|
}>;
|
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.gameChangerSchema = void 0;
|
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
|
8
|
-
const
|
|
9
|
-
exports.gameChangerSchema =
|
|
8
|
+
const rtmpSchema_1 = require("./rtmpSchema");
|
|
9
|
+
exports.gameChangerSchema = rtmpSchema_1.commonRtmpSchema.extend({
|
|
10
10
|
type: zod_1.default.literal('game_changer'),
|
|
11
11
|
});
|
|
@@ -3,6 +3,7 @@ export * from './streamCommonTypes';
|
|
|
3
3
|
export * from './facebookSchema';
|
|
4
4
|
export * from './mpegDvbSchema';
|
|
5
5
|
export * from './rtmpSchema';
|
|
6
|
+
export * from './gameChangerSchema';
|
|
6
7
|
export * from './sdCardSchema';
|
|
7
8
|
export * from './windySchema';
|
|
8
9
|
export * from './youtubeSchema';
|
|
@@ -19,6 +19,7 @@ __exportStar(require("./streamCommonTypes"), exports);
|
|
|
19
19
|
__exportStar(require("./facebookSchema"), exports);
|
|
20
20
|
__exportStar(require("./mpegDvbSchema"), exports);
|
|
21
21
|
__exportStar(require("./rtmpSchema"), exports);
|
|
22
|
+
__exportStar(require("./gameChangerSchema"), exports);
|
|
22
23
|
__exportStar(require("./sdCardSchema"), exports);
|
|
23
24
|
__exportStar(require("./windySchema"), exports);
|
|
24
25
|
__exportStar(require("./youtubeSchema"), exports);
|
|
@@ -193,7 +193,7 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
193
193
|
providerName: z.ZodString;
|
|
194
194
|
serviceName: z.ZodString;
|
|
195
195
|
statusCameraLed: z.ZodBoolean;
|
|
196
|
-
statusCameraOutput: z.ZodString
|
|
196
|
+
statusCameraOutput: z.ZodNullable<z.ZodString>;
|
|
197
197
|
saveToSdCard: z.ZodBoolean;
|
|
198
198
|
}, "strip", z.ZodTypeAny, {
|
|
199
199
|
type: "mpeg_dvb";
|
|
@@ -262,7 +262,7 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
262
262
|
providerName: string;
|
|
263
263
|
serviceName: string;
|
|
264
264
|
statusCameraLed: boolean;
|
|
265
|
-
statusCameraOutput: string;
|
|
265
|
+
statusCameraOutput: string | null;
|
|
266
266
|
saveToSdCard: boolean;
|
|
267
267
|
}, {
|
|
268
268
|
type: "mpeg_dvb";
|
|
@@ -331,6 +331,6 @@ export declare const mpegDvbSchema: z.ZodObject<{
|
|
|
331
331
|
providerName: string;
|
|
332
332
|
serviceName: string;
|
|
333
333
|
statusCameraLed: boolean;
|
|
334
|
-
statusCameraOutput: string;
|
|
334
|
+
statusCameraOutput: string | null;
|
|
335
335
|
saveToSdCard: boolean;
|
|
336
336
|
}>;
|
|
@@ -22,6 +22,6 @@ exports.mpegDvbSchema = streamCommonTypes_1.streamCommonSchema.extend({
|
|
|
22
22
|
providerName: zod_1.default.string(),
|
|
23
23
|
serviceName: zod_1.default.string(),
|
|
24
24
|
statusCameraLed: zod_1.default.boolean(),
|
|
25
|
-
statusCameraOutput: zod_1.default.string(),
|
|
25
|
+
statusCameraOutput: zod_1.default.string().nullable(),
|
|
26
26
|
saveToSdCard: zod_1.default.boolean(),
|
|
27
27
|
});
|