@norskvideo/norsk-api 1.0.336 → 1.0.338
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 +267 -19
- package/lib/media_pb.js +345 -27
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +437 -28
- package/package.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -1448,6 +1448,76 @@ proto3.util.setEnumType(SentenceStabilizationMode, "norsk.api.media.SentenceStab
|
|
|
1448
1448
|
{ no: 2, name: "Low" },
|
|
1449
1449
|
]);
|
|
1450
1450
|
|
|
1451
|
+
/**
|
|
1452
|
+
* @generated from enum norsk.api.media.VancPayloadFormat
|
|
1453
|
+
*/
|
|
1454
|
+
export enum VancPayloadFormat {
|
|
1455
|
+
/**
|
|
1456
|
+
* Other format - see ancillary_id
|
|
1457
|
+
*
|
|
1458
|
+
* @generated from enum value: VANC_OTHER = 0;
|
|
1459
|
+
*/
|
|
1460
|
+
VANC_OTHER = 0,
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* @generated from enum value: VANC_AFD_BAR = 1;
|
|
1464
|
+
*/
|
|
1465
|
+
VANC_AFD_BAR = 1,
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* @generated from enum value: VANC_PAN_SCAN = 2;
|
|
1469
|
+
*/
|
|
1470
|
+
VANC_PAN_SCAN = 2,
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* @generated from enum value: VANC_SCTE_104 = 3;
|
|
1474
|
+
*/
|
|
1475
|
+
VANC_SCTE_104 = 3,
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* @generated from enum value: VANC_DVB_SCTE_VBI = 4;
|
|
1479
|
+
*/
|
|
1480
|
+
VANC_DVB_SCTE_VBI = 4,
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* @generated from enum value: VANC_OP47_SDP = 5;
|
|
1484
|
+
*/
|
|
1485
|
+
VANC_OP47_SDP = 5,
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* @generated from enum value: VANC_OP47_VANC_MULTIPACKET = 6;
|
|
1489
|
+
*/
|
|
1490
|
+
VANC_OP47_VANC_MULTIPACKET = 6,
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* @generated from enum value: VANC_ANCILLARY_TIME_CODE = 7;
|
|
1494
|
+
*/
|
|
1495
|
+
VANC_ANCILLARY_TIME_CODE = 7,
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* @generated from enum value: VANC_EIA_708D = 8;
|
|
1499
|
+
*/
|
|
1500
|
+
VANC_EIA_708D = 8,
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* @generated from enum value: VANC_EIA_608 = 9;
|
|
1504
|
+
*/
|
|
1505
|
+
VANC_EIA_608 = 9,
|
|
1506
|
+
}
|
|
1507
|
+
// Retrieve enum metadata with: proto3.getEnumType(VancPayloadFormat)
|
|
1508
|
+
proto3.util.setEnumType(VancPayloadFormat, "norsk.api.media.VancPayloadFormat", [
|
|
1509
|
+
{ no: 0, name: "VANC_OTHER" },
|
|
1510
|
+
{ no: 1, name: "VANC_AFD_BAR" },
|
|
1511
|
+
{ no: 2, name: "VANC_PAN_SCAN" },
|
|
1512
|
+
{ no: 3, name: "VANC_SCTE_104" },
|
|
1513
|
+
{ no: 4, name: "VANC_DVB_SCTE_VBI" },
|
|
1514
|
+
{ no: 5, name: "VANC_OP47_SDP" },
|
|
1515
|
+
{ no: 6, name: "VANC_OP47_VANC_MULTIPACKET" },
|
|
1516
|
+
{ no: 7, name: "VANC_ANCILLARY_TIME_CODE" },
|
|
1517
|
+
{ no: 8, name: "VANC_EIA_708D" },
|
|
1518
|
+
{ no: 9, name: "VANC_EIA_608" },
|
|
1519
|
+
]);
|
|
1520
|
+
|
|
1451
1521
|
/**
|
|
1452
1522
|
* @generated from enum norsk.api.media.VideoConnection
|
|
1453
1523
|
*/
|
|
@@ -7046,51 +7116,67 @@ export class BrowserInputEvent extends Message<BrowserInputEvent> {
|
|
|
7046
7116
|
}
|
|
7047
7117
|
|
|
7048
7118
|
/**
|
|
7049
|
-
* @generated from message norsk.api.media.
|
|
7119
|
+
* @generated from message norsk.api.media.WebRtcConfiguration
|
|
7050
7120
|
*/
|
|
7051
|
-
export class
|
|
7121
|
+
export class WebRtcConfiguration extends Message<WebRtcConfiguration> {
|
|
7052
7122
|
/**
|
|
7053
7123
|
* STUN/TURN servers to use for the Norsk server (and by default report to
|
|
7054
7124
|
* clients)
|
|
7055
7125
|
*
|
|
7056
|
-
* @generated from field: repeated norsk.api.media.WebRtcIceServer
|
|
7126
|
+
* @generated from field: repeated norsk.api.media.WebRtcIceServer ice_servers = 1;
|
|
7057
7127
|
*/
|
|
7058
|
-
|
|
7128
|
+
iceServers: WebRtcIceServer[] = [];
|
|
7059
7129
|
|
|
7060
7130
|
/**
|
|
7061
7131
|
* STUN/TURN servers to report to a connecting client (eg via WHIP/WHEP). If
|
|
7062
7132
|
* specified overrides the configuration in servers
|
|
7063
7133
|
*
|
|
7064
|
-
* @generated from field: repeated norsk.api.media.WebRtcIceServer
|
|
7134
|
+
* @generated from field: repeated norsk.api.media.WebRtcIceServer reported_ice_servers = 2;
|
|
7065
7135
|
*/
|
|
7066
|
-
|
|
7136
|
+
reportedIceServers: WebRtcIceServer[] = [];
|
|
7067
7137
|
|
|
7068
|
-
|
|
7138
|
+
/**
|
|
7139
|
+
* Server IPs to use instead of the local server IP (optional)
|
|
7140
|
+
*
|
|
7141
|
+
* @generated from field: repeated string hostIps = 3;
|
|
7142
|
+
*/
|
|
7143
|
+
hostIps: string[] = [];
|
|
7144
|
+
|
|
7145
|
+
/**
|
|
7146
|
+
* IPs to report as server relexive candiates at session startup (optional)
|
|
7147
|
+
*
|
|
7148
|
+
* @generated from field: repeated string serverReflexiveIps = 4;
|
|
7149
|
+
*/
|
|
7150
|
+
serverReflexiveIps: string[] = [];
|
|
7151
|
+
|
|
7152
|
+
constructor(data?: PartialMessage<WebRtcConfiguration>) {
|
|
7069
7153
|
super();
|
|
7070
7154
|
proto3.util.initPartial(data, this);
|
|
7071
7155
|
}
|
|
7072
7156
|
|
|
7073
7157
|
static readonly runtime = proto3;
|
|
7074
|
-
static readonly typeName = "norsk.api.media.
|
|
7158
|
+
static readonly typeName = "norsk.api.media.WebRtcConfiguration";
|
|
7075
7159
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7076
|
-
{ no: 1, name: "
|
|
7077
|
-
{ no: 2, name: "
|
|
7160
|
+
{ no: 1, name: "ice_servers", kind: "message", T: WebRtcIceServer, repeated: true },
|
|
7161
|
+
{ no: 2, name: "reported_ice_servers", kind: "message", T: WebRtcIceServer, repeated: true },
|
|
7162
|
+
{ no: 3, name: "hostIps", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
7163
|
+
{ no: 4, name: "serverReflexiveIps", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
7078
7164
|
]);
|
|
7079
7165
|
|
|
7080
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
7081
|
-
return new
|
|
7166
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRtcConfiguration {
|
|
7167
|
+
return new WebRtcConfiguration().fromBinary(bytes, options);
|
|
7082
7168
|
}
|
|
7083
7169
|
|
|
7084
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
7085
|
-
return new
|
|
7170
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebRtcConfiguration {
|
|
7171
|
+
return new WebRtcConfiguration().fromJson(jsonValue, options);
|
|
7086
7172
|
}
|
|
7087
7173
|
|
|
7088
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
7089
|
-
return new
|
|
7174
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebRtcConfiguration {
|
|
7175
|
+
return new WebRtcConfiguration().fromJsonString(jsonString, options);
|
|
7090
7176
|
}
|
|
7091
7177
|
|
|
7092
|
-
static equals(a:
|
|
7093
|
-
return proto3.util.equals(
|
|
7178
|
+
static equals(a: WebRtcConfiguration | PlainMessage<WebRtcConfiguration> | undefined, b: WebRtcConfiguration | PlainMessage<WebRtcConfiguration> | undefined): boolean {
|
|
7179
|
+
return proto3.util.equals(WebRtcConfiguration, a, b);
|
|
7094
7180
|
}
|
|
7095
7181
|
}
|
|
7096
7182
|
|
|
@@ -7167,11 +7253,11 @@ export class WhipInputConfiguration extends Message<WhipInputConfiguration> {
|
|
|
7167
7253
|
statsSampling?: StreamStatisticsSampling;
|
|
7168
7254
|
|
|
7169
7255
|
/**
|
|
7170
|
-
* Optionally configure ICE servers (STUN/TURN)
|
|
7256
|
+
* Optionally configure ICE servers (STUN/TURN...)
|
|
7171
7257
|
*
|
|
7172
|
-
* @generated from field: norsk.api.media.
|
|
7258
|
+
* @generated from field: norsk.api.media.WebRtcConfiguration server_configuration = 4;
|
|
7173
7259
|
*/
|
|
7174
|
-
|
|
7260
|
+
serverConfiguration?: WebRtcConfiguration;
|
|
7175
7261
|
|
|
7176
7262
|
constructor(data?: PartialMessage<WhipInputConfiguration>) {
|
|
7177
7263
|
super();
|
|
@@ -7184,7 +7270,7 @@ export class WhipInputConfiguration extends Message<WhipInputConfiguration> {
|
|
|
7184
7270
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
7185
7271
|
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
7186
7272
|
{ no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
7187
|
-
{ no: 4, name: "
|
|
7273
|
+
{ no: 4, name: "server_configuration", kind: "message", T: WebRtcConfiguration },
|
|
7188
7274
|
]);
|
|
7189
7275
|
|
|
7190
7276
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhipInputConfiguration {
|
|
@@ -11321,9 +11407,9 @@ export class WebRTCBrowserDuplexConfiguration extends Message<WebRTCBrowserDuple
|
|
|
11321
11407
|
/**
|
|
11322
11408
|
* Optionally configure ICE servers (STUN/TURN)
|
|
11323
11409
|
*
|
|
11324
|
-
* @generated from field: norsk.api.media.
|
|
11410
|
+
* @generated from field: norsk.api.media.WebRtcConfiguration server_configuration = 3;
|
|
11325
11411
|
*/
|
|
11326
|
-
|
|
11412
|
+
serverConfiguration?: WebRtcConfiguration;
|
|
11327
11413
|
|
|
11328
11414
|
/**
|
|
11329
11415
|
* @generated from field: uint32 buffer_delay_ms = 4;
|
|
@@ -11340,7 +11426,7 @@ export class WebRTCBrowserDuplexConfiguration extends Message<WebRTCBrowserDuple
|
|
|
11340
11426
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11341
11427
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
11342
11428
|
{ no: 2, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
11343
|
-
{ no: 3, name: "
|
|
11429
|
+
{ no: 3, name: "server_configuration", kind: "message", T: WebRtcConfiguration },
|
|
11344
11430
|
{ no: 4, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
11345
11431
|
]);
|
|
11346
11432
|
|
|
@@ -11499,9 +11585,9 @@ export class WhepOutputConfiguration extends Message<WhepOutputConfiguration> {
|
|
|
11499
11585
|
/**
|
|
11500
11586
|
* Optionally configure ICE servers (STUN/TURN)
|
|
11501
11587
|
*
|
|
11502
|
-
* @generated from field: norsk.api.media.
|
|
11588
|
+
* @generated from field: norsk.api.media.WebRtcConfiguration server_configuration = 3;
|
|
11503
11589
|
*/
|
|
11504
|
-
|
|
11590
|
+
serverConfiguration?: WebRtcConfiguration;
|
|
11505
11591
|
|
|
11506
11592
|
/**
|
|
11507
11593
|
* @generated from field: uint32 buffer_delay_ms = 4;
|
|
@@ -11518,7 +11604,7 @@ export class WhepOutputConfiguration extends Message<WhepOutputConfiguration> {
|
|
|
11518
11604
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11519
11605
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
11520
11606
|
{ no: 2, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
11521
|
-
{ no: 3, name: "
|
|
11607
|
+
{ no: 3, name: "server_configuration", kind: "message", T: WebRtcConfiguration },
|
|
11522
11608
|
{ no: 4, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
11523
11609
|
]);
|
|
11524
11610
|
|
|
@@ -13303,6 +13389,18 @@ export class VideoEncodeStream extends Message<VideoEncodeStream> {
|
|
|
13303
13389
|
*/
|
|
13304
13390
|
value: QuadraHevc;
|
|
13305
13391
|
case: "quadraHevc";
|
|
13392
|
+
} | {
|
|
13393
|
+
/**
|
|
13394
|
+
* @generated from field: norsk.api.media.XilinxH264 xilinxH264 = 13;
|
|
13395
|
+
*/
|
|
13396
|
+
value: XilinxH264;
|
|
13397
|
+
case: "xilinxH264";
|
|
13398
|
+
} | {
|
|
13399
|
+
/**
|
|
13400
|
+
* @generated from field: norsk.api.media.XilinxHevc xilinxHevc = 14;
|
|
13401
|
+
*/
|
|
13402
|
+
value: XilinxHevc;
|
|
13403
|
+
case: "xilinxHevc";
|
|
13306
13404
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
13307
13405
|
|
|
13308
13406
|
constructor(data?: PartialMessage<VideoEncodeStream>) {
|
|
@@ -13325,6 +13423,8 @@ export class VideoEncodeStream extends Message<VideoEncodeStream> {
|
|
|
13325
13423
|
{ no: 10, name: "loganHevc", kind: "message", T: LoganHevc, oneof: "codec" },
|
|
13326
13424
|
{ no: 11, name: "quadraH264", kind: "message", T: QuadraH264, oneof: "codec" },
|
|
13327
13425
|
{ no: 12, name: "quadraHevc", kind: "message", T: QuadraHevc, oneof: "codec" },
|
|
13426
|
+
{ no: 13, name: "xilinxH264", kind: "message", T: XilinxH264, oneof: "codec" },
|
|
13427
|
+
{ no: 14, name: "xilinxHevc", kind: "message", T: XilinxHevc, oneof: "codec" },
|
|
13328
13428
|
]);
|
|
13329
13429
|
|
|
13330
13430
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoEncodeStream {
|
|
@@ -14571,6 +14671,188 @@ proto3.util.setEnumType(LoganHevc_LoganHevcTier, "norsk.api.media.LoganHevc.Loga
|
|
|
14571
14671
|
{ no: 1, name: "LOGAN_HEVC_TIER_HIGH" },
|
|
14572
14672
|
]);
|
|
14573
14673
|
|
|
14674
|
+
/**
|
|
14675
|
+
* @generated from message norsk.api.media.XilinxH264
|
|
14676
|
+
*/
|
|
14677
|
+
export class XilinxH264 extends Message<XilinxH264> {
|
|
14678
|
+
/**
|
|
14679
|
+
* @generated from field: norsk.api.media.XilinxH264.XilinxH264Profile profile = 1;
|
|
14680
|
+
*/
|
|
14681
|
+
profile = XilinxH264_XilinxH264Profile.DEFAULT;
|
|
14682
|
+
|
|
14683
|
+
/**
|
|
14684
|
+
* @generated from field: norsk.api.media.OptionalInt level = 2;
|
|
14685
|
+
*/
|
|
14686
|
+
level?: OptionalInt;
|
|
14687
|
+
|
|
14688
|
+
constructor(data?: PartialMessage<XilinxH264>) {
|
|
14689
|
+
super();
|
|
14690
|
+
proto3.util.initPartial(data, this);
|
|
14691
|
+
}
|
|
14692
|
+
|
|
14693
|
+
static readonly runtime = proto3;
|
|
14694
|
+
static readonly typeName = "norsk.api.media.XilinxH264";
|
|
14695
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
14696
|
+
{ no: 1, name: "profile", kind: "enum", T: proto3.getEnumType(XilinxH264_XilinxH264Profile) },
|
|
14697
|
+
{ no: 2, name: "level", kind: "message", T: OptionalInt },
|
|
14698
|
+
]);
|
|
14699
|
+
|
|
14700
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): XilinxH264 {
|
|
14701
|
+
return new XilinxH264().fromBinary(bytes, options);
|
|
14702
|
+
}
|
|
14703
|
+
|
|
14704
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): XilinxH264 {
|
|
14705
|
+
return new XilinxH264().fromJson(jsonValue, options);
|
|
14706
|
+
}
|
|
14707
|
+
|
|
14708
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): XilinxH264 {
|
|
14709
|
+
return new XilinxH264().fromJsonString(jsonString, options);
|
|
14710
|
+
}
|
|
14711
|
+
|
|
14712
|
+
static equals(a: XilinxH264 | PlainMessage<XilinxH264> | undefined, b: XilinxH264 | PlainMessage<XilinxH264> | undefined): boolean {
|
|
14713
|
+
return proto3.util.equals(XilinxH264, a, b);
|
|
14714
|
+
}
|
|
14715
|
+
}
|
|
14716
|
+
|
|
14717
|
+
/**
|
|
14718
|
+
* @generated from enum norsk.api.media.XilinxH264.XilinxH264Profile
|
|
14719
|
+
*/
|
|
14720
|
+
export enum XilinxH264_XilinxH264Profile {
|
|
14721
|
+
/**
|
|
14722
|
+
* @generated from enum value: XILINX_H264_PROFILE_DEFAULT = 0;
|
|
14723
|
+
*/
|
|
14724
|
+
DEFAULT = 0,
|
|
14725
|
+
|
|
14726
|
+
/**
|
|
14727
|
+
* @generated from enum value: XILINX_H264_PROFILE_BASELINE = 1;
|
|
14728
|
+
*/
|
|
14729
|
+
BASELINE = 1,
|
|
14730
|
+
|
|
14731
|
+
/**
|
|
14732
|
+
* @generated from enum value: XILINX_H264_PROFILE_MAIN = 2;
|
|
14733
|
+
*/
|
|
14734
|
+
MAIN = 2,
|
|
14735
|
+
|
|
14736
|
+
/**
|
|
14737
|
+
* @generated from enum value: XILINX_H264_PROFILE_EXTENDED = 3;
|
|
14738
|
+
*/
|
|
14739
|
+
EXTENDED = 3,
|
|
14740
|
+
|
|
14741
|
+
/**
|
|
14742
|
+
* @generated from enum value: XILINX_H264_PROFILE_HIGH = 4;
|
|
14743
|
+
*/
|
|
14744
|
+
HIGH = 4,
|
|
14745
|
+
|
|
14746
|
+
/**
|
|
14747
|
+
* @generated from enum value: XILINX_H264_PROFILE_HIGH10 = 5;
|
|
14748
|
+
*/
|
|
14749
|
+
HIGH10 = 5,
|
|
14750
|
+
}
|
|
14751
|
+
// Retrieve enum metadata with: proto3.getEnumType(XilinxH264_XilinxH264Profile)
|
|
14752
|
+
proto3.util.setEnumType(XilinxH264_XilinxH264Profile, "norsk.api.media.XilinxH264.XilinxH264Profile", [
|
|
14753
|
+
{ no: 0, name: "XILINX_H264_PROFILE_DEFAULT" },
|
|
14754
|
+
{ no: 1, name: "XILINX_H264_PROFILE_BASELINE" },
|
|
14755
|
+
{ no: 2, name: "XILINX_H264_PROFILE_MAIN" },
|
|
14756
|
+
{ no: 3, name: "XILINX_H264_PROFILE_EXTENDED" },
|
|
14757
|
+
{ no: 4, name: "XILINX_H264_PROFILE_HIGH" },
|
|
14758
|
+
{ no: 5, name: "XILINX_H264_PROFILE_HIGH10" },
|
|
14759
|
+
]);
|
|
14760
|
+
|
|
14761
|
+
/**
|
|
14762
|
+
* @generated from message norsk.api.media.XilinxHevc
|
|
14763
|
+
*/
|
|
14764
|
+
export class XilinxHevc extends Message<XilinxHevc> {
|
|
14765
|
+
/**
|
|
14766
|
+
* @generated from field: norsk.api.media.XilinxHevc.XilinxHevcTier tier = 1;
|
|
14767
|
+
*/
|
|
14768
|
+
tier = XilinxHevc_XilinxHevcTier.MAIN;
|
|
14769
|
+
|
|
14770
|
+
/**
|
|
14771
|
+
* @generated from field: norsk.api.media.XilinxHevc.XilinxHevcProfile profile = 2;
|
|
14772
|
+
*/
|
|
14773
|
+
profile = XilinxHevc_XilinxHevcProfile.DEFAULT;
|
|
14774
|
+
|
|
14775
|
+
/**
|
|
14776
|
+
* @generated from field: norsk.api.media.OptionalInt level = 3;
|
|
14777
|
+
*/
|
|
14778
|
+
level?: OptionalInt;
|
|
14779
|
+
|
|
14780
|
+
constructor(data?: PartialMessage<XilinxHevc>) {
|
|
14781
|
+
super();
|
|
14782
|
+
proto3.util.initPartial(data, this);
|
|
14783
|
+
}
|
|
14784
|
+
|
|
14785
|
+
static readonly runtime = proto3;
|
|
14786
|
+
static readonly typeName = "norsk.api.media.XilinxHevc";
|
|
14787
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
14788
|
+
{ no: 1, name: "tier", kind: "enum", T: proto3.getEnumType(XilinxHevc_XilinxHevcTier) },
|
|
14789
|
+
{ no: 2, name: "profile", kind: "enum", T: proto3.getEnumType(XilinxHevc_XilinxHevcProfile) },
|
|
14790
|
+
{ no: 3, name: "level", kind: "message", T: OptionalInt },
|
|
14791
|
+
]);
|
|
14792
|
+
|
|
14793
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): XilinxHevc {
|
|
14794
|
+
return new XilinxHevc().fromBinary(bytes, options);
|
|
14795
|
+
}
|
|
14796
|
+
|
|
14797
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): XilinxHevc {
|
|
14798
|
+
return new XilinxHevc().fromJson(jsonValue, options);
|
|
14799
|
+
}
|
|
14800
|
+
|
|
14801
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): XilinxHevc {
|
|
14802
|
+
return new XilinxHevc().fromJsonString(jsonString, options);
|
|
14803
|
+
}
|
|
14804
|
+
|
|
14805
|
+
static equals(a: XilinxHevc | PlainMessage<XilinxHevc> | undefined, b: XilinxHevc | PlainMessage<XilinxHevc> | undefined): boolean {
|
|
14806
|
+
return proto3.util.equals(XilinxHevc, a, b);
|
|
14807
|
+
}
|
|
14808
|
+
}
|
|
14809
|
+
|
|
14810
|
+
/**
|
|
14811
|
+
* @generated from enum norsk.api.media.XilinxHevc.XilinxHevcProfile
|
|
14812
|
+
*/
|
|
14813
|
+
export enum XilinxHevc_XilinxHevcProfile {
|
|
14814
|
+
/**
|
|
14815
|
+
* @generated from enum value: XILINX_HEVC_PROFILE_DEFAULT = 0;
|
|
14816
|
+
*/
|
|
14817
|
+
DEFAULT = 0,
|
|
14818
|
+
|
|
14819
|
+
/**
|
|
14820
|
+
* @generated from enum value: XILINX_HEVC_PROFILE_MAIN = 1;
|
|
14821
|
+
*/
|
|
14822
|
+
MAIN = 1,
|
|
14823
|
+
|
|
14824
|
+
/**
|
|
14825
|
+
* @generated from enum value: XILINX_HEVC_PROFILE_MAIN10 = 2;
|
|
14826
|
+
*/
|
|
14827
|
+
MAIN10 = 2,
|
|
14828
|
+
}
|
|
14829
|
+
// Retrieve enum metadata with: proto3.getEnumType(XilinxHevc_XilinxHevcProfile)
|
|
14830
|
+
proto3.util.setEnumType(XilinxHevc_XilinxHevcProfile, "norsk.api.media.XilinxHevc.XilinxHevcProfile", [
|
|
14831
|
+
{ no: 0, name: "XILINX_HEVC_PROFILE_DEFAULT" },
|
|
14832
|
+
{ no: 1, name: "XILINX_HEVC_PROFILE_MAIN" },
|
|
14833
|
+
{ no: 2, name: "XILINX_HEVC_PROFILE_MAIN10" },
|
|
14834
|
+
]);
|
|
14835
|
+
|
|
14836
|
+
/**
|
|
14837
|
+
* @generated from enum norsk.api.media.XilinxHevc.XilinxHevcTier
|
|
14838
|
+
*/
|
|
14839
|
+
export enum XilinxHevc_XilinxHevcTier {
|
|
14840
|
+
/**
|
|
14841
|
+
* @generated from enum value: XILINX_HEVC_TIER_MAIN = 0;
|
|
14842
|
+
*/
|
|
14843
|
+
MAIN = 0,
|
|
14844
|
+
|
|
14845
|
+
/**
|
|
14846
|
+
* @generated from enum value: XILINX_HEVC_TIER_HIGH = 1;
|
|
14847
|
+
*/
|
|
14848
|
+
HIGH = 1,
|
|
14849
|
+
}
|
|
14850
|
+
// Retrieve enum metadata with: proto3.getEnumType(XilinxHevc_XilinxHevcTier)
|
|
14851
|
+
proto3.util.setEnumType(XilinxHevc_XilinxHevcTier, "norsk.api.media.XilinxHevc.XilinxHevcTier", [
|
|
14852
|
+
{ no: 0, name: "XILINX_HEVC_TIER_MAIN" },
|
|
14853
|
+
{ no: 1, name: "XILINX_HEVC_TIER_HIGH" },
|
|
14854
|
+
]);
|
|
14855
|
+
|
|
14574
14856
|
/**
|
|
14575
14857
|
* @generated from message norsk.api.media.VideoTransformConfiguration
|
|
14576
14858
|
*/
|
|
@@ -17886,6 +18168,8 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
|
|
|
17886
18168
|
case: "subscription";
|
|
17887
18169
|
} | {
|
|
17888
18170
|
/**
|
|
18171
|
+
* Scte104Event scte104_event = 4;
|
|
18172
|
+
*
|
|
17889
18173
|
* @generated from field: norsk.api.media.Scte35Event scte35_event = 3;
|
|
17890
18174
|
*/
|
|
17891
18175
|
value: Scte35Event;
|
|
@@ -17949,10 +18233,18 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
|
|
|
17949
18233
|
case: "subscriptionResponse";
|
|
17950
18234
|
} | {
|
|
17951
18235
|
/**
|
|
18236
|
+
* Scte104Event scte104_event = 5;
|
|
18237
|
+
*
|
|
17952
18238
|
* @generated from field: norsk.api.media.Scte35Event scte35_event = 4;
|
|
17953
18239
|
*/
|
|
17954
18240
|
value: Scte35Event;
|
|
17955
18241
|
case: "scte35Event";
|
|
18242
|
+
} | {
|
|
18243
|
+
/**
|
|
18244
|
+
* @generated from field: norsk.api.media.Smpte2038Message smpte2038_message = 6;
|
|
18245
|
+
*/
|
|
18246
|
+
value: Smpte2038Message;
|
|
18247
|
+
case: "smpte2038Message";
|
|
17956
18248
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
17957
18249
|
|
|
17958
18250
|
constructor(data?: PartialMessage<AncillaryEvent>) {
|
|
@@ -17967,6 +18259,7 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
|
|
|
17967
18259
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17968
18260
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
17969
18261
|
{ no: 4, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
|
|
18262
|
+
{ no: 6, name: "smpte2038_message", kind: "message", T: Smpte2038Message, oneof: "message" },
|
|
17970
18263
|
]);
|
|
17971
18264
|
|
|
17972
18265
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryEvent {
|
|
@@ -18029,6 +18322,122 @@ export class Scte35Event extends Message<Scte35Event> {
|
|
|
18029
18322
|
}
|
|
18030
18323
|
}
|
|
18031
18324
|
|
|
18325
|
+
/**
|
|
18326
|
+
* @generated from message norsk.api.media.Smpte2038Message
|
|
18327
|
+
*/
|
|
18328
|
+
export class Smpte2038Message extends Message<Smpte2038Message> {
|
|
18329
|
+
/**
|
|
18330
|
+
* @generated from field: norsk.api.media.StreamKey stream = 1;
|
|
18331
|
+
*/
|
|
18332
|
+
stream?: StreamKey;
|
|
18333
|
+
|
|
18334
|
+
/**
|
|
18335
|
+
* @generated from field: bool c_not_y_channel_flag = 2;
|
|
18336
|
+
*/
|
|
18337
|
+
cNotYChannelFlag = false;
|
|
18338
|
+
|
|
18339
|
+
/**
|
|
18340
|
+
* @generated from field: uint32 line_number = 3;
|
|
18341
|
+
*/
|
|
18342
|
+
lineNumber = 0;
|
|
18343
|
+
|
|
18344
|
+
/**
|
|
18345
|
+
* @generated from field: uint32 horizontal_offset = 4;
|
|
18346
|
+
*/
|
|
18347
|
+
horizontalOffset = 0;
|
|
18348
|
+
|
|
18349
|
+
/**
|
|
18350
|
+
* @generated from field: norsk.api.media.VancPayloadFormat payload_format = 5;
|
|
18351
|
+
*/
|
|
18352
|
+
payloadFormat = VancPayloadFormat.VANC_OTHER;
|
|
18353
|
+
|
|
18354
|
+
/**
|
|
18355
|
+
* @generated from field: norsk.api.media.VancType2AncillaryId ancillary_id = 6;
|
|
18356
|
+
*/
|
|
18357
|
+
ancillaryId?: VancType2AncillaryId;
|
|
18358
|
+
|
|
18359
|
+
/**
|
|
18360
|
+
* @generated from field: bytes user_data = 7;
|
|
18361
|
+
*/
|
|
18362
|
+
userData = new Uint8Array(0);
|
|
18363
|
+
|
|
18364
|
+
constructor(data?: PartialMessage<Smpte2038Message>) {
|
|
18365
|
+
super();
|
|
18366
|
+
proto3.util.initPartial(data, this);
|
|
18367
|
+
}
|
|
18368
|
+
|
|
18369
|
+
static readonly runtime = proto3;
|
|
18370
|
+
static readonly typeName = "norsk.api.media.Smpte2038Message";
|
|
18371
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
18372
|
+
{ no: 1, name: "stream", kind: "message", T: StreamKey },
|
|
18373
|
+
{ no: 2, name: "c_not_y_channel_flag", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
18374
|
+
{ no: 3, name: "line_number", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
18375
|
+
{ no: 4, name: "horizontal_offset", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
18376
|
+
{ no: 5, name: "payload_format", kind: "enum", T: proto3.getEnumType(VancPayloadFormat) },
|
|
18377
|
+
{ no: 6, name: "ancillary_id", kind: "message", T: VancType2AncillaryId },
|
|
18378
|
+
{ no: 7, name: "user_data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
18379
|
+
]);
|
|
18380
|
+
|
|
18381
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Smpte2038Message {
|
|
18382
|
+
return new Smpte2038Message().fromBinary(bytes, options);
|
|
18383
|
+
}
|
|
18384
|
+
|
|
18385
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Smpte2038Message {
|
|
18386
|
+
return new Smpte2038Message().fromJson(jsonValue, options);
|
|
18387
|
+
}
|
|
18388
|
+
|
|
18389
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Smpte2038Message {
|
|
18390
|
+
return new Smpte2038Message().fromJsonString(jsonString, options);
|
|
18391
|
+
}
|
|
18392
|
+
|
|
18393
|
+
static equals(a: Smpte2038Message | PlainMessage<Smpte2038Message> | undefined, b: Smpte2038Message | PlainMessage<Smpte2038Message> | undefined): boolean {
|
|
18394
|
+
return proto3.util.equals(Smpte2038Message, a, b);
|
|
18395
|
+
}
|
|
18396
|
+
}
|
|
18397
|
+
|
|
18398
|
+
/**
|
|
18399
|
+
* @generated from message norsk.api.media.VancType2AncillaryId
|
|
18400
|
+
*/
|
|
18401
|
+
export class VancType2AncillaryId extends Message<VancType2AncillaryId> {
|
|
18402
|
+
/**
|
|
18403
|
+
* @generated from field: uint32 did = 1;
|
|
18404
|
+
*/
|
|
18405
|
+
did = 0;
|
|
18406
|
+
|
|
18407
|
+
/**
|
|
18408
|
+
* @generated from field: uint32 sdid = 2;
|
|
18409
|
+
*/
|
|
18410
|
+
sdid = 0;
|
|
18411
|
+
|
|
18412
|
+
constructor(data?: PartialMessage<VancType2AncillaryId>) {
|
|
18413
|
+
super();
|
|
18414
|
+
proto3.util.initPartial(data, this);
|
|
18415
|
+
}
|
|
18416
|
+
|
|
18417
|
+
static readonly runtime = proto3;
|
|
18418
|
+
static readonly typeName = "norsk.api.media.VancType2AncillaryId";
|
|
18419
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
18420
|
+
{ no: 1, name: "did", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
18421
|
+
{ no: 2, name: "sdid", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
18422
|
+
]);
|
|
18423
|
+
|
|
18424
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VancType2AncillaryId {
|
|
18425
|
+
return new VancType2AncillaryId().fromBinary(bytes, options);
|
|
18426
|
+
}
|
|
18427
|
+
|
|
18428
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VancType2AncillaryId {
|
|
18429
|
+
return new VancType2AncillaryId().fromJson(jsonValue, options);
|
|
18430
|
+
}
|
|
18431
|
+
|
|
18432
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VancType2AncillaryId {
|
|
18433
|
+
return new VancType2AncillaryId().fromJsonString(jsonString, options);
|
|
18434
|
+
}
|
|
18435
|
+
|
|
18436
|
+
static equals(a: VancType2AncillaryId | PlainMessage<VancType2AncillaryId> | undefined, b: VancType2AncillaryId | PlainMessage<VancType2AncillaryId> | undefined): boolean {
|
|
18437
|
+
return proto3.util.equals(VancType2AncillaryId, a, b);
|
|
18438
|
+
}
|
|
18439
|
+
}
|
|
18440
|
+
|
|
18032
18441
|
/**
|
|
18033
18442
|
* @generated from message norsk.api.media.Scte35SpliceInfoSection
|
|
18034
18443
|
*/
|