@norskvideo/norsk-api 1.0.335 → 1.0.336

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.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
 
6
6
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
7
+ import { Empty, Message, proto3, protoInt64 } from "@bufbuild/protobuf";
8
8
  import { CurrentLoad, Log, Version } from "./shared/common_pb.js";
9
9
 
10
10
  /**
@@ -2421,6 +2421,14 @@ export class StreamMetadata extends Message<StreamMetadata> {
2421
2421
  */
2422
2422
  value: StreamMetadata_SubtitleMetadata;
2423
2423
  case: "subtitle";
2424
+ } | {
2425
+ /**
2426
+ * Ancillary metadata
2427
+ *
2428
+ * @generated from field: norsk.api.media.StreamMetadata.AncillaryMetadata ancillary = 5;
2429
+ */
2430
+ value: StreamMetadata_AncillaryMetadata;
2431
+ case: "ancillary";
2424
2432
  } | { case: undefined; value?: undefined } = { case: undefined };
2425
2433
 
2426
2434
  constructor(data?: PartialMessage<StreamMetadata>) {
@@ -2435,6 +2443,7 @@ export class StreamMetadata extends Message<StreamMetadata> {
2435
2443
  { no: 2, name: "audio", kind: "message", T: StreamMetadata_AudioMetadata, oneof: "message" },
2436
2444
  { no: 3, name: "video", kind: "message", T: StreamMetadata_VideoMetadata, oneof: "message" },
2437
2445
  { no: 4, name: "subtitle", kind: "message", T: StreamMetadata_SubtitleMetadata, oneof: "message" },
2446
+ { no: 5, name: "ancillary", kind: "message", T: StreamMetadata_AncillaryMetadata, oneof: "message" },
2438
2447
  ]);
2439
2448
 
2440
2449
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata {
@@ -2601,6 +2610,39 @@ export class StreamMetadata_SubtitleMetadata extends Message<StreamMetadata_Subt
2601
2610
  }
2602
2611
  }
2603
2612
 
2613
+ /**
2614
+ * Metadata for an ancillary stream
2615
+ *
2616
+ * @generated from message norsk.api.media.StreamMetadata.AncillaryMetadata
2617
+ */
2618
+ export class StreamMetadata_AncillaryMetadata extends Message<StreamMetadata_AncillaryMetadata> {
2619
+ constructor(data?: PartialMessage<StreamMetadata_AncillaryMetadata>) {
2620
+ super();
2621
+ proto3.util.initPartial(data, this);
2622
+ }
2623
+
2624
+ static readonly runtime = proto3;
2625
+ static readonly typeName = "norsk.api.media.StreamMetadata.AncillaryMetadata";
2626
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2627
+ ]);
2628
+
2629
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadata_AncillaryMetadata {
2630
+ return new StreamMetadata_AncillaryMetadata().fromBinary(bytes, options);
2631
+ }
2632
+
2633
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamMetadata_AncillaryMetadata {
2634
+ return new StreamMetadata_AncillaryMetadata().fromJson(jsonValue, options);
2635
+ }
2636
+
2637
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamMetadata_AncillaryMetadata {
2638
+ return new StreamMetadata_AncillaryMetadata().fromJsonString(jsonString, options);
2639
+ }
2640
+
2641
+ static equals(a: StreamMetadata_AncillaryMetadata | PlainMessage<StreamMetadata_AncillaryMetadata> | undefined, b: StreamMetadata_AncillaryMetadata | PlainMessage<StreamMetadata_AncillaryMetadata> | undefined): boolean {
2642
+ return proto3.util.equals(StreamMetadata_AncillaryMetadata, a, b);
2643
+ }
2644
+ }
2645
+
2604
2646
  /**
2605
2647
  * *
2606
2648
  * The Context message is sent from Norsk in response to a
@@ -4104,6 +4146,11 @@ export enum TsProgram_TsStreamType {
4104
4146
  * @generated from enum value: HEVC = 10;
4105
4147
  */
4106
4148
  HEVC = 10,
4149
+
4150
+ /**
4151
+ * @generated from enum value: SCTE35 = 11;
4152
+ */
4153
+ SCTE35 = 11,
4107
4154
  }
4108
4155
  // Retrieve enum metadata with: proto3.getEnumType(TsProgram_TsStreamType)
4109
4156
  proto3.util.setEnumType(TsProgram_TsStreamType, "norsk.api.media.TsProgram.TsStreamType", [
@@ -4118,6 +4165,7 @@ proto3.util.setEnumType(TsProgram_TsStreamType, "norsk.api.media.TsProgram.TsStr
4118
4165
  { no: 8, name: "H264" },
4119
4166
  { no: 9, name: "UNKNOWN" },
4120
4167
  { no: 10, name: "HEVC" },
4168
+ { no: 11, name: "SCTE35" },
4121
4169
  ]);
4122
4170
 
4123
4171
  /**
@@ -4391,6 +4439,43 @@ export class FileTsInputConfiguration extends Message<FileTsInputConfiguration>
4391
4439
  }
4392
4440
  }
4393
4441
 
4442
+ /**
4443
+ * @generated from message norsk.api.media.FileTsInputConfigurationUpdate
4444
+ */
4445
+ export class FileTsInputConfigurationUpdate extends Message<FileTsInputConfigurationUpdate> {
4446
+ /**
4447
+ * @generated from field: norsk.api.media.OptionalBool loop = 1;
4448
+ */
4449
+ loop?: OptionalBool;
4450
+
4451
+ constructor(data?: PartialMessage<FileTsInputConfigurationUpdate>) {
4452
+ super();
4453
+ proto3.util.initPartial(data, this);
4454
+ }
4455
+
4456
+ static readonly runtime = proto3;
4457
+ static readonly typeName = "norsk.api.media.FileTsInputConfigurationUpdate";
4458
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
4459
+ { no: 1, name: "loop", kind: "message", T: OptionalBool },
4460
+ ]);
4461
+
4462
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileTsInputConfigurationUpdate {
4463
+ return new FileTsInputConfigurationUpdate().fromBinary(bytes, options);
4464
+ }
4465
+
4466
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileTsInputConfigurationUpdate {
4467
+ return new FileTsInputConfigurationUpdate().fromJson(jsonValue, options);
4468
+ }
4469
+
4470
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileTsInputConfigurationUpdate {
4471
+ return new FileTsInputConfigurationUpdate().fromJsonString(jsonString, options);
4472
+ }
4473
+
4474
+ static equals(a: FileTsInputConfigurationUpdate | PlainMessage<FileTsInputConfigurationUpdate> | undefined, b: FileTsInputConfigurationUpdate | PlainMessage<FileTsInputConfigurationUpdate> | undefined): boolean {
4475
+ return proto3.util.equals(FileTsInputConfigurationUpdate, a, b);
4476
+ }
4477
+ }
4478
+
4394
4479
  /**
4395
4480
  * @generated from message norsk.api.media.FileTsInputMessage
4396
4481
  */
@@ -4410,6 +4495,12 @@ export class FileTsInputMessage extends Message<FileTsInputMessage> {
4410
4495
  */
4411
4496
  value: TimestampProgramNudge;
4412
4497
  case: "nudge";
4498
+ } | {
4499
+ /**
4500
+ * @generated from field: norsk.api.media.FileTsInputConfigurationUpdate update_config = 3;
4501
+ */
4502
+ value: FileTsInputConfigurationUpdate;
4503
+ case: "updateConfig";
4413
4504
  } | { case: undefined; value?: undefined } = { case: undefined };
4414
4505
 
4415
4506
  constructor(data?: PartialMessage<FileTsInputMessage>) {
@@ -4422,6 +4513,7 @@ export class FileTsInputMessage extends Message<FileTsInputMessage> {
4422
4513
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
4423
4514
  { no: 1, name: "initial_config", kind: "message", T: FileTsInputConfiguration, oneof: "message" },
4424
4515
  { no: 2, name: "nudge", kind: "message", T: TimestampProgramNudge, oneof: "message" },
4516
+ { no: 3, name: "update_config", kind: "message", T: FileTsInputConfigurationUpdate, oneof: "message" },
4425
4517
  ]);
4426
4518
 
4427
4519
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileTsInputMessage {
@@ -4441,49 +4533,6 @@ export class FileTsInputMessage extends Message<FileTsInputMessage> {
4441
4533
  }
4442
4534
  }
4443
4535
 
4444
- /**
4445
- * @generated from message norsk.api.media.FileTsInputEvent
4446
- */
4447
- export class FileTsInputEvent extends Message<FileTsInputEvent> {
4448
- /**
4449
- * @generated from oneof norsk.api.media.FileTsInputEvent.message
4450
- */
4451
- message: {
4452
- /**
4453
- * @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 1;
4454
- */
4455
- value: MultiStreamStatistics;
4456
- case: "streamStatistics";
4457
- } | { case: undefined; value?: undefined } = { case: undefined };
4458
-
4459
- constructor(data?: PartialMessage<FileTsInputEvent>) {
4460
- super();
4461
- proto3.util.initPartial(data, this);
4462
- }
4463
-
4464
- static readonly runtime = proto3;
4465
- static readonly typeName = "norsk.api.media.FileTsInputEvent";
4466
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
4467
- { no: 1, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
4468
- ]);
4469
-
4470
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileTsInputEvent {
4471
- return new FileTsInputEvent().fromBinary(bytes, options);
4472
- }
4473
-
4474
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileTsInputEvent {
4475
- return new FileTsInputEvent().fromJson(jsonValue, options);
4476
- }
4477
-
4478
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileTsInputEvent {
4479
- return new FileTsInputEvent().fromJsonString(jsonString, options);
4480
- }
4481
-
4482
- static equals(a: FileTsInputEvent | PlainMessage<FileTsInputEvent> | undefined, b: FileTsInputEvent | PlainMessage<FileTsInputEvent> | undefined): boolean {
4483
- return proto3.util.equals(FileTsInputEvent, a, b);
4484
- }
4485
- }
4486
-
4487
4536
  /**
4488
4537
  * @generated from message norsk.api.media.FileWebVttInputConfiguration
4489
4538
  */
@@ -5223,49 +5272,6 @@ export class UdpTsInputMessage extends Message<UdpTsInputMessage> {
5223
5272
  }
5224
5273
  }
5225
5274
 
5226
- /**
5227
- * @generated from message norsk.api.media.UdpTsInputEvent
5228
- */
5229
- export class UdpTsInputEvent extends Message<UdpTsInputEvent> {
5230
- /**
5231
- * @generated from oneof norsk.api.media.UdpTsInputEvent.message
5232
- */
5233
- message: {
5234
- /**
5235
- * @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 1;
5236
- */
5237
- value: MultiStreamStatistics;
5238
- case: "streamStatistics";
5239
- } | { case: undefined; value?: undefined } = { case: undefined };
5240
-
5241
- constructor(data?: PartialMessage<UdpTsInputEvent>) {
5242
- super();
5243
- proto3.util.initPartial(data, this);
5244
- }
5245
-
5246
- static readonly runtime = proto3;
5247
- static readonly typeName = "norsk.api.media.UdpTsInputEvent";
5248
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
5249
- { no: 1, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
5250
- ]);
5251
-
5252
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UdpTsInputEvent {
5253
- return new UdpTsInputEvent().fromBinary(bytes, options);
5254
- }
5255
-
5256
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UdpTsInputEvent {
5257
- return new UdpTsInputEvent().fromJson(jsonValue, options);
5258
- }
5259
-
5260
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UdpTsInputEvent {
5261
- return new UdpTsInputEvent().fromJsonString(jsonString, options);
5262
- }
5263
-
5264
- static equals(a: UdpTsInputEvent | PlainMessage<UdpTsInputEvent> | undefined, b: UdpTsInputEvent | PlainMessage<UdpTsInputEvent> | undefined): boolean {
5265
- return proto3.util.equals(UdpTsInputEvent, a, b);
5266
- }
5267
- }
5268
-
5269
5275
  /**
5270
5276
  * @generated from message norsk.api.media.M3u8MediaInputConfiguration
5271
5277
  */
@@ -6109,6 +6115,43 @@ export class FileMp4InputConfiguration extends Message<FileMp4InputConfiguration
6109
6115
  }
6110
6116
  }
6111
6117
 
6118
+ /**
6119
+ * @generated from message norsk.api.media.FileMp4InputConfigurationUpdate
6120
+ */
6121
+ export class FileMp4InputConfigurationUpdate extends Message<FileMp4InputConfigurationUpdate> {
6122
+ /**
6123
+ * @generated from field: norsk.api.media.OptionalBool loop = 1;
6124
+ */
6125
+ loop?: OptionalBool;
6126
+
6127
+ constructor(data?: PartialMessage<FileMp4InputConfigurationUpdate>) {
6128
+ super();
6129
+ proto3.util.initPartial(data, this);
6130
+ }
6131
+
6132
+ static readonly runtime = proto3;
6133
+ static readonly typeName = "norsk.api.media.FileMp4InputConfigurationUpdate";
6134
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
6135
+ { no: 1, name: "loop", kind: "message", T: OptionalBool },
6136
+ ]);
6137
+
6138
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputConfigurationUpdate {
6139
+ return new FileMp4InputConfigurationUpdate().fromBinary(bytes, options);
6140
+ }
6141
+
6142
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4InputConfigurationUpdate {
6143
+ return new FileMp4InputConfigurationUpdate().fromJson(jsonValue, options);
6144
+ }
6145
+
6146
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputConfigurationUpdate {
6147
+ return new FileMp4InputConfigurationUpdate().fromJsonString(jsonString, options);
6148
+ }
6149
+
6150
+ static equals(a: FileMp4InputConfigurationUpdate | PlainMessage<FileMp4InputConfigurationUpdate> | undefined, b: FileMp4InputConfigurationUpdate | PlainMessage<FileMp4InputConfigurationUpdate> | undefined): boolean {
6151
+ return proto3.util.equals(FileMp4InputConfigurationUpdate, a, b);
6152
+ }
6153
+ }
6154
+
6112
6155
  /**
6113
6156
  * @generated from message norsk.api.media.FileMp4InputMessage
6114
6157
  */
@@ -6128,6 +6171,12 @@ export class FileMp4InputMessage extends Message<FileMp4InputMessage> {
6128
6171
  */
6129
6172
  value: TimestampNudge;
6130
6173
  case: "nudge";
6174
+ } | {
6175
+ /**
6176
+ * @generated from field: norsk.api.media.FileMp4InputConfigurationUpdate update_config = 3;
6177
+ */
6178
+ value: FileMp4InputConfigurationUpdate;
6179
+ case: "updateConfig";
6131
6180
  } | { case: undefined; value?: undefined } = { case: undefined };
6132
6181
 
6133
6182
  constructor(data?: PartialMessage<FileMp4InputMessage>) {
@@ -6140,6 +6189,7 @@ export class FileMp4InputMessage extends Message<FileMp4InputMessage> {
6140
6189
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
6141
6190
  { no: 1, name: "initial_config", kind: "message", T: FileMp4InputConfiguration, oneof: "message" },
6142
6191
  { no: 2, name: "nudge", kind: "message", T: TimestampNudge, oneof: "message" },
6192
+ { no: 3, name: "update_config", kind: "message", T: FileMp4InputConfigurationUpdate, oneof: "message" },
6143
6193
  ]);
6144
6194
 
6145
6195
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputMessage {
@@ -7000,10 +7050,21 @@ export class BrowserInputEvent extends Message<BrowserInputEvent> {
7000
7050
  */
7001
7051
  export class WebRtcIceServerConfiguration extends Message<WebRtcIceServerConfiguration> {
7002
7052
  /**
7053
+ * STUN/TURN servers to use for the Norsk server (and by default report to
7054
+ * clients)
7055
+ *
7003
7056
  * @generated from field: repeated norsk.api.media.WebRtcIceServer servers = 1;
7004
7057
  */
7005
7058
  servers: WebRtcIceServer[] = [];
7006
7059
 
7060
+ /**
7061
+ * STUN/TURN servers to report to a connecting client (eg via WHIP/WHEP). If
7062
+ * specified overrides the configuration in servers
7063
+ *
7064
+ * @generated from field: repeated norsk.api.media.WebRtcIceServer reported_servers = 2;
7065
+ */
7066
+ reportedServers: WebRtcIceServer[] = [];
7067
+
7007
7068
  constructor(data?: PartialMessage<WebRtcIceServerConfiguration>) {
7008
7069
  super();
7009
7070
  proto3.util.initPartial(data, this);
@@ -7013,6 +7074,7 @@ export class WebRtcIceServerConfiguration extends Message<WebRtcIceServerConfigu
7013
7074
  static readonly typeName = "norsk.api.media.WebRtcIceServerConfiguration";
7014
7075
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
7015
7076
  { no: 1, name: "servers", kind: "message", T: WebRtcIceServer, repeated: true },
7077
+ { no: 2, name: "reported_servers", kind: "message", T: WebRtcIceServer, repeated: true },
7016
7078
  ]);
7017
7079
 
7018
7080
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRtcIceServerConfiguration {
@@ -9173,21 +9235,31 @@ export class AudioSplitMultichannelEvent extends Message<AudioSplitMultichannelE
9173
9235
  */
9174
9236
  export class Mp4Encryption extends Message<Mp4Encryption> {
9175
9237
  /**
9238
+ * The 16-byte key ID used to identify the key, hexadecimal or GUID encoded.
9239
+ *
9176
9240
  * @generated from field: string encryption_key_id = 1;
9177
9241
  */
9178
9242
  encryptionKeyId = "";
9179
9243
 
9180
9244
  /**
9245
+ * The 16-byte key used to encrypt the data, hexadecimal encoded.
9246
+ *
9181
9247
  * @generated from field: string encryption_key = 2;
9182
9248
  */
9183
9249
  encryptionKey = "";
9184
9250
 
9185
9251
  /**
9252
+ * The PSSH box(es) to include in the MP4, base64 encoded.
9253
+ * This is typically given by the DRM provider.
9254
+ *
9186
9255
  * @generated from field: string encryption_pssh = 3;
9187
9256
  */
9188
9257
  encryptionPssh = "";
9189
9258
 
9190
9259
  /**
9260
+ * The common encryption scheme used to encrypt data, as per ISO/IEC
9261
+ * 23001-7:2016.
9262
+ *
9191
9263
  * @generated from field: norsk.api.media.Mp4Encryption.Mp4EncryptionScheme encryption_scheme = 4;
9192
9264
  */
9193
9265
  encryptionScheme = Mp4Encryption_Mp4EncryptionScheme.CBCS;
@@ -9228,11 +9300,18 @@ export class Mp4Encryption extends Message<Mp4Encryption> {
9228
9300
  */
9229
9301
  export enum Mp4Encryption_Mp4EncryptionScheme {
9230
9302
  /**
9303
+ * Default: CBCS encryption scheme (AES-CBC 10% pattern encryption).
9304
+ * Full-sample encryption for audio tracks, subsample encryption for video
9305
+ * tracks.
9306
+ *
9231
9307
  * @generated from enum value: MP4_ENCRYPTION_SCHEME_CBCS = 0;
9232
9308
  */
9233
9309
  CBCS = 0,
9234
9310
 
9235
9311
  /**
9312
+ * CENC encryption scheme (AES-CTR). Full-sample encryption for audio
9313
+ * tracks, subsample encryption for video tracks.
9314
+ *
9236
9315
  * @generated from enum value: MP4_ENCRYPTION_SCHEME_CENC = 1;
9237
9316
  */
9238
9317
  CENC = 1,
@@ -9463,6 +9542,20 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
9463
9542
  */
9464
9543
  destinations: CMAFDestination[] = [];
9465
9544
 
9545
+ /**
9546
+ * Directives to add to the m3u media playlist
9547
+ *
9548
+ * @generated from field: string m3u_additions = 8;
9549
+ */
9550
+ m3uAdditions = "";
9551
+
9552
+ /**
9553
+ * XML fragment to add to the mpd Representation element
9554
+ *
9555
+ * @generated from field: string mpd_additions = 9;
9556
+ */
9557
+ mpdAdditions = "";
9558
+
9466
9559
  constructor(data?: PartialMessage<CmafVideoConfiguration>) {
9467
9560
  super();
9468
9561
  proto3.util.initPartial(data, this);
@@ -9478,6 +9571,8 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
9478
9571
  { no: 5, name: "encryption", kind: "message", T: Mp4Encryption },
9479
9572
  { no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
9480
9573
  { no: 7, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
9574
+ { no: 8, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9575
+ { no: 9, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9481
9576
  ]);
9482
9577
 
9483
9578
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafVideoConfiguration {
@@ -9583,6 +9678,20 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
9583
9678
  */
9584
9679
  destinations: CMAFDestination[] = [];
9585
9680
 
9681
+ /**
9682
+ * Directives to add to the m3u media playlist
9683
+ *
9684
+ * @generated from field: string m3u_additions = 6;
9685
+ */
9686
+ m3uAdditions = "";
9687
+
9688
+ /**
9689
+ * XML fragment to add to the mpd Representation element
9690
+ *
9691
+ * @generated from field: string mpd_additions = 7;
9692
+ */
9693
+ mpdAdditions = "";
9694
+
9586
9695
  constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
9587
9696
  super();
9588
9697
  proto3.util.initPartial(data, this);
@@ -9596,6 +9705,8 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
9596
9705
  { no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9597
9706
  { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
9598
9707
  { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
9708
+ { no: 6, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9709
+ { no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9599
9710
  ]);
9600
9711
 
9601
9712
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoConfiguration {
@@ -9711,6 +9822,20 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
9711
9822
  */
9712
9823
  destinations: CMAFDestination[] = [];
9713
9824
 
9825
+ /**
9826
+ * Directives to add to the m3u media playlist
9827
+ *
9828
+ * @generated from field: string m3u_additions = 9;
9829
+ */
9830
+ m3uAdditions = "";
9831
+
9832
+ /**
9833
+ * XML fragment to add to the mpd Representation element
9834
+ *
9835
+ * @generated from field: string mpd_additions = 10;
9836
+ */
9837
+ mpdAdditions = "";
9838
+
9714
9839
  constructor(data?: PartialMessage<CmafAudioConfiguration>) {
9715
9840
  super();
9716
9841
  proto3.util.initPartial(data, this);
@@ -9726,6 +9851,8 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
9726
9851
  { no: 6, name: "encryption", kind: "message", T: Mp4Encryption },
9727
9852
  { no: 7, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
9728
9853
  { no: 8, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
9854
+ { no: 9, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9855
+ { no: 10, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9729
9856
  ]);
9730
9857
 
9731
9858
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafAudioConfiguration {
@@ -9831,6 +9958,20 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
9831
9958
  */
9832
9959
  destinations: CMAFDestination[] = [];
9833
9960
 
9961
+ /**
9962
+ * Directives to add to the m3u media playlist
9963
+ *
9964
+ * @generated from field: string m3u_additions = 6;
9965
+ */
9966
+ m3uAdditions = "";
9967
+
9968
+ /**
9969
+ * XML fragment to add to the mpd Representation element
9970
+ *
9971
+ * @generated from field: string mpd_additions = 7;
9972
+ */
9973
+ mpdAdditions = "";
9974
+
9834
9975
  constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
9835
9976
  super();
9836
9977
  proto3.util.initPartial(data, this);
@@ -9844,6 +9985,8 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
9844
9985
  { no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
9845
9986
  { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
9846
9987
  { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
9988
+ { no: 6, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9989
+ { no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9847
9990
  ]);
9848
9991
 
9849
9992
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioConfiguration {
@@ -10237,6 +10380,20 @@ export class CmafMasterConfiguration extends Message<CmafMasterConfiguration> {
10237
10380
  */
10238
10381
  destinations: CMAFDestination[] = [];
10239
10382
 
10383
+ /**
10384
+ * Directives to add to the m3u master playlist
10385
+ *
10386
+ * @generated from field: string m3u_additions = 5;
10387
+ */
10388
+ m3uAdditions = "";
10389
+
10390
+ /**
10391
+ * XML fragment to add to the (top-level) MPD element
10392
+ *
10393
+ * @generated from field: string mpd_additions = 6;
10394
+ */
10395
+ mpdAdditions = "";
10396
+
10240
10397
  constructor(data?: PartialMessage<CmafMasterConfiguration>) {
10241
10398
  super();
10242
10399
  proto3.util.initPartial(data, this);
@@ -10249,6 +10406,8 @@ export class CmafMasterConfiguration extends Message<CmafMasterConfiguration> {
10249
10406
  { no: 2, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10250
10407
  { no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
10251
10408
  { no: 4, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
10409
+ { no: 5, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10410
+ { no: 6, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10252
10411
  ]);
10253
10412
 
10254
10413
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafMasterConfiguration {
@@ -10359,6 +10518,20 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
10359
10518
  */
10360
10519
  statsSampling?: StreamStatisticsSampling;
10361
10520
 
10521
+ /**
10522
+ * Directives to add to the m3u media playlists
10523
+ *
10524
+ * @generated from field: string m3u_additions = 7;
10525
+ */
10526
+ m3uAdditions = "";
10527
+
10528
+ /**
10529
+ * XML fragment to add to the mpd Representation elements
10530
+ *
10531
+ * @generated from field: string mpd_additions = 8;
10532
+ */
10533
+ mpdAdditions = "";
10534
+
10362
10535
  constructor(data?: PartialMessage<HlsTsCombinedPushConfiguration>) {
10363
10536
  super();
10364
10537
  proto3.util.initPartial(data, this);
@@ -10373,6 +10546,8 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
10373
10546
  { no: 4, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
10374
10547
  { no: 5, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10375
10548
  { no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
10549
+ { no: 7, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10550
+ { no: 8, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10376
10551
  ]);
10377
10552
 
10378
10553
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsCombinedPushConfiguration {
@@ -10602,6 +10777,11 @@ export class UdpTsOutputConfiguration extends Message<UdpTsOutputConfiguration>
10602
10777
  */
10603
10778
  statsSampling?: StreamStatisticsSampling;
10604
10779
 
10780
+ /**
10781
+ * @generated from field: uint32 buffer_delay_ms = 6;
10782
+ */
10783
+ bufferDelayMs = 0;
10784
+
10605
10785
  constructor(data?: PartialMessage<UdpTsOutputConfiguration>) {
10606
10786
  super();
10607
10787
  proto3.util.initPartial(data, this);
@@ -10615,6 +10795,7 @@ export class UdpTsOutputConfiguration extends Message<UdpTsOutputConfiguration>
10615
10795
  { no: 3, name: "destination_ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10616
10796
  { no: 4, name: "destination_port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
10617
10797
  { no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
10798
+ { no: 6, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
10618
10799
  ]);
10619
10800
 
10620
10801
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UdpTsOutputConfiguration {
@@ -10787,6 +10968,11 @@ export class SrtOutputConfiguration extends Message<SrtOutputConfiguration> {
10787
10968
  */
10788
10969
  statsSampling?: StreamStatisticsSampling;
10789
10970
 
10971
+ /**
10972
+ * @generated from field: uint32 buffer_delay_ms = 9;
10973
+ */
10974
+ bufferDelayMs = 0;
10975
+
10790
10976
  constructor(data?: PartialMessage<SrtOutputConfiguration>) {
10791
10977
  super();
10792
10978
  proto3.util.initPartial(data, this);
@@ -10802,6 +10988,7 @@ export class SrtOutputConfiguration extends Message<SrtOutputConfiguration> {
10802
10988
  { no: 6, name: "passphrase", kind: "message", T: OptionalString },
10803
10989
  { no: 7, name: "stream_id", kind: "message", T: OptionalString },
10804
10990
  { no: 8, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
10991
+ { no: 9, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
10805
10992
  ]);
10806
10993
 
10807
10994
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SrtOutputConfiguration {
@@ -10966,6 +11153,11 @@ export class WhipOutputConfiguration extends Message<WhipOutputConfiguration> {
10966
11153
  */
10967
11154
  statsSampling?: StreamStatisticsSampling;
10968
11155
 
11156
+ /**
11157
+ * @generated from field: uint32 buffer_delay_ms = 5;
11158
+ */
11159
+ bufferDelayMs = 0;
11160
+
10969
11161
  constructor(data?: PartialMessage<WhipOutputConfiguration>) {
10970
11162
  super();
10971
11163
  proto3.util.initPartial(data, this);
@@ -10978,6 +11170,7 @@ export class WhipOutputConfiguration extends Message<WhipOutputConfiguration> {
10978
11170
  { no: 2, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10979
11171
  { no: 3, name: "auth_header", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10980
11172
  { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
11173
+ { no: 5, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
10981
11174
  ]);
10982
11175
 
10983
11176
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhipOutputConfiguration {
@@ -11132,6 +11325,11 @@ export class WebRTCBrowserDuplexConfiguration extends Message<WebRTCBrowserDuple
11132
11325
  */
11133
11326
  iceServerConfiguration?: WebRtcIceServerConfiguration;
11134
11327
 
11328
+ /**
11329
+ * @generated from field: uint32 buffer_delay_ms = 4;
11330
+ */
11331
+ bufferDelayMs = 0;
11332
+
11135
11333
  constructor(data?: PartialMessage<WebRTCBrowserDuplexConfiguration>) {
11136
11334
  super();
11137
11335
  proto3.util.initPartial(data, this);
@@ -11143,6 +11341,7 @@ export class WebRTCBrowserDuplexConfiguration extends Message<WebRTCBrowserDuple
11143
11341
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
11144
11342
  { no: 2, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
11145
11343
  { no: 3, name: "ice_server_configuration", kind: "message", T: WebRtcIceServerConfiguration },
11344
+ { no: 4, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
11146
11345
  ]);
11147
11346
 
11148
11347
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRTCBrowserDuplexConfiguration {
@@ -11304,6 +11503,11 @@ export class WhepOutputConfiguration extends Message<WhepOutputConfiguration> {
11304
11503
  */
11305
11504
  iceServerConfiguration?: WebRtcIceServerConfiguration;
11306
11505
 
11506
+ /**
11507
+ * @generated from field: uint32 buffer_delay_ms = 4;
11508
+ */
11509
+ bufferDelayMs = 0;
11510
+
11307
11511
  constructor(data?: PartialMessage<WhepOutputConfiguration>) {
11308
11512
  super();
11309
11513
  proto3.util.initPartial(data, this);
@@ -11315,6 +11519,7 @@ export class WhepOutputConfiguration extends Message<WhepOutputConfiguration> {
11315
11519
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
11316
11520
  { no: 2, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
11317
11521
  { no: 3, name: "ice_server_configuration", kind: "message", T: WebRtcIceServerConfiguration },
11522
+ { no: 4, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
11318
11523
  ]);
11319
11524
 
11320
11525
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WhepOutputConfiguration {
@@ -11467,6 +11672,11 @@ export class RtmpOutputConfiguration extends Message<RtmpOutputConfiguration> {
11467
11672
  */
11468
11673
  statsSampling?: StreamStatisticsSampling;
11469
11674
 
11675
+ /**
11676
+ * @generated from field: uint32 buffer_delay_ms = 4;
11677
+ */
11678
+ bufferDelayMs = 0;
11679
+
11470
11680
  constructor(data?: PartialMessage<RtmpOutputConfiguration>) {
11471
11681
  super();
11472
11682
  proto3.util.initPartial(data, this);
@@ -11478,6 +11688,7 @@ export class RtmpOutputConfiguration extends Message<RtmpOutputConfiguration> {
11478
11688
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
11479
11689
  { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11480
11690
  { no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
11691
+ { no: 4, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
11481
11692
  ]);
11482
11693
 
11483
11694
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpOutputConfiguration {
@@ -12122,6 +12333,43 @@ export class OptionalInt extends Message<OptionalInt> {
12122
12333
  }
12123
12334
  }
12124
12335
 
12336
+ /**
12337
+ * @generated from message norsk.api.media.OptionalInt64
12338
+ */
12339
+ export class OptionalInt64 extends Message<OptionalInt64> {
12340
+ /**
12341
+ * @generated from field: uint64 value = 1;
12342
+ */
12343
+ value = protoInt64.zero;
12344
+
12345
+ constructor(data?: PartialMessage<OptionalInt64>) {
12346
+ super();
12347
+ proto3.util.initPartial(data, this);
12348
+ }
12349
+
12350
+ static readonly runtime = proto3;
12351
+ static readonly typeName = "norsk.api.media.OptionalInt64";
12352
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
12353
+ { no: 1, name: "value", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
12354
+ ]);
12355
+
12356
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OptionalInt64 {
12357
+ return new OptionalInt64().fromBinary(bytes, options);
12358
+ }
12359
+
12360
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OptionalInt64 {
12361
+ return new OptionalInt64().fromJson(jsonValue, options);
12362
+ }
12363
+
12364
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OptionalInt64 {
12365
+ return new OptionalInt64().fromJsonString(jsonString, options);
12366
+ }
12367
+
12368
+ static equals(a: OptionalInt64 | PlainMessage<OptionalInt64> | undefined, b: OptionalInt64 | PlainMessage<OptionalInt64> | undefined): boolean {
12369
+ return proto3.util.equals(OptionalInt64, a, b);
12370
+ }
12371
+ }
12372
+
12125
12373
  /**
12126
12374
  * @generated from message norsk.api.media.OptionalBool
12127
12375
  */
@@ -14511,6 +14759,11 @@ export class StreamChaosMonkeyConfiguration extends Message<StreamChaosMonkeyCon
14511
14759
  case: "everyOther";
14512
14760
  } | { case: undefined; value?: undefined } = { case: undefined };
14513
14761
 
14762
+ /**
14763
+ * @generated from field: uint32 jitter_ms = 4;
14764
+ */
14765
+ jitterMs = 0;
14766
+
14514
14767
  constructor(data?: PartialMessage<StreamChaosMonkeyConfiguration>) {
14515
14768
  super();
14516
14769
  proto3.util.initPartial(data, this);
@@ -14522,6 +14775,7 @@ export class StreamChaosMonkeyConfiguration extends Message<StreamChaosMonkeyCon
14522
14775
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
14523
14776
  { no: 2, name: "random", kind: "scalar", T: 2 /* ScalarType.FLOAT */, oneof: "dropFramesMode" },
14524
14777
  { no: 3, name: "everyOther", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "dropFramesMode" },
14778
+ { no: 4, name: "jitter_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
14525
14779
  ]);
14526
14780
 
14527
14781
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamChaosMonkeyConfiguration {
@@ -15206,39 +15460,189 @@ export class StreamMetadataOverrideEvent extends Message<StreamMetadataOverrideE
15206
15460
  }
15207
15461
 
15208
15462
  /**
15209
- * @generated from message norsk.api.media.StreamSyncConfiguration
15463
+ * @generated from message norsk.api.media.JitterBufferConfiguration
15210
15464
  */
15211
- export class StreamSyncConfiguration extends Message<StreamSyncConfiguration> {
15465
+ export class JitterBufferConfiguration extends Message<JitterBufferConfiguration> {
15212
15466
  /**
15213
15467
  * @generated from field: norsk.api.media.MediaNodeId id = 1;
15214
15468
  */
15215
15469
  id?: MediaNodeId;
15216
15470
 
15217
- constructor(data?: PartialMessage<StreamSyncConfiguration>) {
15471
+ /**
15472
+ * @generated from field: uint32 delay_ms = 2;
15473
+ */
15474
+ delayMs = 0;
15475
+
15476
+ constructor(data?: PartialMessage<JitterBufferConfiguration>) {
15218
15477
  super();
15219
15478
  proto3.util.initPartial(data, this);
15220
15479
  }
15221
15480
 
15222
15481
  static readonly runtime = proto3;
15223
- static readonly typeName = "norsk.api.media.StreamSyncConfiguration";
15482
+ static readonly typeName = "norsk.api.media.JitterBufferConfiguration";
15224
15483
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
15225
15484
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
15485
+ { no: 2, name: "delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
15226
15486
  ]);
15227
15487
 
15228
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSyncConfiguration {
15229
- return new StreamSyncConfiguration().fromBinary(bytes, options);
15488
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JitterBufferConfiguration {
15489
+ return new JitterBufferConfiguration().fromBinary(bytes, options);
15230
15490
  }
15231
15491
 
15232
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSyncConfiguration {
15233
- return new StreamSyncConfiguration().fromJson(jsonValue, options);
15492
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JitterBufferConfiguration {
15493
+ return new JitterBufferConfiguration().fromJson(jsonValue, options);
15234
15494
  }
15235
15495
 
15236
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSyncConfiguration {
15237
- return new StreamSyncConfiguration().fromJsonString(jsonString, options);
15496
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JitterBufferConfiguration {
15497
+ return new JitterBufferConfiguration().fromJsonString(jsonString, options);
15238
15498
  }
15239
15499
 
15240
- static equals(a: StreamSyncConfiguration | PlainMessage<StreamSyncConfiguration> | undefined, b: StreamSyncConfiguration | PlainMessage<StreamSyncConfiguration> | undefined): boolean {
15241
- return proto3.util.equals(StreamSyncConfiguration, a, b);
15500
+ static equals(a: JitterBufferConfiguration | PlainMessage<JitterBufferConfiguration> | undefined, b: JitterBufferConfiguration | PlainMessage<JitterBufferConfiguration> | undefined): boolean {
15501
+ return proto3.util.equals(JitterBufferConfiguration, a, b);
15502
+ }
15503
+ }
15504
+
15505
+ /**
15506
+ * @generated from message norsk.api.media.JitterBufferMessage
15507
+ */
15508
+ export class JitterBufferMessage extends Message<JitterBufferMessage> {
15509
+ /**
15510
+ * @generated from oneof norsk.api.media.JitterBufferMessage.message
15511
+ */
15512
+ message: {
15513
+ /**
15514
+ * @generated from field: norsk.api.media.JitterBufferConfiguration initial_config = 1;
15515
+ */
15516
+ value: JitterBufferConfiguration;
15517
+ case: "initialConfig";
15518
+ } | {
15519
+ /**
15520
+ * @generated from field: norsk.api.media.Subscription subscription = 2;
15521
+ */
15522
+ value: Subscription;
15523
+ case: "subscription";
15524
+ } | { case: undefined; value?: undefined } = { case: undefined };
15525
+
15526
+ constructor(data?: PartialMessage<JitterBufferMessage>) {
15527
+ super();
15528
+ proto3.util.initPartial(data, this);
15529
+ }
15530
+
15531
+ static readonly runtime = proto3;
15532
+ static readonly typeName = "norsk.api.media.JitterBufferMessage";
15533
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
15534
+ { no: 1, name: "initial_config", kind: "message", T: JitterBufferConfiguration, oneof: "message" },
15535
+ { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
15536
+ ]);
15537
+
15538
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JitterBufferMessage {
15539
+ return new JitterBufferMessage().fromBinary(bytes, options);
15540
+ }
15541
+
15542
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JitterBufferMessage {
15543
+ return new JitterBufferMessage().fromJson(jsonValue, options);
15544
+ }
15545
+
15546
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JitterBufferMessage {
15547
+ return new JitterBufferMessage().fromJsonString(jsonString, options);
15548
+ }
15549
+
15550
+ static equals(a: JitterBufferMessage | PlainMessage<JitterBufferMessage> | undefined, b: JitterBufferMessage | PlainMessage<JitterBufferMessage> | undefined): boolean {
15551
+ return proto3.util.equals(JitterBufferMessage, a, b);
15552
+ }
15553
+ }
15554
+
15555
+ /**
15556
+ * @generated from message norsk.api.media.JitterBufferEvent
15557
+ */
15558
+ export class JitterBufferEvent extends Message<JitterBufferEvent> {
15559
+ /**
15560
+ * @generated from oneof norsk.api.media.JitterBufferEvent.message
15561
+ */
15562
+ message: {
15563
+ /**
15564
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
15565
+ */
15566
+ value: MediaNodeId;
15567
+ case: "nodeId";
15568
+ } | {
15569
+ /**
15570
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
15571
+ */
15572
+ value: Context;
15573
+ case: "outboundContext";
15574
+ } | {
15575
+ /**
15576
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
15577
+ */
15578
+ value: SubscriptionResponse;
15579
+ case: "subscriptionResponse";
15580
+ } | { case: undefined; value?: undefined } = { case: undefined };
15581
+
15582
+ constructor(data?: PartialMessage<JitterBufferEvent>) {
15583
+ super();
15584
+ proto3.util.initPartial(data, this);
15585
+ }
15586
+
15587
+ static readonly runtime = proto3;
15588
+ static readonly typeName = "norsk.api.media.JitterBufferEvent";
15589
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
15590
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
15591
+ { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
15592
+ { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
15593
+ ]);
15594
+
15595
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JitterBufferEvent {
15596
+ return new JitterBufferEvent().fromBinary(bytes, options);
15597
+ }
15598
+
15599
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JitterBufferEvent {
15600
+ return new JitterBufferEvent().fromJson(jsonValue, options);
15601
+ }
15602
+
15603
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JitterBufferEvent {
15604
+ return new JitterBufferEvent().fromJsonString(jsonString, options);
15605
+ }
15606
+
15607
+ static equals(a: JitterBufferEvent | PlainMessage<JitterBufferEvent> | undefined, b: JitterBufferEvent | PlainMessage<JitterBufferEvent> | undefined): boolean {
15608
+ return proto3.util.equals(JitterBufferEvent, a, b);
15609
+ }
15610
+ }
15611
+
15612
+ /**
15613
+ * @generated from message norsk.api.media.StreamSyncConfiguration
15614
+ */
15615
+ export class StreamSyncConfiguration extends Message<StreamSyncConfiguration> {
15616
+ /**
15617
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
15618
+ */
15619
+ id?: MediaNodeId;
15620
+
15621
+ constructor(data?: PartialMessage<StreamSyncConfiguration>) {
15622
+ super();
15623
+ proto3.util.initPartial(data, this);
15624
+ }
15625
+
15626
+ static readonly runtime = proto3;
15627
+ static readonly typeName = "norsk.api.media.StreamSyncConfiguration";
15628
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
15629
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
15630
+ ]);
15631
+
15632
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSyncConfiguration {
15633
+ return new StreamSyncConfiguration().fromBinary(bytes, options);
15634
+ }
15635
+
15636
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSyncConfiguration {
15637
+ return new StreamSyncConfiguration().fromJson(jsonValue, options);
15638
+ }
15639
+
15640
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSyncConfiguration {
15641
+ return new StreamSyncConfiguration().fromJsonString(jsonString, options);
15642
+ }
15643
+
15644
+ static equals(a: StreamSyncConfiguration | PlainMessage<StreamSyncConfiguration> | undefined, b: StreamSyncConfiguration | PlainMessage<StreamSyncConfiguration> | undefined): boolean {
15645
+ return proto3.util.equals(StreamSyncConfiguration, a, b);
15242
15646
  }
15243
15647
  }
15244
15648
 
@@ -15914,8 +16318,9 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
15914
16318
  case: "switchError";
15915
16319
  } | {
15916
16320
  /**
15917
- * Message sent when inbound context changes on some input; presence of an input in this message means that
15918
- * media has arrived and is ready to switch immediately
16321
+ * Message sent when inbound context changes on some input; presence of an
16322
+ * input in this message means that media has arrived and is ready to switch
16323
+ * immediately
15919
16324
  *
15920
16325
  * @generated from field: norsk.api.media.MultipleContext inbound_context = 5;
15921
16326
  */
@@ -17423,6 +17828,1633 @@ export class AudioTranscribeAwsEvent extends Message<AudioTranscribeAwsEvent> {
17423
17828
  }
17424
17829
  }
17425
17830
 
17831
+ /**
17832
+ * @generated from message norsk.api.media.AncillaryConfiguration
17833
+ */
17834
+ export class AncillaryConfiguration extends Message<AncillaryConfiguration> {
17835
+ /**
17836
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
17837
+ */
17838
+ id?: MediaNodeId;
17839
+
17840
+ constructor(data?: PartialMessage<AncillaryConfiguration>) {
17841
+ super();
17842
+ proto3.util.initPartial(data, this);
17843
+ }
17844
+
17845
+ static readonly runtime = proto3;
17846
+ static readonly typeName = "norsk.api.media.AncillaryConfiguration";
17847
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17848
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
17849
+ ]);
17850
+
17851
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryConfiguration {
17852
+ return new AncillaryConfiguration().fromBinary(bytes, options);
17853
+ }
17854
+
17855
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AncillaryConfiguration {
17856
+ return new AncillaryConfiguration().fromJson(jsonValue, options);
17857
+ }
17858
+
17859
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AncillaryConfiguration {
17860
+ return new AncillaryConfiguration().fromJsonString(jsonString, options);
17861
+ }
17862
+
17863
+ static equals(a: AncillaryConfiguration | PlainMessage<AncillaryConfiguration> | undefined, b: AncillaryConfiguration | PlainMessage<AncillaryConfiguration> | undefined): boolean {
17864
+ return proto3.util.equals(AncillaryConfiguration, a, b);
17865
+ }
17866
+ }
17867
+
17868
+ /**
17869
+ * @generated from message norsk.api.media.AncillaryMessage
17870
+ */
17871
+ export class AncillaryMessage extends Message<AncillaryMessage> {
17872
+ /**
17873
+ * @generated from oneof norsk.api.media.AncillaryMessage.message
17874
+ */
17875
+ message: {
17876
+ /**
17877
+ * @generated from field: norsk.api.media.AncillaryConfiguration initial_config = 1;
17878
+ */
17879
+ value: AncillaryConfiguration;
17880
+ case: "initialConfig";
17881
+ } | {
17882
+ /**
17883
+ * @generated from field: norsk.api.media.Subscription subscription = 2;
17884
+ */
17885
+ value: Subscription;
17886
+ case: "subscription";
17887
+ } | {
17888
+ /**
17889
+ * @generated from field: norsk.api.media.Scte35Event scte35_event = 3;
17890
+ */
17891
+ value: Scte35Event;
17892
+ case: "scte35Event";
17893
+ } | { case: undefined; value?: undefined } = { case: undefined };
17894
+
17895
+ constructor(data?: PartialMessage<AncillaryMessage>) {
17896
+ super();
17897
+ proto3.util.initPartial(data, this);
17898
+ }
17899
+
17900
+ static readonly runtime = proto3;
17901
+ static readonly typeName = "norsk.api.media.AncillaryMessage";
17902
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17903
+ { no: 1, name: "initial_config", kind: "message", T: AncillaryConfiguration, oneof: "message" },
17904
+ { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
17905
+ { no: 3, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
17906
+ ]);
17907
+
17908
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryMessage {
17909
+ return new AncillaryMessage().fromBinary(bytes, options);
17910
+ }
17911
+
17912
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AncillaryMessage {
17913
+ return new AncillaryMessage().fromJson(jsonValue, options);
17914
+ }
17915
+
17916
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AncillaryMessage {
17917
+ return new AncillaryMessage().fromJsonString(jsonString, options);
17918
+ }
17919
+
17920
+ static equals(a: AncillaryMessage | PlainMessage<AncillaryMessage> | undefined, b: AncillaryMessage | PlainMessage<AncillaryMessage> | undefined): boolean {
17921
+ return proto3.util.equals(AncillaryMessage, a, b);
17922
+ }
17923
+ }
17924
+
17925
+ /**
17926
+ * @generated from message norsk.api.media.AncillaryEvent
17927
+ */
17928
+ export class AncillaryEvent extends Message<AncillaryEvent> {
17929
+ /**
17930
+ * @generated from oneof norsk.api.media.AncillaryEvent.message
17931
+ */
17932
+ message: {
17933
+ /**
17934
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
17935
+ */
17936
+ value: MediaNodeId;
17937
+ case: "nodeId";
17938
+ } | {
17939
+ /**
17940
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
17941
+ */
17942
+ value: Context;
17943
+ case: "outboundContext";
17944
+ } | {
17945
+ /**
17946
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
17947
+ */
17948
+ value: SubscriptionResponse;
17949
+ case: "subscriptionResponse";
17950
+ } | {
17951
+ /**
17952
+ * @generated from field: norsk.api.media.Scte35Event scte35_event = 4;
17953
+ */
17954
+ value: Scte35Event;
17955
+ case: "scte35Event";
17956
+ } | { case: undefined; value?: undefined } = { case: undefined };
17957
+
17958
+ constructor(data?: PartialMessage<AncillaryEvent>) {
17959
+ super();
17960
+ proto3.util.initPartial(data, this);
17961
+ }
17962
+
17963
+ static readonly runtime = proto3;
17964
+ static readonly typeName = "norsk.api.media.AncillaryEvent";
17965
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17966
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
17967
+ { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
17968
+ { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
17969
+ { no: 4, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
17970
+ ]);
17971
+
17972
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryEvent {
17973
+ return new AncillaryEvent().fromBinary(bytes, options);
17974
+ }
17975
+
17976
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AncillaryEvent {
17977
+ return new AncillaryEvent().fromJson(jsonValue, options);
17978
+ }
17979
+
17980
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AncillaryEvent {
17981
+ return new AncillaryEvent().fromJsonString(jsonString, options);
17982
+ }
17983
+
17984
+ static equals(a: AncillaryEvent | PlainMessage<AncillaryEvent> | undefined, b: AncillaryEvent | PlainMessage<AncillaryEvent> | undefined): boolean {
17985
+ return proto3.util.equals(AncillaryEvent, a, b);
17986
+ }
17987
+ }
17988
+
17989
+ /**
17990
+ * @generated from message norsk.api.media.Scte35Event
17991
+ */
17992
+ export class Scte35Event extends Message<Scte35Event> {
17993
+ /**
17994
+ * @generated from field: norsk.api.media.StreamKey stream = 1;
17995
+ */
17996
+ stream?: StreamKey;
17997
+
17998
+ /**
17999
+ * @generated from field: norsk.api.media.Scte35SpliceInfoSection info = 2;
18000
+ */
18001
+ info?: Scte35SpliceInfoSection;
18002
+
18003
+ constructor(data?: PartialMessage<Scte35Event>) {
18004
+ super();
18005
+ proto3.util.initPartial(data, this);
18006
+ }
18007
+
18008
+ static readonly runtime = proto3;
18009
+ static readonly typeName = "norsk.api.media.Scte35Event";
18010
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18011
+ { no: 1, name: "stream", kind: "message", T: StreamKey },
18012
+ { no: 2, name: "info", kind: "message", T: Scte35SpliceInfoSection },
18013
+ ]);
18014
+
18015
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35Event {
18016
+ return new Scte35Event().fromBinary(bytes, options);
18017
+ }
18018
+
18019
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35Event {
18020
+ return new Scte35Event().fromJson(jsonValue, options);
18021
+ }
18022
+
18023
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35Event {
18024
+ return new Scte35Event().fromJsonString(jsonString, options);
18025
+ }
18026
+
18027
+ static equals(a: Scte35Event | PlainMessage<Scte35Event> | undefined, b: Scte35Event | PlainMessage<Scte35Event> | undefined): boolean {
18028
+ return proto3.util.equals(Scte35Event, a, b);
18029
+ }
18030
+ }
18031
+
18032
+ /**
18033
+ * @generated from message norsk.api.media.Scte35SpliceInfoSection
18034
+ */
18035
+ export class Scte35SpliceInfoSection extends Message<Scte35SpliceInfoSection> {
18036
+ /**
18037
+ * @generated from field: uint32 sap_type = 1;
18038
+ */
18039
+ sapType = 0;
18040
+
18041
+ /**
18042
+ * @generated from field: uint32 protocol_version = 2;
18043
+ */
18044
+ protocolVersion = 0;
18045
+
18046
+ /**
18047
+ * @generated from field: bool encrypted_packet = 3;
18048
+ */
18049
+ encryptedPacket = false;
18050
+
18051
+ /**
18052
+ * @generated from field: uint32 encryption_algorithm = 4;
18053
+ */
18054
+ encryptionAlgorithm = 0;
18055
+
18056
+ /**
18057
+ * @generated from field: uint64 pts_adjustment = 5;
18058
+ */
18059
+ ptsAdjustment = protoInt64.zero;
18060
+
18061
+ /**
18062
+ * @generated from field: uint32 cw_index = 6;
18063
+ */
18064
+ cwIndex = 0;
18065
+
18066
+ /**
18067
+ * @generated from field: uint32 tier = 7;
18068
+ */
18069
+ tier = 0;
18070
+
18071
+ /**
18072
+ * @generated from field: norsk.api.media.Scte35SpliceCommand splice_command = 8;
18073
+ */
18074
+ spliceCommand?: Scte35SpliceCommand;
18075
+
18076
+ /**
18077
+ * @generated from field: repeated norsk.api.media.Scte35SpliceDescriptor descriptors = 9;
18078
+ */
18079
+ descriptors: Scte35SpliceDescriptor[] = [];
18080
+
18081
+ constructor(data?: PartialMessage<Scte35SpliceInfoSection>) {
18082
+ super();
18083
+ proto3.util.initPartial(data, this);
18084
+ }
18085
+
18086
+ static readonly runtime = proto3;
18087
+ static readonly typeName = "norsk.api.media.Scte35SpliceInfoSection";
18088
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18089
+ { no: 1, name: "sap_type", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18090
+ { no: 2, name: "protocol_version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18091
+ { no: 3, name: "encrypted_packet", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
18092
+ { no: 4, name: "encryption_algorithm", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18093
+ { no: 5, name: "pts_adjustment", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
18094
+ { no: 6, name: "cw_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18095
+ { no: 7, name: "tier", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18096
+ { no: 8, name: "splice_command", kind: "message", T: Scte35SpliceCommand },
18097
+ { no: 9, name: "descriptors", kind: "message", T: Scte35SpliceDescriptor, repeated: true },
18098
+ ]);
18099
+
18100
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35SpliceInfoSection {
18101
+ return new Scte35SpliceInfoSection().fromBinary(bytes, options);
18102
+ }
18103
+
18104
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35SpliceInfoSection {
18105
+ return new Scte35SpliceInfoSection().fromJson(jsonValue, options);
18106
+ }
18107
+
18108
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35SpliceInfoSection {
18109
+ return new Scte35SpliceInfoSection().fromJsonString(jsonString, options);
18110
+ }
18111
+
18112
+ static equals(a: Scte35SpliceInfoSection | PlainMessage<Scte35SpliceInfoSection> | undefined, b: Scte35SpliceInfoSection | PlainMessage<Scte35SpliceInfoSection> | undefined): boolean {
18113
+ return proto3.util.equals(Scte35SpliceInfoSection, a, b);
18114
+ }
18115
+ }
18116
+
18117
+ /**
18118
+ * @generated from message norsk.api.media.Scte35SpliceCommand
18119
+ */
18120
+ export class Scte35SpliceCommand extends Message<Scte35SpliceCommand> {
18121
+ /**
18122
+ * @generated from oneof norsk.api.media.Scte35SpliceCommand.message
18123
+ */
18124
+ message: {
18125
+ /**
18126
+ * @generated from field: google.protobuf.Empty null = 1;
18127
+ */
18128
+ value: Empty;
18129
+ case: "null";
18130
+ } | {
18131
+ /**
18132
+ * @generated from field: norsk.api.media.Scte35ScheduleCommand schedule = 2;
18133
+ */
18134
+ value: Scte35ScheduleCommand;
18135
+ case: "schedule";
18136
+ } | {
18137
+ /**
18138
+ * @generated from field: norsk.api.media.Scte35InsertCommand insert = 3;
18139
+ */
18140
+ value: Scte35InsertCommand;
18141
+ case: "insert";
18142
+ } | {
18143
+ /**
18144
+ * @generated from field: norsk.api.media.Scte35TimeSignalCommand time_signal = 4;
18145
+ */
18146
+ value: Scte35TimeSignalCommand;
18147
+ case: "timeSignal";
18148
+ } | {
18149
+ /**
18150
+ * @generated from field: google.protobuf.Empty bandwidth_reservation = 5;
18151
+ */
18152
+ value: Empty;
18153
+ case: "bandwidthReservation";
18154
+ } | {
18155
+ /**
18156
+ * @generated from field: norsk.api.media.Scte35PrivateCommand private_command = 6;
18157
+ */
18158
+ value: Scte35PrivateCommand;
18159
+ case: "privateCommand";
18160
+ } | {
18161
+ /**
18162
+ * @generated from field: uint32 reserved = 7;
18163
+ */
18164
+ value: number;
18165
+ case: "reserved";
18166
+ } | { case: undefined; value?: undefined } = { case: undefined };
18167
+
18168
+ constructor(data?: PartialMessage<Scte35SpliceCommand>) {
18169
+ super();
18170
+ proto3.util.initPartial(data, this);
18171
+ }
18172
+
18173
+ static readonly runtime = proto3;
18174
+ static readonly typeName = "norsk.api.media.Scte35SpliceCommand";
18175
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18176
+ { no: 1, name: "null", kind: "message", T: Empty, oneof: "message" },
18177
+ { no: 2, name: "schedule", kind: "message", T: Scte35ScheduleCommand, oneof: "message" },
18178
+ { no: 3, name: "insert", kind: "message", T: Scte35InsertCommand, oneof: "message" },
18179
+ { no: 4, name: "time_signal", kind: "message", T: Scte35TimeSignalCommand, oneof: "message" },
18180
+ { no: 5, name: "bandwidth_reservation", kind: "message", T: Empty, oneof: "message" },
18181
+ { no: 6, name: "private_command", kind: "message", T: Scte35PrivateCommand, oneof: "message" },
18182
+ { no: 7, name: "reserved", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
18183
+ ]);
18184
+
18185
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35SpliceCommand {
18186
+ return new Scte35SpliceCommand().fromBinary(bytes, options);
18187
+ }
18188
+
18189
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35SpliceCommand {
18190
+ return new Scte35SpliceCommand().fromJson(jsonValue, options);
18191
+ }
18192
+
18193
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35SpliceCommand {
18194
+ return new Scte35SpliceCommand().fromJsonString(jsonString, options);
18195
+ }
18196
+
18197
+ static equals(a: Scte35SpliceCommand | PlainMessage<Scte35SpliceCommand> | undefined, b: Scte35SpliceCommand | PlainMessage<Scte35SpliceCommand> | undefined): boolean {
18198
+ return proto3.util.equals(Scte35SpliceCommand, a, b);
18199
+ }
18200
+ }
18201
+
18202
+ /**
18203
+ * @generated from message norsk.api.media.Scte35TimeSignalCommand
18204
+ */
18205
+ export class Scte35TimeSignalCommand extends Message<Scte35TimeSignalCommand> {
18206
+ /**
18207
+ * @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 1;
18208
+ */
18209
+ spliceTime?: Scte35SpliceTime;
18210
+
18211
+ constructor(data?: PartialMessage<Scte35TimeSignalCommand>) {
18212
+ super();
18213
+ proto3.util.initPartial(data, this);
18214
+ }
18215
+
18216
+ static readonly runtime = proto3;
18217
+ static readonly typeName = "norsk.api.media.Scte35TimeSignalCommand";
18218
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18219
+ { no: 1, name: "splice_time", kind: "message", T: Scte35SpliceTime },
18220
+ ]);
18221
+
18222
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35TimeSignalCommand {
18223
+ return new Scte35TimeSignalCommand().fromBinary(bytes, options);
18224
+ }
18225
+
18226
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35TimeSignalCommand {
18227
+ return new Scte35TimeSignalCommand().fromJson(jsonValue, options);
18228
+ }
18229
+
18230
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35TimeSignalCommand {
18231
+ return new Scte35TimeSignalCommand().fromJsonString(jsonString, options);
18232
+ }
18233
+
18234
+ static equals(a: Scte35TimeSignalCommand | PlainMessage<Scte35TimeSignalCommand> | undefined, b: Scte35TimeSignalCommand | PlainMessage<Scte35TimeSignalCommand> | undefined): boolean {
18235
+ return proto3.util.equals(Scte35TimeSignalCommand, a, b);
18236
+ }
18237
+ }
18238
+
18239
+ /**
18240
+ * @generated from message norsk.api.media.Scte35InsertCommand
18241
+ */
18242
+ export class Scte35InsertCommand extends Message<Scte35InsertCommand> {
18243
+ /**
18244
+ * @generated from field: uint32 splice_event_id = 1;
18245
+ */
18246
+ spliceEventId = 0;
18247
+
18248
+ /**
18249
+ * @generated from field: bool splice_event_cancel_indicator = 2;
18250
+ */
18251
+ spliceEventCancelIndicator = false;
18252
+
18253
+ /**
18254
+ * @generated from field: bool out_of_network_indicator = 3;
18255
+ */
18256
+ outOfNetworkIndicator = false;
18257
+
18258
+ /**
18259
+ * @generated from field: bool splice_immediate_flag = 4;
18260
+ */
18261
+ spliceImmediateFlag = false;
18262
+
18263
+ /**
18264
+ * @generated from field: norsk.api.media.Scte35InsertCommandMode mode = 5;
18265
+ */
18266
+ mode?: Scte35InsertCommandMode;
18267
+
18268
+ /**
18269
+ * @generated from field: norsk.api.media.Scte35BreakDuration break_duration = 6;
18270
+ */
18271
+ breakDuration?: Scte35BreakDuration;
18272
+
18273
+ /**
18274
+ * @generated from field: uint32 unique_program_id = 7;
18275
+ */
18276
+ uniqueProgramId = 0;
18277
+
18278
+ /**
18279
+ * @generated from field: uint32 avail_num = 8;
18280
+ */
18281
+ availNum = 0;
18282
+
18283
+ /**
18284
+ * @generated from field: uint32 avails_expected = 9;
18285
+ */
18286
+ availsExpected = 0;
18287
+
18288
+ constructor(data?: PartialMessage<Scte35InsertCommand>) {
18289
+ super();
18290
+ proto3.util.initPartial(data, this);
18291
+ }
18292
+
18293
+ static readonly runtime = proto3;
18294
+ static readonly typeName = "norsk.api.media.Scte35InsertCommand";
18295
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18296
+ { no: 1, name: "splice_event_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18297
+ { no: 2, name: "splice_event_cancel_indicator", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
18298
+ { no: 3, name: "out_of_network_indicator", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
18299
+ { no: 4, name: "splice_immediate_flag", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
18300
+ { no: 5, name: "mode", kind: "message", T: Scte35InsertCommandMode },
18301
+ { no: 6, name: "break_duration", kind: "message", T: Scte35BreakDuration },
18302
+ { no: 7, name: "unique_program_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18303
+ { no: 8, name: "avail_num", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18304
+ { no: 9, name: "avails_expected", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18305
+ ]);
18306
+
18307
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35InsertCommand {
18308
+ return new Scte35InsertCommand().fromBinary(bytes, options);
18309
+ }
18310
+
18311
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35InsertCommand {
18312
+ return new Scte35InsertCommand().fromJson(jsonValue, options);
18313
+ }
18314
+
18315
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35InsertCommand {
18316
+ return new Scte35InsertCommand().fromJsonString(jsonString, options);
18317
+ }
18318
+
18319
+ static equals(a: Scte35InsertCommand | PlainMessage<Scte35InsertCommand> | undefined, b: Scte35InsertCommand | PlainMessage<Scte35InsertCommand> | undefined): boolean {
18320
+ return proto3.util.equals(Scte35InsertCommand, a, b);
18321
+ }
18322
+ }
18323
+
18324
+ /**
18325
+ * @generated from message norsk.api.media.Scte35InsertCommandMode
18326
+ */
18327
+ export class Scte35InsertCommandMode extends Message<Scte35InsertCommandMode> {
18328
+ /**
18329
+ * @generated from oneof norsk.api.media.Scte35InsertCommandMode.message
18330
+ */
18331
+ message: {
18332
+ /**
18333
+ * @generated from field: norsk.api.media.Scte35InsertCommandMode.InsertProgram insert_program = 1;
18334
+ */
18335
+ value: Scte35InsertCommandMode_InsertProgram;
18336
+ case: "insertProgram";
18337
+ } | {
18338
+ /**
18339
+ * @generated from field: norsk.api.media.Scte35InsertCommandMode.InsertComponent insert_component = 2;
18340
+ */
18341
+ value: Scte35InsertCommandMode_InsertComponent;
18342
+ case: "insertComponent";
18343
+ } | { case: undefined; value?: undefined } = { case: undefined };
18344
+
18345
+ constructor(data?: PartialMessage<Scte35InsertCommandMode>) {
18346
+ super();
18347
+ proto3.util.initPartial(data, this);
18348
+ }
18349
+
18350
+ static readonly runtime = proto3;
18351
+ static readonly typeName = "norsk.api.media.Scte35InsertCommandMode";
18352
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18353
+ { no: 1, name: "insert_program", kind: "message", T: Scte35InsertCommandMode_InsertProgram, oneof: "message" },
18354
+ { no: 2, name: "insert_component", kind: "message", T: Scte35InsertCommandMode_InsertComponent, oneof: "message" },
18355
+ ]);
18356
+
18357
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35InsertCommandMode {
18358
+ return new Scte35InsertCommandMode().fromBinary(bytes, options);
18359
+ }
18360
+
18361
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35InsertCommandMode {
18362
+ return new Scte35InsertCommandMode().fromJson(jsonValue, options);
18363
+ }
18364
+
18365
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35InsertCommandMode {
18366
+ return new Scte35InsertCommandMode().fromJsonString(jsonString, options);
18367
+ }
18368
+
18369
+ static equals(a: Scte35InsertCommandMode | PlainMessage<Scte35InsertCommandMode> | undefined, b: Scte35InsertCommandMode | PlainMessage<Scte35InsertCommandMode> | undefined): boolean {
18370
+ return proto3.util.equals(Scte35InsertCommandMode, a, b);
18371
+ }
18372
+ }
18373
+
18374
+ /**
18375
+ * @generated from message norsk.api.media.Scte35InsertCommandMode.InsertProgram
18376
+ */
18377
+ export class Scte35InsertCommandMode_InsertProgram extends Message<Scte35InsertCommandMode_InsertProgram> {
18378
+ /**
18379
+ * @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 1;
18380
+ */
18381
+ spliceTime?: Scte35SpliceTime;
18382
+
18383
+ constructor(data?: PartialMessage<Scte35InsertCommandMode_InsertProgram>) {
18384
+ super();
18385
+ proto3.util.initPartial(data, this);
18386
+ }
18387
+
18388
+ static readonly runtime = proto3;
18389
+ static readonly typeName = "norsk.api.media.Scte35InsertCommandMode.InsertProgram";
18390
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18391
+ { no: 1, name: "splice_time", kind: "message", T: Scte35SpliceTime },
18392
+ ]);
18393
+
18394
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35InsertCommandMode_InsertProgram {
18395
+ return new Scte35InsertCommandMode_InsertProgram().fromBinary(bytes, options);
18396
+ }
18397
+
18398
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35InsertCommandMode_InsertProgram {
18399
+ return new Scte35InsertCommandMode_InsertProgram().fromJson(jsonValue, options);
18400
+ }
18401
+
18402
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35InsertCommandMode_InsertProgram {
18403
+ return new Scte35InsertCommandMode_InsertProgram().fromJsonString(jsonString, options);
18404
+ }
18405
+
18406
+ static equals(a: Scte35InsertCommandMode_InsertProgram | PlainMessage<Scte35InsertCommandMode_InsertProgram> | undefined, b: Scte35InsertCommandMode_InsertProgram | PlainMessage<Scte35InsertCommandMode_InsertProgram> | undefined): boolean {
18407
+ return proto3.util.equals(Scte35InsertCommandMode_InsertProgram, a, b);
18408
+ }
18409
+ }
18410
+
18411
+ /**
18412
+ * @generated from message norsk.api.media.Scte35InsertCommandMode.InsertComponent
18413
+ */
18414
+ export class Scte35InsertCommandMode_InsertComponent extends Message<Scte35InsertCommandMode_InsertComponent> {
18415
+ /**
18416
+ * @generated from field: repeated norsk.api.media.Scte35InsertCommandComponent components = 1;
18417
+ */
18418
+ components: Scte35InsertCommandComponent[] = [];
18419
+
18420
+ constructor(data?: PartialMessage<Scte35InsertCommandMode_InsertComponent>) {
18421
+ super();
18422
+ proto3.util.initPartial(data, this);
18423
+ }
18424
+
18425
+ static readonly runtime = proto3;
18426
+ static readonly typeName = "norsk.api.media.Scte35InsertCommandMode.InsertComponent";
18427
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18428
+ { no: 1, name: "components", kind: "message", T: Scte35InsertCommandComponent, repeated: true },
18429
+ ]);
18430
+
18431
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35InsertCommandMode_InsertComponent {
18432
+ return new Scte35InsertCommandMode_InsertComponent().fromBinary(bytes, options);
18433
+ }
18434
+
18435
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35InsertCommandMode_InsertComponent {
18436
+ return new Scte35InsertCommandMode_InsertComponent().fromJson(jsonValue, options);
18437
+ }
18438
+
18439
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35InsertCommandMode_InsertComponent {
18440
+ return new Scte35InsertCommandMode_InsertComponent().fromJsonString(jsonString, options);
18441
+ }
18442
+
18443
+ static equals(a: Scte35InsertCommandMode_InsertComponent | PlainMessage<Scte35InsertCommandMode_InsertComponent> | undefined, b: Scte35InsertCommandMode_InsertComponent | PlainMessage<Scte35InsertCommandMode_InsertComponent> | undefined): boolean {
18444
+ return proto3.util.equals(Scte35InsertCommandMode_InsertComponent, a, b);
18445
+ }
18446
+ }
18447
+
18448
+ /**
18449
+ * @generated from message norsk.api.media.Scte35InsertCommandComponent
18450
+ */
18451
+ export class Scte35InsertCommandComponent extends Message<Scte35InsertCommandComponent> {
18452
+ /**
18453
+ * @generated from field: uint32 component_tag = 1;
18454
+ */
18455
+ componentTag = 0;
18456
+
18457
+ /**
18458
+ * @generated from field: norsk.api.media.Scte35SpliceTime splice_time = 2;
18459
+ */
18460
+ spliceTime?: Scte35SpliceTime;
18461
+
18462
+ constructor(data?: PartialMessage<Scte35InsertCommandComponent>) {
18463
+ super();
18464
+ proto3.util.initPartial(data, this);
18465
+ }
18466
+
18467
+ static readonly runtime = proto3;
18468
+ static readonly typeName = "norsk.api.media.Scte35InsertCommandComponent";
18469
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18470
+ { no: 1, name: "component_tag", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18471
+ { no: 2, name: "splice_time", kind: "message", T: Scte35SpliceTime },
18472
+ ]);
18473
+
18474
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35InsertCommandComponent {
18475
+ return new Scte35InsertCommandComponent().fromBinary(bytes, options);
18476
+ }
18477
+
18478
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35InsertCommandComponent {
18479
+ return new Scte35InsertCommandComponent().fromJson(jsonValue, options);
18480
+ }
18481
+
18482
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35InsertCommandComponent {
18483
+ return new Scte35InsertCommandComponent().fromJsonString(jsonString, options);
18484
+ }
18485
+
18486
+ static equals(a: Scte35InsertCommandComponent | PlainMessage<Scte35InsertCommandComponent> | undefined, b: Scte35InsertCommandComponent | PlainMessage<Scte35InsertCommandComponent> | undefined): boolean {
18487
+ return proto3.util.equals(Scte35InsertCommandComponent, a, b);
18488
+ }
18489
+ }
18490
+
18491
+ /**
18492
+ * @generated from message norsk.api.media.Scte35SpliceTime
18493
+ */
18494
+ export class Scte35SpliceTime extends Message<Scte35SpliceTime> {
18495
+ /**
18496
+ * @generated from field: norsk.api.media.OptionalInt pts_time = 1;
18497
+ */
18498
+ ptsTime?: OptionalInt;
18499
+
18500
+ constructor(data?: PartialMessage<Scte35SpliceTime>) {
18501
+ super();
18502
+ proto3.util.initPartial(data, this);
18503
+ }
18504
+
18505
+ static readonly runtime = proto3;
18506
+ static readonly typeName = "norsk.api.media.Scte35SpliceTime";
18507
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18508
+ { no: 1, name: "pts_time", kind: "message", T: OptionalInt },
18509
+ ]);
18510
+
18511
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35SpliceTime {
18512
+ return new Scte35SpliceTime().fromBinary(bytes, options);
18513
+ }
18514
+
18515
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35SpliceTime {
18516
+ return new Scte35SpliceTime().fromJson(jsonValue, options);
18517
+ }
18518
+
18519
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35SpliceTime {
18520
+ return new Scte35SpliceTime().fromJsonString(jsonString, options);
18521
+ }
18522
+
18523
+ static equals(a: Scte35SpliceTime | PlainMessage<Scte35SpliceTime> | undefined, b: Scte35SpliceTime | PlainMessage<Scte35SpliceTime> | undefined): boolean {
18524
+ return proto3.util.equals(Scte35SpliceTime, a, b);
18525
+ }
18526
+ }
18527
+
18528
+ /**
18529
+ * @generated from message norsk.api.media.Scte35BreakDuration
18530
+ */
18531
+ export class Scte35BreakDuration extends Message<Scte35BreakDuration> {
18532
+ /**
18533
+ * @generated from field: bool auto_return = 1;
18534
+ */
18535
+ autoReturn = false;
18536
+
18537
+ /**
18538
+ * @generated from field: uint64 duration = 2;
18539
+ */
18540
+ duration = protoInt64.zero;
18541
+
18542
+ constructor(data?: PartialMessage<Scte35BreakDuration>) {
18543
+ super();
18544
+ proto3.util.initPartial(data, this);
18545
+ }
18546
+
18547
+ static readonly runtime = proto3;
18548
+ static readonly typeName = "norsk.api.media.Scte35BreakDuration";
18549
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18550
+ { no: 1, name: "auto_return", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
18551
+ { no: 2, name: "duration", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
18552
+ ]);
18553
+
18554
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35BreakDuration {
18555
+ return new Scte35BreakDuration().fromBinary(bytes, options);
18556
+ }
18557
+
18558
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35BreakDuration {
18559
+ return new Scte35BreakDuration().fromJson(jsonValue, options);
18560
+ }
18561
+
18562
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35BreakDuration {
18563
+ return new Scte35BreakDuration().fromJsonString(jsonString, options);
18564
+ }
18565
+
18566
+ static equals(a: Scte35BreakDuration | PlainMessage<Scte35BreakDuration> | undefined, b: Scte35BreakDuration | PlainMessage<Scte35BreakDuration> | undefined): boolean {
18567
+ return proto3.util.equals(Scte35BreakDuration, a, b);
18568
+ }
18569
+ }
18570
+
18571
+ /**
18572
+ * @generated from message norsk.api.media.Scte35PrivateCommand
18573
+ */
18574
+ export class Scte35PrivateCommand extends Message<Scte35PrivateCommand> {
18575
+ /**
18576
+ * @generated from field: uint32 identifier = 1;
18577
+ */
18578
+ identifier = 0;
18579
+
18580
+ /**
18581
+ * @generated from field: bytes private_bytes = 2;
18582
+ */
18583
+ privateBytes = new Uint8Array(0);
18584
+
18585
+ constructor(data?: PartialMessage<Scte35PrivateCommand>) {
18586
+ super();
18587
+ proto3.util.initPartial(data, this);
18588
+ }
18589
+
18590
+ static readonly runtime = proto3;
18591
+ static readonly typeName = "norsk.api.media.Scte35PrivateCommand";
18592
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18593
+ { no: 1, name: "identifier", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18594
+ { no: 2, name: "private_bytes", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
18595
+ ]);
18596
+
18597
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35PrivateCommand {
18598
+ return new Scte35PrivateCommand().fromBinary(bytes, options);
18599
+ }
18600
+
18601
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35PrivateCommand {
18602
+ return new Scte35PrivateCommand().fromJson(jsonValue, options);
18603
+ }
18604
+
18605
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35PrivateCommand {
18606
+ return new Scte35PrivateCommand().fromJsonString(jsonString, options);
18607
+ }
18608
+
18609
+ static equals(a: Scte35PrivateCommand | PlainMessage<Scte35PrivateCommand> | undefined, b: Scte35PrivateCommand | PlainMessage<Scte35PrivateCommand> | undefined): boolean {
18610
+ return proto3.util.equals(Scte35PrivateCommand, a, b);
18611
+ }
18612
+ }
18613
+
18614
+ /**
18615
+ * @generated from message norsk.api.media.Scte35ScheduleCommand
18616
+ */
18617
+ export class Scte35ScheduleCommand extends Message<Scte35ScheduleCommand> {
18618
+ /**
18619
+ * @generated from field: repeated norsk.api.media.Scte35ScheduleItem items = 1;
18620
+ */
18621
+ items: Scte35ScheduleItem[] = [];
18622
+
18623
+ constructor(data?: PartialMessage<Scte35ScheduleCommand>) {
18624
+ super();
18625
+ proto3.util.initPartial(data, this);
18626
+ }
18627
+
18628
+ static readonly runtime = proto3;
18629
+ static readonly typeName = "norsk.api.media.Scte35ScheduleCommand";
18630
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18631
+ { no: 1, name: "items", kind: "message", T: Scte35ScheduleItem, repeated: true },
18632
+ ]);
18633
+
18634
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35ScheduleCommand {
18635
+ return new Scte35ScheduleCommand().fromBinary(bytes, options);
18636
+ }
18637
+
18638
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35ScheduleCommand {
18639
+ return new Scte35ScheduleCommand().fromJson(jsonValue, options);
18640
+ }
18641
+
18642
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35ScheduleCommand {
18643
+ return new Scte35ScheduleCommand().fromJsonString(jsonString, options);
18644
+ }
18645
+
18646
+ static equals(a: Scte35ScheduleCommand | PlainMessage<Scte35ScheduleCommand> | undefined, b: Scte35ScheduleCommand | PlainMessage<Scte35ScheduleCommand> | undefined): boolean {
18647
+ return proto3.util.equals(Scte35ScheduleCommand, a, b);
18648
+ }
18649
+ }
18650
+
18651
+ /**
18652
+ * @generated from message norsk.api.media.Scte35ScheduleItem
18653
+ */
18654
+ export class Scte35ScheduleItem extends Message<Scte35ScheduleItem> {
18655
+ /**
18656
+ * @generated from field: uint32 splice_event_id = 1;
18657
+ */
18658
+ spliceEventId = 0;
18659
+
18660
+ /**
18661
+ * @generated from field: bool splice_event_cancel_indicator = 2;
18662
+ */
18663
+ spliceEventCancelIndicator = false;
18664
+
18665
+ /**
18666
+ * @generated from field: bool out_of_network_indicator = 3;
18667
+ */
18668
+ outOfNetworkIndicator = false;
18669
+
18670
+ /**
18671
+ * @generated from field: norsk.api.media.Scte35ScheduleCommandMode mode = 4;
18672
+ */
18673
+ mode?: Scte35ScheduleCommandMode;
18674
+
18675
+ /**
18676
+ * @generated from field: norsk.api.media.Scte35BreakDuration break_duration = 5;
18677
+ */
18678
+ breakDuration?: Scte35BreakDuration;
18679
+
18680
+ /**
18681
+ * @generated from field: uint32 unique_program_id = 6;
18682
+ */
18683
+ uniqueProgramId = 0;
18684
+
18685
+ /**
18686
+ * @generated from field: uint32 avail_num = 7;
18687
+ */
18688
+ availNum = 0;
18689
+
18690
+ /**
18691
+ * @generated from field: uint32 avails_expected = 8;
18692
+ */
18693
+ availsExpected = 0;
18694
+
18695
+ constructor(data?: PartialMessage<Scte35ScheduleItem>) {
18696
+ super();
18697
+ proto3.util.initPartial(data, this);
18698
+ }
18699
+
18700
+ static readonly runtime = proto3;
18701
+ static readonly typeName = "norsk.api.media.Scte35ScheduleItem";
18702
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18703
+ { no: 1, name: "splice_event_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18704
+ { no: 2, name: "splice_event_cancel_indicator", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
18705
+ { no: 3, name: "out_of_network_indicator", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
18706
+ { no: 4, name: "mode", kind: "message", T: Scte35ScheduleCommandMode },
18707
+ { no: 5, name: "break_duration", kind: "message", T: Scte35BreakDuration },
18708
+ { no: 6, name: "unique_program_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18709
+ { no: 7, name: "avail_num", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18710
+ { no: 8, name: "avails_expected", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18711
+ ]);
18712
+
18713
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35ScheduleItem {
18714
+ return new Scte35ScheduleItem().fromBinary(bytes, options);
18715
+ }
18716
+
18717
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35ScheduleItem {
18718
+ return new Scte35ScheduleItem().fromJson(jsonValue, options);
18719
+ }
18720
+
18721
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35ScheduleItem {
18722
+ return new Scte35ScheduleItem().fromJsonString(jsonString, options);
18723
+ }
18724
+
18725
+ static equals(a: Scte35ScheduleItem | PlainMessage<Scte35ScheduleItem> | undefined, b: Scte35ScheduleItem | PlainMessage<Scte35ScheduleItem> | undefined): boolean {
18726
+ return proto3.util.equals(Scte35ScheduleItem, a, b);
18727
+ }
18728
+ }
18729
+
18730
+ /**
18731
+ * @generated from message norsk.api.media.Scte35ScheduleCommandMode
18732
+ */
18733
+ export class Scte35ScheduleCommandMode extends Message<Scte35ScheduleCommandMode> {
18734
+ /**
18735
+ * @generated from oneof norsk.api.media.Scte35ScheduleCommandMode.message
18736
+ */
18737
+ message: {
18738
+ /**
18739
+ * @generated from field: norsk.api.media.Scte35ScheduleCommandMode.ScheduleProgram schedule_program = 1;
18740
+ */
18741
+ value: Scte35ScheduleCommandMode_ScheduleProgram;
18742
+ case: "scheduleProgram";
18743
+ } | {
18744
+ /**
18745
+ * @generated from field: norsk.api.media.Scte35ScheduleCommandMode.ScheduleComponent schedule_component = 2;
18746
+ */
18747
+ value: Scte35ScheduleCommandMode_ScheduleComponent;
18748
+ case: "scheduleComponent";
18749
+ } | { case: undefined; value?: undefined } = { case: undefined };
18750
+
18751
+ constructor(data?: PartialMessage<Scte35ScheduleCommandMode>) {
18752
+ super();
18753
+ proto3.util.initPartial(data, this);
18754
+ }
18755
+
18756
+ static readonly runtime = proto3;
18757
+ static readonly typeName = "norsk.api.media.Scte35ScheduleCommandMode";
18758
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18759
+ { no: 1, name: "schedule_program", kind: "message", T: Scte35ScheduleCommandMode_ScheduleProgram, oneof: "message" },
18760
+ { no: 2, name: "schedule_component", kind: "message", T: Scte35ScheduleCommandMode_ScheduleComponent, oneof: "message" },
18761
+ ]);
18762
+
18763
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35ScheduleCommandMode {
18764
+ return new Scte35ScheduleCommandMode().fromBinary(bytes, options);
18765
+ }
18766
+
18767
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35ScheduleCommandMode {
18768
+ return new Scte35ScheduleCommandMode().fromJson(jsonValue, options);
18769
+ }
18770
+
18771
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35ScheduleCommandMode {
18772
+ return new Scte35ScheduleCommandMode().fromJsonString(jsonString, options);
18773
+ }
18774
+
18775
+ static equals(a: Scte35ScheduleCommandMode | PlainMessage<Scte35ScheduleCommandMode> | undefined, b: Scte35ScheduleCommandMode | PlainMessage<Scte35ScheduleCommandMode> | undefined): boolean {
18776
+ return proto3.util.equals(Scte35ScheduleCommandMode, a, b);
18777
+ }
18778
+ }
18779
+
18780
+ /**
18781
+ * @generated from message norsk.api.media.Scte35ScheduleCommandMode.ScheduleProgram
18782
+ */
18783
+ export class Scte35ScheduleCommandMode_ScheduleProgram extends Message<Scte35ScheduleCommandMode_ScheduleProgram> {
18784
+ /**
18785
+ * @generated from field: uint32 utc_splice_time = 1;
18786
+ */
18787
+ utcSpliceTime = 0;
18788
+
18789
+ constructor(data?: PartialMessage<Scte35ScheduleCommandMode_ScheduleProgram>) {
18790
+ super();
18791
+ proto3.util.initPartial(data, this);
18792
+ }
18793
+
18794
+ static readonly runtime = proto3;
18795
+ static readonly typeName = "norsk.api.media.Scte35ScheduleCommandMode.ScheduleProgram";
18796
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18797
+ { no: 1, name: "utc_splice_time", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18798
+ ]);
18799
+
18800
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35ScheduleCommandMode_ScheduleProgram {
18801
+ return new Scte35ScheduleCommandMode_ScheduleProgram().fromBinary(bytes, options);
18802
+ }
18803
+
18804
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35ScheduleCommandMode_ScheduleProgram {
18805
+ return new Scte35ScheduleCommandMode_ScheduleProgram().fromJson(jsonValue, options);
18806
+ }
18807
+
18808
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35ScheduleCommandMode_ScheduleProgram {
18809
+ return new Scte35ScheduleCommandMode_ScheduleProgram().fromJsonString(jsonString, options);
18810
+ }
18811
+
18812
+ static equals(a: Scte35ScheduleCommandMode_ScheduleProgram | PlainMessage<Scte35ScheduleCommandMode_ScheduleProgram> | undefined, b: Scte35ScheduleCommandMode_ScheduleProgram | PlainMessage<Scte35ScheduleCommandMode_ScheduleProgram> | undefined): boolean {
18813
+ return proto3.util.equals(Scte35ScheduleCommandMode_ScheduleProgram, a, b);
18814
+ }
18815
+ }
18816
+
18817
+ /**
18818
+ * @generated from message norsk.api.media.Scte35ScheduleCommandMode.ScheduleComponent
18819
+ */
18820
+ export class Scte35ScheduleCommandMode_ScheduleComponent extends Message<Scte35ScheduleCommandMode_ScheduleComponent> {
18821
+ /**
18822
+ * @generated from field: repeated norsk.api.media.Scte35ScheduleCommandComponent components = 1;
18823
+ */
18824
+ components: Scte35ScheduleCommandComponent[] = [];
18825
+
18826
+ constructor(data?: PartialMessage<Scte35ScheduleCommandMode_ScheduleComponent>) {
18827
+ super();
18828
+ proto3.util.initPartial(data, this);
18829
+ }
18830
+
18831
+ static readonly runtime = proto3;
18832
+ static readonly typeName = "norsk.api.media.Scte35ScheduleCommandMode.ScheduleComponent";
18833
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18834
+ { no: 1, name: "components", kind: "message", T: Scte35ScheduleCommandComponent, repeated: true },
18835
+ ]);
18836
+
18837
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35ScheduleCommandMode_ScheduleComponent {
18838
+ return new Scte35ScheduleCommandMode_ScheduleComponent().fromBinary(bytes, options);
18839
+ }
18840
+
18841
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35ScheduleCommandMode_ScheduleComponent {
18842
+ return new Scte35ScheduleCommandMode_ScheduleComponent().fromJson(jsonValue, options);
18843
+ }
18844
+
18845
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35ScheduleCommandMode_ScheduleComponent {
18846
+ return new Scte35ScheduleCommandMode_ScheduleComponent().fromJsonString(jsonString, options);
18847
+ }
18848
+
18849
+ static equals(a: Scte35ScheduleCommandMode_ScheduleComponent | PlainMessage<Scte35ScheduleCommandMode_ScheduleComponent> | undefined, b: Scte35ScheduleCommandMode_ScheduleComponent | PlainMessage<Scte35ScheduleCommandMode_ScheduleComponent> | undefined): boolean {
18850
+ return proto3.util.equals(Scte35ScheduleCommandMode_ScheduleComponent, a, b);
18851
+ }
18852
+ }
18853
+
18854
+ /**
18855
+ * @generated from message norsk.api.media.Scte35ScheduleCommandComponent
18856
+ */
18857
+ export class Scte35ScheduleCommandComponent extends Message<Scte35ScheduleCommandComponent> {
18858
+ /**
18859
+ * @generated from field: uint32 component_tag = 1;
18860
+ */
18861
+ componentTag = 0;
18862
+
18863
+ /**
18864
+ * @generated from field: uint32 utc_splice_time = 2;
18865
+ */
18866
+ utcSpliceTime = 0;
18867
+
18868
+ constructor(data?: PartialMessage<Scte35ScheduleCommandComponent>) {
18869
+ super();
18870
+ proto3.util.initPartial(data, this);
18871
+ }
18872
+
18873
+ static readonly runtime = proto3;
18874
+ static readonly typeName = "norsk.api.media.Scte35ScheduleCommandComponent";
18875
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18876
+ { no: 1, name: "component_tag", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18877
+ { no: 2, name: "utc_splice_time", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18878
+ ]);
18879
+
18880
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35ScheduleCommandComponent {
18881
+ return new Scte35ScheduleCommandComponent().fromBinary(bytes, options);
18882
+ }
18883
+
18884
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35ScheduleCommandComponent {
18885
+ return new Scte35ScheduleCommandComponent().fromJson(jsonValue, options);
18886
+ }
18887
+
18888
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35ScheduleCommandComponent {
18889
+ return new Scte35ScheduleCommandComponent().fromJsonString(jsonString, options);
18890
+ }
18891
+
18892
+ static equals(a: Scte35ScheduleCommandComponent | PlainMessage<Scte35ScheduleCommandComponent> | undefined, b: Scte35ScheduleCommandComponent | PlainMessage<Scte35ScheduleCommandComponent> | undefined): boolean {
18893
+ return proto3.util.equals(Scte35ScheduleCommandComponent, a, b);
18894
+ }
18895
+ }
18896
+
18897
+ /**
18898
+ * @generated from message norsk.api.media.Scte35SpliceDescriptor
18899
+ */
18900
+ export class Scte35SpliceDescriptor extends Message<Scte35SpliceDescriptor> {
18901
+ /**
18902
+ * @generated from oneof norsk.api.media.Scte35SpliceDescriptor.message
18903
+ */
18904
+ message: {
18905
+ /**
18906
+ * @generated from field: norsk.api.media.Scte35AvailDescriptor avail = 1;
18907
+ */
18908
+ value: Scte35AvailDescriptor;
18909
+ case: "avail";
18910
+ } | {
18911
+ /**
18912
+ * @generated from field: norsk.api.media.Scte35DtmfDescriptor dtmf = 2;
18913
+ */
18914
+ value: Scte35DtmfDescriptor;
18915
+ case: "dtmf";
18916
+ } | {
18917
+ /**
18918
+ * @generated from field: norsk.api.media.Scte35SegmentationDescriptor segmentation = 3;
18919
+ */
18920
+ value: Scte35SegmentationDescriptor;
18921
+ case: "segmentation";
18922
+ } | {
18923
+ /**
18924
+ * @generated from field: norsk.api.media.Scte35TimeDescriptor time = 4;
18925
+ */
18926
+ value: Scte35TimeDescriptor;
18927
+ case: "time";
18928
+ } | {
18929
+ /**
18930
+ * @generated from field: norsk.api.media.Scte35AudioDescriptor audio = 5;
18931
+ */
18932
+ value: Scte35AudioDescriptor;
18933
+ case: "audio";
18934
+ } | {
18935
+ /**
18936
+ * @generated from field: norsk.api.media.Scte35GenericDescriptor reserved_other = 6;
18937
+ */
18938
+ value: Scte35GenericDescriptor;
18939
+ case: "reservedOther";
18940
+ } | { case: undefined; value?: undefined } = { case: undefined };
18941
+
18942
+ constructor(data?: PartialMessage<Scte35SpliceDescriptor>) {
18943
+ super();
18944
+ proto3.util.initPartial(data, this);
18945
+ }
18946
+
18947
+ static readonly runtime = proto3;
18948
+ static readonly typeName = "norsk.api.media.Scte35SpliceDescriptor";
18949
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18950
+ { no: 1, name: "avail", kind: "message", T: Scte35AvailDescriptor, oneof: "message" },
18951
+ { no: 2, name: "dtmf", kind: "message", T: Scte35DtmfDescriptor, oneof: "message" },
18952
+ { no: 3, name: "segmentation", kind: "message", T: Scte35SegmentationDescriptor, oneof: "message" },
18953
+ { no: 4, name: "time", kind: "message", T: Scte35TimeDescriptor, oneof: "message" },
18954
+ { no: 5, name: "audio", kind: "message", T: Scte35AudioDescriptor, oneof: "message" },
18955
+ { no: 6, name: "reserved_other", kind: "message", T: Scte35GenericDescriptor, oneof: "message" },
18956
+ ]);
18957
+
18958
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35SpliceDescriptor {
18959
+ return new Scte35SpliceDescriptor().fromBinary(bytes, options);
18960
+ }
18961
+
18962
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35SpliceDescriptor {
18963
+ return new Scte35SpliceDescriptor().fromJson(jsonValue, options);
18964
+ }
18965
+
18966
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35SpliceDescriptor {
18967
+ return new Scte35SpliceDescriptor().fromJsonString(jsonString, options);
18968
+ }
18969
+
18970
+ static equals(a: Scte35SpliceDescriptor | PlainMessage<Scte35SpliceDescriptor> | undefined, b: Scte35SpliceDescriptor | PlainMessage<Scte35SpliceDescriptor> | undefined): boolean {
18971
+ return proto3.util.equals(Scte35SpliceDescriptor, a, b);
18972
+ }
18973
+ }
18974
+
18975
+ /**
18976
+ * @generated from message norsk.api.media.Scte35GenericDescriptor
18977
+ */
18978
+ export class Scte35GenericDescriptor extends Message<Scte35GenericDescriptor> {
18979
+ /**
18980
+ * @generated from field: uint32 identifier = 1;
18981
+ */
18982
+ identifier = 0;
18983
+
18984
+ /**
18985
+ * @generated from field: uint32 splice_descriptor_tag = 2;
18986
+ */
18987
+ spliceDescriptorTag = 0;
18988
+
18989
+ /**
18990
+ * @generated from field: bytes private_bytes = 3;
18991
+ */
18992
+ privateBytes = new Uint8Array(0);
18993
+
18994
+ constructor(data?: PartialMessage<Scte35GenericDescriptor>) {
18995
+ super();
18996
+ proto3.util.initPartial(data, this);
18997
+ }
18998
+
18999
+ static readonly runtime = proto3;
19000
+ static readonly typeName = "norsk.api.media.Scte35GenericDescriptor";
19001
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19002
+ { no: 1, name: "identifier", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19003
+ { no: 2, name: "splice_descriptor_tag", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19004
+ { no: 3, name: "private_bytes", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
19005
+ ]);
19006
+
19007
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35GenericDescriptor {
19008
+ return new Scte35GenericDescriptor().fromBinary(bytes, options);
19009
+ }
19010
+
19011
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35GenericDescriptor {
19012
+ return new Scte35GenericDescriptor().fromJson(jsonValue, options);
19013
+ }
19014
+
19015
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35GenericDescriptor {
19016
+ return new Scte35GenericDescriptor().fromJsonString(jsonString, options);
19017
+ }
19018
+
19019
+ static equals(a: Scte35GenericDescriptor | PlainMessage<Scte35GenericDescriptor> | undefined, b: Scte35GenericDescriptor | PlainMessage<Scte35GenericDescriptor> | undefined): boolean {
19020
+ return proto3.util.equals(Scte35GenericDescriptor, a, b);
19021
+ }
19022
+ }
19023
+
19024
+ /**
19025
+ * @generated from message norsk.api.media.Scte35AvailDescriptor
19026
+ */
19027
+ export class Scte35AvailDescriptor extends Message<Scte35AvailDescriptor> {
19028
+ /**
19029
+ * @generated from field: uint32 provider_avail_id = 1;
19030
+ */
19031
+ providerAvailId = 0;
19032
+
19033
+ constructor(data?: PartialMessage<Scte35AvailDescriptor>) {
19034
+ super();
19035
+ proto3.util.initPartial(data, this);
19036
+ }
19037
+
19038
+ static readonly runtime = proto3;
19039
+ static readonly typeName = "norsk.api.media.Scte35AvailDescriptor";
19040
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19041
+ { no: 1, name: "provider_avail_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19042
+ ]);
19043
+
19044
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35AvailDescriptor {
19045
+ return new Scte35AvailDescriptor().fromBinary(bytes, options);
19046
+ }
19047
+
19048
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35AvailDescriptor {
19049
+ return new Scte35AvailDescriptor().fromJson(jsonValue, options);
19050
+ }
19051
+
19052
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35AvailDescriptor {
19053
+ return new Scte35AvailDescriptor().fromJsonString(jsonString, options);
19054
+ }
19055
+
19056
+ static equals(a: Scte35AvailDescriptor | PlainMessage<Scte35AvailDescriptor> | undefined, b: Scte35AvailDescriptor | PlainMessage<Scte35AvailDescriptor> | undefined): boolean {
19057
+ return proto3.util.equals(Scte35AvailDescriptor, a, b);
19058
+ }
19059
+ }
19060
+
19061
+ /**
19062
+ * @generated from message norsk.api.media.Scte35DtmfDescriptor
19063
+ */
19064
+ export class Scte35DtmfDescriptor extends Message<Scte35DtmfDescriptor> {
19065
+ /**
19066
+ * @generated from field: uint32 preroll = 1;
19067
+ */
19068
+ preroll = 0;
19069
+
19070
+ /**
19071
+ * @generated from field: bytes dtmf_chars = 2;
19072
+ */
19073
+ dtmfChars = new Uint8Array(0);
19074
+
19075
+ constructor(data?: PartialMessage<Scte35DtmfDescriptor>) {
19076
+ super();
19077
+ proto3.util.initPartial(data, this);
19078
+ }
19079
+
19080
+ static readonly runtime = proto3;
19081
+ static readonly typeName = "norsk.api.media.Scte35DtmfDescriptor";
19082
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19083
+ { no: 1, name: "preroll", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19084
+ { no: 2, name: "dtmf_chars", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
19085
+ ]);
19086
+
19087
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35DtmfDescriptor {
19088
+ return new Scte35DtmfDescriptor().fromBinary(bytes, options);
19089
+ }
19090
+
19091
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35DtmfDescriptor {
19092
+ return new Scte35DtmfDescriptor().fromJson(jsonValue, options);
19093
+ }
19094
+
19095
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35DtmfDescriptor {
19096
+ return new Scte35DtmfDescriptor().fromJsonString(jsonString, options);
19097
+ }
19098
+
19099
+ static equals(a: Scte35DtmfDescriptor | PlainMessage<Scte35DtmfDescriptor> | undefined, b: Scte35DtmfDescriptor | PlainMessage<Scte35DtmfDescriptor> | undefined): boolean {
19100
+ return proto3.util.equals(Scte35DtmfDescriptor, a, b);
19101
+ }
19102
+ }
19103
+
19104
+ /**
19105
+ * @generated from message norsk.api.media.Scte35TimeDescriptor
19106
+ */
19107
+ export class Scte35TimeDescriptor extends Message<Scte35TimeDescriptor> {
19108
+ /**
19109
+ * @generated from field: uint64 tai_seconds = 1;
19110
+ */
19111
+ taiSeconds = protoInt64.zero;
19112
+
19113
+ /**
19114
+ * @generated from field: uint32 tai_ns = 2;
19115
+ */
19116
+ taiNs = 0;
19117
+
19118
+ /**
19119
+ * @generated from field: uint32 utc_offset = 3;
19120
+ */
19121
+ utcOffset = 0;
19122
+
19123
+ constructor(data?: PartialMessage<Scte35TimeDescriptor>) {
19124
+ super();
19125
+ proto3.util.initPartial(data, this);
19126
+ }
19127
+
19128
+ static readonly runtime = proto3;
19129
+ static readonly typeName = "norsk.api.media.Scte35TimeDescriptor";
19130
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19131
+ { no: 1, name: "tai_seconds", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
19132
+ { no: 2, name: "tai_ns", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19133
+ { no: 3, name: "utc_offset", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19134
+ ]);
19135
+
19136
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35TimeDescriptor {
19137
+ return new Scte35TimeDescriptor().fromBinary(bytes, options);
19138
+ }
19139
+
19140
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35TimeDescriptor {
19141
+ return new Scte35TimeDescriptor().fromJson(jsonValue, options);
19142
+ }
19143
+
19144
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35TimeDescriptor {
19145
+ return new Scte35TimeDescriptor().fromJsonString(jsonString, options);
19146
+ }
19147
+
19148
+ static equals(a: Scte35TimeDescriptor | PlainMessage<Scte35TimeDescriptor> | undefined, b: Scte35TimeDescriptor | PlainMessage<Scte35TimeDescriptor> | undefined): boolean {
19149
+ return proto3.util.equals(Scte35TimeDescriptor, a, b);
19150
+ }
19151
+ }
19152
+
19153
+ /**
19154
+ * @generated from message norsk.api.media.Scte35AudioDescriptor
19155
+ */
19156
+ export class Scte35AudioDescriptor extends Message<Scte35AudioDescriptor> {
19157
+ /**
19158
+ * @generated from field: repeated norsk.api.media.Scte35AudioComponent components = 1;
19159
+ */
19160
+ components: Scte35AudioComponent[] = [];
19161
+
19162
+ constructor(data?: PartialMessage<Scte35AudioDescriptor>) {
19163
+ super();
19164
+ proto3.util.initPartial(data, this);
19165
+ }
19166
+
19167
+ static readonly runtime = proto3;
19168
+ static readonly typeName = "norsk.api.media.Scte35AudioDescriptor";
19169
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19170
+ { no: 1, name: "components", kind: "message", T: Scte35AudioComponent, repeated: true },
19171
+ ]);
19172
+
19173
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35AudioDescriptor {
19174
+ return new Scte35AudioDescriptor().fromBinary(bytes, options);
19175
+ }
19176
+
19177
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35AudioDescriptor {
19178
+ return new Scte35AudioDescriptor().fromJson(jsonValue, options);
19179
+ }
19180
+
19181
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35AudioDescriptor {
19182
+ return new Scte35AudioDescriptor().fromJsonString(jsonString, options);
19183
+ }
19184
+
19185
+ static equals(a: Scte35AudioDescriptor | PlainMessage<Scte35AudioDescriptor> | undefined, b: Scte35AudioDescriptor | PlainMessage<Scte35AudioDescriptor> | undefined): boolean {
19186
+ return proto3.util.equals(Scte35AudioDescriptor, a, b);
19187
+ }
19188
+ }
19189
+
19190
+ /**
19191
+ * @generated from message norsk.api.media.Scte35AudioComponent
19192
+ */
19193
+ export class Scte35AudioComponent extends Message<Scte35AudioComponent> {
19194
+ /**
19195
+ * @generated from field: uint32 component_tag = 1;
19196
+ */
19197
+ componentTag = 0;
19198
+
19199
+ /**
19200
+ * @generated from field: uint32 iso_code = 2;
19201
+ */
19202
+ isoCode = 0;
19203
+
19204
+ /**
19205
+ * @generated from field: uint32 bit_stream_mode = 3;
19206
+ */
19207
+ bitStreamMode = 0;
19208
+
19209
+ /**
19210
+ * @generated from field: uint32 num_channels = 4;
19211
+ */
19212
+ numChannels = 0;
19213
+
19214
+ /**
19215
+ * @generated from field: bool full_srvc_audio = 5;
19216
+ */
19217
+ fullSrvcAudio = false;
19218
+
19219
+ constructor(data?: PartialMessage<Scte35AudioComponent>) {
19220
+ super();
19221
+ proto3.util.initPartial(data, this);
19222
+ }
19223
+
19224
+ static readonly runtime = proto3;
19225
+ static readonly typeName = "norsk.api.media.Scte35AudioComponent";
19226
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19227
+ { no: 1, name: "component_tag", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19228
+ { no: 2, name: "iso_code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19229
+ { no: 3, name: "bit_stream_mode", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19230
+ { no: 4, name: "num_channels", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19231
+ { no: 5, name: "full_srvc_audio", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
19232
+ ]);
19233
+
19234
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35AudioComponent {
19235
+ return new Scte35AudioComponent().fromBinary(bytes, options);
19236
+ }
19237
+
19238
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35AudioComponent {
19239
+ return new Scte35AudioComponent().fromJson(jsonValue, options);
19240
+ }
19241
+
19242
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35AudioComponent {
19243
+ return new Scte35AudioComponent().fromJsonString(jsonString, options);
19244
+ }
19245
+
19246
+ static equals(a: Scte35AudioComponent | PlainMessage<Scte35AudioComponent> | undefined, b: Scte35AudioComponent | PlainMessage<Scte35AudioComponent> | undefined): boolean {
19247
+ return proto3.util.equals(Scte35AudioComponent, a, b);
19248
+ }
19249
+ }
19250
+
19251
+ /**
19252
+ * @generated from message norsk.api.media.Scte35SegmentationDescriptor
19253
+ */
19254
+ export class Scte35SegmentationDescriptor extends Message<Scte35SegmentationDescriptor> {
19255
+ /**
19256
+ * @generated from field: uint32 segmentation_event_id = 1;
19257
+ */
19258
+ segmentationEventId = 0;
19259
+
19260
+ /**
19261
+ * @generated from field: bool segmentation_event_cancel_indicator = 2;
19262
+ */
19263
+ segmentationEventCancelIndicator = false;
19264
+
19265
+ /**
19266
+ * @generated from field: bool program_segmentation_flag = 3;
19267
+ */
19268
+ programSegmentationFlag = false;
19269
+
19270
+ /**
19271
+ * @generated from field: norsk.api.media.Scte35SegmentDeliveryRestrictions delivery_restrictions = 4;
19272
+ */
19273
+ deliveryRestrictions?: Scte35SegmentDeliveryRestrictions;
19274
+
19275
+ /**
19276
+ * @generated from field: repeated norsk.api.media.Scte35SegmentationComponent components = 5;
19277
+ */
19278
+ components: Scte35SegmentationComponent[] = [];
19279
+
19280
+ /**
19281
+ * @generated from field: norsk.api.media.OptionalInt64 segmentation_duration = 6;
19282
+ */
19283
+ segmentationDuration?: OptionalInt64;
19284
+
19285
+ /**
19286
+ * @generated from field: uint32 segmentation_upid_type = 7;
19287
+ */
19288
+ segmentationUpidType = 0;
19289
+
19290
+ /**
19291
+ * @generated from field: bytes segmentation_upid = 8;
19292
+ */
19293
+ segmentationUpid = new Uint8Array(0);
19294
+
19295
+ /**
19296
+ * @generated from field: uint32 segmentation_type_id = 9;
19297
+ */
19298
+ segmentationTypeId = 0;
19299
+
19300
+ /**
19301
+ * @generated from field: uint32 segment_num = 10;
19302
+ */
19303
+ segmentNum = 0;
19304
+
19305
+ /**
19306
+ * @generated from field: uint32 segments_expected = 11;
19307
+ */
19308
+ segmentsExpected = 0;
19309
+
19310
+ /**
19311
+ * @generated from field: norsk.api.media.OptionalInt sub_segment_num = 12;
19312
+ */
19313
+ subSegmentNum?: OptionalInt;
19314
+
19315
+ /**
19316
+ * @generated from field: norsk.api.media.OptionalInt sub_segments_expected = 13;
19317
+ */
19318
+ subSegmentsExpected?: OptionalInt;
19319
+
19320
+ constructor(data?: PartialMessage<Scte35SegmentationDescriptor>) {
19321
+ super();
19322
+ proto3.util.initPartial(data, this);
19323
+ }
19324
+
19325
+ static readonly runtime = proto3;
19326
+ static readonly typeName = "norsk.api.media.Scte35SegmentationDescriptor";
19327
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19328
+ { no: 1, name: "segmentation_event_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19329
+ { no: 2, name: "segmentation_event_cancel_indicator", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
19330
+ { no: 3, name: "program_segmentation_flag", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
19331
+ { no: 4, name: "delivery_restrictions", kind: "message", T: Scte35SegmentDeliveryRestrictions },
19332
+ { no: 5, name: "components", kind: "message", T: Scte35SegmentationComponent, repeated: true },
19333
+ { no: 6, name: "segmentation_duration", kind: "message", T: OptionalInt64 },
19334
+ { no: 7, name: "segmentation_upid_type", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19335
+ { no: 8, name: "segmentation_upid", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
19336
+ { no: 9, name: "segmentation_type_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19337
+ { no: 10, name: "segment_num", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19338
+ { no: 11, name: "segments_expected", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19339
+ { no: 12, name: "sub_segment_num", kind: "message", T: OptionalInt },
19340
+ { no: 13, name: "sub_segments_expected", kind: "message", T: OptionalInt },
19341
+ ]);
19342
+
19343
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35SegmentationDescriptor {
19344
+ return new Scte35SegmentationDescriptor().fromBinary(bytes, options);
19345
+ }
19346
+
19347
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35SegmentationDescriptor {
19348
+ return new Scte35SegmentationDescriptor().fromJson(jsonValue, options);
19349
+ }
19350
+
19351
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35SegmentationDescriptor {
19352
+ return new Scte35SegmentationDescriptor().fromJsonString(jsonString, options);
19353
+ }
19354
+
19355
+ static equals(a: Scte35SegmentationDescriptor | PlainMessage<Scte35SegmentationDescriptor> | undefined, b: Scte35SegmentationDescriptor | PlainMessage<Scte35SegmentationDescriptor> | undefined): boolean {
19356
+ return proto3.util.equals(Scte35SegmentationDescriptor, a, b);
19357
+ }
19358
+ }
19359
+
19360
+ /**
19361
+ * @generated from message norsk.api.media.Scte35SegmentDeliveryRestrictions
19362
+ */
19363
+ export class Scte35SegmentDeliveryRestrictions extends Message<Scte35SegmentDeliveryRestrictions> {
19364
+ /**
19365
+ * @generated from field: bool web_delivery_allowed_flag = 1;
19366
+ */
19367
+ webDeliveryAllowedFlag = false;
19368
+
19369
+ /**
19370
+ * @generated from field: bool no_regional_blackout_flag = 2;
19371
+ */
19372
+ noRegionalBlackoutFlag = false;
19373
+
19374
+ /**
19375
+ * @generated from field: bool archive_allowed_flag = 3;
19376
+ */
19377
+ archiveAllowedFlag = false;
19378
+
19379
+ /**
19380
+ * @generated from field: uint32 device_restrictions = 4;
19381
+ */
19382
+ deviceRestrictions = 0;
19383
+
19384
+ constructor(data?: PartialMessage<Scte35SegmentDeliveryRestrictions>) {
19385
+ super();
19386
+ proto3.util.initPartial(data, this);
19387
+ }
19388
+
19389
+ static readonly runtime = proto3;
19390
+ static readonly typeName = "norsk.api.media.Scte35SegmentDeliveryRestrictions";
19391
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19392
+ { no: 1, name: "web_delivery_allowed_flag", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
19393
+ { no: 2, name: "no_regional_blackout_flag", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
19394
+ { no: 3, name: "archive_allowed_flag", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
19395
+ { no: 4, name: "device_restrictions", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19396
+ ]);
19397
+
19398
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35SegmentDeliveryRestrictions {
19399
+ return new Scte35SegmentDeliveryRestrictions().fromBinary(bytes, options);
19400
+ }
19401
+
19402
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35SegmentDeliveryRestrictions {
19403
+ return new Scte35SegmentDeliveryRestrictions().fromJson(jsonValue, options);
19404
+ }
19405
+
19406
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35SegmentDeliveryRestrictions {
19407
+ return new Scte35SegmentDeliveryRestrictions().fromJsonString(jsonString, options);
19408
+ }
19409
+
19410
+ static equals(a: Scte35SegmentDeliveryRestrictions | PlainMessage<Scte35SegmentDeliveryRestrictions> | undefined, b: Scte35SegmentDeliveryRestrictions | PlainMessage<Scte35SegmentDeliveryRestrictions> | undefined): boolean {
19411
+ return proto3.util.equals(Scte35SegmentDeliveryRestrictions, a, b);
19412
+ }
19413
+ }
19414
+
19415
+ /**
19416
+ * @generated from message norsk.api.media.Scte35SegmentationComponent
19417
+ */
19418
+ export class Scte35SegmentationComponent extends Message<Scte35SegmentationComponent> {
19419
+ /**
19420
+ * @generated from field: uint32 component_tag = 1;
19421
+ */
19422
+ componentTag = 0;
19423
+
19424
+ /**
19425
+ * @generated from field: uint64 pts_offset = 2;
19426
+ */
19427
+ ptsOffset = protoInt64.zero;
19428
+
19429
+ constructor(data?: PartialMessage<Scte35SegmentationComponent>) {
19430
+ super();
19431
+ proto3.util.initPartial(data, this);
19432
+ }
19433
+
19434
+ static readonly runtime = proto3;
19435
+ static readonly typeName = "norsk.api.media.Scte35SegmentationComponent";
19436
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19437
+ { no: 1, name: "component_tag", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19438
+ { no: 2, name: "pts_offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
19439
+ ]);
19440
+
19441
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Scte35SegmentationComponent {
19442
+ return new Scte35SegmentationComponent().fromBinary(bytes, options);
19443
+ }
19444
+
19445
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Scte35SegmentationComponent {
19446
+ return new Scte35SegmentationComponent().fromJson(jsonValue, options);
19447
+ }
19448
+
19449
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35SegmentationComponent {
19450
+ return new Scte35SegmentationComponent().fromJsonString(jsonString, options);
19451
+ }
19452
+
19453
+ static equals(a: Scte35SegmentationComponent | PlainMessage<Scte35SegmentationComponent> | undefined, b: Scte35SegmentationComponent | PlainMessage<Scte35SegmentationComponent> | undefined): boolean {
19454
+ return proto3.util.equals(Scte35SegmentationComponent, a, b);
19455
+ }
19456
+ }
19457
+
17426
19458
  /**
17427
19459
  * ////////////////////////////////////////////////////////////////////////////
17428
19460
  * Hardware