@norskvideo/norsk-api 1.0.382 → 1.0.383
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/lib/media_pb.d.ts +44 -25
- package/lib/media_pb.js +84 -50
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +84 -43
- package/package.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -12,25 +12,31 @@ import { CurrentLoad, Log, Log_Level, OptionalBool, OptionalInt, OptionalInt64,
|
|
|
12
12
|
*/
|
|
13
13
|
export enum NodeMetricsMode {
|
|
14
14
|
/**
|
|
15
|
-
* @generated from enum value:
|
|
15
|
+
* @generated from enum value: NODE_METRICS_DEFAULT = 0;
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
NODE_METRICS_DEFAULT = 0,
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* @generated from enum value:
|
|
20
|
+
* @generated from enum value: NODE_METRICS_ENABLE = 1;
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
NODE_METRICS_ENABLE = 1,
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* @generated from enum value:
|
|
25
|
+
* @generated from enum value: NODE_METRICS_MINIMAL = 2;
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
NODE_METRICS_MINIMAL = 2,
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from enum value: NODE_METRICS_NONE = 3;
|
|
31
|
+
*/
|
|
32
|
+
NODE_METRICS_NONE = 3,
|
|
28
33
|
}
|
|
29
34
|
// Retrieve enum metadata with: proto3.getEnumType(NodeMetricsMode)
|
|
30
35
|
proto3.util.setEnumType(NodeMetricsMode, "norsk.api.media.NodeMetricsMode", [
|
|
31
|
-
{ no: 0, name: "
|
|
32
|
-
{ no: 1, name: "
|
|
33
|
-
{ no: 2, name: "
|
|
36
|
+
{ no: 0, name: "NODE_METRICS_DEFAULT" },
|
|
37
|
+
{ no: 1, name: "NODE_METRICS_ENABLE" },
|
|
38
|
+
{ no: 2, name: "NODE_METRICS_MINIMAL" },
|
|
39
|
+
{ no: 3, name: "NODE_METRICS_NONE" },
|
|
34
40
|
]);
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -5630,11 +5636,9 @@ export class SrtInputConfiguration extends Message<SrtInputConfiguration> {
|
|
|
5630
5636
|
sourceName = "";
|
|
5631
5637
|
|
|
5632
5638
|
/**
|
|
5633
|
-
*
|
|
5634
|
-
*
|
|
5635
|
-
* @generated from field: string ip = 3;
|
|
5639
|
+
* @generated from field: string host = 3;
|
|
5636
5640
|
*/
|
|
5637
|
-
|
|
5641
|
+
host = "";
|
|
5638
5642
|
|
|
5639
5643
|
/**
|
|
5640
5644
|
* @generated from field: int32 port = 4;
|
|
@@ -5696,7 +5700,7 @@ export class SrtInputConfiguration extends Message<SrtInputConfiguration> {
|
|
|
5696
5700
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
5697
5701
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
5698
5702
|
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5699
|
-
{ no: 3, name: "
|
|
5703
|
+
{ no: 3, name: "host", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5700
5704
|
{ no: 4, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
5701
5705
|
{ no: 5, name: "mode", kind: "enum", T: proto3.getEnumType(SrtMode) },
|
|
5702
5706
|
{ no: 6, name: "passphrase", kind: "message", T: OptionalString },
|
|
@@ -6196,9 +6200,9 @@ export class UdpTsInputConfiguration extends Message<UdpTsInputConfiguration> {
|
|
|
6196
6200
|
sourceName = "";
|
|
6197
6201
|
|
|
6198
6202
|
/**
|
|
6199
|
-
* @generated from field: string
|
|
6203
|
+
* @generated from field: string host = 3;
|
|
6200
6204
|
*/
|
|
6201
|
-
|
|
6205
|
+
host = "";
|
|
6202
6206
|
|
|
6203
6207
|
/**
|
|
6204
6208
|
* @generated from field: int32 port = 4;
|
|
@@ -6235,7 +6239,7 @@ export class UdpTsInputConfiguration extends Message<UdpTsInputConfiguration> {
|
|
|
6235
6239
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
6236
6240
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
6237
6241
|
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6238
|
-
{ no: 3, name: "
|
|
6242
|
+
{ no: 3, name: "host", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6239
6243
|
{ no: 4, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
6240
6244
|
{ no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
6241
6245
|
{ no: 6, name: "interface", kind: "message", T: Interface },
|
|
@@ -6897,6 +6901,49 @@ export class DeckLinkInputEvent extends Message<DeckLinkInputEvent> {
|
|
|
6897
6901
|
}
|
|
6898
6902
|
}
|
|
6899
6903
|
|
|
6904
|
+
/**
|
|
6905
|
+
* @generated from message norsk.api.media.DeltacastChannel
|
|
6906
|
+
*/
|
|
6907
|
+
export class DeltacastChannel extends Message<DeltacastChannel> {
|
|
6908
|
+
/**
|
|
6909
|
+
* @generated from field: string sourceName = 1;
|
|
6910
|
+
*/
|
|
6911
|
+
sourceName = "";
|
|
6912
|
+
|
|
6913
|
+
/**
|
|
6914
|
+
* @generated from field: uint32 channelIndex = 2;
|
|
6915
|
+
*/
|
|
6916
|
+
channelIndex = 0;
|
|
6917
|
+
|
|
6918
|
+
constructor(data?: PartialMessage<DeltacastChannel>) {
|
|
6919
|
+
super();
|
|
6920
|
+
proto3.util.initPartial(data, this);
|
|
6921
|
+
}
|
|
6922
|
+
|
|
6923
|
+
static readonly runtime = proto3;
|
|
6924
|
+
static readonly typeName = "norsk.api.media.DeltacastChannel";
|
|
6925
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
6926
|
+
{ no: 1, name: "sourceName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6927
|
+
{ no: 2, name: "channelIndex", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
6928
|
+
]);
|
|
6929
|
+
|
|
6930
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeltacastChannel {
|
|
6931
|
+
return new DeltacastChannel().fromBinary(bytes, options);
|
|
6932
|
+
}
|
|
6933
|
+
|
|
6934
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeltacastChannel {
|
|
6935
|
+
return new DeltacastChannel().fromJson(jsonValue, options);
|
|
6936
|
+
}
|
|
6937
|
+
|
|
6938
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeltacastChannel {
|
|
6939
|
+
return new DeltacastChannel().fromJsonString(jsonString, options);
|
|
6940
|
+
}
|
|
6941
|
+
|
|
6942
|
+
static equals(a: DeltacastChannel | PlainMessage<DeltacastChannel> | undefined, b: DeltacastChannel | PlainMessage<DeltacastChannel> | undefined): boolean {
|
|
6943
|
+
return proto3.util.equals(DeltacastChannel, a, b);
|
|
6944
|
+
}
|
|
6945
|
+
}
|
|
6946
|
+
|
|
6900
6947
|
/**
|
|
6901
6948
|
* @generated from message norsk.api.media.DeltacastInputConfiguration
|
|
6902
6949
|
*/
|
|
@@ -6907,27 +6954,22 @@ export class DeltacastInputConfiguration extends Message<DeltacastInputConfigura
|
|
|
6907
6954
|
id?: MediaNodeId;
|
|
6908
6955
|
|
|
6909
6956
|
/**
|
|
6910
|
-
* @generated from field:
|
|
6911
|
-
*/
|
|
6912
|
-
sourceName = "";
|
|
6913
|
-
|
|
6914
|
-
/**
|
|
6915
|
-
* @generated from field: uint32 device_id = 3;
|
|
6957
|
+
* @generated from field: uint32 device_id = 2;
|
|
6916
6958
|
*/
|
|
6917
6959
|
deviceId = 0;
|
|
6918
6960
|
|
|
6919
6961
|
/**
|
|
6920
|
-
* @generated from field: bool capture_video =
|
|
6962
|
+
* @generated from field: bool capture_video = 3;
|
|
6921
6963
|
*/
|
|
6922
6964
|
captureVideo = false;
|
|
6923
6965
|
|
|
6924
6966
|
/**
|
|
6925
|
-
* @generated from field:
|
|
6967
|
+
* @generated from field: repeated norsk.api.media.DeltacastChannel channels = 4;
|
|
6926
6968
|
*/
|
|
6927
|
-
|
|
6969
|
+
channels: DeltacastChannel[] = [];
|
|
6928
6970
|
|
|
6929
6971
|
/**
|
|
6930
|
-
* @generated from field: uint32 audio_channel_mask =
|
|
6972
|
+
* @generated from field: uint32 audio_channel_mask = 5;
|
|
6931
6973
|
*/
|
|
6932
6974
|
audioChannelMask = 0;
|
|
6933
6975
|
|
|
@@ -6945,11 +6987,10 @@ export class DeltacastInputConfiguration extends Message<DeltacastInputConfigura
|
|
|
6945
6987
|
static readonly typeName = "norsk.api.media.DeltacastInputConfiguration";
|
|
6946
6988
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
6947
6989
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
6948
|
-
{ no: 2, name: "
|
|
6949
|
-
{ no: 3, name: "
|
|
6950
|
-
{ no: 4, name: "
|
|
6951
|
-
{ no: 5, name: "
|
|
6952
|
-
{ no: 6, name: "audio_channel_mask", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
6990
|
+
{ no: 2, name: "device_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
6991
|
+
{ no: 3, name: "capture_video", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
6992
|
+
{ no: 4, name: "channels", kind: "message", T: DeltacastChannel, repeated: true },
|
|
6993
|
+
{ no: 5, name: "audio_channel_mask", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
6953
6994
|
{ no: 7, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
6954
6995
|
]);
|
|
6955
6996
|
|
|
@@ -10636,7 +10677,7 @@ export class AudioBuildMultichannelConfiguration extends Message<AudioBuildMulti
|
|
|
10636
10677
|
/**
|
|
10637
10678
|
* @generated from field: norsk.api.media.NodeMetricsMode metrics = 9;
|
|
10638
10679
|
*/
|
|
10639
|
-
metrics = NodeMetricsMode.
|
|
10680
|
+
metrics = NodeMetricsMode.NODE_METRICS_DEFAULT;
|
|
10640
10681
|
|
|
10641
10682
|
/**
|
|
10642
10683
|
* @generated from field: norsk.api.media.SampleFormat sampleFormat = 10;
|
|
@@ -10868,7 +10909,7 @@ export class AudioSplitMultichannelConfiguration extends Message<AudioSplitMulti
|
|
|
10868
10909
|
/**
|
|
10869
10910
|
* @generated from field: norsk.api.media.NodeMetricsMode metrics = 6;
|
|
10870
10911
|
*/
|
|
10871
|
-
metrics = NodeMetricsMode.
|
|
10912
|
+
metrics = NodeMetricsMode.NODE_METRICS_DEFAULT;
|
|
10872
10913
|
|
|
10873
10914
|
constructor(data?: PartialMessage<AudioSplitMultichannelConfiguration>) {
|
|
10874
10915
|
super();
|
|
@@ -11501,7 +11542,7 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
|
|
|
11501
11542
|
/**
|
|
11502
11543
|
* @generated from field: norsk.api.media.NodeMetricsMode metrics = 11;
|
|
11503
11544
|
*/
|
|
11504
|
-
metrics = NodeMetricsMode.
|
|
11545
|
+
metrics = NodeMetricsMode.NODE_METRICS_DEFAULT;
|
|
11505
11546
|
|
|
11506
11547
|
constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
|
|
11507
11548
|
super();
|
|
@@ -11825,7 +11866,7 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
|
|
|
11825
11866
|
/**
|
|
11826
11867
|
* @generated from field: norsk.api.media.NodeMetricsMode metrics = 11;
|
|
11827
11868
|
*/
|
|
11828
|
-
metrics = NodeMetricsMode.
|
|
11869
|
+
metrics = NodeMetricsMode.NODE_METRICS_DEFAULT;
|
|
11829
11870
|
|
|
11830
11871
|
constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
|
|
11831
11872
|
super();
|
|
@@ -13291,9 +13332,9 @@ export class UdpTsOutputConfiguration extends Message<UdpTsOutputConfiguration>
|
|
|
13291
13332
|
interface?: Interface;
|
|
13292
13333
|
|
|
13293
13334
|
/**
|
|
13294
|
-
* @generated from field: string
|
|
13335
|
+
* @generated from field: string destination_host = 3;
|
|
13295
13336
|
*/
|
|
13296
|
-
|
|
13337
|
+
destinationHost = "";
|
|
13297
13338
|
|
|
13298
13339
|
/**
|
|
13299
13340
|
* @generated from field: int32 destination_port = 4;
|
|
@@ -13330,7 +13371,7 @@ export class UdpTsOutputConfiguration extends Message<UdpTsOutputConfiguration>
|
|
|
13330
13371
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
13331
13372
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
13332
13373
|
{ no: 2, name: "interface", kind: "message", T: Interface },
|
|
13333
|
-
{ no: 3, name: "
|
|
13374
|
+
{ no: 3, name: "destination_host", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13334
13375
|
{ no: 4, name: "destination_port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
13335
13376
|
{ no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
13336
13377
|
{ no: 6, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
@@ -13479,9 +13520,9 @@ export class SrtOutputConfiguration extends Message<SrtOutputConfiguration> {
|
|
|
13479
13520
|
id?: MediaNodeId;
|
|
13480
13521
|
|
|
13481
13522
|
/**
|
|
13482
|
-
* @generated from field: string
|
|
13523
|
+
* @generated from field: string host = 2;
|
|
13483
13524
|
*/
|
|
13484
|
-
|
|
13525
|
+
host = "";
|
|
13485
13526
|
|
|
13486
13527
|
/**
|
|
13487
13528
|
* @generated from field: int32 port = 3;
|
|
@@ -13552,7 +13593,7 @@ export class SrtOutputConfiguration extends Message<SrtOutputConfiguration> {
|
|
|
13552
13593
|
static readonly typeName = "norsk.api.media.SrtOutputConfiguration";
|
|
13553
13594
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
13554
13595
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
13555
|
-
{ no: 2, name: "
|
|
13596
|
+
{ no: 2, name: "host", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13556
13597
|
{ no: 3, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
13557
13598
|
{ no: 4, name: "mode", kind: "enum", T: proto3.getEnumType(SrtMode) },
|
|
13558
13599
|
{ no: 6, name: "passphrase", kind: "message", T: OptionalString },
|
|
@@ -19905,7 +19946,7 @@ export class StreamKeyOverrideConfiguration extends Message<StreamKeyOverrideCon
|
|
|
19905
19946
|
/**
|
|
19906
19947
|
* @generated from field: norsk.api.media.NodeMetricsMode metrics = 3;
|
|
19907
19948
|
*/
|
|
19908
|
-
metrics = NodeMetricsMode.
|
|
19949
|
+
metrics = NodeMetricsMode.NODE_METRICS_DEFAULT;
|
|
19909
19950
|
|
|
19910
19951
|
constructor(data?: PartialMessage<StreamKeyOverrideConfiguration>) {
|
|
19911
19952
|
super();
|