@norskvideo/norsk-api 1.0.356 → 1.0.358

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
@@ -1739,14 +1739,14 @@ export class Resolution extends Message<Resolution> {
1739
1739
  */
1740
1740
  export class Interval extends Message<Interval> {
1741
1741
  /**
1742
- * @generated from field: uint32 n = 1;
1742
+ * @generated from field: uint64 n = 1;
1743
1743
  */
1744
- n = 0;
1744
+ n = protoInt64.zero;
1745
1745
 
1746
1746
  /**
1747
- * @generated from field: uint32 d = 2;
1747
+ * @generated from field: uint64 d = 2;
1748
1748
  */
1749
- d = 0;
1749
+ d = protoInt64.zero;
1750
1750
 
1751
1751
  constructor(data?: PartialMessage<Interval>) {
1752
1752
  super();
@@ -1756,8 +1756,8 @@ export class Interval extends Message<Interval> {
1756
1756
  static readonly runtime = proto3;
1757
1757
  static readonly typeName = "norsk.api.media.Interval";
1758
1758
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
1759
- { no: 1, name: "n", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1760
- { no: 2, name: "d", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1759
+ { no: 1, name: "n", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1760
+ { no: 2, name: "d", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1761
1761
  ]);
1762
1762
 
1763
1763
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Interval {
@@ -8228,8 +8228,6 @@ export enum Easing_SimpleEasing {
8228
8228
  LINEAR = 0,
8229
8229
 
8230
8230
  /**
8231
- * EASE = 1;
8232
- *
8233
8231
  * @generated from enum value: EASE_IN = 2;
8234
8232
  */
8235
8233
  EASE_IN = 2,
@@ -8796,7 +8794,8 @@ export class MetadataCombineConfiguration extends Message<MetadataCombineConfigu
8796
8794
  streamKey?: StreamKey;
8797
8795
 
8798
8796
  /**
8799
- * Max delta to allow for sync purposes, may vary according to source offsets and message frequency
8797
+ * Max delta to allow for sync purposes, may vary according to source offsets
8798
+ * and message frequency
8800
8799
  *
8801
8800
  * @generated from field: norsk.api.common.OptionalInt max_sync_delta = 3;
8802
8801
  */
@@ -10440,8 +10439,6 @@ export class CMAFDestination extends Message<CMAFDestination> {
10440
10439
  */
10441
10440
  message: {
10442
10441
  /**
10443
- * GenericPushDestination generic_destination = 1;
10444
- *
10445
10442
  * @generated from field: norsk.api.media.HlsPushDestination hls_push_destination = 1;
10446
10443
  */
10447
10444
  value: HlsPushDestination;
@@ -10510,8 +10507,6 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
10510
10507
  partDurationSeconds = 0;
10511
10508
 
10512
10509
  /**
10513
- * float delay_output_ms = 4;
10514
- *
10515
10510
  * @generated from field: norsk.api.media.Mp4Encryption encryption = 5;
10516
10511
  */
10517
10512
  encryption?: Mp4Encryption;
@@ -10527,7 +10522,7 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
10527
10522
  destinations: CMAFDestination[] = [];
10528
10523
 
10529
10524
  /**
10530
- * Directives to add to the m3u media playlist
10525
+ * Directives to add to the m3u8 media playlist
10531
10526
  *
10532
10527
  * @generated from field: string m3u_additions = 8;
10533
10528
  */
@@ -10545,6 +10540,11 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
10545
10540
  */
10546
10541
  bitrate = 0;
10547
10542
 
10543
+ /**
10544
+ * @generated from field: norsk.api.common.OptionalString name = 11;
10545
+ */
10546
+ name?: OptionalString;
10547
+
10548
10548
  constructor(data?: PartialMessage<CmafVideoConfiguration>) {
10549
10549
  super();
10550
10550
  proto3.util.initPartial(data, this);
@@ -10562,6 +10562,7 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
10562
10562
  { no: 8, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10563
10563
  { no: 9, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10564
10564
  { no: 10, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
10565
+ { no: 11, name: "name", kind: "message", T: OptionalString },
10565
10566
  ]);
10566
10567
 
10567
10568
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafVideoConfiguration {
@@ -10660,8 +10661,6 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
10660
10661
  segmentDurationSeconds = 0;
10661
10662
 
10662
10663
  /**
10663
- * float delay_output_ms = 3;
10664
- *
10665
10664
  * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
10666
10665
  */
10667
10666
  statsSampling?: StreamStatisticsSampling;
@@ -10690,6 +10689,11 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
10690
10689
  */
10691
10690
  bitrate = 0;
10692
10691
 
10692
+ /**
10693
+ * @generated from field: norsk.api.common.OptionalString name = 9;
10694
+ */
10695
+ name?: OptionalString;
10696
+
10693
10697
  constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
10694
10698
  super();
10695
10699
  proto3.util.initPartial(data, this);
@@ -10705,6 +10709,7 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
10705
10709
  { no: 6, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10706
10710
  { no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10707
10711
  { no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
10712
+ { no: 9, name: "name", kind: "message", T: OptionalString },
10708
10713
  ]);
10709
10714
 
10710
10715
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoConfiguration {
@@ -10808,8 +10813,6 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
10808
10813
  partDurationSeconds = 0;
10809
10814
 
10810
10815
  /**
10811
- * float delay_output_ms = 4;
10812
- *
10813
10816
  * @generated from field: norsk.api.media.Mp4Encryption encryption = 6;
10814
10817
  */
10815
10818
  encryption?: Mp4Encryption;
@@ -10843,6 +10846,11 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
10843
10846
  */
10844
10847
  bitrate = 0;
10845
10848
 
10849
+ /**
10850
+ * @generated from field: norsk.api.common.OptionalString name = 12;
10851
+ */
10852
+ name?: OptionalString;
10853
+
10846
10854
  constructor(data?: PartialMessage<CmafAudioConfiguration>) {
10847
10855
  super();
10848
10856
  proto3.util.initPartial(data, this);
@@ -10860,6 +10868,7 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
10860
10868
  { no: 9, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10861
10869
  { no: 10, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10862
10870
  { no: 11, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
10871
+ { no: 12, name: "name", kind: "message", T: OptionalString },
10863
10872
  ]);
10864
10873
 
10865
10874
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafAudioConfiguration {
@@ -10958,8 +10967,6 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
10958
10967
  segmentDurationSeconds = 0;
10959
10968
 
10960
10969
  /**
10961
- * float delay_output_ms = 3;
10962
- *
10963
10970
  * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
10964
10971
  */
10965
10972
  statsSampling?: StreamStatisticsSampling;
@@ -10988,6 +10995,11 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
10988
10995
  */
10989
10996
  bitrate = 0;
10990
10997
 
10998
+ /**
10999
+ * @generated from field: norsk.api.common.OptionalString name = 9;
11000
+ */
11001
+ name?: OptionalString;
11002
+
10991
11003
  constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
10992
11004
  super();
10993
11005
  proto3.util.initPartial(data, this);
@@ -11003,6 +11015,7 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
11003
11015
  { no: 6, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11004
11016
  { no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11005
11017
  { no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
11018
+ { no: 9, name: "name", kind: "message", T: OptionalString },
11006
11019
  ]);
11007
11020
 
11008
11021
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioConfiguration {
@@ -11101,21 +11114,14 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
11101
11114
  segmentDurationSeconds = 0;
11102
11115
 
11103
11116
  /**
11104
- * float delay_output_ms = 3;
11105
- *
11106
11117
  * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
11107
11118
  */
11108
11119
  destinations: CMAFDestination[] = [];
11109
11120
 
11110
11121
  /**
11111
- * @generated from field: string hls_cache_directory = 6;
11122
+ * @generated from field: norsk.api.common.OptionalString name = 9;
11112
11123
  */
11113
- hlsCacheDirectory = "";
11114
-
11115
- /**
11116
- * @generated from field: norsk.api.media.Interval pts_adjustment = 8;
11117
- */
11118
- ptsAdjustment?: Interval;
11124
+ name?: OptionalString;
11119
11125
 
11120
11126
  constructor(data?: PartialMessage<CmafWebVttConfiguration>) {
11121
11127
  super();
@@ -11128,8 +11134,7 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
11128
11134
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
11129
11135
  { no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
11130
11136
  { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
11131
- { no: 6, name: "hls_cache_directory", kind: "scalar", T: 9 /* ScalarType.STRING */ },
11132
- { no: 8, name: "pts_adjustment", kind: "message", T: Interval },
11137
+ { no: 9, name: "name", kind: "message", T: OptionalString },
11133
11138
  ]);
11134
11139
 
11135
11140
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafWebVttConfiguration {
@@ -12146,8 +12151,6 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
12146
12151
  segmentDurationSeconds = 0;
12147
12152
 
12148
12153
  /**
12149
- * float delay_output_ms = 4;
12150
- *
12151
12154
  * @generated from field: string playlist_name = 5;
12152
12155
  */
12153
12156
  playlistName = "";
@@ -12158,12 +12161,17 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
12158
12161
  statsSampling?: StreamStatisticsSampling;
12159
12162
 
12160
12163
  /**
12161
- * Directives to add to the m3u media playlists
12164
+ * Directives to add to the m3u8 media playlists
12162
12165
  *
12163
12166
  * @generated from field: string m3u_additions = 7;
12164
12167
  */
12165
12168
  m3uAdditions = "";
12166
12169
 
12170
+ /**
12171
+ * @generated from field: norsk.api.common.OptionalString name = 9;
12172
+ */
12173
+ name?: OptionalString;
12174
+
12167
12175
  constructor(data?: PartialMessage<HlsTsCombinedPushConfiguration>) {
12168
12176
  super();
12169
12177
  proto3.util.initPartial(data, this);
@@ -12178,6 +12186,7 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
12178
12186
  { no: 5, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
12179
12187
  { no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
12180
12188
  { no: 7, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
12189
+ { no: 9, name: "name", kind: "message", T: OptionalString },
12181
12190
  ]);
12182
12191
 
12183
12192
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsCombinedPushConfiguration {
@@ -14078,6 +14087,156 @@ export class FileMp4OutputEvent extends Message<FileMp4OutputEvent> {
14078
14087
  }
14079
14088
  }
14080
14089
 
14090
+ /**
14091
+ * @generated from message norsk.api.media.FileWebVttOutputConfiguration
14092
+ */
14093
+ export class FileWebVttOutputConfiguration extends Message<FileWebVttOutputConfiguration> {
14094
+ /**
14095
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
14096
+ */
14097
+ id?: MediaNodeId;
14098
+
14099
+ /**
14100
+ * @generated from field: string file_name = 2;
14101
+ */
14102
+ fileName = "";
14103
+
14104
+ constructor(data?: PartialMessage<FileWebVttOutputConfiguration>) {
14105
+ super();
14106
+ proto3.util.initPartial(data, this);
14107
+ }
14108
+
14109
+ static readonly runtime = proto3;
14110
+ static readonly typeName = "norsk.api.media.FileWebVttOutputConfiguration";
14111
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
14112
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
14113
+ { no: 2, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
14114
+ ]);
14115
+
14116
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWebVttOutputConfiguration {
14117
+ return new FileWebVttOutputConfiguration().fromBinary(bytes, options);
14118
+ }
14119
+
14120
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWebVttOutputConfiguration {
14121
+ return new FileWebVttOutputConfiguration().fromJson(jsonValue, options);
14122
+ }
14123
+
14124
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWebVttOutputConfiguration {
14125
+ return new FileWebVttOutputConfiguration().fromJsonString(jsonString, options);
14126
+ }
14127
+
14128
+ static equals(a: FileWebVttOutputConfiguration | PlainMessage<FileWebVttOutputConfiguration> | undefined, b: FileWebVttOutputConfiguration | PlainMessage<FileWebVttOutputConfiguration> | undefined): boolean {
14129
+ return proto3.util.equals(FileWebVttOutputConfiguration, a, b);
14130
+ }
14131
+ }
14132
+
14133
+ /**
14134
+ * @generated from message norsk.api.media.FileWebVttOutputMessage
14135
+ */
14136
+ export class FileWebVttOutputMessage extends Message<FileWebVttOutputMessage> {
14137
+ /**
14138
+ * @generated from oneof norsk.api.media.FileWebVttOutputMessage.message
14139
+ */
14140
+ message: {
14141
+ /**
14142
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
14143
+ */
14144
+ value: Subscription;
14145
+ case: "subscription";
14146
+ } | {
14147
+ /**
14148
+ * @generated from field: norsk.api.media.FileWebVttOutputConfiguration configuration = 2;
14149
+ */
14150
+ value: FileWebVttOutputConfiguration;
14151
+ case: "configuration";
14152
+ } | { case: undefined; value?: undefined } = { case: undefined };
14153
+
14154
+ constructor(data?: PartialMessage<FileWebVttOutputMessage>) {
14155
+ super();
14156
+ proto3.util.initPartial(data, this);
14157
+ }
14158
+
14159
+ static readonly runtime = proto3;
14160
+ static readonly typeName = "norsk.api.media.FileWebVttOutputMessage";
14161
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
14162
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
14163
+ { no: 2, name: "configuration", kind: "message", T: FileWebVttOutputConfiguration, oneof: "message" },
14164
+ ]);
14165
+
14166
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWebVttOutputMessage {
14167
+ return new FileWebVttOutputMessage().fromBinary(bytes, options);
14168
+ }
14169
+
14170
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWebVttOutputMessage {
14171
+ return new FileWebVttOutputMessage().fromJson(jsonValue, options);
14172
+ }
14173
+
14174
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWebVttOutputMessage {
14175
+ return new FileWebVttOutputMessage().fromJsonString(jsonString, options);
14176
+ }
14177
+
14178
+ static equals(a: FileWebVttOutputMessage | PlainMessage<FileWebVttOutputMessage> | undefined, b: FileWebVttOutputMessage | PlainMessage<FileWebVttOutputMessage> | undefined): boolean {
14179
+ return proto3.util.equals(FileWebVttOutputMessage, a, b);
14180
+ }
14181
+ }
14182
+
14183
+ /**
14184
+ * @generated from message norsk.api.media.FileWebVttOutputEvent
14185
+ */
14186
+ export class FileWebVttOutputEvent extends Message<FileWebVttOutputEvent> {
14187
+ /**
14188
+ * @generated from oneof norsk.api.media.FileWebVttOutputEvent.message
14189
+ */
14190
+ message: {
14191
+ /**
14192
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
14193
+ */
14194
+ value: MediaNodeId;
14195
+ case: "nodeId";
14196
+ } | {
14197
+ /**
14198
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 2;
14199
+ */
14200
+ value: SubscriptionResponse;
14201
+ case: "subscriptionResponse";
14202
+ } | {
14203
+ /**
14204
+ * @generated from field: norsk.api.media.Context inbound_context = 3;
14205
+ */
14206
+ value: Context;
14207
+ case: "inboundContext";
14208
+ } | { case: undefined; value?: undefined } = { case: undefined };
14209
+
14210
+ constructor(data?: PartialMessage<FileWebVttOutputEvent>) {
14211
+ super();
14212
+ proto3.util.initPartial(data, this);
14213
+ }
14214
+
14215
+ static readonly runtime = proto3;
14216
+ static readonly typeName = "norsk.api.media.FileWebVttOutputEvent";
14217
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
14218
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
14219
+ { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
14220
+ { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
14221
+ ]);
14222
+
14223
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWebVttOutputEvent {
14224
+ return new FileWebVttOutputEvent().fromBinary(bytes, options);
14225
+ }
14226
+
14227
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWebVttOutputEvent {
14228
+ return new FileWebVttOutputEvent().fromJson(jsonValue, options);
14229
+ }
14230
+
14231
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWebVttOutputEvent {
14232
+ return new FileWebVttOutputEvent().fromJsonString(jsonString, options);
14233
+ }
14234
+
14235
+ static equals(a: FileWebVttOutputEvent | PlainMessage<FileWebVttOutputEvent> | undefined, b: FileWebVttOutputEvent | PlainMessage<FileWebVttOutputEvent> | undefined): boolean {
14236
+ return proto3.util.equals(FileWebVttOutputEvent, a, b);
14237
+ }
14238
+ }
14239
+
14081
14240
  /**
14082
14241
  * @generated from message norsk.api.media.FrameRate
14083
14242
  */
@@ -14287,7 +14446,8 @@ export class X264Codec extends Message<X264Codec> {
14287
14446
  cabac?: OptionalBool;
14288
14447
 
14289
14448
  /**
14290
- * Sets the maximum rate the VBV buffer should be assumed to refill at (kbit/s)
14449
+ * Sets the maximum rate the VBV buffer should be assumed to refill at
14450
+ * (kbit/s)
14291
14451
  *
14292
14452
  * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
14293
14453
  */
@@ -14707,7 +14867,8 @@ export class X265Codec extends Message<X265Codec> {
14707
14867
  frameReference?: OptionalInt;
14708
14868
 
14709
14869
  /**
14710
- * Sets the maximum rate the VBV buffer should be assumed to refill at (kbit/s)
14870
+ * Sets the maximum rate the VBV buffer should be assumed to refill at
14871
+ * (kbit/s)
14711
14872
  *
14712
14873
  * @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
14713
14874
  */
@@ -15051,16 +15212,28 @@ export class VideoEncodeStream extends Message<VideoEncodeStream> {
15051
15212
  case: "quadraHevc";
15052
15213
  } | {
15053
15214
  /**
15054
- * @generated from field: norsk.api.media.XilinxH264 xilinxH264 = 13;
15215
+ * @generated from field: norsk.api.media.AmdU30H264 amdU30H264 = 13;
15055
15216
  */
15056
- value: XilinxH264;
15057
- case: "xilinxH264";
15217
+ value: AmdU30H264;
15218
+ case: "amdU30H264";
15058
15219
  } | {
15059
15220
  /**
15060
- * @generated from field: norsk.api.media.XilinxHevc xilinxHevc = 14;
15221
+ * @generated from field: norsk.api.media.AmdU30Hevc amdU30Hevc = 14;
15061
15222
  */
15062
- value: XilinxHevc;
15063
- case: "xilinxHevc";
15223
+ value: AmdU30Hevc;
15224
+ case: "amdU30Hevc";
15225
+ } | {
15226
+ /**
15227
+ * @generated from field: norsk.api.media.AmdMA35DH264 amdMA35DH264 = 15;
15228
+ */
15229
+ value: AmdMA35DH264;
15230
+ case: "amdMA35DH264";
15231
+ } | {
15232
+ /**
15233
+ * @generated from field: norsk.api.media.AmdMA35DHevc amdMA35DHevc = 16;
15234
+ */
15235
+ value: AmdMA35DHevc;
15236
+ case: "amdMA35DHevc";
15064
15237
  } | { case: undefined; value?: undefined } = { case: undefined };
15065
15238
 
15066
15239
  constructor(data?: PartialMessage<VideoEncodeStream>) {
@@ -15083,8 +15256,10 @@ export class VideoEncodeStream extends Message<VideoEncodeStream> {
15083
15256
  { no: 10, name: "loganHevc", kind: "message", T: LoganHevc, oneof: "codec" },
15084
15257
  { no: 11, name: "quadraH264", kind: "message", T: QuadraH264, oneof: "codec" },
15085
15258
  { no: 12, name: "quadraHevc", kind: "message", T: QuadraHevc, oneof: "codec" },
15086
- { no: 13, name: "xilinxH264", kind: "message", T: XilinxH264, oneof: "codec" },
15087
- { no: 14, name: "xilinxHevc", kind: "message", T: XilinxHevc, oneof: "codec" },
15259
+ { no: 13, name: "amdU30H264", kind: "message", T: AmdU30H264, oneof: "codec" },
15260
+ { no: 14, name: "amdU30Hevc", kind: "message", T: AmdU30Hevc, oneof: "codec" },
15261
+ { no: 15, name: "amdMA35DH264", kind: "message", T: AmdMA35DH264, oneof: "codec" },
15262
+ { no: 16, name: "amdMA35DHevc", kind: "message", T: AmdMA35DHevc, oneof: "codec" },
15088
15263
  ]);
15089
15264
 
15090
15265
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoEncodeStream {
@@ -15329,9 +15504,14 @@ export enum VideoDecodeConfiguration_VideoDecoder {
15329
15504
  NVIDIA = 3,
15330
15505
 
15331
15506
  /**
15332
- * @generated from enum value: VIDEO_DECODER_XILINX = 4;
15507
+ * @generated from enum value: VIDEO_DECODER_AMDU30 = 4;
15508
+ */
15509
+ AMDU30 = 4,
15510
+
15511
+ /**
15512
+ * @generated from enum value: VIDEO_DECODER_AMDMA35D = 5;
15333
15513
  */
15334
- XILINX = 4,
15514
+ AMDMA35D = 5,
15335
15515
  }
15336
15516
  // Retrieve enum metadata with: proto3.getEnumType(VideoDecodeConfiguration_VideoDecoder)
15337
15517
  proto3.util.setEnumType(VideoDecodeConfiguration_VideoDecoder, "norsk.api.media.VideoDecodeConfiguration.VideoDecoder", [
@@ -15339,7 +15519,8 @@ proto3.util.setEnumType(VideoDecodeConfiguration_VideoDecoder, "norsk.api.media.
15339
15519
  { no: 1, name: "VIDEO_DECODER_LOGAN" },
15340
15520
  { no: 2, name: "VIDEO_DECODER_QUADRA" },
15341
15521
  { no: 3, name: "VIDEO_DECODER_NVIDIA" },
15342
- { no: 4, name: "VIDEO_DECODER_XILINX" },
15522
+ { no: 4, name: "VIDEO_DECODER_AMDU30" },
15523
+ { no: 5, name: "VIDEO_DECODER_AMDMA35D" },
15343
15524
  ]);
15344
15525
 
15345
15526
  /**
@@ -15495,8 +15676,8 @@ export class NvidiaRateControl extends Message<NvidiaRateControl> {
15495
15676
 
15496
15677
  /**
15497
15678
  * * Enable lookahead or not:
15498
- * Note: enabling lookahead will introduce scene cuts unless this is specifically disabled
15499
- * elswhere in the codec settings
15679
+ * Note: enabling lookahead will introduce scene cuts unless this is
15680
+ * specifically disabled elswhere in the codec settings
15500
15681
  *
15501
15682
  *
15502
15683
  * @generated from field: norsk.api.common.OptionalBool enableLookahead = 6;
@@ -16613,13 +16794,13 @@ proto3.util.setEnumType(LoganHevc_LoganHevcTier, "norsk.api.media.LoganHevc.Loga
16613
16794
  ]);
16614
16795
 
16615
16796
  /**
16616
- * @generated from message norsk.api.media.XilinxH264
16797
+ * @generated from message norsk.api.media.AmdU30H264
16617
16798
  */
16618
- export class XilinxH264 extends Message<XilinxH264> {
16799
+ export class AmdU30H264 extends Message<AmdU30H264> {
16619
16800
  /**
16620
- * @generated from field: norsk.api.media.XilinxH264.XilinxH264Profile profile = 1;
16801
+ * @generated from field: norsk.api.media.AmdU30H264.AmdU30H264Profile profile = 1;
16621
16802
  */
16622
- profile = XilinxH264_XilinxH264Profile.DEFAULT;
16803
+ profile = AmdU30H264_AmdU30H264Profile.DEFAULT;
16623
16804
 
16624
16805
  /**
16625
16806
  * @generated from field: norsk.api.common.OptionalInt level = 2;
@@ -16627,7 +16808,7 @@ export class XilinxH264 extends Message<XilinxH264> {
16627
16808
  level?: OptionalInt;
16628
16809
 
16629
16810
  /**
16630
- * @generated from oneof norsk.api.media.XilinxH264.rateControl
16811
+ * @generated from oneof norsk.api.media.AmdU30H264.rateControl
16631
16812
  */
16632
16813
  rateControl: {
16633
16814
  /**
@@ -16685,15 +16866,15 @@ export class XilinxH264 extends Message<XilinxH264> {
16685
16866
  */
16686
16867
  maxQp?: OptionalInt;
16687
16868
 
16688
- constructor(data?: PartialMessage<XilinxH264>) {
16869
+ constructor(data?: PartialMessage<AmdU30H264>) {
16689
16870
  super();
16690
16871
  proto3.util.initPartial(data, this);
16691
16872
  }
16692
16873
 
16693
16874
  static readonly runtime = proto3;
16694
- static readonly typeName = "norsk.api.media.XilinxH264";
16875
+ static readonly typeName = "norsk.api.media.AmdU30H264";
16695
16876
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
16696
- { no: 1, name: "profile", kind: "enum", T: proto3.getEnumType(XilinxH264_XilinxH264Profile) },
16877
+ { no: 1, name: "profile", kind: "enum", T: proto3.getEnumType(AmdU30H264_AmdU30H264Profile) },
16697
16878
  { no: 2, name: "level", kind: "message", T: OptionalInt },
16698
16879
  { no: 3, name: "const_qp", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "rateControl" },
16699
16880
  { no: 4, name: "cbr", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "rateControl" },
@@ -16707,398 +16888,1529 @@ export class XilinxH264 extends Message<XilinxH264> {
16707
16888
  { no: 12, name: "max_qp", kind: "message", T: OptionalInt },
16708
16889
  ]);
16709
16890
 
16710
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): XilinxH264 {
16711
- return new XilinxH264().fromBinary(bytes, options);
16891
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdU30H264 {
16892
+ return new AmdU30H264().fromBinary(bytes, options);
16712
16893
  }
16713
16894
 
16714
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): XilinxH264 {
16715
- return new XilinxH264().fromJson(jsonValue, options);
16895
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdU30H264 {
16896
+ return new AmdU30H264().fromJson(jsonValue, options);
16716
16897
  }
16717
16898
 
16718
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): XilinxH264 {
16719
- return new XilinxH264().fromJsonString(jsonString, options);
16899
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdU30H264 {
16900
+ return new AmdU30H264().fromJsonString(jsonString, options);
16720
16901
  }
16721
16902
 
16722
- static equals(a: XilinxH264 | PlainMessage<XilinxH264> | undefined, b: XilinxH264 | PlainMessage<XilinxH264> | undefined): boolean {
16723
- return proto3.util.equals(XilinxH264, a, b);
16903
+ static equals(a: AmdU30H264 | PlainMessage<AmdU30H264> | undefined, b: AmdU30H264 | PlainMessage<AmdU30H264> | undefined): boolean {
16904
+ return proto3.util.equals(AmdU30H264, a, b);
16724
16905
  }
16725
16906
  }
16726
16907
 
16727
16908
  /**
16728
- * @generated from enum norsk.api.media.XilinxH264.XilinxH264Profile
16909
+ * @generated from enum norsk.api.media.AmdU30H264.AmdU30H264Profile
16729
16910
  */
16730
- export enum XilinxH264_XilinxH264Profile {
16911
+ export enum AmdU30H264_AmdU30H264Profile {
16731
16912
  /**
16732
- * @generated from enum value: XILINX_H264_PROFILE_DEFAULT = 0;
16913
+ * @generated from enum value: AMD_U30_H264_PROFILE_DEFAULT = 0;
16733
16914
  */
16734
16915
  DEFAULT = 0,
16735
16916
 
16736
16917
  /**
16737
- * @generated from enum value: XILINX_H264_PROFILE_BASELINE = 1;
16918
+ * @generated from enum value: AMD_U30_H264_PROFILE_BASELINE = 1;
16738
16919
  */
16739
16920
  BASELINE = 1,
16740
16921
 
16741
16922
  /**
16742
- * @generated from enum value: XILINX_H264_PROFILE_MAIN = 2;
16923
+ * @generated from enum value: AMD_U30_H264_PROFILE_MAIN = 2;
16743
16924
  */
16744
16925
  MAIN = 2,
16745
16926
 
16746
16927
  /**
16747
- * @generated from enum value: XILINX_H264_PROFILE_EXTENDED = 3;
16928
+ * @generated from enum value: AMD_U30_H264_PROFILE_EXTENDED = 3;
16748
16929
  */
16749
16930
  EXTENDED = 3,
16750
16931
 
16751
16932
  /**
16752
- * @generated from enum value: XILINX_H264_PROFILE_HIGH = 4;
16933
+ * @generated from enum value: AMD_U30_H264_PROFILE_HIGH = 4;
16753
16934
  */
16754
16935
  HIGH = 4,
16755
16936
 
16756
16937
  /**
16757
- * @generated from enum value: XILINX_H264_PROFILE_HIGH10 = 5;
16938
+ * @generated from enum value: AMD_U30_H264_PROFILE_HIGH10 = 5;
16758
16939
  */
16759
16940
  HIGH10 = 5,
16760
16941
  }
16761
- // Retrieve enum metadata with: proto3.getEnumType(XilinxH264_XilinxH264Profile)
16762
- proto3.util.setEnumType(XilinxH264_XilinxH264Profile, "norsk.api.media.XilinxH264.XilinxH264Profile", [
16763
- { no: 0, name: "XILINX_H264_PROFILE_DEFAULT" },
16764
- { no: 1, name: "XILINX_H264_PROFILE_BASELINE" },
16765
- { no: 2, name: "XILINX_H264_PROFILE_MAIN" },
16766
- { no: 3, name: "XILINX_H264_PROFILE_EXTENDED" },
16767
- { no: 4, name: "XILINX_H264_PROFILE_HIGH" },
16768
- { no: 5, name: "XILINX_H264_PROFILE_HIGH10" },
16942
+ // Retrieve enum metadata with: proto3.getEnumType(AmdU30H264_AmdU30H264Profile)
16943
+ proto3.util.setEnumType(AmdU30H264_AmdU30H264Profile, "norsk.api.media.AmdU30H264.AmdU30H264Profile", [
16944
+ { no: 0, name: "AMD_U30_H264_PROFILE_DEFAULT" },
16945
+ { no: 1, name: "AMD_U30_H264_PROFILE_BASELINE" },
16946
+ { no: 2, name: "AMD_U30_H264_PROFILE_MAIN" },
16947
+ { no: 3, name: "AMD_U30_H264_PROFILE_EXTENDED" },
16948
+ { no: 4, name: "AMD_U30_H264_PROFILE_HIGH" },
16949
+ { no: 5, name: "AMD_U30_H264_PROFILE_HIGH10" },
16769
16950
  ]);
16770
16951
 
16771
16952
  /**
16772
- * @generated from message norsk.api.media.XilinxHevc
16953
+ * @generated from message norsk.api.media.AmdU30Hevc
16773
16954
  */
16774
- export class XilinxHevc extends Message<XilinxHevc> {
16955
+ export class AmdU30Hevc extends Message<AmdU30Hevc> {
16775
16956
  /**
16776
- * @generated from field: norsk.api.media.XilinxHevc.XilinxHevcTier tier = 1;
16957
+ * @generated from field: norsk.api.media.AmdU30Hevc.AmdU30HevcTier tier = 1;
16777
16958
  */
16778
- tier = XilinxHevc_XilinxHevcTier.MAIN;
16959
+ tier = AmdU30Hevc_AmdU30HevcTier.MAIN;
16779
16960
 
16780
16961
  /**
16781
- * @generated from field: norsk.api.media.XilinxHevc.XilinxHevcProfile profile = 2;
16962
+ * @generated from field: norsk.api.media.AmdU30Hevc.AmdU30HevcProfile profile = 2;
16782
16963
  */
16783
- profile = XilinxHevc_XilinxHevcProfile.DEFAULT;
16964
+ profile = AmdU30Hevc_AmdU30HevcProfile.DEFAULT;
16784
16965
 
16785
16966
  /**
16786
16967
  * @generated from field: norsk.api.common.OptionalInt level = 3;
16787
16968
  */
16788
16969
  level?: OptionalInt;
16789
16970
 
16790
- constructor(data?: PartialMessage<XilinxHevc>) {
16971
+ constructor(data?: PartialMessage<AmdU30Hevc>) {
16791
16972
  super();
16792
16973
  proto3.util.initPartial(data, this);
16793
16974
  }
16794
16975
 
16795
16976
  static readonly runtime = proto3;
16796
- static readonly typeName = "norsk.api.media.XilinxHevc";
16977
+ static readonly typeName = "norsk.api.media.AmdU30Hevc";
16797
16978
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
16798
- { no: 1, name: "tier", kind: "enum", T: proto3.getEnumType(XilinxHevc_XilinxHevcTier) },
16799
- { no: 2, name: "profile", kind: "enum", T: proto3.getEnumType(XilinxHevc_XilinxHevcProfile) },
16979
+ { no: 1, name: "tier", kind: "enum", T: proto3.getEnumType(AmdU30Hevc_AmdU30HevcTier) },
16980
+ { no: 2, name: "profile", kind: "enum", T: proto3.getEnumType(AmdU30Hevc_AmdU30HevcProfile) },
16800
16981
  { no: 3, name: "level", kind: "message", T: OptionalInt },
16801
16982
  ]);
16802
16983
 
16803
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): XilinxHevc {
16804
- return new XilinxHevc().fromBinary(bytes, options);
16984
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdU30Hevc {
16985
+ return new AmdU30Hevc().fromBinary(bytes, options);
16805
16986
  }
16806
16987
 
16807
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): XilinxHevc {
16808
- return new XilinxHevc().fromJson(jsonValue, options);
16988
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdU30Hevc {
16989
+ return new AmdU30Hevc().fromJson(jsonValue, options);
16809
16990
  }
16810
16991
 
16811
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): XilinxHevc {
16812
- return new XilinxHevc().fromJsonString(jsonString, options);
16992
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdU30Hevc {
16993
+ return new AmdU30Hevc().fromJsonString(jsonString, options);
16813
16994
  }
16814
16995
 
16815
- static equals(a: XilinxHevc | PlainMessage<XilinxHevc> | undefined, b: XilinxHevc | PlainMessage<XilinxHevc> | undefined): boolean {
16816
- return proto3.util.equals(XilinxHevc, a, b);
16996
+ static equals(a: AmdU30Hevc | PlainMessage<AmdU30Hevc> | undefined, b: AmdU30Hevc | PlainMessage<AmdU30Hevc> | undefined): boolean {
16997
+ return proto3.util.equals(AmdU30Hevc, a, b);
16817
16998
  }
16818
16999
  }
16819
17000
 
16820
17001
  /**
16821
- * @generated from enum norsk.api.media.XilinxHevc.XilinxHevcProfile
17002
+ * @generated from enum norsk.api.media.AmdU30Hevc.AmdU30HevcProfile
16822
17003
  */
16823
- export enum XilinxHevc_XilinxHevcProfile {
17004
+ export enum AmdU30Hevc_AmdU30HevcProfile {
16824
17005
  /**
16825
- * @generated from enum value: XILINX_HEVC_PROFILE_DEFAULT = 0;
17006
+ * @generated from enum value: AMD_U30_HEVC_PROFILE_DEFAULT = 0;
16826
17007
  */
16827
17008
  DEFAULT = 0,
16828
17009
 
16829
17010
  /**
16830
- * @generated from enum value: XILINX_HEVC_PROFILE_MAIN = 1;
17011
+ * @generated from enum value: AMD_U30_HEVC_PROFILE_MAIN = 1;
16831
17012
  */
16832
17013
  MAIN = 1,
16833
17014
 
16834
17015
  /**
16835
- * @generated from enum value: XILINX_HEVC_PROFILE_MAIN10 = 2;
17016
+ * @generated from enum value: AMD_U30_HEVC_PROFILE_MAIN10 = 2;
16836
17017
  */
16837
17018
  MAIN10 = 2,
16838
17019
  }
16839
- // Retrieve enum metadata with: proto3.getEnumType(XilinxHevc_XilinxHevcProfile)
16840
- proto3.util.setEnumType(XilinxHevc_XilinxHevcProfile, "norsk.api.media.XilinxHevc.XilinxHevcProfile", [
16841
- { no: 0, name: "XILINX_HEVC_PROFILE_DEFAULT" },
16842
- { no: 1, name: "XILINX_HEVC_PROFILE_MAIN" },
16843
- { no: 2, name: "XILINX_HEVC_PROFILE_MAIN10" },
17020
+ // Retrieve enum metadata with: proto3.getEnumType(AmdU30Hevc_AmdU30HevcProfile)
17021
+ proto3.util.setEnumType(AmdU30Hevc_AmdU30HevcProfile, "norsk.api.media.AmdU30Hevc.AmdU30HevcProfile", [
17022
+ { no: 0, name: "AMD_U30_HEVC_PROFILE_DEFAULT" },
17023
+ { no: 1, name: "AMD_U30_HEVC_PROFILE_MAIN" },
17024
+ { no: 2, name: "AMD_U30_HEVC_PROFILE_MAIN10" },
16844
17025
  ]);
16845
17026
 
16846
17027
  /**
16847
- * @generated from enum norsk.api.media.XilinxHevc.XilinxHevcTier
17028
+ * @generated from enum norsk.api.media.AmdU30Hevc.AmdU30HevcTier
16848
17029
  */
16849
- export enum XilinxHevc_XilinxHevcTier {
17030
+ export enum AmdU30Hevc_AmdU30HevcTier {
16850
17031
  /**
16851
- * @generated from enum value: XILINX_HEVC_TIER_MAIN = 0;
17032
+ * @generated from enum value: AMD_U30_HEVC_TIER_MAIN = 0;
16852
17033
  */
16853
17034
  MAIN = 0,
16854
17035
 
16855
17036
  /**
16856
- * @generated from enum value: XILINX_HEVC_TIER_HIGH = 1;
17037
+ * @generated from enum value: AMD_U30_HEVC_TIER_HIGH = 1;
16857
17038
  */
16858
17039
  HIGH = 1,
16859
17040
  }
16860
- // Retrieve enum metadata with: proto3.getEnumType(XilinxHevc_XilinxHevcTier)
16861
- proto3.util.setEnumType(XilinxHevc_XilinxHevcTier, "norsk.api.media.XilinxHevc.XilinxHevcTier", [
16862
- { no: 0, name: "XILINX_HEVC_TIER_MAIN" },
16863
- { no: 1, name: "XILINX_HEVC_TIER_HIGH" },
17041
+ // Retrieve enum metadata with: proto3.getEnumType(AmdU30Hevc_AmdU30HevcTier)
17042
+ proto3.util.setEnumType(AmdU30Hevc_AmdU30HevcTier, "norsk.api.media.AmdU30Hevc.AmdU30HevcTier", [
17043
+ { no: 0, name: "AMD_U30_HEVC_TIER_MAIN" },
17044
+ { no: 1, name: "AMD_U30_HEVC_TIER_HIGH" },
16864
17045
  ]);
16865
17046
 
16866
17047
  /**
16867
- * @generated from message norsk.api.media.NoDeinterlace
17048
+ * @generated from message norsk.api.media.AmdMA35DLoad
16868
17049
  */
16869
- export class NoDeinterlace extends Message<NoDeinterlace> {
16870
- constructor(data?: PartialMessage<NoDeinterlace>) {
17050
+ export class AmdMA35DLoad extends Message<AmdMA35DLoad> {
17051
+ /**
17052
+ * @generated from field: uint32 device_index = 1;
17053
+ */
17054
+ deviceIndex = 0;
17055
+
17056
+ /**
17057
+ * @generated from field: repeated norsk.api.media.AmdMA35DLoad.ComputeUnitLoad compute_unit_load = 2;
17058
+ */
17059
+ computeUnitLoad: AmdMA35DLoad_ComputeUnitLoad[] = [];
17060
+
17061
+ constructor(data?: PartialMessage<AmdMA35DLoad>) {
16871
17062
  super();
16872
17063
  proto3.util.initPartial(data, this);
16873
17064
  }
16874
17065
 
16875
17066
  static readonly runtime = proto3;
16876
- static readonly typeName = "norsk.api.media.NoDeinterlace";
17067
+ static readonly typeName = "norsk.api.media.AmdMA35DLoad";
16877
17068
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17069
+ { no: 1, name: "device_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17070
+ { no: 2, name: "compute_unit_load", kind: "message", T: AmdMA35DLoad_ComputeUnitLoad, repeated: true },
16878
17071
  ]);
16879
17072
 
16880
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NoDeinterlace {
16881
- return new NoDeinterlace().fromBinary(bytes, options);
17073
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DLoad {
17074
+ return new AmdMA35DLoad().fromBinary(bytes, options);
16882
17075
  }
16883
17076
 
16884
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NoDeinterlace {
16885
- return new NoDeinterlace().fromJson(jsonValue, options);
17077
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DLoad {
17078
+ return new AmdMA35DLoad().fromJson(jsonValue, options);
16886
17079
  }
16887
17080
 
16888
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NoDeinterlace {
16889
- return new NoDeinterlace().fromJsonString(jsonString, options);
17081
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DLoad {
17082
+ return new AmdMA35DLoad().fromJsonString(jsonString, options);
16890
17083
  }
16891
17084
 
16892
- static equals(a: NoDeinterlace | PlainMessage<NoDeinterlace> | undefined, b: NoDeinterlace | PlainMessage<NoDeinterlace> | undefined): boolean {
16893
- return proto3.util.equals(NoDeinterlace, a, b);
17085
+ static equals(a: AmdMA35DLoad | PlainMessage<AmdMA35DLoad> | undefined, b: AmdMA35DLoad | PlainMessage<AmdMA35DLoad> | undefined): boolean {
17086
+ return proto3.util.equals(AmdMA35DLoad, a, b);
16894
17087
  }
16895
17088
  }
16896
17089
 
16897
17090
  /**
16898
- * @generated from message norsk.api.media.SoftwareDeinterlace
17091
+ * @generated from message norsk.api.media.AmdMA35DLoad.ComputeUnitLoad
16899
17092
  */
16900
- export class SoftwareDeinterlace extends Message<SoftwareDeinterlace> {
17093
+ export class AmdMA35DLoad_ComputeUnitLoad extends Message<AmdMA35DLoad_ComputeUnitLoad> {
16901
17094
  /**
16902
- * @generated from field: norsk.api.media.SoftwareDeinterlace.SoftwareDeinterlaceAlgorithm algorithm = 1;
17095
+ * @generated from field: string name = 1;
16903
17096
  */
16904
- algorithm = SoftwareDeinterlace_SoftwareDeinterlaceAlgorithm.SoftwareBwdif;
17097
+ name = "";
16905
17098
 
16906
- constructor(data?: PartialMessage<SoftwareDeinterlace>) {
17099
+ /**
17100
+ * @generated from field: uint32 instances = 2;
17101
+ */
17102
+ instances = 0;
17103
+
17104
+ /**
17105
+ * @generated from field: float load = 3;
17106
+ */
17107
+ load = 0;
17108
+
17109
+ constructor(data?: PartialMessage<AmdMA35DLoad_ComputeUnitLoad>) {
16907
17110
  super();
16908
17111
  proto3.util.initPartial(data, this);
16909
17112
  }
16910
17113
 
16911
17114
  static readonly runtime = proto3;
16912
- static readonly typeName = "norsk.api.media.SoftwareDeinterlace";
17115
+ static readonly typeName = "norsk.api.media.AmdMA35DLoad.ComputeUnitLoad";
16913
17116
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
16914
- { no: 1, name: "algorithm", kind: "enum", T: proto3.getEnumType(SoftwareDeinterlace_SoftwareDeinterlaceAlgorithm) },
17117
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17118
+ { no: 2, name: "instances", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17119
+ { no: 3, name: "load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
16915
17120
  ]);
16916
17121
 
16917
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SoftwareDeinterlace {
16918
- return new SoftwareDeinterlace().fromBinary(bytes, options);
17122
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DLoad_ComputeUnitLoad {
17123
+ return new AmdMA35DLoad_ComputeUnitLoad().fromBinary(bytes, options);
16919
17124
  }
16920
17125
 
16921
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SoftwareDeinterlace {
16922
- return new SoftwareDeinterlace().fromJson(jsonValue, options);
17126
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DLoad_ComputeUnitLoad {
17127
+ return new AmdMA35DLoad_ComputeUnitLoad().fromJson(jsonValue, options);
16923
17128
  }
16924
17129
 
16925
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SoftwareDeinterlace {
16926
- return new SoftwareDeinterlace().fromJsonString(jsonString, options);
17130
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DLoad_ComputeUnitLoad {
17131
+ return new AmdMA35DLoad_ComputeUnitLoad().fromJsonString(jsonString, options);
16927
17132
  }
16928
17133
 
16929
- static equals(a: SoftwareDeinterlace | PlainMessage<SoftwareDeinterlace> | undefined, b: SoftwareDeinterlace | PlainMessage<SoftwareDeinterlace> | undefined): boolean {
16930
- return proto3.util.equals(SoftwareDeinterlace, a, b);
17134
+ static equals(a: AmdMA35DLoad_ComputeUnitLoad | PlainMessage<AmdMA35DLoad_ComputeUnitLoad> | undefined, b: AmdMA35DLoad_ComputeUnitLoad | PlainMessage<AmdMA35DLoad_ComputeUnitLoad> | undefined): boolean {
17135
+ return proto3.util.equals(AmdMA35DLoad_ComputeUnitLoad, a, b);
16931
17136
  }
16932
17137
  }
16933
17138
 
16934
17139
  /**
16935
- * @generated from enum norsk.api.media.SoftwareDeinterlace.SoftwareDeinterlaceAlgorithm
17140
+ * @generated from message norsk.api.media.AmdMA35DEncodeCommon
16936
17141
  */
16937
- export enum SoftwareDeinterlace_SoftwareDeinterlaceAlgorithm {
17142
+ export class AmdMA35DEncodeCommon extends Message<AmdMA35DEncodeCommon> {
16938
17143
  /**
16939
- * @generated from enum value: SoftwareBwdif = 0;
17144
+ * @generated from oneof norsk.api.media.AmdMA35DEncodeCommon.rateControl
16940
17145
  */
16941
- SoftwareBwdif = 0,
17146
+ rateControl: {
17147
+ /**
17148
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.ConstQp const_qp = 1;
17149
+ */
17150
+ value: AmdMA35DEncodeCommon_ConstQp;
17151
+ case: "constQp";
17152
+ } | {
17153
+ /**
17154
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.CBR cbr = 2;
17155
+ */
17156
+ value: AmdMA35DEncodeCommon_CBR;
17157
+ case: "cbr";
17158
+ } | {
17159
+ /**
17160
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.VBR vbr = 3;
17161
+ */
17162
+ value: AmdMA35DEncodeCommon_VBR;
17163
+ case: "vbr";
17164
+ } | {
17165
+ /**
17166
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.ConstrainedVBR constrained_vbr = 4;
17167
+ */
17168
+ value: AmdMA35DEncodeCommon_ConstrainedVBR;
17169
+ case: "constrainedVbr";
17170
+ } | {
17171
+ /**
17172
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.ConstrainedABR constrained_abr = 5;
17173
+ */
17174
+ value: AmdMA35DEncodeCommon_ConstrainedABR;
17175
+ case: "constrainedAbr";
17176
+ } | { case: undefined; value?: undefined } = { case: undefined };
16942
17177
 
16943
17178
  /**
16944
- * @generated from enum value: SoftwareKerndeint = 1;
17179
+ * @generated from field: norsk.api.common.OptionalInt lookahead_depth = 6;
16945
17180
  */
16946
- SoftwareKerndeint = 1,
17181
+ lookaheadDepth?: OptionalInt;
16947
17182
 
16948
17183
  /**
16949
- * @generated from enum value: SoftwareNnedi = 2;
17184
+ * @generated from field: norsk.api.common.OptionalInt gopSize = 7;
16950
17185
  */
16951
- SoftwareNnedi = 2,
17186
+ gopSize?: OptionalInt;
16952
17187
 
16953
17188
  /**
16954
- * @generated from enum value: SoftwareW3fdif = 3;
17189
+ * @generated from field: norsk.api.common.OptionalInt tempAqGain = 8;
16955
17190
  */
16956
- SoftwareW3fdif = 3,
17191
+ tempAqGain?: OptionalInt;
16957
17192
 
16958
17193
  /**
16959
- * @generated from enum value: SoftwareYadif = 4;
17194
+ * @generated from field: norsk.api.common.OptionalInt spatAqGain = 9;
16960
17195
  */
16961
- SoftwareYadif = 4,
16962
- }
16963
- // Retrieve enum metadata with: proto3.getEnumType(SoftwareDeinterlace_SoftwareDeinterlaceAlgorithm)
16964
- proto3.util.setEnumType(SoftwareDeinterlace_SoftwareDeinterlaceAlgorithm, "norsk.api.media.SoftwareDeinterlace.SoftwareDeinterlaceAlgorithm", [
16965
- { no: 0, name: "SoftwareBwdif" },
16966
- { no: 1, name: "SoftwareKerndeint" },
16967
- { no: 2, name: "SoftwareNnedi" },
16968
- { no: 3, name: "SoftwareW3fdif" },
16969
- { no: 4, name: "SoftwareYadif" },
16970
- ]);
17196
+ spatAqGain?: OptionalInt;
16971
17197
 
16972
- /**
16973
- * @generated from message norsk.api.media.VideoTransformConfiguration
16974
- */
16975
- export class VideoTransformConfiguration extends Message<VideoTransformConfiguration> {
16976
17198
  /**
16977
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
17199
+ * @generated from field: norsk.api.common.OptionalInt minQp = 10;
16978
17200
  */
16979
- id?: MediaNodeId;
17201
+ minQp?: OptionalInt;
16980
17202
 
16981
17203
  /**
16982
- * @generated from field: norsk.api.media.Resolution resolution = 2;
17204
+ * @generated from field: norsk.api.common.OptionalInt maxQp = 11;
16983
17205
  */
16984
- resolution?: Resolution;
17206
+ maxQp?: OptionalInt;
16985
17207
 
16986
17208
  /**
16987
- * @generated from field: norsk.api.media.SampleAspectRatio sample_aspect_ratio = 4;
17209
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.Preset preset = 12;
16988
17210
  */
16989
- sampleAspectRatio?: SampleAspectRatio;
17211
+ preset = AmdMA35DEncodeCommon_Preset.AMD_MA35D_PRESET_DEFAULT;
16990
17212
 
16991
17213
  /**
16992
- * @generated from field: norsk.api.media.FrameRate frame_rate = 5;
17214
+ * @generated from field: norsk.api.common.OptionalInt crf = 13;
16993
17215
  */
16994
- frameRate?: FrameRate;
17216
+ crf?: OptionalInt;
16995
17217
 
16996
17218
  /**
16997
- * @generated from oneof norsk.api.media.VideoTransformConfiguration.deinterlace
17219
+ * @generated from field: norsk.api.common.OptionalInt forcedIdr = 14;
16998
17220
  */
16999
- deinterlace: {
17000
- /**
17001
- * @generated from field: norsk.api.media.NoDeinterlace none = 6;
17002
- */
17003
- value: NoDeinterlace;
17004
- case: "none";
17005
- } | {
17006
- /**
17007
- * @generated from field: norsk.api.media.SoftwareDeinterlace software = 7;
17008
- */
17009
- value: SoftwareDeinterlace;
17221
+ forcedIdr?: OptionalInt;
17222
+
17223
+ /**
17224
+ * @generated from field: norsk.api.common.OptionalInt bf = 15;
17225
+ */
17226
+ bf?: OptionalInt;
17227
+
17228
+ /**
17229
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.QpMode qpMode = 16;
17230
+ */
17231
+ qpMode = AmdMA35DEncodeCommon_QpMode.AMD_MA35D_QPMODE_DEFAULT;
17232
+
17233
+ /**
17234
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.TrinaryFlag spatialAq = 17;
17235
+ */
17236
+ spatialAq = AmdMA35DEncodeCommon_TrinaryFlag.AMD_MA35D_AUTO;
17237
+
17238
+ /**
17239
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.TrinaryFlag temporalAq = 18;
17240
+ */
17241
+ temporalAq = AmdMA35DEncodeCommon_TrinaryFlag.AMD_MA35D_AUTO;
17242
+
17243
+ /**
17244
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.TrinaryFlag dynamicGop = 19;
17245
+ */
17246
+ dynamicGop = AmdMA35DEncodeCommon_TrinaryFlag.AMD_MA35D_AUTO;
17247
+
17248
+ /**
17249
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon.TuneMetrics tuneMetrics = 20;
17250
+ */
17251
+ tuneMetrics = AmdMA35DEncodeCommon_TuneMetrics.AMD_MA35D_TUNE_DEFAULT;
17252
+
17253
+ /**
17254
+ * @generated from field: norsk.api.common.OptionalInt latencyMs = 21;
17255
+ */
17256
+ latencyMs?: OptionalInt;
17257
+
17258
+ /**
17259
+ * @generated from field: norsk.api.common.OptionalInt delayInitialization = 22;
17260
+ */
17261
+ delayInitialization?: OptionalInt;
17262
+
17263
+ constructor(data?: PartialMessage<AmdMA35DEncodeCommon>) {
17264
+ super();
17265
+ proto3.util.initPartial(data, this);
17266
+ }
17267
+
17268
+ static readonly runtime = proto3;
17269
+ static readonly typeName = "norsk.api.media.AmdMA35DEncodeCommon";
17270
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17271
+ { no: 1, name: "const_qp", kind: "message", T: AmdMA35DEncodeCommon_ConstQp, oneof: "rateControl" },
17272
+ { no: 2, name: "cbr", kind: "message", T: AmdMA35DEncodeCommon_CBR, oneof: "rateControl" },
17273
+ { no: 3, name: "vbr", kind: "message", T: AmdMA35DEncodeCommon_VBR, oneof: "rateControl" },
17274
+ { no: 4, name: "constrained_vbr", kind: "message", T: AmdMA35DEncodeCommon_ConstrainedVBR, oneof: "rateControl" },
17275
+ { no: 5, name: "constrained_abr", kind: "message", T: AmdMA35DEncodeCommon_ConstrainedABR, oneof: "rateControl" },
17276
+ { no: 6, name: "lookahead_depth", kind: "message", T: OptionalInt },
17277
+ { no: 7, name: "gopSize", kind: "message", T: OptionalInt },
17278
+ { no: 8, name: "tempAqGain", kind: "message", T: OptionalInt },
17279
+ { no: 9, name: "spatAqGain", kind: "message", T: OptionalInt },
17280
+ { no: 10, name: "minQp", kind: "message", T: OptionalInt },
17281
+ { no: 11, name: "maxQp", kind: "message", T: OptionalInt },
17282
+ { no: 12, name: "preset", kind: "enum", T: proto3.getEnumType(AmdMA35DEncodeCommon_Preset) },
17283
+ { no: 13, name: "crf", kind: "message", T: OptionalInt },
17284
+ { no: 14, name: "forcedIdr", kind: "message", T: OptionalInt },
17285
+ { no: 15, name: "bf", kind: "message", T: OptionalInt },
17286
+ { no: 16, name: "qpMode", kind: "enum", T: proto3.getEnumType(AmdMA35DEncodeCommon_QpMode) },
17287
+ { no: 17, name: "spatialAq", kind: "enum", T: proto3.getEnumType(AmdMA35DEncodeCommon_TrinaryFlag) },
17288
+ { no: 18, name: "temporalAq", kind: "enum", T: proto3.getEnumType(AmdMA35DEncodeCommon_TrinaryFlag) },
17289
+ { no: 19, name: "dynamicGop", kind: "enum", T: proto3.getEnumType(AmdMA35DEncodeCommon_TrinaryFlag) },
17290
+ { no: 20, name: "tuneMetrics", kind: "enum", T: proto3.getEnumType(AmdMA35DEncodeCommon_TuneMetrics) },
17291
+ { no: 21, name: "latencyMs", kind: "message", T: OptionalInt },
17292
+ { no: 22, name: "delayInitialization", kind: "message", T: OptionalInt },
17293
+ ]);
17294
+
17295
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DEncodeCommon {
17296
+ return new AmdMA35DEncodeCommon().fromBinary(bytes, options);
17297
+ }
17298
+
17299
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon {
17300
+ return new AmdMA35DEncodeCommon().fromJson(jsonValue, options);
17301
+ }
17302
+
17303
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon {
17304
+ return new AmdMA35DEncodeCommon().fromJsonString(jsonString, options);
17305
+ }
17306
+
17307
+ static equals(a: AmdMA35DEncodeCommon | PlainMessage<AmdMA35DEncodeCommon> | undefined, b: AmdMA35DEncodeCommon | PlainMessage<AmdMA35DEncodeCommon> | undefined): boolean {
17308
+ return proto3.util.equals(AmdMA35DEncodeCommon, a, b);
17309
+ }
17310
+ }
17311
+
17312
+ /**
17313
+ * @generated from enum norsk.api.media.AmdMA35DEncodeCommon.Preset
17314
+ */
17315
+ export enum AmdMA35DEncodeCommon_Preset {
17316
+ /**
17317
+ * @generated from enum value: AMD_MA35D_PRESET_DEFAULT = 0;
17318
+ */
17319
+ AMD_MA35D_PRESET_DEFAULT = 0,
17320
+
17321
+ /**
17322
+ * @generated from enum value: AMD_MA35D_PRESET_FAST = 1;
17323
+ */
17324
+ AMD_MA35D_PRESET_FAST = 1,
17325
+
17326
+ /**
17327
+ * @generated from enum value: AMD_MA35D_PRESET_MEDIUM = 2;
17328
+ */
17329
+ AMD_MA35D_PRESET_MEDIUM = 2,
17330
+
17331
+ /**
17332
+ * @generated from enum value: AMD_MA35D_PRESET_SLOW = 3;
17333
+ */
17334
+ AMD_MA35D_PRESET_SLOW = 3,
17335
+ }
17336
+ // Retrieve enum metadata with: proto3.getEnumType(AmdMA35DEncodeCommon_Preset)
17337
+ proto3.util.setEnumType(AmdMA35DEncodeCommon_Preset, "norsk.api.media.AmdMA35DEncodeCommon.Preset", [
17338
+ { no: 0, name: "AMD_MA35D_PRESET_DEFAULT" },
17339
+ { no: 1, name: "AMD_MA35D_PRESET_FAST" },
17340
+ { no: 2, name: "AMD_MA35D_PRESET_MEDIUM" },
17341
+ { no: 3, name: "AMD_MA35D_PRESET_SLOW" },
17342
+ ]);
17343
+
17344
+ /**
17345
+ * @generated from enum norsk.api.media.AmdMA35DEncodeCommon.QpMode
17346
+ */
17347
+ export enum AmdMA35DEncodeCommon_QpMode {
17348
+ /**
17349
+ * @generated from enum value: AMD_MA35D_QPMODE_DEFAULT = 0;
17350
+ */
17351
+ AMD_MA35D_QPMODE_DEFAULT = 0,
17352
+
17353
+ /**
17354
+ * @generated from enum value: AMD_MA35D_QPMODE_RELATIVE_LOAD = 1;
17355
+ */
17356
+ AMD_MA35D_QPMODE_RELATIVE_LOAD = 1,
17357
+
17358
+ /**
17359
+ * @generated from enum value: AMD_MA35D_QPMODE_UNIFORM = 2;
17360
+ */
17361
+ AMD_MA35D_QPMODE_UNIFORM = 2,
17362
+ }
17363
+ // Retrieve enum metadata with: proto3.getEnumType(AmdMA35DEncodeCommon_QpMode)
17364
+ proto3.util.setEnumType(AmdMA35DEncodeCommon_QpMode, "norsk.api.media.AmdMA35DEncodeCommon.QpMode", [
17365
+ { no: 0, name: "AMD_MA35D_QPMODE_DEFAULT" },
17366
+ { no: 1, name: "AMD_MA35D_QPMODE_RELATIVE_LOAD" },
17367
+ { no: 2, name: "AMD_MA35D_QPMODE_UNIFORM" },
17368
+ ]);
17369
+
17370
+ /**
17371
+ * @generated from enum norsk.api.media.AmdMA35DEncodeCommon.TuneMetrics
17372
+ */
17373
+ export enum AmdMA35DEncodeCommon_TuneMetrics {
17374
+ /**
17375
+ * @generated from enum value: AMD_MA35D_TUNE_DEFAULT = 0;
17376
+ */
17377
+ AMD_MA35D_TUNE_DEFAULT = 0,
17378
+
17379
+ /**
17380
+ * @generated from enum value: AMD_MA35D_TUNE_VQ = 1;
17381
+ */
17382
+ AMD_MA35D_TUNE_VQ = 1,
17383
+
17384
+ /**
17385
+ * @generated from enum value: AMD_MA35D_TUNE_PSNR = 2;
17386
+ */
17387
+ AMD_MA35D_TUNE_PSNR = 2,
17388
+
17389
+ /**
17390
+ * @generated from enum value: AMD_MA35D_TUNE_SSIM = 3;
17391
+ */
17392
+ AMD_MA35D_TUNE_SSIM = 3,
17393
+
17394
+ /**
17395
+ * @generated from enum value: AMD_MA35D_TUNE_VMAF = 4;
17396
+ */
17397
+ AMD_MA35D_TUNE_VMAF = 4,
17398
+ }
17399
+ // Retrieve enum metadata with: proto3.getEnumType(AmdMA35DEncodeCommon_TuneMetrics)
17400
+ proto3.util.setEnumType(AmdMA35DEncodeCommon_TuneMetrics, "norsk.api.media.AmdMA35DEncodeCommon.TuneMetrics", [
17401
+ { no: 0, name: "AMD_MA35D_TUNE_DEFAULT" },
17402
+ { no: 1, name: "AMD_MA35D_TUNE_VQ" },
17403
+ { no: 2, name: "AMD_MA35D_TUNE_PSNR" },
17404
+ { no: 3, name: "AMD_MA35D_TUNE_SSIM" },
17405
+ { no: 4, name: "AMD_MA35D_TUNE_VMAF" },
17406
+ ]);
17407
+
17408
+ /**
17409
+ * @generated from enum norsk.api.media.AmdMA35DEncodeCommon.TrinaryFlag
17410
+ */
17411
+ export enum AmdMA35DEncodeCommon_TrinaryFlag {
17412
+ /**
17413
+ * @generated from enum value: AMD_MA35D_AUTO = 0;
17414
+ */
17415
+ AMD_MA35D_AUTO = 0,
17416
+
17417
+ /**
17418
+ * @generated from enum value: AMD_MA35D_DISABLE = 1;
17419
+ */
17420
+ AMD_MA35D_DISABLE = 1,
17421
+
17422
+ /**
17423
+ * @generated from enum value: AMD_MA35D_ENABLE = 2;
17424
+ */
17425
+ AMD_MA35D_ENABLE = 2,
17426
+ }
17427
+ // Retrieve enum metadata with: proto3.getEnumType(AmdMA35DEncodeCommon_TrinaryFlag)
17428
+ proto3.util.setEnumType(AmdMA35DEncodeCommon_TrinaryFlag, "norsk.api.media.AmdMA35DEncodeCommon.TrinaryFlag", [
17429
+ { no: 0, name: "AMD_MA35D_AUTO" },
17430
+ { no: 1, name: "AMD_MA35D_DISABLE" },
17431
+ { no: 2, name: "AMD_MA35D_ENABLE" },
17432
+ ]);
17433
+
17434
+ /**
17435
+ * @generated from message norsk.api.media.AmdMA35DEncodeCommon.ConstQp
17436
+ */
17437
+ export class AmdMA35DEncodeCommon_ConstQp extends Message<AmdMA35DEncodeCommon_ConstQp> {
17438
+ /**
17439
+ * @generated from field: uint32 qp = 1;
17440
+ */
17441
+ qp = 0;
17442
+
17443
+ constructor(data?: PartialMessage<AmdMA35DEncodeCommon_ConstQp>) {
17444
+ super();
17445
+ proto3.util.initPartial(data, this);
17446
+ }
17447
+
17448
+ static readonly runtime = proto3;
17449
+ static readonly typeName = "norsk.api.media.AmdMA35DEncodeCommon.ConstQp";
17450
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17451
+ { no: 1, name: "qp", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17452
+ ]);
17453
+
17454
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DEncodeCommon_ConstQp {
17455
+ return new AmdMA35DEncodeCommon_ConstQp().fromBinary(bytes, options);
17456
+ }
17457
+
17458
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ConstQp {
17459
+ return new AmdMA35DEncodeCommon_ConstQp().fromJson(jsonValue, options);
17460
+ }
17461
+
17462
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ConstQp {
17463
+ return new AmdMA35DEncodeCommon_ConstQp().fromJsonString(jsonString, options);
17464
+ }
17465
+
17466
+ static equals(a: AmdMA35DEncodeCommon_ConstQp | PlainMessage<AmdMA35DEncodeCommon_ConstQp> | undefined, b: AmdMA35DEncodeCommon_ConstQp | PlainMessage<AmdMA35DEncodeCommon_ConstQp> | undefined): boolean {
17467
+ return proto3.util.equals(AmdMA35DEncodeCommon_ConstQp, a, b);
17468
+ }
17469
+ }
17470
+
17471
+ /**
17472
+ * @generated from message norsk.api.media.AmdMA35DEncodeCommon.CBR
17473
+ */
17474
+ export class AmdMA35DEncodeCommon_CBR extends Message<AmdMA35DEncodeCommon_CBR> {
17475
+ /**
17476
+ * @generated from field: uint32 bitrate = 1;
17477
+ */
17478
+ bitrate = 0;
17479
+
17480
+ constructor(data?: PartialMessage<AmdMA35DEncodeCommon_CBR>) {
17481
+ super();
17482
+ proto3.util.initPartial(data, this);
17483
+ }
17484
+
17485
+ static readonly runtime = proto3;
17486
+ static readonly typeName = "norsk.api.media.AmdMA35DEncodeCommon.CBR";
17487
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17488
+ { no: 1, name: "bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17489
+ ]);
17490
+
17491
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DEncodeCommon_CBR {
17492
+ return new AmdMA35DEncodeCommon_CBR().fromBinary(bytes, options);
17493
+ }
17494
+
17495
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_CBR {
17496
+ return new AmdMA35DEncodeCommon_CBR().fromJson(jsonValue, options);
17497
+ }
17498
+
17499
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_CBR {
17500
+ return new AmdMA35DEncodeCommon_CBR().fromJsonString(jsonString, options);
17501
+ }
17502
+
17503
+ static equals(a: AmdMA35DEncodeCommon_CBR | PlainMessage<AmdMA35DEncodeCommon_CBR> | undefined, b: AmdMA35DEncodeCommon_CBR | PlainMessage<AmdMA35DEncodeCommon_CBR> | undefined): boolean {
17504
+ return proto3.util.equals(AmdMA35DEncodeCommon_CBR, a, b);
17505
+ }
17506
+ }
17507
+
17508
+ /**
17509
+ * @generated from message norsk.api.media.AmdMA35DEncodeCommon.VBR
17510
+ */
17511
+ export class AmdMA35DEncodeCommon_VBR extends Message<AmdMA35DEncodeCommon_VBR> {
17512
+ /**
17513
+ * @generated from field: uint32 bitrate = 1;
17514
+ */
17515
+ bitrate = 0;
17516
+
17517
+ constructor(data?: PartialMessage<AmdMA35DEncodeCommon_VBR>) {
17518
+ super();
17519
+ proto3.util.initPartial(data, this);
17520
+ }
17521
+
17522
+ static readonly runtime = proto3;
17523
+ static readonly typeName = "norsk.api.media.AmdMA35DEncodeCommon.VBR";
17524
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17525
+ { no: 1, name: "bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17526
+ ]);
17527
+
17528
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DEncodeCommon_VBR {
17529
+ return new AmdMA35DEncodeCommon_VBR().fromBinary(bytes, options);
17530
+ }
17531
+
17532
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_VBR {
17533
+ return new AmdMA35DEncodeCommon_VBR().fromJson(jsonValue, options);
17534
+ }
17535
+
17536
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_VBR {
17537
+ return new AmdMA35DEncodeCommon_VBR().fromJsonString(jsonString, options);
17538
+ }
17539
+
17540
+ static equals(a: AmdMA35DEncodeCommon_VBR | PlainMessage<AmdMA35DEncodeCommon_VBR> | undefined, b: AmdMA35DEncodeCommon_VBR | PlainMessage<AmdMA35DEncodeCommon_VBR> | undefined): boolean {
17541
+ return proto3.util.equals(AmdMA35DEncodeCommon_VBR, a, b);
17542
+ }
17543
+ }
17544
+
17545
+ /**
17546
+ * @generated from message norsk.api.media.AmdMA35DEncodeCommon.ConstrainedVBR
17547
+ */
17548
+ export class AmdMA35DEncodeCommon_ConstrainedVBR extends Message<AmdMA35DEncodeCommon_ConstrainedVBR> {
17549
+ /**
17550
+ * @generated from field: uint32 bitrate = 1;
17551
+ */
17552
+ bitrate = 0;
17553
+
17554
+ /**
17555
+ * @generated from field: uint32 max_bitrate = 2;
17556
+ */
17557
+ maxBitrate = 0;
17558
+
17559
+ /**
17560
+ * @generated from field: uint32 buf_size = 3;
17561
+ */
17562
+ bufSize = 0;
17563
+
17564
+ constructor(data?: PartialMessage<AmdMA35DEncodeCommon_ConstrainedVBR>) {
17565
+ super();
17566
+ proto3.util.initPartial(data, this);
17567
+ }
17568
+
17569
+ static readonly runtime = proto3;
17570
+ static readonly typeName = "norsk.api.media.AmdMA35DEncodeCommon.ConstrainedVBR";
17571
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17572
+ { no: 1, name: "bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17573
+ { no: 2, name: "max_bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17574
+ { no: 3, name: "buf_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17575
+ ]);
17576
+
17577
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DEncodeCommon_ConstrainedVBR {
17578
+ return new AmdMA35DEncodeCommon_ConstrainedVBR().fromBinary(bytes, options);
17579
+ }
17580
+
17581
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ConstrainedVBR {
17582
+ return new AmdMA35DEncodeCommon_ConstrainedVBR().fromJson(jsonValue, options);
17583
+ }
17584
+
17585
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ConstrainedVBR {
17586
+ return new AmdMA35DEncodeCommon_ConstrainedVBR().fromJsonString(jsonString, options);
17587
+ }
17588
+
17589
+ static equals(a: AmdMA35DEncodeCommon_ConstrainedVBR | PlainMessage<AmdMA35DEncodeCommon_ConstrainedVBR> | undefined, b: AmdMA35DEncodeCommon_ConstrainedVBR | PlainMessage<AmdMA35DEncodeCommon_ConstrainedVBR> | undefined): boolean {
17590
+ return proto3.util.equals(AmdMA35DEncodeCommon_ConstrainedVBR, a, b);
17591
+ }
17592
+ }
17593
+
17594
+ /**
17595
+ * @generated from message norsk.api.media.AmdMA35DEncodeCommon.ConstrainedABR
17596
+ */
17597
+ export class AmdMA35DEncodeCommon_ConstrainedABR extends Message<AmdMA35DEncodeCommon_ConstrainedABR> {
17598
+ /**
17599
+ * @generated from field: uint32 bitrate = 1;
17600
+ */
17601
+ bitrate = 0;
17602
+
17603
+ /**
17604
+ * @generated from field: uint32 max_bitrate = 2;
17605
+ */
17606
+ maxBitrate = 0;
17607
+
17608
+ /**
17609
+ * @generated from field: uint32 buf_size = 3;
17610
+ */
17611
+ bufSize = 0;
17612
+
17613
+ constructor(data?: PartialMessage<AmdMA35DEncodeCommon_ConstrainedABR>) {
17614
+ super();
17615
+ proto3.util.initPartial(data, this);
17616
+ }
17617
+
17618
+ static readonly runtime = proto3;
17619
+ static readonly typeName = "norsk.api.media.AmdMA35DEncodeCommon.ConstrainedABR";
17620
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17621
+ { no: 1, name: "bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17622
+ { no: 2, name: "max_bitrate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17623
+ { no: 3, name: "buf_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17624
+ ]);
17625
+
17626
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DEncodeCommon_ConstrainedABR {
17627
+ return new AmdMA35DEncodeCommon_ConstrainedABR().fromBinary(bytes, options);
17628
+ }
17629
+
17630
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ConstrainedABR {
17631
+ return new AmdMA35DEncodeCommon_ConstrainedABR().fromJson(jsonValue, options);
17632
+ }
17633
+
17634
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DEncodeCommon_ConstrainedABR {
17635
+ return new AmdMA35DEncodeCommon_ConstrainedABR().fromJsonString(jsonString, options);
17636
+ }
17637
+
17638
+ static equals(a: AmdMA35DEncodeCommon_ConstrainedABR | PlainMessage<AmdMA35DEncodeCommon_ConstrainedABR> | undefined, b: AmdMA35DEncodeCommon_ConstrainedABR | PlainMessage<AmdMA35DEncodeCommon_ConstrainedABR> | undefined): boolean {
17639
+ return proto3.util.equals(AmdMA35DEncodeCommon_ConstrainedABR, a, b);
17640
+ }
17641
+ }
17642
+
17643
+ /**
17644
+ * @generated from message norsk.api.media.AmdMA35DH264
17645
+ */
17646
+ export class AmdMA35DH264 extends Message<AmdMA35DH264> {
17647
+ /**
17648
+ * @generated from field: norsk.api.media.AmdMA35DH264.AmdMA35DH264Profile profile = 1;
17649
+ */
17650
+ profile = AmdMA35DH264_AmdMA35DH264Profile.AMD_MA35D_H264_PROFILE_DEFAULT;
17651
+
17652
+ /**
17653
+ * @generated from field: norsk.api.common.OptionalInt level = 2;
17654
+ */
17655
+ level?: OptionalInt;
17656
+
17657
+ /**
17658
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon common = 3;
17659
+ */
17660
+ common?: AmdMA35DEncodeCommon;
17661
+
17662
+ constructor(data?: PartialMessage<AmdMA35DH264>) {
17663
+ super();
17664
+ proto3.util.initPartial(data, this);
17665
+ }
17666
+
17667
+ static readonly runtime = proto3;
17668
+ static readonly typeName = "norsk.api.media.AmdMA35DH264";
17669
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17670
+ { no: 1, name: "profile", kind: "enum", T: proto3.getEnumType(AmdMA35DH264_AmdMA35DH264Profile) },
17671
+ { no: 2, name: "level", kind: "message", T: OptionalInt },
17672
+ { no: 3, name: "common", kind: "message", T: AmdMA35DEncodeCommon },
17673
+ ]);
17674
+
17675
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DH264 {
17676
+ return new AmdMA35DH264().fromBinary(bytes, options);
17677
+ }
17678
+
17679
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DH264 {
17680
+ return new AmdMA35DH264().fromJson(jsonValue, options);
17681
+ }
17682
+
17683
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DH264 {
17684
+ return new AmdMA35DH264().fromJsonString(jsonString, options);
17685
+ }
17686
+
17687
+ static equals(a: AmdMA35DH264 | PlainMessage<AmdMA35DH264> | undefined, b: AmdMA35DH264 | PlainMessage<AmdMA35DH264> | undefined): boolean {
17688
+ return proto3.util.equals(AmdMA35DH264, a, b);
17689
+ }
17690
+ }
17691
+
17692
+ /**
17693
+ * @generated from enum norsk.api.media.AmdMA35DH264.AmdMA35DH264Profile
17694
+ */
17695
+ export enum AmdMA35DH264_AmdMA35DH264Profile {
17696
+ /**
17697
+ * @generated from enum value: AMD_MA35D_H264_PROFILE_DEFAULT = 0;
17698
+ */
17699
+ AMD_MA35D_H264_PROFILE_DEFAULT = 0,
17700
+
17701
+ /**
17702
+ * @generated from enum value: AMD_MA35D_H264_PROFILE_BASELINE = 1;
17703
+ */
17704
+ AMD_MA35D_H264_PROFILE_BASELINE = 1,
17705
+
17706
+ /**
17707
+ * @generated from enum value: AMD_MA35D_H264_PROFILE_MAIN = 2;
17708
+ */
17709
+ AMD_MA35D_H264_PROFILE_MAIN = 2,
17710
+
17711
+ /**
17712
+ * @generated from enum value: AMD_MA35D_H264_PROFILE_HIGH = 3;
17713
+ */
17714
+ AMD_MA35D_H264_PROFILE_HIGH = 3,
17715
+
17716
+ /**
17717
+ * @generated from enum value: AMD_MA35D_H264_PROFILE_HIGH10 = 4;
17718
+ */
17719
+ AMD_MA35D_H264_PROFILE_HIGH10 = 4,
17720
+ }
17721
+ // Retrieve enum metadata with: proto3.getEnumType(AmdMA35DH264_AmdMA35DH264Profile)
17722
+ proto3.util.setEnumType(AmdMA35DH264_AmdMA35DH264Profile, "norsk.api.media.AmdMA35DH264.AmdMA35DH264Profile", [
17723
+ { no: 0, name: "AMD_MA35D_H264_PROFILE_DEFAULT" },
17724
+ { no: 1, name: "AMD_MA35D_H264_PROFILE_BASELINE" },
17725
+ { no: 2, name: "AMD_MA35D_H264_PROFILE_MAIN" },
17726
+ { no: 3, name: "AMD_MA35D_H264_PROFILE_HIGH" },
17727
+ { no: 4, name: "AMD_MA35D_H264_PROFILE_HIGH10" },
17728
+ ]);
17729
+
17730
+ /**
17731
+ * @generated from message norsk.api.media.AmdMA35DHevc
17732
+ */
17733
+ export class AmdMA35DHevc extends Message<AmdMA35DHevc> {
17734
+ /**
17735
+ * @generated from field: norsk.api.media.AmdMA35DHevc.AmdMA35DHevcTier tier = 1;
17736
+ */
17737
+ tier = AmdMA35DHevc_AmdMA35DHevcTier.AMD_MA35D_HEVC_TIER_MAIN;
17738
+
17739
+ /**
17740
+ * @generated from field: norsk.api.media.AmdMA35DHevc.AmdMA35DHevcProfile profile = 2;
17741
+ */
17742
+ profile = AmdMA35DHevc_AmdMA35DHevcProfile.AMD_MA35D_HEVC_PROFILE_DEFAULT;
17743
+
17744
+ /**
17745
+ * @generated from field: norsk.api.common.OptionalInt level = 3;
17746
+ */
17747
+ level?: OptionalInt;
17748
+
17749
+ /**
17750
+ * @generated from field: norsk.api.media.AmdMA35DEncodeCommon common = 4;
17751
+ */
17752
+ common?: AmdMA35DEncodeCommon;
17753
+
17754
+ constructor(data?: PartialMessage<AmdMA35DHevc>) {
17755
+ super();
17756
+ proto3.util.initPartial(data, this);
17757
+ }
17758
+
17759
+ static readonly runtime = proto3;
17760
+ static readonly typeName = "norsk.api.media.AmdMA35DHevc";
17761
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17762
+ { no: 1, name: "tier", kind: "enum", T: proto3.getEnumType(AmdMA35DHevc_AmdMA35DHevcTier) },
17763
+ { no: 2, name: "profile", kind: "enum", T: proto3.getEnumType(AmdMA35DHevc_AmdMA35DHevcProfile) },
17764
+ { no: 3, name: "level", kind: "message", T: OptionalInt },
17765
+ { no: 4, name: "common", kind: "message", T: AmdMA35DEncodeCommon },
17766
+ ]);
17767
+
17768
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DHevc {
17769
+ return new AmdMA35DHevc().fromBinary(bytes, options);
17770
+ }
17771
+
17772
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DHevc {
17773
+ return new AmdMA35DHevc().fromJson(jsonValue, options);
17774
+ }
17775
+
17776
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DHevc {
17777
+ return new AmdMA35DHevc().fromJsonString(jsonString, options);
17778
+ }
17779
+
17780
+ static equals(a: AmdMA35DHevc | PlainMessage<AmdMA35DHevc> | undefined, b: AmdMA35DHevc | PlainMessage<AmdMA35DHevc> | undefined): boolean {
17781
+ return proto3.util.equals(AmdMA35DHevc, a, b);
17782
+ }
17783
+ }
17784
+
17785
+ /**
17786
+ * @generated from enum norsk.api.media.AmdMA35DHevc.AmdMA35DHevcProfile
17787
+ */
17788
+ export enum AmdMA35DHevc_AmdMA35DHevcProfile {
17789
+ /**
17790
+ * @generated from enum value: AMD_MA35D_HEVC_PROFILE_DEFAULT = 0;
17791
+ */
17792
+ AMD_MA35D_HEVC_PROFILE_DEFAULT = 0,
17793
+
17794
+ /**
17795
+ * @generated from enum value: AMD_MA35D_HEVC_PROFILE_MAIN = 1;
17796
+ */
17797
+ AMD_MA35D_HEVC_PROFILE_MAIN = 1,
17798
+
17799
+ /**
17800
+ * @generated from enum value: AMD_MA35D_HEVC_PROFILE_MAIN10 = 2;
17801
+ */
17802
+ AMD_MA35D_HEVC_PROFILE_MAIN10 = 2,
17803
+ }
17804
+ // Retrieve enum metadata with: proto3.getEnumType(AmdMA35DHevc_AmdMA35DHevcProfile)
17805
+ proto3.util.setEnumType(AmdMA35DHevc_AmdMA35DHevcProfile, "norsk.api.media.AmdMA35DHevc.AmdMA35DHevcProfile", [
17806
+ { no: 0, name: "AMD_MA35D_HEVC_PROFILE_DEFAULT" },
17807
+ { no: 1, name: "AMD_MA35D_HEVC_PROFILE_MAIN" },
17808
+ { no: 2, name: "AMD_MA35D_HEVC_PROFILE_MAIN10" },
17809
+ ]);
17810
+
17811
+ /**
17812
+ * @generated from enum norsk.api.media.AmdMA35DHevc.AmdMA35DHevcTier
17813
+ */
17814
+ export enum AmdMA35DHevc_AmdMA35DHevcTier {
17815
+ /**
17816
+ * @generated from enum value: AMD_MA35D_HEVC_TIER_MAIN = 0;
17817
+ */
17818
+ AMD_MA35D_HEVC_TIER_MAIN = 0,
17819
+
17820
+ /**
17821
+ * @generated from enum value: AMD_MA35D_HEVC_TIER_HIGH = 1;
17822
+ */
17823
+ AMD_MA35D_HEVC_TIER_HIGH = 1,
17824
+ }
17825
+ // Retrieve enum metadata with: proto3.getEnumType(AmdMA35DHevc_AmdMA35DHevcTier)
17826
+ proto3.util.setEnumType(AmdMA35DHevc_AmdMA35DHevcTier, "norsk.api.media.AmdMA35DHevc.AmdMA35DHevcTier", [
17827
+ { no: 0, name: "AMD_MA35D_HEVC_TIER_MAIN" },
17828
+ { no: 1, name: "AMD_MA35D_HEVC_TIER_HIGH" },
17829
+ ]);
17830
+
17831
+ /**
17832
+ * @generated from message norsk.api.media.NoDeinterlace
17833
+ */
17834
+ export class NoDeinterlace extends Message<NoDeinterlace> {
17835
+ constructor(data?: PartialMessage<NoDeinterlace>) {
17836
+ super();
17837
+ proto3.util.initPartial(data, this);
17838
+ }
17839
+
17840
+ static readonly runtime = proto3;
17841
+ static readonly typeName = "norsk.api.media.NoDeinterlace";
17842
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17843
+ ]);
17844
+
17845
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NoDeinterlace {
17846
+ return new NoDeinterlace().fromBinary(bytes, options);
17847
+ }
17848
+
17849
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NoDeinterlace {
17850
+ return new NoDeinterlace().fromJson(jsonValue, options);
17851
+ }
17852
+
17853
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NoDeinterlace {
17854
+ return new NoDeinterlace().fromJsonString(jsonString, options);
17855
+ }
17856
+
17857
+ static equals(a: NoDeinterlace | PlainMessage<NoDeinterlace> | undefined, b: NoDeinterlace | PlainMessage<NoDeinterlace> | undefined): boolean {
17858
+ return proto3.util.equals(NoDeinterlace, a, b);
17859
+ }
17860
+ }
17861
+
17862
+ /**
17863
+ * @generated from message norsk.api.media.SoftwareDeinterlace
17864
+ */
17865
+ export class SoftwareDeinterlace extends Message<SoftwareDeinterlace> {
17866
+ /**
17867
+ * @generated from field: norsk.api.media.SoftwareDeinterlace.SoftwareDeinterlaceAlgorithm algorithm = 1;
17868
+ */
17869
+ algorithm = SoftwareDeinterlace_SoftwareDeinterlaceAlgorithm.SoftwareBwdif;
17870
+
17871
+ constructor(data?: PartialMessage<SoftwareDeinterlace>) {
17872
+ super();
17873
+ proto3.util.initPartial(data, this);
17874
+ }
17875
+
17876
+ static readonly runtime = proto3;
17877
+ static readonly typeName = "norsk.api.media.SoftwareDeinterlace";
17878
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17879
+ { no: 1, name: "algorithm", kind: "enum", T: proto3.getEnumType(SoftwareDeinterlace_SoftwareDeinterlaceAlgorithm) },
17880
+ ]);
17881
+
17882
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SoftwareDeinterlace {
17883
+ return new SoftwareDeinterlace().fromBinary(bytes, options);
17884
+ }
17885
+
17886
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SoftwareDeinterlace {
17887
+ return new SoftwareDeinterlace().fromJson(jsonValue, options);
17888
+ }
17889
+
17890
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SoftwareDeinterlace {
17891
+ return new SoftwareDeinterlace().fromJsonString(jsonString, options);
17892
+ }
17893
+
17894
+ static equals(a: SoftwareDeinterlace | PlainMessage<SoftwareDeinterlace> | undefined, b: SoftwareDeinterlace | PlainMessage<SoftwareDeinterlace> | undefined): boolean {
17895
+ return proto3.util.equals(SoftwareDeinterlace, a, b);
17896
+ }
17897
+ }
17898
+
17899
+ /**
17900
+ * @generated from enum norsk.api.media.SoftwareDeinterlace.SoftwareDeinterlaceAlgorithm
17901
+ */
17902
+ export enum SoftwareDeinterlace_SoftwareDeinterlaceAlgorithm {
17903
+ /**
17904
+ * @generated from enum value: SoftwareBwdif = 0;
17905
+ */
17906
+ SoftwareBwdif = 0,
17907
+
17908
+ /**
17909
+ * @generated from enum value: SoftwareKerndeint = 1;
17910
+ */
17911
+ SoftwareKerndeint = 1,
17912
+
17913
+ /**
17914
+ * @generated from enum value: SoftwareNnedi = 2;
17915
+ */
17916
+ SoftwareNnedi = 2,
17917
+
17918
+ /**
17919
+ * @generated from enum value: SoftwareW3fdif = 3;
17920
+ */
17921
+ SoftwareW3fdif = 3,
17922
+
17923
+ /**
17924
+ * @generated from enum value: SoftwareYadif = 4;
17925
+ */
17926
+ SoftwareYadif = 4,
17927
+ }
17928
+ // Retrieve enum metadata with: proto3.getEnumType(SoftwareDeinterlace_SoftwareDeinterlaceAlgorithm)
17929
+ proto3.util.setEnumType(SoftwareDeinterlace_SoftwareDeinterlaceAlgorithm, "norsk.api.media.SoftwareDeinterlace.SoftwareDeinterlaceAlgorithm", [
17930
+ { no: 0, name: "SoftwareBwdif" },
17931
+ { no: 1, name: "SoftwareKerndeint" },
17932
+ { no: 2, name: "SoftwareNnedi" },
17933
+ { no: 3, name: "SoftwareW3fdif" },
17934
+ { no: 4, name: "SoftwareYadif" },
17935
+ ]);
17936
+
17937
+ /**
17938
+ * @generated from message norsk.api.media.VideoTransformConfiguration
17939
+ */
17940
+ export class VideoTransformConfiguration extends Message<VideoTransformConfiguration> {
17941
+ /**
17942
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
17943
+ */
17944
+ id?: MediaNodeId;
17945
+
17946
+ /**
17947
+ * @generated from field: norsk.api.media.Resolution resolution = 2;
17948
+ */
17949
+ resolution?: Resolution;
17950
+
17951
+ /**
17952
+ * @generated from field: norsk.api.media.SampleAspectRatio sample_aspect_ratio = 4;
17953
+ */
17954
+ sampleAspectRatio?: SampleAspectRatio;
17955
+
17956
+ /**
17957
+ * @generated from field: norsk.api.media.FrameRate frame_rate = 5;
17958
+ */
17959
+ frameRate?: FrameRate;
17960
+
17961
+ /**
17962
+ * @generated from oneof norsk.api.media.VideoTransformConfiguration.deinterlace
17963
+ */
17964
+ deinterlace: {
17965
+ /**
17966
+ * @generated from field: norsk.api.media.NoDeinterlace none = 6;
17967
+ */
17968
+ value: NoDeinterlace;
17969
+ case: "none";
17970
+ } | {
17971
+ /**
17972
+ * @generated from field: norsk.api.media.SoftwareDeinterlace software = 7;
17973
+ */
17974
+ value: SoftwareDeinterlace;
17010
17975
  case: "software";
17011
17976
  } | { case: undefined; value?: undefined } = { case: undefined };
17012
17977
 
17013
- constructor(data?: PartialMessage<VideoTransformConfiguration>) {
17978
+ constructor(data?: PartialMessage<VideoTransformConfiguration>) {
17979
+ super();
17980
+ proto3.util.initPartial(data, this);
17981
+ }
17982
+
17983
+ static readonly runtime = proto3;
17984
+ static readonly typeName = "norsk.api.media.VideoTransformConfiguration";
17985
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17986
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
17987
+ { no: 2, name: "resolution", kind: "message", T: Resolution },
17988
+ { no: 4, name: "sample_aspect_ratio", kind: "message", T: SampleAspectRatio },
17989
+ { no: 5, name: "frame_rate", kind: "message", T: FrameRate },
17990
+ { no: 6, name: "none", kind: "message", T: NoDeinterlace, oneof: "deinterlace" },
17991
+ { no: 7, name: "software", kind: "message", T: SoftwareDeinterlace, oneof: "deinterlace" },
17992
+ ]);
17993
+
17994
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoTransformConfiguration {
17995
+ return new VideoTransformConfiguration().fromBinary(bytes, options);
17996
+ }
17997
+
17998
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoTransformConfiguration {
17999
+ return new VideoTransformConfiguration().fromJson(jsonValue, options);
18000
+ }
18001
+
18002
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoTransformConfiguration {
18003
+ return new VideoTransformConfiguration().fromJsonString(jsonString, options);
18004
+ }
18005
+
18006
+ static equals(a: VideoTransformConfiguration | PlainMessage<VideoTransformConfiguration> | undefined, b: VideoTransformConfiguration | PlainMessage<VideoTransformConfiguration> | undefined): boolean {
18007
+ return proto3.util.equals(VideoTransformConfiguration, a, b);
18008
+ }
18009
+ }
18010
+
18011
+ /**
18012
+ * @generated from message norsk.api.media.VideoTransformMessage
18013
+ */
18014
+ export class VideoTransformMessage extends Message<VideoTransformMessage> {
18015
+ /**
18016
+ * @generated from oneof norsk.api.media.VideoTransformMessage.message
18017
+ */
18018
+ message: {
18019
+ /**
18020
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
18021
+ */
18022
+ value: Subscription;
18023
+ case: "subscription";
18024
+ } | {
18025
+ /**
18026
+ * @generated from field: norsk.api.media.VideoTransformConfiguration configuration = 2;
18027
+ */
18028
+ value: VideoTransformConfiguration;
18029
+ case: "configuration";
18030
+ } | { case: undefined; value?: undefined } = { case: undefined };
18031
+
18032
+ constructor(data?: PartialMessage<VideoTransformMessage>) {
18033
+ super();
18034
+ proto3.util.initPartial(data, this);
18035
+ }
18036
+
18037
+ static readonly runtime = proto3;
18038
+ static readonly typeName = "norsk.api.media.VideoTransformMessage";
18039
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18040
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
18041
+ { no: 2, name: "configuration", kind: "message", T: VideoTransformConfiguration, oneof: "message" },
18042
+ ]);
18043
+
18044
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoTransformMessage {
18045
+ return new VideoTransformMessage().fromBinary(bytes, options);
18046
+ }
18047
+
18048
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoTransformMessage {
18049
+ return new VideoTransformMessage().fromJson(jsonValue, options);
18050
+ }
18051
+
18052
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoTransformMessage {
18053
+ return new VideoTransformMessage().fromJsonString(jsonString, options);
18054
+ }
18055
+
18056
+ static equals(a: VideoTransformMessage | PlainMessage<VideoTransformMessage> | undefined, b: VideoTransformMessage | PlainMessage<VideoTransformMessage> | undefined): boolean {
18057
+ return proto3.util.equals(VideoTransformMessage, a, b);
18058
+ }
18059
+ }
18060
+
18061
+ /**
18062
+ * @generated from message norsk.api.media.VideoTransformEvent
18063
+ */
18064
+ export class VideoTransformEvent extends Message<VideoTransformEvent> {
18065
+ /**
18066
+ * @generated from oneof norsk.api.media.VideoTransformEvent.message
18067
+ */
18068
+ message: {
18069
+ /**
18070
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
18071
+ */
18072
+ value: MediaNodeId;
18073
+ case: "nodeId";
18074
+ } | {
18075
+ /**
18076
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
18077
+ */
18078
+ value: Context;
18079
+ case: "outboundContext";
18080
+ } | {
18081
+ /**
18082
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
18083
+ */
18084
+ value: SubscriptionResponse;
18085
+ case: "subscriptionResponse";
18086
+ } | {
18087
+ /**
18088
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
18089
+ */
18090
+ value: Context;
18091
+ case: "inboundContext";
18092
+ } | { case: undefined; value?: undefined } = { case: undefined };
18093
+
18094
+ constructor(data?: PartialMessage<VideoTransformEvent>) {
17014
18095
  super();
17015
18096
  proto3.util.initPartial(data, this);
17016
18097
  }
17017
18098
 
17018
18099
  static readonly runtime = proto3;
17019
- static readonly typeName = "norsk.api.media.VideoTransformConfiguration";
18100
+ static readonly typeName = "norsk.api.media.VideoTransformEvent";
18101
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18102
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
18103
+ { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
18104
+ { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
18105
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18106
+ ]);
18107
+
18108
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoTransformEvent {
18109
+ return new VideoTransformEvent().fromBinary(bytes, options);
18110
+ }
18111
+
18112
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoTransformEvent {
18113
+ return new VideoTransformEvent().fromJson(jsonValue, options);
18114
+ }
18115
+
18116
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoTransformEvent {
18117
+ return new VideoTransformEvent().fromJsonString(jsonString, options);
18118
+ }
18119
+
18120
+ static equals(a: VideoTransformEvent | PlainMessage<VideoTransformEvent> | undefined, b: VideoTransformEvent | PlainMessage<VideoTransformEvent> | undefined): boolean {
18121
+ return proto3.util.equals(VideoTransformEvent, a, b);
18122
+ }
18123
+ }
18124
+
18125
+ /**
18126
+ * @generated from message norsk.api.media.StreamChaosMonkeyConfiguration
18127
+ */
18128
+ export class StreamChaosMonkeyConfiguration extends Message<StreamChaosMonkeyConfiguration> {
18129
+ /**
18130
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
18131
+ */
18132
+ id?: MediaNodeId;
18133
+
18134
+ /**
18135
+ * @generated from oneof norsk.api.media.StreamChaosMonkeyConfiguration.dropFramesMode
18136
+ */
18137
+ dropFramesMode: {
18138
+ /**
18139
+ * @generated from field: float random = 2;
18140
+ */
18141
+ value: number;
18142
+ case: "random";
18143
+ } | {
18144
+ /**
18145
+ * @generated from field: uint32 everyOther = 3;
18146
+ */
18147
+ value: number;
18148
+ case: "everyOther";
18149
+ } | {
18150
+ /**
18151
+ * @generated from field: uint32 start = 5;
18152
+ */
18153
+ value: number;
18154
+ case: "start";
18155
+ } | { case: undefined; value?: undefined } = { case: undefined };
18156
+
18157
+ /**
18158
+ * @generated from field: uint32 jitter_ms = 4;
18159
+ */
18160
+ jitterMs = 0;
18161
+
18162
+ constructor(data?: PartialMessage<StreamChaosMonkeyConfiguration>) {
18163
+ super();
18164
+ proto3.util.initPartial(data, this);
18165
+ }
18166
+
18167
+ static readonly runtime = proto3;
18168
+ static readonly typeName = "norsk.api.media.StreamChaosMonkeyConfiguration";
17020
18169
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17021
18170
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
17022
- { no: 2, name: "resolution", kind: "message", T: Resolution },
17023
- { no: 4, name: "sample_aspect_ratio", kind: "message", T: SampleAspectRatio },
17024
- { no: 5, name: "frame_rate", kind: "message", T: FrameRate },
17025
- { no: 6, name: "none", kind: "message", T: NoDeinterlace, oneof: "deinterlace" },
17026
- { no: 7, name: "software", kind: "message", T: SoftwareDeinterlace, oneof: "deinterlace" },
18171
+ { no: 2, name: "random", kind: "scalar", T: 2 /* ScalarType.FLOAT */, oneof: "dropFramesMode" },
18172
+ { no: 3, name: "everyOther", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "dropFramesMode" },
18173
+ { no: 5, name: "start", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "dropFramesMode" },
18174
+ { no: 4, name: "jitter_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17027
18175
  ]);
17028
18176
 
17029
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoTransformConfiguration {
17030
- return new VideoTransformConfiguration().fromBinary(bytes, options);
18177
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamChaosMonkeyConfiguration {
18178
+ return new StreamChaosMonkeyConfiguration().fromBinary(bytes, options);
17031
18179
  }
17032
18180
 
17033
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoTransformConfiguration {
17034
- return new VideoTransformConfiguration().fromJson(jsonValue, options);
18181
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamChaosMonkeyConfiguration {
18182
+ return new StreamChaosMonkeyConfiguration().fromJson(jsonValue, options);
17035
18183
  }
17036
18184
 
17037
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoTransformConfiguration {
17038
- return new VideoTransformConfiguration().fromJsonString(jsonString, options);
18185
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamChaosMonkeyConfiguration {
18186
+ return new StreamChaosMonkeyConfiguration().fromJsonString(jsonString, options);
17039
18187
  }
17040
18188
 
17041
- static equals(a: VideoTransformConfiguration | PlainMessage<VideoTransformConfiguration> | undefined, b: VideoTransformConfiguration | PlainMessage<VideoTransformConfiguration> | undefined): boolean {
17042
- return proto3.util.equals(VideoTransformConfiguration, a, b);
18189
+ static equals(a: StreamChaosMonkeyConfiguration | PlainMessage<StreamChaosMonkeyConfiguration> | undefined, b: StreamChaosMonkeyConfiguration | PlainMessage<StreamChaosMonkeyConfiguration> | undefined): boolean {
18190
+ return proto3.util.equals(StreamChaosMonkeyConfiguration, a, b);
18191
+ }
18192
+ }
18193
+
18194
+ /**
18195
+ * @generated from message norsk.api.media.StreamChaosMonkeyMessage
18196
+ */
18197
+ export class StreamChaosMonkeyMessage extends Message<StreamChaosMonkeyMessage> {
18198
+ /**
18199
+ * @generated from oneof norsk.api.media.StreamChaosMonkeyMessage.message
18200
+ */
18201
+ message: {
18202
+ /**
18203
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
18204
+ */
18205
+ value: Subscription;
18206
+ case: "subscription";
18207
+ } | {
18208
+ /**
18209
+ * @generated from field: norsk.api.media.StreamChaosMonkeyConfiguration configuration = 2;
18210
+ */
18211
+ value: StreamChaosMonkeyConfiguration;
18212
+ case: "configuration";
18213
+ } | { case: undefined; value?: undefined } = { case: undefined };
18214
+
18215
+ constructor(data?: PartialMessage<StreamChaosMonkeyMessage>) {
18216
+ super();
18217
+ proto3.util.initPartial(data, this);
18218
+ }
18219
+
18220
+ static readonly runtime = proto3;
18221
+ static readonly typeName = "norsk.api.media.StreamChaosMonkeyMessage";
18222
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18223
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
18224
+ { no: 2, name: "configuration", kind: "message", T: StreamChaosMonkeyConfiguration, oneof: "message" },
18225
+ ]);
18226
+
18227
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamChaosMonkeyMessage {
18228
+ return new StreamChaosMonkeyMessage().fromBinary(bytes, options);
18229
+ }
18230
+
18231
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamChaosMonkeyMessage {
18232
+ return new StreamChaosMonkeyMessage().fromJson(jsonValue, options);
18233
+ }
18234
+
18235
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamChaosMonkeyMessage {
18236
+ return new StreamChaosMonkeyMessage().fromJsonString(jsonString, options);
18237
+ }
18238
+
18239
+ static equals(a: StreamChaosMonkeyMessage | PlainMessage<StreamChaosMonkeyMessage> | undefined, b: StreamChaosMonkeyMessage | PlainMessage<StreamChaosMonkeyMessage> | undefined): boolean {
18240
+ return proto3.util.equals(StreamChaosMonkeyMessage, a, b);
18241
+ }
18242
+ }
18243
+
18244
+ /**
18245
+ * @generated from message norsk.api.media.StreamChaosMonkeyEvent
18246
+ */
18247
+ export class StreamChaosMonkeyEvent extends Message<StreamChaosMonkeyEvent> {
18248
+ /**
18249
+ * @generated from oneof norsk.api.media.StreamChaosMonkeyEvent.message
18250
+ */
18251
+ message: {
18252
+ /**
18253
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
18254
+ */
18255
+ value: MediaNodeId;
18256
+ case: "nodeId";
18257
+ } | {
18258
+ /**
18259
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
18260
+ */
18261
+ value: Context;
18262
+ case: "outboundContext";
18263
+ } | {
18264
+ /**
18265
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
18266
+ */
18267
+ value: SubscriptionResponse;
18268
+ case: "subscriptionResponse";
18269
+ } | {
18270
+ /**
18271
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
18272
+ */
18273
+ value: Context;
18274
+ case: "inboundContext";
18275
+ } | { case: undefined; value?: undefined } = { case: undefined };
18276
+
18277
+ constructor(data?: PartialMessage<StreamChaosMonkeyEvent>) {
18278
+ super();
18279
+ proto3.util.initPartial(data, this);
18280
+ }
18281
+
18282
+ static readonly runtime = proto3;
18283
+ static readonly typeName = "norsk.api.media.StreamChaosMonkeyEvent";
18284
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18285
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
18286
+ { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
18287
+ { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
18288
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18289
+ ]);
18290
+
18291
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamChaosMonkeyEvent {
18292
+ return new StreamChaosMonkeyEvent().fromBinary(bytes, options);
18293
+ }
18294
+
18295
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamChaosMonkeyEvent {
18296
+ return new StreamChaosMonkeyEvent().fromJson(jsonValue, options);
18297
+ }
18298
+
18299
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamChaosMonkeyEvent {
18300
+ return new StreamChaosMonkeyEvent().fromJsonString(jsonString, options);
18301
+ }
18302
+
18303
+ static equals(a: StreamChaosMonkeyEvent | PlainMessage<StreamChaosMonkeyEvent> | undefined, b: StreamChaosMonkeyEvent | PlainMessage<StreamChaosMonkeyEvent> | undefined): boolean {
18304
+ return proto3.util.equals(StreamChaosMonkeyEvent, a, b);
18305
+ }
18306
+ }
18307
+
18308
+ /**
18309
+ * @generated from message norsk.api.media.StreamTimestampNudgeConfiguration
18310
+ */
18311
+ export class StreamTimestampNudgeConfiguration extends Message<StreamTimestampNudgeConfiguration> {
18312
+ /**
18313
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
18314
+ */
18315
+ id?: MediaNodeId;
18316
+
18317
+ /**
18318
+ * @generated from field: norsk.api.media.TimestampNudge nudge = 2;
18319
+ */
18320
+ nudge?: TimestampNudge;
18321
+
18322
+ constructor(data?: PartialMessage<StreamTimestampNudgeConfiguration>) {
18323
+ super();
18324
+ proto3.util.initPartial(data, this);
18325
+ }
18326
+
18327
+ static readonly runtime = proto3;
18328
+ static readonly typeName = "norsk.api.media.StreamTimestampNudgeConfiguration";
18329
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18330
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
18331
+ { no: 2, name: "nudge", kind: "message", T: TimestampNudge },
18332
+ ]);
18333
+
18334
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampNudgeConfiguration {
18335
+ return new StreamTimestampNudgeConfiguration().fromBinary(bytes, options);
18336
+ }
18337
+
18338
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampNudgeConfiguration {
18339
+ return new StreamTimestampNudgeConfiguration().fromJson(jsonValue, options);
18340
+ }
18341
+
18342
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampNudgeConfiguration {
18343
+ return new StreamTimestampNudgeConfiguration().fromJsonString(jsonString, options);
18344
+ }
18345
+
18346
+ static equals(a: StreamTimestampNudgeConfiguration | PlainMessage<StreamTimestampNudgeConfiguration> | undefined, b: StreamTimestampNudgeConfiguration | PlainMessage<StreamTimestampNudgeConfiguration> | undefined): boolean {
18347
+ return proto3.util.equals(StreamTimestampNudgeConfiguration, a, b);
17043
18348
  }
17044
18349
  }
17045
18350
 
17046
18351
  /**
17047
- * @generated from message norsk.api.media.VideoTransformMessage
18352
+ * @generated from message norsk.api.media.StreamTimestampNudgeMessage
17048
18353
  */
17049
- export class VideoTransformMessage extends Message<VideoTransformMessage> {
18354
+ export class StreamTimestampNudgeMessage extends Message<StreamTimestampNudgeMessage> {
17050
18355
  /**
17051
- * @generated from oneof norsk.api.media.VideoTransformMessage.message
18356
+ * @generated from oneof norsk.api.media.StreamTimestampNudgeMessage.message
17052
18357
  */
17053
18358
  message: {
17054
18359
  /**
17055
- * @generated from field: norsk.api.media.Subscription subscription = 1;
18360
+ * @generated from field: norsk.api.media.StreamTimestampNudgeConfiguration initial_config = 1;
17056
18361
  */
17057
- value: Subscription;
17058
- case: "subscription";
18362
+ value: StreamTimestampNudgeConfiguration;
18363
+ case: "initialConfig";
17059
18364
  } | {
17060
18365
  /**
17061
- * @generated from field: norsk.api.media.VideoTransformConfiguration configuration = 2;
18366
+ * @generated from field: norsk.api.media.TimestampNudge nudge = 2;
17062
18367
  */
17063
- value: VideoTransformConfiguration;
17064
- case: "configuration";
18368
+ value: TimestampNudge;
18369
+ case: "nudge";
18370
+ } | {
18371
+ /**
18372
+ * @generated from field: norsk.api.media.Subscription subscription = 3;
18373
+ */
18374
+ value: Subscription;
18375
+ case: "subscription";
17065
18376
  } | { case: undefined; value?: undefined } = { case: undefined };
17066
18377
 
17067
- constructor(data?: PartialMessage<VideoTransformMessage>) {
18378
+ constructor(data?: PartialMessage<StreamTimestampNudgeMessage>) {
17068
18379
  super();
17069
18380
  proto3.util.initPartial(data, this);
17070
18381
  }
17071
18382
 
17072
18383
  static readonly runtime = proto3;
17073
- static readonly typeName = "norsk.api.media.VideoTransformMessage";
18384
+ static readonly typeName = "norsk.api.media.StreamTimestampNudgeMessage";
17074
18385
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17075
- { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
17076
- { no: 2, name: "configuration", kind: "message", T: VideoTransformConfiguration, oneof: "message" },
18386
+ { no: 1, name: "initial_config", kind: "message", T: StreamTimestampNudgeConfiguration, oneof: "message" },
18387
+ { no: 2, name: "nudge", kind: "message", T: TimestampNudge, oneof: "message" },
18388
+ { no: 3, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
17077
18389
  ]);
17078
18390
 
17079
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoTransformMessage {
17080
- return new VideoTransformMessage().fromBinary(bytes, options);
18391
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampNudgeMessage {
18392
+ return new StreamTimestampNudgeMessage().fromBinary(bytes, options);
17081
18393
  }
17082
18394
 
17083
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoTransformMessage {
17084
- return new VideoTransformMessage().fromJson(jsonValue, options);
18395
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampNudgeMessage {
18396
+ return new StreamTimestampNudgeMessage().fromJson(jsonValue, options);
17085
18397
  }
17086
18398
 
17087
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoTransformMessage {
17088
- return new VideoTransformMessage().fromJsonString(jsonString, options);
18399
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampNudgeMessage {
18400
+ return new StreamTimestampNudgeMessage().fromJsonString(jsonString, options);
17089
18401
  }
17090
18402
 
17091
- static equals(a: VideoTransformMessage | PlainMessage<VideoTransformMessage> | undefined, b: VideoTransformMessage | PlainMessage<VideoTransformMessage> | undefined): boolean {
17092
- return proto3.util.equals(VideoTransformMessage, a, b);
18403
+ static equals(a: StreamTimestampNudgeMessage | PlainMessage<StreamTimestampNudgeMessage> | undefined, b: StreamTimestampNudgeMessage | PlainMessage<StreamTimestampNudgeMessage> | undefined): boolean {
18404
+ return proto3.util.equals(StreamTimestampNudgeMessage, a, b);
17093
18405
  }
17094
18406
  }
17095
18407
 
17096
18408
  /**
17097
- * @generated from message norsk.api.media.VideoTransformEvent
18409
+ * @generated from message norsk.api.media.StreamTimestampNudgeEvent
17098
18410
  */
17099
- export class VideoTransformEvent extends Message<VideoTransformEvent> {
18411
+ export class StreamTimestampNudgeEvent extends Message<StreamTimestampNudgeEvent> {
17100
18412
  /**
17101
- * @generated from oneof norsk.api.media.VideoTransformEvent.message
18413
+ * @generated from oneof norsk.api.media.StreamTimestampNudgeEvent.message
17102
18414
  */
17103
18415
  message: {
17104
18416
  /**
@@ -17126,13 +18438,13 @@ export class VideoTransformEvent extends Message<VideoTransformEvent> {
17126
18438
  case: "inboundContext";
17127
18439
  } | { case: undefined; value?: undefined } = { case: undefined };
17128
18440
 
17129
- constructor(data?: PartialMessage<VideoTransformEvent>) {
18441
+ constructor(data?: PartialMessage<StreamTimestampNudgeEvent>) {
17130
18442
  super();
17131
18443
  proto3.util.initPartial(data, this);
17132
18444
  }
17133
18445
 
17134
18446
  static readonly runtime = proto3;
17135
- static readonly typeName = "norsk.api.media.VideoTransformEvent";
18447
+ static readonly typeName = "norsk.api.media.StreamTimestampNudgeEvent";
17136
18448
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17137
18449
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
17138
18450
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
@@ -17140,268 +18452,373 @@ export class VideoTransformEvent extends Message<VideoTransformEvent> {
17140
18452
  { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17141
18453
  ]);
17142
18454
 
17143
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoTransformEvent {
17144
- return new VideoTransformEvent().fromBinary(bytes, options);
18455
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampNudgeEvent {
18456
+ return new StreamTimestampNudgeEvent().fromBinary(bytes, options);
17145
18457
  }
17146
18458
 
17147
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VideoTransformEvent {
17148
- return new VideoTransformEvent().fromJson(jsonValue, options);
18459
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampNudgeEvent {
18460
+ return new StreamTimestampNudgeEvent().fromJson(jsonValue, options);
17149
18461
  }
17150
18462
 
17151
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VideoTransformEvent {
17152
- return new VideoTransformEvent().fromJsonString(jsonString, options);
18463
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampNudgeEvent {
18464
+ return new StreamTimestampNudgeEvent().fromJsonString(jsonString, options);
17153
18465
  }
17154
18466
 
17155
- static equals(a: VideoTransformEvent | PlainMessage<VideoTransformEvent> | undefined, b: VideoTransformEvent | PlainMessage<VideoTransformEvent> | undefined): boolean {
17156
- return proto3.util.equals(VideoTransformEvent, a, b);
18467
+ static equals(a: StreamTimestampNudgeEvent | PlainMessage<StreamTimestampNudgeEvent> | undefined, b: StreamTimestampNudgeEvent | PlainMessage<StreamTimestampNudgeEvent> | undefined): boolean {
18468
+ return proto3.util.equals(StreamTimestampNudgeEvent, a, b);
17157
18469
  }
17158
18470
  }
17159
18471
 
17160
18472
  /**
17161
- * @generated from message norsk.api.media.StreamChaosMonkeyConfiguration
18473
+ * @generated from message norsk.api.media.StreamKeyOverrideConfiguration
17162
18474
  */
17163
- export class StreamChaosMonkeyConfiguration extends Message<StreamChaosMonkeyConfiguration> {
18475
+ export class StreamKeyOverrideConfiguration extends Message<StreamKeyOverrideConfiguration> {
17164
18476
  /**
17165
18477
  * @generated from field: norsk.api.media.MediaNodeId id = 1;
17166
18478
  */
17167
18479
  id?: MediaNodeId;
17168
18480
 
17169
18481
  /**
17170
- * @generated from oneof norsk.api.media.StreamChaosMonkeyConfiguration.dropFramesMode
18482
+ * @generated from field: norsk.api.media.StreamKey stream_key = 2;
17171
18483
  */
17172
- dropFramesMode: {
17173
- /**
17174
- * @generated from field: float random = 2;
17175
- */
17176
- value: number;
17177
- case: "random";
17178
- } | {
18484
+ streamKey?: StreamKey;
18485
+
18486
+ constructor(data?: PartialMessage<StreamKeyOverrideConfiguration>) {
18487
+ super();
18488
+ proto3.util.initPartial(data, this);
18489
+ }
18490
+
18491
+ static readonly runtime = proto3;
18492
+ static readonly typeName = "norsk.api.media.StreamKeyOverrideConfiguration";
18493
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
18494
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
18495
+ { no: 2, name: "stream_key", kind: "message", T: StreamKey },
18496
+ ]);
18497
+
18498
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamKeyOverrideConfiguration {
18499
+ return new StreamKeyOverrideConfiguration().fromBinary(bytes, options);
18500
+ }
18501
+
18502
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamKeyOverrideConfiguration {
18503
+ return new StreamKeyOverrideConfiguration().fromJson(jsonValue, options);
18504
+ }
18505
+
18506
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamKeyOverrideConfiguration {
18507
+ return new StreamKeyOverrideConfiguration().fromJsonString(jsonString, options);
18508
+ }
18509
+
18510
+ static equals(a: StreamKeyOverrideConfiguration | PlainMessage<StreamKeyOverrideConfiguration> | undefined, b: StreamKeyOverrideConfiguration | PlainMessage<StreamKeyOverrideConfiguration> | undefined): boolean {
18511
+ return proto3.util.equals(StreamKeyOverrideConfiguration, a, b);
18512
+ }
18513
+ }
18514
+
18515
+ /**
18516
+ * @generated from message norsk.api.media.StreamKeyOverrideMessage
18517
+ */
18518
+ export class StreamKeyOverrideMessage extends Message<StreamKeyOverrideMessage> {
18519
+ /**
18520
+ * @generated from oneof norsk.api.media.StreamKeyOverrideMessage.message
18521
+ */
18522
+ message: {
17179
18523
  /**
17180
- * @generated from field: uint32 everyOther = 3;
18524
+ * @generated from field: norsk.api.media.StreamKeyOverrideConfiguration initial_config = 1;
17181
18525
  */
17182
- value: number;
17183
- case: "everyOther";
18526
+ value: StreamKeyOverrideConfiguration;
18527
+ case: "initialConfig";
17184
18528
  } | {
17185
18529
  /**
17186
- * @generated from field: uint32 start = 5;
18530
+ * @generated from field: norsk.api.media.Subscription subscription = 2;
17187
18531
  */
17188
- value: number;
17189
- case: "start";
18532
+ value: Subscription;
18533
+ case: "subscription";
17190
18534
  } | { case: undefined; value?: undefined } = { case: undefined };
17191
18535
 
17192
- /**
17193
- * @generated from field: uint32 jitter_ms = 4;
17194
- */
17195
- jitterMs = 0;
17196
-
17197
- constructor(data?: PartialMessage<StreamChaosMonkeyConfiguration>) {
18536
+ constructor(data?: PartialMessage<StreamKeyOverrideMessage>) {
17198
18537
  super();
17199
18538
  proto3.util.initPartial(data, this);
17200
18539
  }
17201
18540
 
17202
18541
  static readonly runtime = proto3;
17203
- static readonly typeName = "norsk.api.media.StreamChaosMonkeyConfiguration";
18542
+ static readonly typeName = "norsk.api.media.StreamKeyOverrideMessage";
17204
18543
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17205
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
17206
- { no: 2, name: "random", kind: "scalar", T: 2 /* ScalarType.FLOAT */, oneof: "dropFramesMode" },
17207
- { no: 3, name: "everyOther", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "dropFramesMode" },
17208
- { no: 5, name: "start", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "dropFramesMode" },
17209
- { no: 4, name: "jitter_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
18544
+ { no: 1, name: "initial_config", kind: "message", T: StreamKeyOverrideConfiguration, oneof: "message" },
18545
+ { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
17210
18546
  ]);
17211
18547
 
17212
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamChaosMonkeyConfiguration {
17213
- return new StreamChaosMonkeyConfiguration().fromBinary(bytes, options);
18548
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamKeyOverrideMessage {
18549
+ return new StreamKeyOverrideMessage().fromBinary(bytes, options);
17214
18550
  }
17215
18551
 
17216
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamChaosMonkeyConfiguration {
17217
- return new StreamChaosMonkeyConfiguration().fromJson(jsonValue, options);
18552
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamKeyOverrideMessage {
18553
+ return new StreamKeyOverrideMessage().fromJson(jsonValue, options);
17218
18554
  }
17219
18555
 
17220
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamChaosMonkeyConfiguration {
17221
- return new StreamChaosMonkeyConfiguration().fromJsonString(jsonString, options);
18556
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamKeyOverrideMessage {
18557
+ return new StreamKeyOverrideMessage().fromJsonString(jsonString, options);
17222
18558
  }
17223
18559
 
17224
- static equals(a: StreamChaosMonkeyConfiguration | PlainMessage<StreamChaosMonkeyConfiguration> | undefined, b: StreamChaosMonkeyConfiguration | PlainMessage<StreamChaosMonkeyConfiguration> | undefined): boolean {
17225
- return proto3.util.equals(StreamChaosMonkeyConfiguration, a, b);
18560
+ static equals(a: StreamKeyOverrideMessage | PlainMessage<StreamKeyOverrideMessage> | undefined, b: StreamKeyOverrideMessage | PlainMessage<StreamKeyOverrideMessage> | undefined): boolean {
18561
+ return proto3.util.equals(StreamKeyOverrideMessage, a, b);
17226
18562
  }
17227
18563
  }
17228
18564
 
17229
18565
  /**
17230
- * @generated from message norsk.api.media.StreamChaosMonkeyMessage
18566
+ * @generated from message norsk.api.media.StreamKeyOverrideEvent
17231
18567
  */
17232
- export class StreamChaosMonkeyMessage extends Message<StreamChaosMonkeyMessage> {
18568
+ export class StreamKeyOverrideEvent extends Message<StreamKeyOverrideEvent> {
17233
18569
  /**
17234
- * @generated from oneof norsk.api.media.StreamChaosMonkeyMessage.message
18570
+ * @generated from oneof norsk.api.media.StreamKeyOverrideEvent.message
17235
18571
  */
17236
18572
  message: {
17237
18573
  /**
17238
- * @generated from field: norsk.api.media.Subscription subscription = 1;
18574
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
17239
18575
  */
17240
- value: Subscription;
17241
- case: "subscription";
18576
+ value: MediaNodeId;
18577
+ case: "nodeId";
17242
18578
  } | {
17243
18579
  /**
17244
- * @generated from field: norsk.api.media.StreamChaosMonkeyConfiguration configuration = 2;
18580
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
17245
18581
  */
17246
- value: StreamChaosMonkeyConfiguration;
17247
- case: "configuration";
18582
+ value: Context;
18583
+ case: "outboundContext";
18584
+ } | {
18585
+ /**
18586
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
18587
+ */
18588
+ value: SubscriptionResponse;
18589
+ case: "subscriptionResponse";
18590
+ } | {
18591
+ /**
18592
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
18593
+ */
18594
+ value: Context;
18595
+ case: "inboundContext";
17248
18596
  } | { case: undefined; value?: undefined } = { case: undefined };
17249
18597
 
17250
- constructor(data?: PartialMessage<StreamChaosMonkeyMessage>) {
18598
+ constructor(data?: PartialMessage<StreamKeyOverrideEvent>) {
17251
18599
  super();
17252
18600
  proto3.util.initPartial(data, this);
17253
18601
  }
17254
18602
 
17255
18603
  static readonly runtime = proto3;
17256
- static readonly typeName = "norsk.api.media.StreamChaosMonkeyMessage";
18604
+ static readonly typeName = "norsk.api.media.StreamKeyOverrideEvent";
17257
18605
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17258
- { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
17259
- { no: 2, name: "configuration", kind: "message", T: StreamChaosMonkeyConfiguration, oneof: "message" },
18606
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
18607
+ { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
18608
+ { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
18609
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17260
18610
  ]);
17261
18611
 
17262
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamChaosMonkeyMessage {
17263
- return new StreamChaosMonkeyMessage().fromBinary(bytes, options);
18612
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamKeyOverrideEvent {
18613
+ return new StreamKeyOverrideEvent().fromBinary(bytes, options);
18614
+ }
18615
+
18616
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamKeyOverrideEvent {
18617
+ return new StreamKeyOverrideEvent().fromJson(jsonValue, options);
18618
+ }
18619
+
18620
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamKeyOverrideEvent {
18621
+ return new StreamKeyOverrideEvent().fromJsonString(jsonString, options);
18622
+ }
18623
+
18624
+ static equals(a: StreamKeyOverrideEvent | PlainMessage<StreamKeyOverrideEvent> | undefined, b: StreamKeyOverrideEvent | PlainMessage<StreamKeyOverrideEvent> | undefined): boolean {
18625
+ return proto3.util.equals(StreamKeyOverrideEvent, a, b);
17264
18626
  }
18627
+ }
18628
+
18629
+ /**
18630
+ * @generated from message norsk.api.media.StreamMetadataOverrideConfiguration
18631
+ */
18632
+ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataOverrideConfiguration> {
18633
+ /**
18634
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
18635
+ */
18636
+ id?: MediaNodeId;
18637
+
18638
+ /**
18639
+ * * Override the bitrate metadata of a compressed video stream, or `0` to
18640
+ * clear
18641
+ *
18642
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
18643
+ */
18644
+ videoBitrate?: OptionalInt;
18645
+
18646
+ /**
18647
+ * * Override the bitrate metadata of a compressed audio stream, or `0` to
18648
+ * clear
18649
+ *
18650
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
18651
+ */
18652
+ audioBitrate?: OptionalInt;
17265
18653
 
17266
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamChaosMonkeyMessage {
17267
- return new StreamChaosMonkeyMessage().fromJson(jsonValue, options);
17268
- }
18654
+ /**
18655
+ * * Override the language metadata of an audio stream, or `""` to clear. RFC
18656
+ * 5646 language tag.
18657
+ *
18658
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
18659
+ */
18660
+ audioLanguage?: OptionalString;
17269
18661
 
17270
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamChaosMonkeyMessage {
17271
- return new StreamChaosMonkeyMessage().fromJsonString(jsonString, options);
17272
- }
18662
+ /**
18663
+ * * Override the language metadata of a subtitles stream, or `""` to clear RFC
18664
+ * 5646 language tag.
18665
+ *
18666
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
18667
+ */
18668
+ subtitlesLanguage?: OptionalString;
17273
18669
 
17274
- static equals(a: StreamChaosMonkeyMessage | PlainMessage<StreamChaosMonkeyMessage> | undefined, b: StreamChaosMonkeyMessage | PlainMessage<StreamChaosMonkeyMessage> | undefined): boolean {
17275
- return proto3.util.equals(StreamChaosMonkeyMessage, a, b);
17276
- }
17277
- }
18670
+ /**
18671
+ * * Override the property of whether a subtitles string is the default/primary
18672
+ * rendition or not
18673
+ *
18674
+ * @generated from field: norsk.api.common.OptionalBool subtitles_default = 6;
18675
+ */
18676
+ subtitlesDefault?: OptionalBool;
17278
18677
 
17279
- /**
17280
- * @generated from message norsk.api.media.StreamChaosMonkeyEvent
17281
- */
17282
- export class StreamChaosMonkeyEvent extends Message<StreamChaosMonkeyEvent> {
17283
18678
  /**
17284
- * @generated from oneof norsk.api.media.StreamChaosMonkeyEvent.message
18679
+ * * Override the name of a playlist
18680
+ *
18681
+ * @generated from field: norsk.api.common.OptionalString playlist_name = 7;
17285
18682
  */
17286
- message: {
17287
- /**
17288
- * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
17289
- */
17290
- value: MediaNodeId;
17291
- case: "nodeId";
17292
- } | {
17293
- /**
17294
- * @generated from field: norsk.api.media.Context outbound_context = 2;
17295
- */
17296
- value: Context;
17297
- case: "outboundContext";
17298
- } | {
17299
- /**
17300
- * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
17301
- */
17302
- value: SubscriptionResponse;
17303
- case: "subscriptionResponse";
17304
- } | {
17305
- /**
17306
- * @generated from field: norsk.api.media.Context inbound_context = 4;
17307
- */
17308
- value: Context;
17309
- case: "inboundContext";
17310
- } | { case: undefined; value?: undefined } = { case: undefined };
18683
+ playlistName?: OptionalString;
17311
18684
 
17312
- constructor(data?: PartialMessage<StreamChaosMonkeyEvent>) {
18685
+ constructor(data?: PartialMessage<StreamMetadataOverrideConfiguration>) {
17313
18686
  super();
17314
18687
  proto3.util.initPartial(data, this);
17315
18688
  }
17316
18689
 
17317
18690
  static readonly runtime = proto3;
17318
- static readonly typeName = "norsk.api.media.StreamChaosMonkeyEvent";
18691
+ static readonly typeName = "norsk.api.media.StreamMetadataOverrideConfiguration";
17319
18692
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17320
- { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
17321
- { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
17322
- { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
17323
- { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18693
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
18694
+ { no: 2, name: "video_bitrate", kind: "message", T: OptionalInt },
18695
+ { no: 3, name: "audio_bitrate", kind: "message", T: OptionalInt },
18696
+ { no: 4, name: "audio_language", kind: "message", T: OptionalString },
18697
+ { no: 5, name: "subtitles_language", kind: "message", T: OptionalString },
18698
+ { no: 6, name: "subtitles_default", kind: "message", T: OptionalBool },
18699
+ { no: 7, name: "playlist_name", kind: "message", T: OptionalString },
17324
18700
  ]);
17325
18701
 
17326
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamChaosMonkeyEvent {
17327
- return new StreamChaosMonkeyEvent().fromBinary(bytes, options);
18702
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadataOverrideConfiguration {
18703
+ return new StreamMetadataOverrideConfiguration().fromBinary(bytes, options);
17328
18704
  }
17329
18705
 
17330
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamChaosMonkeyEvent {
17331
- return new StreamChaosMonkeyEvent().fromJson(jsonValue, options);
18706
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamMetadataOverrideConfiguration {
18707
+ return new StreamMetadataOverrideConfiguration().fromJson(jsonValue, options);
17332
18708
  }
17333
18709
 
17334
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamChaosMonkeyEvent {
17335
- return new StreamChaosMonkeyEvent().fromJsonString(jsonString, options);
18710
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamMetadataOverrideConfiguration {
18711
+ return new StreamMetadataOverrideConfiguration().fromJsonString(jsonString, options);
17336
18712
  }
17337
18713
 
17338
- static equals(a: StreamChaosMonkeyEvent | PlainMessage<StreamChaosMonkeyEvent> | undefined, b: StreamChaosMonkeyEvent | PlainMessage<StreamChaosMonkeyEvent> | undefined): boolean {
17339
- return proto3.util.equals(StreamChaosMonkeyEvent, a, b);
18714
+ static equals(a: StreamMetadataOverrideConfiguration | PlainMessage<StreamMetadataOverrideConfiguration> | undefined, b: StreamMetadataOverrideConfiguration | PlainMessage<StreamMetadataOverrideConfiguration> | undefined): boolean {
18715
+ return proto3.util.equals(StreamMetadataOverrideConfiguration, a, b);
17340
18716
  }
17341
18717
  }
17342
18718
 
17343
18719
  /**
17344
- * @generated from message norsk.api.media.StreamTimestampNudgeConfiguration
18720
+ * @generated from message norsk.api.media.StreamMetadataOverrideUpdateConfiguration
17345
18721
  */
17346
- export class StreamTimestampNudgeConfiguration extends Message<StreamTimestampNudgeConfiguration> {
18722
+ export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMetadataOverrideUpdateConfiguration> {
17347
18723
  /**
17348
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
18724
+ * * Override the bitrate metadata of a compressed video stream, or `0` to
18725
+ * clear
18726
+ *
18727
+ * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
17349
18728
  */
17350
- id?: MediaNodeId;
18729
+ videoBitrate?: OptionalInt;
17351
18730
 
17352
18731
  /**
17353
- * @generated from field: norsk.api.media.TimestampNudge nudge = 2;
18732
+ * * Override the bitrate metadata of a compressed audio stream, or `0` to
18733
+ * clear
18734
+ *
18735
+ * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
17354
18736
  */
17355
- nudge?: TimestampNudge;
18737
+ audioBitrate?: OptionalInt;
17356
18738
 
17357
- constructor(data?: PartialMessage<StreamTimestampNudgeConfiguration>) {
18739
+ /**
18740
+ * * Override the language metadata of an audio stream, or `""` to clear. RFC
18741
+ * 5646 language tag.
18742
+ *
18743
+ * @generated from field: norsk.api.common.OptionalString audio_language = 4;
18744
+ */
18745
+ audioLanguage?: OptionalString;
18746
+
18747
+ /**
18748
+ * * Override the language metadata of a subtitles stream, or `""` to clear.
18749
+ * RFC 5646 language tag.
18750
+ *
18751
+ * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
18752
+ */
18753
+ subtitlesLanguage?: OptionalString;
18754
+
18755
+ /**
18756
+ * * Override the property of whether a subtitles string is the default/primary
18757
+ * rendition or not
18758
+ *
18759
+ * @generated from field: norsk.api.common.OptionalBool subtitles_default = 6;
18760
+ */
18761
+ subtitlesDefault?: OptionalBool;
18762
+
18763
+ /**
18764
+ * * Override the name of a playlist
18765
+ *
18766
+ * @generated from field: norsk.api.common.OptionalString playlist_name = 7;
18767
+ */
18768
+ playlistName?: OptionalString;
18769
+
18770
+ constructor(data?: PartialMessage<StreamMetadataOverrideUpdateConfiguration>) {
17358
18771
  super();
17359
18772
  proto3.util.initPartial(data, this);
17360
18773
  }
17361
18774
 
17362
18775
  static readonly runtime = proto3;
17363
- static readonly typeName = "norsk.api.media.StreamTimestampNudgeConfiguration";
18776
+ static readonly typeName = "norsk.api.media.StreamMetadataOverrideUpdateConfiguration";
17364
18777
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17365
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
17366
- { no: 2, name: "nudge", kind: "message", T: TimestampNudge },
18778
+ { no: 2, name: "video_bitrate", kind: "message", T: OptionalInt },
18779
+ { no: 3, name: "audio_bitrate", kind: "message", T: OptionalInt },
18780
+ { no: 4, name: "audio_language", kind: "message", T: OptionalString },
18781
+ { no: 5, name: "subtitles_language", kind: "message", T: OptionalString },
18782
+ { no: 6, name: "subtitles_default", kind: "message", T: OptionalBool },
18783
+ { no: 7, name: "playlist_name", kind: "message", T: OptionalString },
17367
18784
  ]);
17368
18785
 
17369
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampNudgeConfiguration {
17370
- return new StreamTimestampNudgeConfiguration().fromBinary(bytes, options);
18786
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadataOverrideUpdateConfiguration {
18787
+ return new StreamMetadataOverrideUpdateConfiguration().fromBinary(bytes, options);
17371
18788
  }
17372
18789
 
17373
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampNudgeConfiguration {
17374
- return new StreamTimestampNudgeConfiguration().fromJson(jsonValue, options);
18790
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamMetadataOverrideUpdateConfiguration {
18791
+ return new StreamMetadataOverrideUpdateConfiguration().fromJson(jsonValue, options);
17375
18792
  }
17376
18793
 
17377
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampNudgeConfiguration {
17378
- return new StreamTimestampNudgeConfiguration().fromJsonString(jsonString, options);
18794
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamMetadataOverrideUpdateConfiguration {
18795
+ return new StreamMetadataOverrideUpdateConfiguration().fromJsonString(jsonString, options);
17379
18796
  }
17380
18797
 
17381
- static equals(a: StreamTimestampNudgeConfiguration | PlainMessage<StreamTimestampNudgeConfiguration> | undefined, b: StreamTimestampNudgeConfiguration | PlainMessage<StreamTimestampNudgeConfiguration> | undefined): boolean {
17382
- return proto3.util.equals(StreamTimestampNudgeConfiguration, a, b);
18798
+ static equals(a: StreamMetadataOverrideUpdateConfiguration | PlainMessage<StreamMetadataOverrideUpdateConfiguration> | undefined, b: StreamMetadataOverrideUpdateConfiguration | PlainMessage<StreamMetadataOverrideUpdateConfiguration> | undefined): boolean {
18799
+ return proto3.util.equals(StreamMetadataOverrideUpdateConfiguration, a, b);
17383
18800
  }
17384
18801
  }
17385
18802
 
17386
18803
  /**
17387
- * @generated from message norsk.api.media.StreamTimestampNudgeMessage
18804
+ * @generated from message norsk.api.media.StreamMetadataOverrideMessage
17388
18805
  */
17389
- export class StreamTimestampNudgeMessage extends Message<StreamTimestampNudgeMessage> {
18806
+ export class StreamMetadataOverrideMessage extends Message<StreamMetadataOverrideMessage> {
17390
18807
  /**
17391
- * @generated from oneof norsk.api.media.StreamTimestampNudgeMessage.message
18808
+ * @generated from oneof norsk.api.media.StreamMetadataOverrideMessage.message
17392
18809
  */
17393
18810
  message: {
17394
18811
  /**
17395
- * @generated from field: norsk.api.media.StreamTimestampNudgeConfiguration initial_config = 1;
18812
+ * @generated from field: norsk.api.media.StreamMetadataOverrideConfiguration initial_config = 1;
17396
18813
  */
17397
- value: StreamTimestampNudgeConfiguration;
18814
+ value: StreamMetadataOverrideConfiguration;
17398
18815
  case: "initialConfig";
17399
18816
  } | {
17400
18817
  /**
17401
- * @generated from field: norsk.api.media.TimestampNudge nudge = 2;
18818
+ * @generated from field: norsk.api.media.StreamMetadataOverrideUpdateConfiguration update_config = 2;
17402
18819
  */
17403
- value: TimestampNudge;
17404
- case: "nudge";
18820
+ value: StreamMetadataOverrideUpdateConfiguration;
18821
+ case: "updateConfig";
17405
18822
  } | {
17406
18823
  /**
17407
18824
  * @generated from field: norsk.api.media.Subscription subscription = 3;
@@ -17410,42 +18827,42 @@ export class StreamTimestampNudgeMessage extends Message<StreamTimestampNudgeMes
17410
18827
  case: "subscription";
17411
18828
  } | { case: undefined; value?: undefined } = { case: undefined };
17412
18829
 
17413
- constructor(data?: PartialMessage<StreamTimestampNudgeMessage>) {
18830
+ constructor(data?: PartialMessage<StreamMetadataOverrideMessage>) {
17414
18831
  super();
17415
18832
  proto3.util.initPartial(data, this);
17416
18833
  }
17417
18834
 
17418
18835
  static readonly runtime = proto3;
17419
- static readonly typeName = "norsk.api.media.StreamTimestampNudgeMessage";
18836
+ static readonly typeName = "norsk.api.media.StreamMetadataOverrideMessage";
17420
18837
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17421
- { no: 1, name: "initial_config", kind: "message", T: StreamTimestampNudgeConfiguration, oneof: "message" },
17422
- { no: 2, name: "nudge", kind: "message", T: TimestampNudge, oneof: "message" },
18838
+ { no: 1, name: "initial_config", kind: "message", T: StreamMetadataOverrideConfiguration, oneof: "message" },
18839
+ { no: 2, name: "update_config", kind: "message", T: StreamMetadataOverrideUpdateConfiguration, oneof: "message" },
17423
18840
  { no: 3, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
17424
18841
  ]);
17425
18842
 
17426
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampNudgeMessage {
17427
- return new StreamTimestampNudgeMessage().fromBinary(bytes, options);
18843
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadataOverrideMessage {
18844
+ return new StreamMetadataOverrideMessage().fromBinary(bytes, options);
17428
18845
  }
17429
18846
 
17430
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampNudgeMessage {
17431
- return new StreamTimestampNudgeMessage().fromJson(jsonValue, options);
18847
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamMetadataOverrideMessage {
18848
+ return new StreamMetadataOverrideMessage().fromJson(jsonValue, options);
17432
18849
  }
17433
18850
 
17434
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampNudgeMessage {
17435
- return new StreamTimestampNudgeMessage().fromJsonString(jsonString, options);
18851
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamMetadataOverrideMessage {
18852
+ return new StreamMetadataOverrideMessage().fromJsonString(jsonString, options);
17436
18853
  }
17437
18854
 
17438
- static equals(a: StreamTimestampNudgeMessage | PlainMessage<StreamTimestampNudgeMessage> | undefined, b: StreamTimestampNudgeMessage | PlainMessage<StreamTimestampNudgeMessage> | undefined): boolean {
17439
- return proto3.util.equals(StreamTimestampNudgeMessage, a, b);
18855
+ static equals(a: StreamMetadataOverrideMessage | PlainMessage<StreamMetadataOverrideMessage> | undefined, b: StreamMetadataOverrideMessage | PlainMessage<StreamMetadataOverrideMessage> | undefined): boolean {
18856
+ return proto3.util.equals(StreamMetadataOverrideMessage, a, b);
17440
18857
  }
17441
18858
  }
17442
18859
 
17443
18860
  /**
17444
- * @generated from message norsk.api.media.StreamTimestampNudgeEvent
18861
+ * @generated from message norsk.api.media.StreamMetadataOverrideEvent
17445
18862
  */
17446
- export class StreamTimestampNudgeEvent extends Message<StreamTimestampNudgeEvent> {
18863
+ export class StreamMetadataOverrideEvent extends Message<StreamMetadataOverrideEvent> {
17447
18864
  /**
17448
- * @generated from oneof norsk.api.media.StreamTimestampNudgeEvent.message
18865
+ * @generated from oneof norsk.api.media.StreamMetadataOverrideEvent.message
17449
18866
  */
17450
18867
  message: {
17451
18868
  /**
@@ -17473,13 +18890,13 @@ export class StreamTimestampNudgeEvent extends Message<StreamTimestampNudgeEvent
17473
18890
  case: "inboundContext";
17474
18891
  } | { case: undefined; value?: undefined } = { case: undefined };
17475
18892
 
17476
- constructor(data?: PartialMessage<StreamTimestampNudgeEvent>) {
18893
+ constructor(data?: PartialMessage<StreamMetadataOverrideEvent>) {
17477
18894
  super();
17478
18895
  proto3.util.initPartial(data, this);
17479
18896
  }
17480
18897
 
17481
18898
  static readonly runtime = proto3;
17482
- static readonly typeName = "norsk.api.media.StreamTimestampNudgeEvent";
18899
+ static readonly typeName = "norsk.api.media.StreamMetadataOverrideEvent";
17483
18900
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17484
18901
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
17485
18902
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
@@ -17487,78 +18904,78 @@ export class StreamTimestampNudgeEvent extends Message<StreamTimestampNudgeEvent
17487
18904
  { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17488
18905
  ]);
17489
18906
 
17490
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampNudgeEvent {
17491
- return new StreamTimestampNudgeEvent().fromBinary(bytes, options);
18907
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadataOverrideEvent {
18908
+ return new StreamMetadataOverrideEvent().fromBinary(bytes, options);
17492
18909
  }
17493
18910
 
17494
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTimestampNudgeEvent {
17495
- return new StreamTimestampNudgeEvent().fromJson(jsonValue, options);
18911
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamMetadataOverrideEvent {
18912
+ return new StreamMetadataOverrideEvent().fromJson(jsonValue, options);
17496
18913
  }
17497
18914
 
17498
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTimestampNudgeEvent {
17499
- return new StreamTimestampNudgeEvent().fromJsonString(jsonString, options);
18915
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamMetadataOverrideEvent {
18916
+ return new StreamMetadataOverrideEvent().fromJsonString(jsonString, options);
17500
18917
  }
17501
18918
 
17502
- static equals(a: StreamTimestampNudgeEvent | PlainMessage<StreamTimestampNudgeEvent> | undefined, b: StreamTimestampNudgeEvent | PlainMessage<StreamTimestampNudgeEvent> | undefined): boolean {
17503
- return proto3.util.equals(StreamTimestampNudgeEvent, a, b);
18919
+ static equals(a: StreamMetadataOverrideEvent | PlainMessage<StreamMetadataOverrideEvent> | undefined, b: StreamMetadataOverrideEvent | PlainMessage<StreamMetadataOverrideEvent> | undefined): boolean {
18920
+ return proto3.util.equals(StreamMetadataOverrideEvent, a, b);
17504
18921
  }
17505
18922
  }
17506
18923
 
17507
18924
  /**
17508
- * @generated from message norsk.api.media.StreamKeyOverrideConfiguration
18925
+ * @generated from message norsk.api.media.JitterBufferConfiguration
17509
18926
  */
17510
- export class StreamKeyOverrideConfiguration extends Message<StreamKeyOverrideConfiguration> {
18927
+ export class JitterBufferConfiguration extends Message<JitterBufferConfiguration> {
17511
18928
  /**
17512
18929
  * @generated from field: norsk.api.media.MediaNodeId id = 1;
17513
18930
  */
17514
18931
  id?: MediaNodeId;
17515
18932
 
17516
18933
  /**
17517
- * @generated from field: norsk.api.media.StreamKey stream_key = 2;
18934
+ * @generated from field: uint32 delay_ms = 2;
17518
18935
  */
17519
- streamKey?: StreamKey;
18936
+ delayMs = 0;
17520
18937
 
17521
- constructor(data?: PartialMessage<StreamKeyOverrideConfiguration>) {
18938
+ constructor(data?: PartialMessage<JitterBufferConfiguration>) {
17522
18939
  super();
17523
18940
  proto3.util.initPartial(data, this);
17524
18941
  }
17525
18942
 
17526
18943
  static readonly runtime = proto3;
17527
- static readonly typeName = "norsk.api.media.StreamKeyOverrideConfiguration";
18944
+ static readonly typeName = "norsk.api.media.JitterBufferConfiguration";
17528
18945
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17529
18946
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
17530
- { no: 2, name: "stream_key", kind: "message", T: StreamKey },
18947
+ { no: 2, name: "delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
17531
18948
  ]);
17532
18949
 
17533
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamKeyOverrideConfiguration {
17534
- return new StreamKeyOverrideConfiguration().fromBinary(bytes, options);
18950
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JitterBufferConfiguration {
18951
+ return new JitterBufferConfiguration().fromBinary(bytes, options);
17535
18952
  }
17536
-
17537
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamKeyOverrideConfiguration {
17538
- return new StreamKeyOverrideConfiguration().fromJson(jsonValue, options);
18953
+
18954
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JitterBufferConfiguration {
18955
+ return new JitterBufferConfiguration().fromJson(jsonValue, options);
17539
18956
  }
17540
18957
 
17541
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamKeyOverrideConfiguration {
17542
- return new StreamKeyOverrideConfiguration().fromJsonString(jsonString, options);
18958
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JitterBufferConfiguration {
18959
+ return new JitterBufferConfiguration().fromJsonString(jsonString, options);
17543
18960
  }
17544
18961
 
17545
- static equals(a: StreamKeyOverrideConfiguration | PlainMessage<StreamKeyOverrideConfiguration> | undefined, b: StreamKeyOverrideConfiguration | PlainMessage<StreamKeyOverrideConfiguration> | undefined): boolean {
17546
- return proto3.util.equals(StreamKeyOverrideConfiguration, a, b);
18962
+ static equals(a: JitterBufferConfiguration | PlainMessage<JitterBufferConfiguration> | undefined, b: JitterBufferConfiguration | PlainMessage<JitterBufferConfiguration> | undefined): boolean {
18963
+ return proto3.util.equals(JitterBufferConfiguration, a, b);
17547
18964
  }
17548
18965
  }
17549
18966
 
17550
18967
  /**
17551
- * @generated from message norsk.api.media.StreamKeyOverrideMessage
18968
+ * @generated from message norsk.api.media.JitterBufferMessage
17552
18969
  */
17553
- export class StreamKeyOverrideMessage extends Message<StreamKeyOverrideMessage> {
18970
+ export class JitterBufferMessage extends Message<JitterBufferMessage> {
17554
18971
  /**
17555
- * @generated from oneof norsk.api.media.StreamKeyOverrideMessage.message
18972
+ * @generated from oneof norsk.api.media.JitterBufferMessage.message
17556
18973
  */
17557
18974
  message: {
17558
18975
  /**
17559
- * @generated from field: norsk.api.media.StreamKeyOverrideConfiguration initial_config = 1;
18976
+ * @generated from field: norsk.api.media.JitterBufferConfiguration initial_config = 1;
17560
18977
  */
17561
- value: StreamKeyOverrideConfiguration;
18978
+ value: JitterBufferConfiguration;
17562
18979
  case: "initialConfig";
17563
18980
  } | {
17564
18981
  /**
@@ -17568,41 +18985,41 @@ export class StreamKeyOverrideMessage extends Message<StreamKeyOverrideMessage>
17568
18985
  case: "subscription";
17569
18986
  } | { case: undefined; value?: undefined } = { case: undefined };
17570
18987
 
17571
- constructor(data?: PartialMessage<StreamKeyOverrideMessage>) {
18988
+ constructor(data?: PartialMessage<JitterBufferMessage>) {
17572
18989
  super();
17573
18990
  proto3.util.initPartial(data, this);
17574
18991
  }
17575
18992
 
17576
18993
  static readonly runtime = proto3;
17577
- static readonly typeName = "norsk.api.media.StreamKeyOverrideMessage";
18994
+ static readonly typeName = "norsk.api.media.JitterBufferMessage";
17578
18995
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17579
- { no: 1, name: "initial_config", kind: "message", T: StreamKeyOverrideConfiguration, oneof: "message" },
18996
+ { no: 1, name: "initial_config", kind: "message", T: JitterBufferConfiguration, oneof: "message" },
17580
18997
  { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
17581
18998
  ]);
17582
18999
 
17583
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamKeyOverrideMessage {
17584
- return new StreamKeyOverrideMessage().fromBinary(bytes, options);
19000
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JitterBufferMessage {
19001
+ return new JitterBufferMessage().fromBinary(bytes, options);
17585
19002
  }
17586
19003
 
17587
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamKeyOverrideMessage {
17588
- return new StreamKeyOverrideMessage().fromJson(jsonValue, options);
19004
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JitterBufferMessage {
19005
+ return new JitterBufferMessage().fromJson(jsonValue, options);
17589
19006
  }
17590
19007
 
17591
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamKeyOverrideMessage {
17592
- return new StreamKeyOverrideMessage().fromJsonString(jsonString, options);
19008
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JitterBufferMessage {
19009
+ return new JitterBufferMessage().fromJsonString(jsonString, options);
17593
19010
  }
17594
19011
 
17595
- static equals(a: StreamKeyOverrideMessage | PlainMessage<StreamKeyOverrideMessage> | undefined, b: StreamKeyOverrideMessage | PlainMessage<StreamKeyOverrideMessage> | undefined): boolean {
17596
- return proto3.util.equals(StreamKeyOverrideMessage, a, b);
19012
+ static equals(a: JitterBufferMessage | PlainMessage<JitterBufferMessage> | undefined, b: JitterBufferMessage | PlainMessage<JitterBufferMessage> | undefined): boolean {
19013
+ return proto3.util.equals(JitterBufferMessage, a, b);
17597
19014
  }
17598
19015
  }
17599
19016
 
17600
19017
  /**
17601
- * @generated from message norsk.api.media.StreamKeyOverrideEvent
19018
+ * @generated from message norsk.api.media.JitterBufferEvent
17602
19019
  */
17603
- export class StreamKeyOverrideEvent extends Message<StreamKeyOverrideEvent> {
19020
+ export class JitterBufferEvent extends Message<JitterBufferEvent> {
17604
19021
  /**
17605
- * @generated from oneof norsk.api.media.StreamKeyOverrideEvent.message
19022
+ * @generated from oneof norsk.api.media.JitterBufferEvent.message
17606
19023
  */
17607
19024
  message: {
17608
19025
  /**
@@ -17630,13 +19047,13 @@ export class StreamKeyOverrideEvent extends Message<StreamKeyOverrideEvent> {
17630
19047
  case: "inboundContext";
17631
19048
  } | { case: undefined; value?: undefined } = { case: undefined };
17632
19049
 
17633
- constructor(data?: PartialMessage<StreamKeyOverrideEvent>) {
19050
+ constructor(data?: PartialMessage<JitterBufferEvent>) {
17634
19051
  super();
17635
19052
  proto3.util.initPartial(data, this);
17636
19053
  }
17637
19054
 
17638
19055
  static readonly runtime = proto3;
17639
- static readonly typeName = "norsk.api.media.StreamKeyOverrideEvent";
19056
+ static readonly typeName = "norsk.api.media.JitterBufferEvent";
17640
19057
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17641
19058
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
17642
19059
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
@@ -17644,258 +19061,116 @@ export class StreamKeyOverrideEvent extends Message<StreamKeyOverrideEvent> {
17644
19061
  { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17645
19062
  ]);
17646
19063
 
17647
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamKeyOverrideEvent {
17648
- return new StreamKeyOverrideEvent().fromBinary(bytes, options);
19064
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JitterBufferEvent {
19065
+ return new JitterBufferEvent().fromBinary(bytes, options);
17649
19066
  }
17650
19067
 
17651
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamKeyOverrideEvent {
17652
- return new StreamKeyOverrideEvent().fromJson(jsonValue, options);
19068
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JitterBufferEvent {
19069
+ return new JitterBufferEvent().fromJson(jsonValue, options);
17653
19070
  }
17654
19071
 
17655
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamKeyOverrideEvent {
17656
- return new StreamKeyOverrideEvent().fromJsonString(jsonString, options);
19072
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JitterBufferEvent {
19073
+ return new JitterBufferEvent().fromJsonString(jsonString, options);
17657
19074
  }
17658
19075
 
17659
- static equals(a: StreamKeyOverrideEvent | PlainMessage<StreamKeyOverrideEvent> | undefined, b: StreamKeyOverrideEvent | PlainMessage<StreamKeyOverrideEvent> | undefined): boolean {
17660
- return proto3.util.equals(StreamKeyOverrideEvent, a, b);
19076
+ static equals(a: JitterBufferEvent | PlainMessage<JitterBufferEvent> | undefined, b: JitterBufferEvent | PlainMessage<JitterBufferEvent> | undefined): boolean {
19077
+ return proto3.util.equals(JitterBufferEvent, a, b);
17661
19078
  }
17662
19079
  }
17663
19080
 
17664
19081
  /**
17665
- * @generated from message norsk.api.media.StreamMetadataOverrideConfiguration
19082
+ * @generated from message norsk.api.media.StreamSyncConfiguration
17666
19083
  */
17667
- export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataOverrideConfiguration> {
19084
+ export class StreamSyncConfiguration extends Message<StreamSyncConfiguration> {
17668
19085
  /**
17669
19086
  * @generated from field: norsk.api.media.MediaNodeId id = 1;
17670
19087
  */
17671
19088
  id?: MediaNodeId;
17672
19089
 
17673
- /**
17674
- * * Override the bitrate metadata of a compressed video stream, or `0` to
17675
- * clear
17676
- *
17677
- * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
17678
- */
17679
- videoBitrate?: OptionalInt;
17680
-
17681
- /**
17682
- * * Override the bitrate metadata of a compressed audio stream, or `0` to
17683
- * clear
17684
- *
17685
- * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
17686
- */
17687
- audioBitrate?: OptionalInt;
17688
-
17689
- /**
17690
- * * Override the language metadata of an audio stream, or `""` to clear. RFC
17691
- * 5646 language tag.
17692
- *
17693
- * @generated from field: norsk.api.common.OptionalString audio_language = 4;
17694
- */
17695
- audioLanguage?: OptionalString;
17696
-
17697
- /**
17698
- * * Override the language metadata of a subtitles stream, or `""` to clear RFC
17699
- * 5646 language tag.
17700
- *
17701
- * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
17702
- */
17703
- subtitlesLanguage?: OptionalString;
17704
-
17705
- /**
17706
- * * Override the property of whether a subtitles string is the default/primary rendition or not
17707
- *
17708
- * @generated from field: norsk.api.common.OptionalBool subtitles_default = 6;
17709
- */
17710
- subtitlesDefault?: OptionalBool;
17711
-
17712
- /**
17713
- * * Override the name of a playlist
17714
- *
17715
- * @generated from field: norsk.api.common.OptionalString playlist_name = 7;
17716
- */
17717
- playlistName?: OptionalString;
17718
-
17719
- constructor(data?: PartialMessage<StreamMetadataOverrideConfiguration>) {
19090
+ constructor(data?: PartialMessage<StreamSyncConfiguration>) {
17720
19091
  super();
17721
19092
  proto3.util.initPartial(data, this);
17722
19093
  }
17723
19094
 
17724
19095
  static readonly runtime = proto3;
17725
- static readonly typeName = "norsk.api.media.StreamMetadataOverrideConfiguration";
19096
+ static readonly typeName = "norsk.api.media.StreamSyncConfiguration";
17726
19097
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17727
19098
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
17728
- { no: 2, name: "video_bitrate", kind: "message", T: OptionalInt },
17729
- { no: 3, name: "audio_bitrate", kind: "message", T: OptionalInt },
17730
- { no: 4, name: "audio_language", kind: "message", T: OptionalString },
17731
- { no: 5, name: "subtitles_language", kind: "message", T: OptionalString },
17732
- { no: 6, name: "subtitles_default", kind: "message", T: OptionalBool },
17733
- { no: 7, name: "playlist_name", kind: "message", T: OptionalString },
17734
19099
  ]);
17735
19100
 
17736
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadataOverrideConfiguration {
17737
- return new StreamMetadataOverrideConfiguration().fromBinary(bytes, options);
17738
- }
17739
-
17740
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamMetadataOverrideConfiguration {
17741
- return new StreamMetadataOverrideConfiguration().fromJson(jsonValue, options);
17742
- }
17743
-
17744
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamMetadataOverrideConfiguration {
17745
- return new StreamMetadataOverrideConfiguration().fromJsonString(jsonString, options);
17746
- }
17747
-
17748
- static equals(a: StreamMetadataOverrideConfiguration | PlainMessage<StreamMetadataOverrideConfiguration> | undefined, b: StreamMetadataOverrideConfiguration | PlainMessage<StreamMetadataOverrideConfiguration> | undefined): boolean {
17749
- return proto3.util.equals(StreamMetadataOverrideConfiguration, a, b);
17750
- }
17751
- }
17752
-
17753
- /**
17754
- * @generated from message norsk.api.media.StreamMetadataOverrideUpdateConfiguration
17755
- */
17756
- export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMetadataOverrideUpdateConfiguration> {
17757
- /**
17758
- * * Override the bitrate metadata of a compressed video stream, or `0` to
17759
- * clear
17760
- *
17761
- * @generated from field: norsk.api.common.OptionalInt video_bitrate = 2;
17762
- */
17763
- videoBitrate?: OptionalInt;
17764
-
17765
- /**
17766
- * * Override the bitrate metadata of a compressed audio stream, or `0` to
17767
- * clear
17768
- *
17769
- * @generated from field: norsk.api.common.OptionalInt audio_bitrate = 3;
17770
- */
17771
- audioBitrate?: OptionalInt;
17772
-
17773
- /**
17774
- * * Override the language metadata of an audio stream, or `""` to clear. RFC
17775
- * 5646 language tag.
17776
- *
17777
- * @generated from field: norsk.api.common.OptionalString audio_language = 4;
17778
- */
17779
- audioLanguage?: OptionalString;
17780
-
17781
- /**
17782
- * * Override the language metadata of a subtitles stream, or `""` to clear.
17783
- * RFC 5646 language tag.
17784
- *
17785
- * @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
17786
- */
17787
- subtitlesLanguage?: OptionalString;
17788
-
17789
- /**
17790
- * * Override the property of whether a subtitles string is the default/primary rendition or not
17791
- *
17792
- * @generated from field: norsk.api.common.OptionalBool subtitles_default = 6;
17793
- */
17794
- subtitlesDefault?: OptionalBool;
17795
-
17796
- /**
17797
- * * Override the name of a playlist
17798
- *
17799
- * @generated from field: norsk.api.common.OptionalString playlist_name = 7;
17800
- */
17801
- playlistName?: OptionalString;
17802
-
17803
- constructor(data?: PartialMessage<StreamMetadataOverrideUpdateConfiguration>) {
17804
- super();
17805
- proto3.util.initPartial(data, this);
17806
- }
17807
-
17808
- static readonly runtime = proto3;
17809
- static readonly typeName = "norsk.api.media.StreamMetadataOverrideUpdateConfiguration";
17810
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
17811
- { no: 2, name: "video_bitrate", kind: "message", T: OptionalInt },
17812
- { no: 3, name: "audio_bitrate", kind: "message", T: OptionalInt },
17813
- { no: 4, name: "audio_language", kind: "message", T: OptionalString },
17814
- { no: 5, name: "subtitles_language", kind: "message", T: OptionalString },
17815
- { no: 6, name: "subtitles_default", kind: "message", T: OptionalBool },
17816
- { no: 7, name: "playlist_name", kind: "message", T: OptionalString },
17817
- ]);
17818
-
17819
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadataOverrideUpdateConfiguration {
17820
- return new StreamMetadataOverrideUpdateConfiguration().fromBinary(bytes, options);
19101
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSyncConfiguration {
19102
+ return new StreamSyncConfiguration().fromBinary(bytes, options);
17821
19103
  }
17822
19104
 
17823
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamMetadataOverrideUpdateConfiguration {
17824
- return new StreamMetadataOverrideUpdateConfiguration().fromJson(jsonValue, options);
19105
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSyncConfiguration {
19106
+ return new StreamSyncConfiguration().fromJson(jsonValue, options);
17825
19107
  }
17826
19108
 
17827
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamMetadataOverrideUpdateConfiguration {
17828
- return new StreamMetadataOverrideUpdateConfiguration().fromJsonString(jsonString, options);
19109
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSyncConfiguration {
19110
+ return new StreamSyncConfiguration().fromJsonString(jsonString, options);
17829
19111
  }
17830
19112
 
17831
- static equals(a: StreamMetadataOverrideUpdateConfiguration | PlainMessage<StreamMetadataOverrideUpdateConfiguration> | undefined, b: StreamMetadataOverrideUpdateConfiguration | PlainMessage<StreamMetadataOverrideUpdateConfiguration> | undefined): boolean {
17832
- return proto3.util.equals(StreamMetadataOverrideUpdateConfiguration, a, b);
19113
+ static equals(a: StreamSyncConfiguration | PlainMessage<StreamSyncConfiguration> | undefined, b: StreamSyncConfiguration | PlainMessage<StreamSyncConfiguration> | undefined): boolean {
19114
+ return proto3.util.equals(StreamSyncConfiguration, a, b);
17833
19115
  }
17834
19116
  }
17835
19117
 
17836
19118
  /**
17837
- * @generated from message norsk.api.media.StreamMetadataOverrideMessage
19119
+ * @generated from message norsk.api.media.StreamSyncMessage
17838
19120
  */
17839
- export class StreamMetadataOverrideMessage extends Message<StreamMetadataOverrideMessage> {
19121
+ export class StreamSyncMessage extends Message<StreamSyncMessage> {
17840
19122
  /**
17841
- * @generated from oneof norsk.api.media.StreamMetadataOverrideMessage.message
19123
+ * @generated from oneof norsk.api.media.StreamSyncMessage.message
17842
19124
  */
17843
19125
  message: {
17844
19126
  /**
17845
- * @generated from field: norsk.api.media.StreamMetadataOverrideConfiguration initial_config = 1;
19127
+ * @generated from field: norsk.api.media.StreamSyncConfiguration initial_config = 1;
17846
19128
  */
17847
- value: StreamMetadataOverrideConfiguration;
19129
+ value: StreamSyncConfiguration;
17848
19130
  case: "initialConfig";
17849
19131
  } | {
17850
19132
  /**
17851
- * @generated from field: norsk.api.media.StreamMetadataOverrideUpdateConfiguration update_config = 2;
17852
- */
17853
- value: StreamMetadataOverrideUpdateConfiguration;
17854
- case: "updateConfig";
17855
- } | {
17856
- /**
17857
- * @generated from field: norsk.api.media.Subscription subscription = 3;
19133
+ * @generated from field: norsk.api.media.Subscription subscription = 2;
17858
19134
  */
17859
19135
  value: Subscription;
17860
19136
  case: "subscription";
17861
19137
  } | { case: undefined; value?: undefined } = { case: undefined };
17862
19138
 
17863
- constructor(data?: PartialMessage<StreamMetadataOverrideMessage>) {
19139
+ constructor(data?: PartialMessage<StreamSyncMessage>) {
17864
19140
  super();
17865
19141
  proto3.util.initPartial(data, this);
17866
19142
  }
17867
19143
 
17868
19144
  static readonly runtime = proto3;
17869
- static readonly typeName = "norsk.api.media.StreamMetadataOverrideMessage";
19145
+ static readonly typeName = "norsk.api.media.StreamSyncMessage";
17870
19146
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17871
- { no: 1, name: "initial_config", kind: "message", T: StreamMetadataOverrideConfiguration, oneof: "message" },
17872
- { no: 2, name: "update_config", kind: "message", T: StreamMetadataOverrideUpdateConfiguration, oneof: "message" },
17873
- { no: 3, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
19147
+ { no: 1, name: "initial_config", kind: "message", T: StreamSyncConfiguration, oneof: "message" },
19148
+ { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
17874
19149
  ]);
17875
-
17876
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadataOverrideMessage {
17877
- return new StreamMetadataOverrideMessage().fromBinary(bytes, options);
19150
+
19151
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSyncMessage {
19152
+ return new StreamSyncMessage().fromBinary(bytes, options);
17878
19153
  }
17879
19154
 
17880
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamMetadataOverrideMessage {
17881
- return new StreamMetadataOverrideMessage().fromJson(jsonValue, options);
19155
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSyncMessage {
19156
+ return new StreamSyncMessage().fromJson(jsonValue, options);
17882
19157
  }
17883
19158
 
17884
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamMetadataOverrideMessage {
17885
- return new StreamMetadataOverrideMessage().fromJsonString(jsonString, options);
19159
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSyncMessage {
19160
+ return new StreamSyncMessage().fromJsonString(jsonString, options);
17886
19161
  }
17887
19162
 
17888
- static equals(a: StreamMetadataOverrideMessage | PlainMessage<StreamMetadataOverrideMessage> | undefined, b: StreamMetadataOverrideMessage | PlainMessage<StreamMetadataOverrideMessage> | undefined): boolean {
17889
- return proto3.util.equals(StreamMetadataOverrideMessage, a, b);
19163
+ static equals(a: StreamSyncMessage | PlainMessage<StreamSyncMessage> | undefined, b: StreamSyncMessage | PlainMessage<StreamSyncMessage> | undefined): boolean {
19164
+ return proto3.util.equals(StreamSyncMessage, a, b);
17890
19165
  }
17891
19166
  }
17892
19167
 
17893
19168
  /**
17894
- * @generated from message norsk.api.media.StreamMetadataOverrideEvent
19169
+ * @generated from message norsk.api.media.StreamSyncEvent
17895
19170
  */
17896
- export class StreamMetadataOverrideEvent extends Message<StreamMetadataOverrideEvent> {
19171
+ export class StreamSyncEvent extends Message<StreamSyncEvent> {
17897
19172
  /**
17898
- * @generated from oneof norsk.api.media.StreamMetadataOverrideEvent.message
19173
+ * @generated from oneof norsk.api.media.StreamSyncEvent.message
17899
19174
  */
17900
19175
  message: {
17901
19176
  /**
@@ -17923,13 +19198,13 @@ export class StreamMetadataOverrideEvent extends Message<StreamMetadataOverrideE
17923
19198
  case: "inboundContext";
17924
19199
  } | { case: undefined; value?: undefined } = { case: undefined };
17925
19200
 
17926
- constructor(data?: PartialMessage<StreamMetadataOverrideEvent>) {
19201
+ constructor(data?: PartialMessage<StreamSyncEvent>) {
17927
19202
  super();
17928
19203
  proto3.util.initPartial(data, this);
17929
19204
  }
17930
19205
 
17931
19206
  static readonly runtime = proto3;
17932
- static readonly typeName = "norsk.api.media.StreamMetadataOverrideEvent";
19207
+ static readonly typeName = "norsk.api.media.StreamSyncEvent";
17933
19208
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17934
19209
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
17935
19210
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
@@ -17937,78 +19212,97 @@ export class StreamMetadataOverrideEvent extends Message<StreamMetadataOverrideE
17937
19212
  { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17938
19213
  ]);
17939
19214
 
17940
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadataOverrideEvent {
17941
- return new StreamMetadataOverrideEvent().fromBinary(bytes, options);
19215
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSyncEvent {
19216
+ return new StreamSyncEvent().fromBinary(bytes, options);
17942
19217
  }
17943
19218
 
17944
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamMetadataOverrideEvent {
17945
- return new StreamMetadataOverrideEvent().fromJson(jsonValue, options);
19219
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSyncEvent {
19220
+ return new StreamSyncEvent().fromJson(jsonValue, options);
17946
19221
  }
17947
19222
 
17948
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamMetadataOverrideEvent {
17949
- return new StreamMetadataOverrideEvent().fromJsonString(jsonString, options);
19223
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSyncEvent {
19224
+ return new StreamSyncEvent().fromJsonString(jsonString, options);
17950
19225
  }
17951
19226
 
17952
- static equals(a: StreamMetadataOverrideEvent | PlainMessage<StreamMetadataOverrideEvent> | undefined, b: StreamMetadataOverrideEvent | PlainMessage<StreamMetadataOverrideEvent> | undefined): boolean {
17953
- return proto3.util.equals(StreamMetadataOverrideEvent, a, b);
19227
+ static equals(a: StreamSyncEvent | PlainMessage<StreamSyncEvent> | undefined, b: StreamSyncEvent | PlainMessage<StreamSyncEvent> | undefined): boolean {
19228
+ return proto3.util.equals(StreamSyncEvent, a, b);
17954
19229
  }
17955
19230
  }
17956
19231
 
17957
19232
  /**
17958
- * @generated from message norsk.api.media.JitterBufferConfiguration
19233
+ * @generated from message norsk.api.media.StreamAlignConfiguration
17959
19234
  */
17960
- export class JitterBufferConfiguration extends Message<JitterBufferConfiguration> {
19235
+ export class StreamAlignConfiguration extends Message<StreamAlignConfiguration> {
17961
19236
  /**
17962
19237
  * @generated from field: norsk.api.media.MediaNodeId id = 1;
17963
19238
  */
17964
19239
  id?: MediaNodeId;
17965
19240
 
17966
19241
  /**
17967
- * @generated from field: uint32 delay_ms = 2;
19242
+ * The normalisd sample rate of the audio output
19243
+ *
19244
+ * @generated from field: norsk.api.media.SampleRate sample_rate = 2;
17968
19245
  */
17969
- delayMs = 0;
19246
+ sampleRate = SampleRate.RATE_8000;
17970
19247
 
17971
- constructor(data?: PartialMessage<JitterBufferConfiguration>) {
19248
+ /**
19249
+ * The normalised frame rate of the video output
19250
+ *
19251
+ * @generated from field: norsk.api.media.FrameRate frame_rate = 3;
19252
+ */
19253
+ frameRate?: FrameRate;
19254
+
19255
+ /**
19256
+ * Synchronise audio/video sources aggressively to start at the same timestamp
19257
+ * by dropping frames until a video keyframe occurs
19258
+ *
19259
+ * @generated from field: bool sync_av = 4;
19260
+ */
19261
+ syncAv = false;
19262
+
19263
+ constructor(data?: PartialMessage<StreamAlignConfiguration>) {
17972
19264
  super();
17973
19265
  proto3.util.initPartial(data, this);
17974
19266
  }
17975
19267
 
17976
19268
  static readonly runtime = proto3;
17977
- static readonly typeName = "norsk.api.media.JitterBufferConfiguration";
19269
+ static readonly typeName = "norsk.api.media.StreamAlignConfiguration";
17978
19270
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
17979
19271
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
17980
- { no: 2, name: "delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
19272
+ { no: 2, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
19273
+ { no: 3, name: "frame_rate", kind: "message", T: FrameRate },
19274
+ { no: 4, name: "sync_av", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
17981
19275
  ]);
17982
19276
 
17983
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JitterBufferConfiguration {
17984
- return new JitterBufferConfiguration().fromBinary(bytes, options);
19277
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamAlignConfiguration {
19278
+ return new StreamAlignConfiguration().fromBinary(bytes, options);
17985
19279
  }
17986
19280
 
17987
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JitterBufferConfiguration {
17988
- return new JitterBufferConfiguration().fromJson(jsonValue, options);
19281
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamAlignConfiguration {
19282
+ return new StreamAlignConfiguration().fromJson(jsonValue, options);
17989
19283
  }
17990
19284
 
17991
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JitterBufferConfiguration {
17992
- return new JitterBufferConfiguration().fromJsonString(jsonString, options);
19285
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamAlignConfiguration {
19286
+ return new StreamAlignConfiguration().fromJsonString(jsonString, options);
17993
19287
  }
17994
19288
 
17995
- static equals(a: JitterBufferConfiguration | PlainMessage<JitterBufferConfiguration> | undefined, b: JitterBufferConfiguration | PlainMessage<JitterBufferConfiguration> | undefined): boolean {
17996
- return proto3.util.equals(JitterBufferConfiguration, a, b);
19289
+ static equals(a: StreamAlignConfiguration | PlainMessage<StreamAlignConfiguration> | undefined, b: StreamAlignConfiguration | PlainMessage<StreamAlignConfiguration> | undefined): boolean {
19290
+ return proto3.util.equals(StreamAlignConfiguration, a, b);
17997
19291
  }
17998
19292
  }
17999
19293
 
18000
19294
  /**
18001
- * @generated from message norsk.api.media.JitterBufferMessage
19295
+ * @generated from message norsk.api.media.StreamAlignMessage
18002
19296
  */
18003
- export class JitterBufferMessage extends Message<JitterBufferMessage> {
19297
+ export class StreamAlignMessage extends Message<StreamAlignMessage> {
18004
19298
  /**
18005
- * @generated from oneof norsk.api.media.JitterBufferMessage.message
19299
+ * @generated from oneof norsk.api.media.StreamAlignMessage.message
18006
19300
  */
18007
19301
  message: {
18008
19302
  /**
18009
- * @generated from field: norsk.api.media.JitterBufferConfiguration initial_config = 1;
19303
+ * @generated from field: norsk.api.media.StreamAlignConfiguration initial_config = 1;
18010
19304
  */
18011
- value: JitterBufferConfiguration;
19305
+ value: StreamAlignConfiguration;
18012
19306
  case: "initialConfig";
18013
19307
  } | {
18014
19308
  /**
@@ -18018,41 +19312,41 @@ export class JitterBufferMessage extends Message<JitterBufferMessage> {
18018
19312
  case: "subscription";
18019
19313
  } | { case: undefined; value?: undefined } = { case: undefined };
18020
19314
 
18021
- constructor(data?: PartialMessage<JitterBufferMessage>) {
19315
+ constructor(data?: PartialMessage<StreamAlignMessage>) {
18022
19316
  super();
18023
19317
  proto3.util.initPartial(data, this);
18024
19318
  }
18025
19319
 
18026
19320
  static readonly runtime = proto3;
18027
- static readonly typeName = "norsk.api.media.JitterBufferMessage";
19321
+ static readonly typeName = "norsk.api.media.StreamAlignMessage";
18028
19322
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
18029
- { no: 1, name: "initial_config", kind: "message", T: JitterBufferConfiguration, oneof: "message" },
19323
+ { no: 1, name: "initial_config", kind: "message", T: StreamAlignConfiguration, oneof: "message" },
18030
19324
  { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
18031
19325
  ]);
18032
19326
 
18033
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JitterBufferMessage {
18034
- return new JitterBufferMessage().fromBinary(bytes, options);
19327
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamAlignMessage {
19328
+ return new StreamAlignMessage().fromBinary(bytes, options);
18035
19329
  }
18036
19330
 
18037
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JitterBufferMessage {
18038
- return new JitterBufferMessage().fromJson(jsonValue, options);
19331
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamAlignMessage {
19332
+ return new StreamAlignMessage().fromJson(jsonValue, options);
18039
19333
  }
18040
19334
 
18041
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JitterBufferMessage {
18042
- return new JitterBufferMessage().fromJsonString(jsonString, options);
19335
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamAlignMessage {
19336
+ return new StreamAlignMessage().fromJsonString(jsonString, options);
18043
19337
  }
18044
19338
 
18045
- static equals(a: JitterBufferMessage | PlainMessage<JitterBufferMessage> | undefined, b: JitterBufferMessage | PlainMessage<JitterBufferMessage> | undefined): boolean {
18046
- return proto3.util.equals(JitterBufferMessage, a, b);
19339
+ static equals(a: StreamAlignMessage | PlainMessage<StreamAlignMessage> | undefined, b: StreamAlignMessage | PlainMessage<StreamAlignMessage> | undefined): boolean {
19340
+ return proto3.util.equals(StreamAlignMessage, a, b);
18047
19341
  }
18048
19342
  }
18049
19343
 
18050
19344
  /**
18051
- * @generated from message norsk.api.media.JitterBufferEvent
19345
+ * @generated from message norsk.api.media.StreamAlignEvent
18052
19346
  */
18053
- export class JitterBufferEvent extends Message<JitterBufferEvent> {
19347
+ export class StreamAlignEvent extends Message<StreamAlignEvent> {
18054
19348
  /**
18055
- * @generated from oneof norsk.api.media.JitterBufferEvent.message
19349
+ * @generated from oneof norsk.api.media.StreamAlignEvent.message
18056
19350
  */
18057
19351
  message: {
18058
19352
  /**
@@ -18080,13 +19374,13 @@ export class JitterBufferEvent extends Message<JitterBufferEvent> {
18080
19374
  case: "inboundContext";
18081
19375
  } | { case: undefined; value?: undefined } = { case: undefined };
18082
19376
 
18083
- constructor(data?: PartialMessage<JitterBufferEvent>) {
19377
+ constructor(data?: PartialMessage<StreamAlignEvent>) {
18084
19378
  super();
18085
19379
  proto3.util.initPartial(data, this);
18086
19380
  }
18087
19381
 
18088
19382
  static readonly runtime = proto3;
18089
- static readonly typeName = "norsk.api.media.JitterBufferEvent";
19383
+ static readonly typeName = "norsk.api.media.StreamAlignEvent";
18090
19384
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
18091
19385
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
18092
19386
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
@@ -18094,283 +19388,290 @@ export class JitterBufferEvent extends Message<JitterBufferEvent> {
18094
19388
  { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18095
19389
  ]);
18096
19390
 
18097
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JitterBufferEvent {
18098
- return new JitterBufferEvent().fromBinary(bytes, options);
19391
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamAlignEvent {
19392
+ return new StreamAlignEvent().fromBinary(bytes, options);
18099
19393
  }
18100
19394
 
18101
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JitterBufferEvent {
18102
- return new JitterBufferEvent().fromJson(jsonValue, options);
19395
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamAlignEvent {
19396
+ return new StreamAlignEvent().fromJson(jsonValue, options);
18103
19397
  }
18104
19398
 
18105
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JitterBufferEvent {
18106
- return new JitterBufferEvent().fromJsonString(jsonString, options);
19399
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamAlignEvent {
19400
+ return new StreamAlignEvent().fromJsonString(jsonString, options);
18107
19401
  }
18108
19402
 
18109
- static equals(a: JitterBufferEvent | PlainMessage<JitterBufferEvent> | undefined, b: JitterBufferEvent | PlainMessage<JitterBufferEvent> | undefined): boolean {
18110
- return proto3.util.equals(JitterBufferEvent, a, b);
19403
+ static equals(a: StreamAlignEvent | PlainMessage<StreamAlignEvent> | undefined, b: StreamAlignEvent | PlainMessage<StreamAlignEvent> | undefined): boolean {
19404
+ return proto3.util.equals(StreamAlignEvent, a, b);
18111
19405
  }
18112
19406
  }
18113
19407
 
18114
19408
  /**
18115
- * @generated from message norsk.api.media.StreamSyncConfiguration
19409
+ * ///////////////////////////////
19410
+ * AudioEncode
19411
+ *
19412
+ * @generated from message norsk.api.media.AacEncodeConfiguration
18116
19413
  */
18117
- export class StreamSyncConfiguration extends Message<StreamSyncConfiguration> {
19414
+ export class AacEncodeConfiguration extends Message<AacEncodeConfiguration> {
18118
19415
  /**
18119
- * @generated from field: norsk.api.media.MediaNodeId id = 1;
19416
+ * @generated from field: norsk.api.media.SampleRate sample_rate = 1;
18120
19417
  */
18121
- id?: MediaNodeId;
19418
+ sampleRate = SampleRate.RATE_8000;
18122
19419
 
18123
- constructor(data?: PartialMessage<StreamSyncConfiguration>) {
19420
+ /**
19421
+ * @generated from field: norsk.api.media.AacEncodeConfiguration.AacProfile profile = 2;
19422
+ */
19423
+ profile = AacEncodeConfiguration_AacProfile.AAC_LC_PROFILE;
19424
+
19425
+ /**
19426
+ * @generated from field: norsk.api.media.AacEncodeConfiguration.AacEncapsulation encapsulation = 3;
19427
+ */
19428
+ encapsulation = AacEncodeConfiguration_AacEncapsulation.AAC_ADTS_ENCAPSULATION;
19429
+
19430
+ constructor(data?: PartialMessage<AacEncodeConfiguration>) {
18124
19431
  super();
18125
19432
  proto3.util.initPartial(data, this);
18126
19433
  }
18127
19434
 
18128
19435
  static readonly runtime = proto3;
18129
- static readonly typeName = "norsk.api.media.StreamSyncConfiguration";
19436
+ static readonly typeName = "norsk.api.media.AacEncodeConfiguration";
18130
19437
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
18131
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
19438
+ { no: 1, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
19439
+ { no: 2, name: "profile", kind: "enum", T: proto3.getEnumType(AacEncodeConfiguration_AacProfile) },
19440
+ { no: 3, name: "encapsulation", kind: "enum", T: proto3.getEnumType(AacEncodeConfiguration_AacEncapsulation) },
18132
19441
  ]);
18133
19442
 
18134
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSyncConfiguration {
18135
- return new StreamSyncConfiguration().fromBinary(bytes, options);
19443
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AacEncodeConfiguration {
19444
+ return new AacEncodeConfiguration().fromBinary(bytes, options);
18136
19445
  }
18137
19446
 
18138
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSyncConfiguration {
18139
- return new StreamSyncConfiguration().fromJson(jsonValue, options);
19447
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AacEncodeConfiguration {
19448
+ return new AacEncodeConfiguration().fromJson(jsonValue, options);
18140
19449
  }
18141
19450
 
18142
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSyncConfiguration {
18143
- return new StreamSyncConfiguration().fromJsonString(jsonString, options);
19451
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AacEncodeConfiguration {
19452
+ return new AacEncodeConfiguration().fromJsonString(jsonString, options);
18144
19453
  }
18145
19454
 
18146
- static equals(a: StreamSyncConfiguration | PlainMessage<StreamSyncConfiguration> | undefined, b: StreamSyncConfiguration | PlainMessage<StreamSyncConfiguration> | undefined): boolean {
18147
- return proto3.util.equals(StreamSyncConfiguration, a, b);
19455
+ static equals(a: AacEncodeConfiguration | PlainMessage<AacEncodeConfiguration> | undefined, b: AacEncodeConfiguration | PlainMessage<AacEncodeConfiguration> | undefined): boolean {
19456
+ return proto3.util.equals(AacEncodeConfiguration, a, b);
18148
19457
  }
18149
19458
  }
18150
19459
 
18151
19460
  /**
18152
- * @generated from message norsk.api.media.StreamSyncMessage
19461
+ * @generated from enum norsk.api.media.AacEncodeConfiguration.AacProfile
18153
19462
  */
18154
- export class StreamSyncMessage extends Message<StreamSyncMessage> {
19463
+ export enum AacEncodeConfiguration_AacProfile {
18155
19464
  /**
18156
- * @generated from oneof norsk.api.media.StreamSyncMessage.message
19465
+ * @generated from enum value: AAC_LC_PROFILE = 0;
18157
19466
  */
18158
- message: {
18159
- /**
18160
- * @generated from field: norsk.api.media.StreamSyncConfiguration initial_config = 1;
18161
- */
18162
- value: StreamSyncConfiguration;
18163
- case: "initialConfig";
18164
- } | {
18165
- /**
18166
- * @generated from field: norsk.api.media.Subscription subscription = 2;
18167
- */
18168
- value: Subscription;
18169
- case: "subscription";
18170
- } | { case: undefined; value?: undefined } = { case: undefined };
18171
-
18172
- constructor(data?: PartialMessage<StreamSyncMessage>) {
18173
- super();
18174
- proto3.util.initPartial(data, this);
18175
- }
18176
-
18177
- static readonly runtime = proto3;
18178
- static readonly typeName = "norsk.api.media.StreamSyncMessage";
18179
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
18180
- { no: 1, name: "initial_config", kind: "message", T: StreamSyncConfiguration, oneof: "message" },
18181
- { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
18182
- ]);
18183
-
18184
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSyncMessage {
18185
- return new StreamSyncMessage().fromBinary(bytes, options);
18186
- }
18187
-
18188
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSyncMessage {
18189
- return new StreamSyncMessage().fromJson(jsonValue, options);
18190
- }
19467
+ AAC_LC_PROFILE = 0,
18191
19468
 
18192
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSyncMessage {
18193
- return new StreamSyncMessage().fromJsonString(jsonString, options);
18194
- }
19469
+ /**
19470
+ * @generated from enum value: AAC_MAIN_PROFILE = 1;
19471
+ */
19472
+ AAC_MAIN_PROFILE = 1,
18195
19473
 
18196
- static equals(a: StreamSyncMessage | PlainMessage<StreamSyncMessage> | undefined, b: StreamSyncMessage | PlainMessage<StreamSyncMessage> | undefined): boolean {
18197
- return proto3.util.equals(StreamSyncMessage, a, b);
18198
- }
19474
+ /**
19475
+ * @generated from enum value: AAC_HIGH_PROFILE = 2;
19476
+ */
19477
+ AAC_HIGH_PROFILE = 2,
18199
19478
  }
19479
+ // Retrieve enum metadata with: proto3.getEnumType(AacEncodeConfiguration_AacProfile)
19480
+ proto3.util.setEnumType(AacEncodeConfiguration_AacProfile, "norsk.api.media.AacEncodeConfiguration.AacProfile", [
19481
+ { no: 0, name: "AAC_LC_PROFILE" },
19482
+ { no: 1, name: "AAC_MAIN_PROFILE" },
19483
+ { no: 2, name: "AAC_HIGH_PROFILE" },
19484
+ ]);
19485
+
19486
+ /**
19487
+ * @generated from enum norsk.api.media.AacEncodeConfiguration.AacEncapsulation
19488
+ */
19489
+ export enum AacEncodeConfiguration_AacEncapsulation {
19490
+ /**
19491
+ * @generated from enum value: AAC_ADTS_ENCAPSULATION = 0;
19492
+ */
19493
+ AAC_ADTS_ENCAPSULATION = 0,
18200
19494
 
18201
- /**
18202
- * @generated from message norsk.api.media.StreamSyncEvent
18203
- */
18204
- export class StreamSyncEvent extends Message<StreamSyncEvent> {
18205
19495
  /**
18206
- * @generated from oneof norsk.api.media.StreamSyncEvent.message
19496
+ * @generated from enum value: AAC_RAW_ENCAPSULATION = 1;
18207
19497
  */
18208
- message: {
18209
- /**
18210
- * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
18211
- */
18212
- value: MediaNodeId;
18213
- case: "nodeId";
18214
- } | {
18215
- /**
18216
- * @generated from field: norsk.api.media.Context outbound_context = 2;
18217
- */
18218
- value: Context;
18219
- case: "outboundContext";
18220
- } | {
18221
- /**
18222
- * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
18223
- */
18224
- value: SubscriptionResponse;
18225
- case: "subscriptionResponse";
18226
- } | {
18227
- /**
18228
- * @generated from field: norsk.api.media.Context inbound_context = 4;
18229
- */
18230
- value: Context;
18231
- case: "inboundContext";
18232
- } | { case: undefined; value?: undefined } = { case: undefined };
19498
+ AAC_RAW_ENCAPSULATION = 1,
19499
+ }
19500
+ // Retrieve enum metadata with: proto3.getEnumType(AacEncodeConfiguration_AacEncapsulation)
19501
+ proto3.util.setEnumType(AacEncodeConfiguration_AacEncapsulation, "norsk.api.media.AacEncodeConfiguration.AacEncapsulation", [
19502
+ { no: 0, name: "AAC_ADTS_ENCAPSULATION" },
19503
+ { no: 1, name: "AAC_RAW_ENCAPSULATION" },
19504
+ ]);
18233
19505
 
18234
- constructor(data?: PartialMessage<StreamSyncEvent>) {
19506
+ /**
19507
+ * @generated from message norsk.api.media.OpusEncodeConfiguration
19508
+ */
19509
+ export class OpusEncodeConfiguration extends Message<OpusEncodeConfiguration> {
19510
+ constructor(data?: PartialMessage<OpusEncodeConfiguration>) {
18235
19511
  super();
18236
19512
  proto3.util.initPartial(data, this);
18237
19513
  }
18238
19514
 
18239
19515
  static readonly runtime = proto3;
18240
- static readonly typeName = "norsk.api.media.StreamSyncEvent";
19516
+ static readonly typeName = "norsk.api.media.OpusEncodeConfiguration";
18241
19517
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
18242
- { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
18243
- { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
18244
- { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
18245
- { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18246
19518
  ]);
18247
19519
 
18248
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSyncEvent {
18249
- return new StreamSyncEvent().fromBinary(bytes, options);
19520
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpusEncodeConfiguration {
19521
+ return new OpusEncodeConfiguration().fromBinary(bytes, options);
18250
19522
  }
18251
19523
 
18252
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSyncEvent {
18253
- return new StreamSyncEvent().fromJson(jsonValue, options);
19524
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpusEncodeConfiguration {
19525
+ return new OpusEncodeConfiguration().fromJson(jsonValue, options);
18254
19526
  }
18255
19527
 
18256
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSyncEvent {
18257
- return new StreamSyncEvent().fromJsonString(jsonString, options);
19528
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpusEncodeConfiguration {
19529
+ return new OpusEncodeConfiguration().fromJsonString(jsonString, options);
18258
19530
  }
18259
19531
 
18260
- static equals(a: StreamSyncEvent | PlainMessage<StreamSyncEvent> | undefined, b: StreamSyncEvent | PlainMessage<StreamSyncEvent> | undefined): boolean {
18261
- return proto3.util.equals(StreamSyncEvent, a, b);
19532
+ static equals(a: OpusEncodeConfiguration | PlainMessage<OpusEncodeConfiguration> | undefined, b: OpusEncodeConfiguration | PlainMessage<OpusEncodeConfiguration> | undefined): boolean {
19533
+ return proto3.util.equals(OpusEncodeConfiguration, a, b);
18262
19534
  }
18263
19535
  }
18264
19536
 
18265
19537
  /**
18266
- * @generated from message norsk.api.media.StreamAlignConfiguration
19538
+ * @generated from message norsk.api.media.AudioEncodeConfiguration
18267
19539
  */
18268
- export class StreamAlignConfiguration extends Message<StreamAlignConfiguration> {
19540
+ export class AudioEncodeConfiguration extends Message<AudioEncodeConfiguration> {
18269
19541
  /**
18270
19542
  * @generated from field: norsk.api.media.MediaNodeId id = 1;
18271
19543
  */
18272
19544
  id?: MediaNodeId;
18273
19545
 
18274
19546
  /**
18275
- * The normalisd sample rate of the audio output
18276
- *
18277
- * @generated from field: norsk.api.media.SampleRate sample_rate = 2;
19547
+ * @generated from field: norsk.api.media.ChannelLayout channel_layout = 2;
18278
19548
  */
18279
- sampleRate = SampleRate.RATE_8000;
19549
+ channelLayout?: ChannelLayout;
18280
19550
 
18281
19551
  /**
18282
- * The normalised frame rate of the video output
18283
- *
18284
- * @generated from field: norsk.api.media.FrameRate frame_rate = 3;
19552
+ * @generated from field: int32 bitrate = 3;
18285
19553
  */
18286
- frameRate?: FrameRate;
19554
+ bitrate = 0;
18287
19555
 
18288
- constructor(data?: PartialMessage<StreamAlignConfiguration>) {
19556
+ /**
19557
+ * @generated from field: norsk.api.media.RenditionName rendition_name = 4;
19558
+ */
19559
+ renditionName?: RenditionName;
19560
+
19561
+ /**
19562
+ * @generated from oneof norsk.api.media.AudioEncodeConfiguration.encoder
19563
+ */
19564
+ encoder: {
19565
+ /**
19566
+ * @generated from field: norsk.api.media.AacEncodeConfiguration aac = 5;
19567
+ */
19568
+ value: AacEncodeConfiguration;
19569
+ case: "aac";
19570
+ } | {
19571
+ /**
19572
+ * @generated from field: norsk.api.media.OpusEncodeConfiguration opus = 6;
19573
+ */
19574
+ value: OpusEncodeConfiguration;
19575
+ case: "opus";
19576
+ } | { case: undefined; value?: undefined } = { case: undefined };
19577
+
19578
+ constructor(data?: PartialMessage<AudioEncodeConfiguration>) {
18289
19579
  super();
18290
19580
  proto3.util.initPartial(data, this);
18291
19581
  }
18292
19582
 
18293
19583
  static readonly runtime = proto3;
18294
- static readonly typeName = "norsk.api.media.StreamAlignConfiguration";
19584
+ static readonly typeName = "norsk.api.media.AudioEncodeConfiguration";
18295
19585
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
18296
19586
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
18297
- { no: 2, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
18298
- { no: 3, name: "frame_rate", kind: "message", T: FrameRate },
19587
+ { no: 2, name: "channel_layout", kind: "message", T: ChannelLayout },
19588
+ { no: 3, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
19589
+ { no: 4, name: "rendition_name", kind: "message", T: RenditionName },
19590
+ { no: 5, name: "aac", kind: "message", T: AacEncodeConfiguration, oneof: "encoder" },
19591
+ { no: 6, name: "opus", kind: "message", T: OpusEncodeConfiguration, oneof: "encoder" },
18299
19592
  ]);
18300
19593
 
18301
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamAlignConfiguration {
18302
- return new StreamAlignConfiguration().fromBinary(bytes, options);
19594
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioEncodeConfiguration {
19595
+ return new AudioEncodeConfiguration().fromBinary(bytes, options);
18303
19596
  }
18304
19597
 
18305
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamAlignConfiguration {
18306
- return new StreamAlignConfiguration().fromJson(jsonValue, options);
19598
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioEncodeConfiguration {
19599
+ return new AudioEncodeConfiguration().fromJson(jsonValue, options);
18307
19600
  }
18308
19601
 
18309
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamAlignConfiguration {
18310
- return new StreamAlignConfiguration().fromJsonString(jsonString, options);
19602
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioEncodeConfiguration {
19603
+ return new AudioEncodeConfiguration().fromJsonString(jsonString, options);
18311
19604
  }
18312
19605
 
18313
- static equals(a: StreamAlignConfiguration | PlainMessage<StreamAlignConfiguration> | undefined, b: StreamAlignConfiguration | PlainMessage<StreamAlignConfiguration> | undefined): boolean {
18314
- return proto3.util.equals(StreamAlignConfiguration, a, b);
19606
+ static equals(a: AudioEncodeConfiguration | PlainMessage<AudioEncodeConfiguration> | undefined, b: AudioEncodeConfiguration | PlainMessage<AudioEncodeConfiguration> | undefined): boolean {
19607
+ return proto3.util.equals(AudioEncodeConfiguration, a, b);
18315
19608
  }
18316
19609
  }
18317
19610
 
18318
19611
  /**
18319
- * @generated from message norsk.api.media.StreamAlignMessage
19612
+ * Message to change how an audio encode is performed.
19613
+ *
19614
+ * @generated from message norsk.api.media.AudioEncodeMessage
18320
19615
  */
18321
- export class StreamAlignMessage extends Message<StreamAlignMessage> {
19616
+ export class AudioEncodeMessage extends Message<AudioEncodeMessage> {
18322
19617
  /**
18323
- * @generated from oneof norsk.api.media.StreamAlignMessage.message
19618
+ * Subscription or configuration
19619
+ *
19620
+ * @generated from oneof norsk.api.media.AudioEncodeMessage.message
18324
19621
  */
18325
19622
  message: {
18326
19623
  /**
18327
- * @generated from field: norsk.api.media.StreamAlignConfiguration initial_config = 1;
19624
+ * Where the encoder should source its input
19625
+ *
19626
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
18328
19627
  */
18329
- value: StreamAlignConfiguration;
18330
- case: "initialConfig";
19628
+ value: Subscription;
19629
+ case: "subscription";
18331
19630
  } | {
18332
19631
  /**
18333
- * @generated from field: norsk.api.media.Subscription subscription = 2;
19632
+ * Settings to control the encode characteristics
19633
+ *
19634
+ * @generated from field: norsk.api.media.AudioEncodeConfiguration configuration = 2;
18334
19635
  */
18335
- value: Subscription;
18336
- case: "subscription";
19636
+ value: AudioEncodeConfiguration;
19637
+ case: "configuration";
18337
19638
  } | { case: undefined; value?: undefined } = { case: undefined };
18338
19639
 
18339
- constructor(data?: PartialMessage<StreamAlignMessage>) {
19640
+ constructor(data?: PartialMessage<AudioEncodeMessage>) {
18340
19641
  super();
18341
19642
  proto3.util.initPartial(data, this);
18342
19643
  }
18343
19644
 
18344
19645
  static readonly runtime = proto3;
18345
- static readonly typeName = "norsk.api.media.StreamAlignMessage";
19646
+ static readonly typeName = "norsk.api.media.AudioEncodeMessage";
18346
19647
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
18347
- { no: 1, name: "initial_config", kind: "message", T: StreamAlignConfiguration, oneof: "message" },
18348
- { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
19648
+ { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
19649
+ { no: 2, name: "configuration", kind: "message", T: AudioEncodeConfiguration, oneof: "message" },
18349
19650
  ]);
18350
19651
 
18351
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamAlignMessage {
18352
- return new StreamAlignMessage().fromBinary(bytes, options);
19652
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioEncodeMessage {
19653
+ return new AudioEncodeMessage().fromBinary(bytes, options);
18353
19654
  }
18354
19655
 
18355
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamAlignMessage {
18356
- return new StreamAlignMessage().fromJson(jsonValue, options);
19656
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioEncodeMessage {
19657
+ return new AudioEncodeMessage().fromJson(jsonValue, options);
18357
19658
  }
18358
19659
 
18359
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamAlignMessage {
18360
- return new StreamAlignMessage().fromJsonString(jsonString, options);
19660
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioEncodeMessage {
19661
+ return new AudioEncodeMessage().fromJsonString(jsonString, options);
18361
19662
  }
18362
19663
 
18363
- static equals(a: StreamAlignMessage | PlainMessage<StreamAlignMessage> | undefined, b: StreamAlignMessage | PlainMessage<StreamAlignMessage> | undefined): boolean {
18364
- return proto3.util.equals(StreamAlignMessage, a, b);
19664
+ static equals(a: AudioEncodeMessage | PlainMessage<AudioEncodeMessage> | undefined, b: AudioEncodeMessage | PlainMessage<AudioEncodeMessage> | undefined): boolean {
19665
+ return proto3.util.equals(AudioEncodeMessage, a, b);
18365
19666
  }
18366
19667
  }
18367
19668
 
18368
19669
  /**
18369
- * @generated from message norsk.api.media.StreamAlignEvent
19670
+ * @generated from message norsk.api.media.AudioEncodeEvent
18370
19671
  */
18371
- export class StreamAlignEvent extends Message<StreamAlignEvent> {
19672
+ export class AudioEncodeEvent extends Message<AudioEncodeEvent> {
18372
19673
  /**
18373
- * @generated from oneof norsk.api.media.StreamAlignEvent.message
19674
+ * @generated from oneof norsk.api.media.AudioEncodeEvent.message
18374
19675
  */
18375
19676
  message: {
18376
19677
  /**
@@ -18398,13 +19699,13 @@ export class StreamAlignEvent extends Message<StreamAlignEvent> {
18398
19699
  case: "inboundContext";
18399
19700
  } | { case: undefined; value?: undefined } = { case: undefined };
18400
19701
 
18401
- constructor(data?: PartialMessage<StreamAlignEvent>) {
19702
+ constructor(data?: PartialMessage<AudioEncodeEvent>) {
18402
19703
  super();
18403
19704
  proto3.util.initPartial(data, this);
18404
19705
  }
18405
19706
 
18406
19707
  static readonly runtime = proto3;
18407
- static readonly typeName = "norsk.api.media.StreamAlignEvent";
19708
+ static readonly typeName = "norsk.api.media.AudioEncodeEvent";
18408
19709
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
18409
19710
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
18410
19711
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
@@ -18412,290 +19713,316 @@ export class StreamAlignEvent extends Message<StreamAlignEvent> {
18412
19713
  { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18413
19714
  ]);
18414
19715
 
18415
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamAlignEvent {
18416
- return new StreamAlignEvent().fromBinary(bytes, options);
19716
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioEncodeEvent {
19717
+ return new AudioEncodeEvent().fromBinary(bytes, options);
18417
19718
  }
18418
19719
 
18419
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamAlignEvent {
18420
- return new StreamAlignEvent().fromJson(jsonValue, options);
19720
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioEncodeEvent {
19721
+ return new AudioEncodeEvent().fromJson(jsonValue, options);
18421
19722
  }
18422
19723
 
18423
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamAlignEvent {
18424
- return new StreamAlignEvent().fromJsonString(jsonString, options);
19724
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioEncodeEvent {
19725
+ return new AudioEncodeEvent().fromJsonString(jsonString, options);
18425
19726
  }
18426
19727
 
18427
- static equals(a: StreamAlignEvent | PlainMessage<StreamAlignEvent> | undefined, b: StreamAlignEvent | PlainMessage<StreamAlignEvent> | undefined): boolean {
18428
- return proto3.util.equals(StreamAlignEvent, a, b);
19728
+ static equals(a: AudioEncodeEvent | PlainMessage<AudioEncodeEvent> | undefined, b: AudioEncodeEvent | PlainMessage<AudioEncodeEvent> | undefined): boolean {
19729
+ return proto3.util.equals(AudioEncodeEvent, a, b);
18429
19730
  }
18430
19731
  }
18431
19732
 
18432
19733
  /**
18433
- * ///////////////////////////////
18434
- * AudioEncode
18435
- *
18436
- * @generated from message norsk.api.media.AacEncodeConfiguration
19734
+ * @generated from message norsk.api.media.WebVttEncodeConfiguration
18437
19735
  */
18438
- export class AacEncodeConfiguration extends Message<AacEncodeConfiguration> {
19736
+ export class WebVttEncodeConfiguration extends Message<WebVttEncodeConfiguration> {
18439
19737
  /**
18440
- * @generated from field: norsk.api.media.SampleRate sample_rate = 1;
19738
+ * Maximum length of any line in the cue in characters
19739
+ *
19740
+ * @generated from field: norsk.api.common.OptionalInt maximum_line_length = 1;
18441
19741
  */
18442
- sampleRate = SampleRate.RATE_8000;
19742
+ maximumLineLength?: OptionalInt;
18443
19743
 
18444
19744
  /**
18445
- * @generated from field: norsk.api.media.AacEncodeConfiguration.AacProfile profile = 2;
19745
+ * Minimum length of the overall cue in characters
19746
+ *
19747
+ * @generated from field: norsk.api.common.OptionalInt minimum_cue_length = 2;
18446
19748
  */
18447
- profile = AacEncodeConfiguration_AacProfile.AAC_LC_PROFILE;
19749
+ minimumCueLength?: OptionalInt;
18448
19750
 
18449
19751
  /**
18450
- * @generated from field: norsk.api.media.AacEncodeConfiguration.AacEncapsulation encapsulation = 3;
19752
+ * Maximum number of lines in a cue.
19753
+ *
19754
+ * Consider using a value of 1 and a longer max line length and allowing the player to break lines: per the WebVTT standard
19755
+ * "In general, therefore, authors are encouraged to write cues all on one line except when a line break is definitely necessary."
19756
+ * However if the player does not do this adequately, using the actual max line length desired and more lines, hard line breaks
19757
+ * will be inserted. Note a maximum subtitle length of two lines is recommended (eg BBC guidance)
19758
+ *
19759
+ * @generated from field: norsk.api.common.OptionalInt maximum_num_lines = 3;
18451
19760
  */
18452
- encapsulation = AacEncodeConfiguration_AacEncapsulation.AAC_ADTS_ENCAPSULATION;
19761
+ maximumNumLines?: OptionalInt;
18453
19762
 
18454
- constructor(data?: PartialMessage<AacEncodeConfiguration>) {
19763
+ constructor(data?: PartialMessage<WebVttEncodeConfiguration>) {
18455
19764
  super();
18456
19765
  proto3.util.initPartial(data, this);
18457
19766
  }
18458
19767
 
18459
19768
  static readonly runtime = proto3;
18460
- static readonly typeName = "norsk.api.media.AacEncodeConfiguration";
19769
+ static readonly typeName = "norsk.api.media.WebVttEncodeConfiguration";
18461
19770
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
18462
- { no: 1, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
18463
- { no: 2, name: "profile", kind: "enum", T: proto3.getEnumType(AacEncodeConfiguration_AacProfile) },
18464
- { no: 3, name: "encapsulation", kind: "enum", T: proto3.getEnumType(AacEncodeConfiguration_AacEncapsulation) },
19771
+ { no: 1, name: "maximum_line_length", kind: "message", T: OptionalInt },
19772
+ { no: 2, name: "minimum_cue_length", kind: "message", T: OptionalInt },
19773
+ { no: 3, name: "maximum_num_lines", kind: "message", T: OptionalInt },
18465
19774
  ]);
18466
19775
 
18467
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AacEncodeConfiguration {
18468
- return new AacEncodeConfiguration().fromBinary(bytes, options);
19776
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebVttEncodeConfiguration {
19777
+ return new WebVttEncodeConfiguration().fromBinary(bytes, options);
18469
19778
  }
18470
19779
 
18471
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AacEncodeConfiguration {
18472
- return new AacEncodeConfiguration().fromJson(jsonValue, options);
19780
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebVttEncodeConfiguration {
19781
+ return new WebVttEncodeConfiguration().fromJson(jsonValue, options);
18473
19782
  }
18474
19783
 
18475
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AacEncodeConfiguration {
18476
- return new AacEncodeConfiguration().fromJsonString(jsonString, options);
19784
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebVttEncodeConfiguration {
19785
+ return new WebVttEncodeConfiguration().fromJsonString(jsonString, options);
18477
19786
  }
18478
19787
 
18479
- static equals(a: AacEncodeConfiguration | PlainMessage<AacEncodeConfiguration> | undefined, b: AacEncodeConfiguration | PlainMessage<AacEncodeConfiguration> | undefined): boolean {
18480
- return proto3.util.equals(AacEncodeConfiguration, a, b);
19788
+ static equals(a: WebVttEncodeConfiguration | PlainMessage<WebVttEncodeConfiguration> | undefined, b: WebVttEncodeConfiguration | PlainMessage<WebVttEncodeConfiguration> | undefined): boolean {
19789
+ return proto3.util.equals(WebVttEncodeConfiguration, a, b);
18481
19790
  }
18482
19791
  }
18483
19792
 
18484
19793
  /**
18485
- * @generated from enum norsk.api.media.AacEncodeConfiguration.AacProfile
19794
+ * @generated from message norsk.api.media.Cta608EncodeConfiguration
18486
19795
  */
18487
- export enum AacEncodeConfiguration_AacProfile {
19796
+ export class Cta608EncodeConfiguration extends Message<Cta608EncodeConfiguration> {
18488
19797
  /**
18489
- * @generated from enum value: AAC_LC_PROFILE = 0;
19798
+ * Caption style (default: selected according to source)
19799
+ *
19800
+ * @generated from field: norsk.api.media.Cta608EncodeConfiguration.Cta608EncodeStyle style = 1;
18490
19801
  */
18491
- AAC_LC_PROFILE = 0,
19802
+ style = Cta608EncodeConfiguration_Cta608EncodeStyle.CTA_608_STYLE_DEFAULT;
19803
+
19804
+ /**
19805
+ * The total/maximum number of lines to use for captioning
19806
+ *
19807
+ * @generated from field: norsk.api.common.OptionalInt lines = 2;
19808
+ */
19809
+ lines?: OptionalInt;
19810
+
19811
+ constructor(data?: PartialMessage<Cta608EncodeConfiguration>) {
19812
+ super();
19813
+ proto3.util.initPartial(data, this);
19814
+ }
19815
+
19816
+ static readonly runtime = proto3;
19817
+ static readonly typeName = "norsk.api.media.Cta608EncodeConfiguration";
19818
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
19819
+ { no: 1, name: "style", kind: "enum", T: proto3.getEnumType(Cta608EncodeConfiguration_Cta608EncodeStyle) },
19820
+ { no: 2, name: "lines", kind: "message", T: OptionalInt },
19821
+ ]);
19822
+
19823
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Cta608EncodeConfiguration {
19824
+ return new Cta608EncodeConfiguration().fromBinary(bytes, options);
19825
+ }
18492
19826
 
18493
- /**
18494
- * @generated from enum value: AAC_MAIN_PROFILE = 1;
18495
- */
18496
- AAC_MAIN_PROFILE = 1,
19827
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Cta608EncodeConfiguration {
19828
+ return new Cta608EncodeConfiguration().fromJson(jsonValue, options);
19829
+ }
18497
19830
 
18498
- /**
18499
- * @generated from enum value: AAC_HIGH_PROFILE = 2;
18500
- */
18501
- AAC_HIGH_PROFILE = 2,
19831
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Cta608EncodeConfiguration {
19832
+ return new Cta608EncodeConfiguration().fromJsonString(jsonString, options);
19833
+ }
19834
+
19835
+ static equals(a: Cta608EncodeConfiguration | PlainMessage<Cta608EncodeConfiguration> | undefined, b: Cta608EncodeConfiguration | PlainMessage<Cta608EncodeConfiguration> | undefined): boolean {
19836
+ return proto3.util.equals(Cta608EncodeConfiguration, a, b);
19837
+ }
18502
19838
  }
18503
- // Retrieve enum metadata with: proto3.getEnumType(AacEncodeConfiguration_AacProfile)
18504
- proto3.util.setEnumType(AacEncodeConfiguration_AacProfile, "norsk.api.media.AacEncodeConfiguration.AacProfile", [
18505
- { no: 0, name: "AAC_LC_PROFILE" },
18506
- { no: 1, name: "AAC_MAIN_PROFILE" },
18507
- { no: 2, name: "AAC_HIGH_PROFILE" },
18508
- ]);
18509
19839
 
18510
19840
  /**
18511
- * @generated from enum norsk.api.media.AacEncodeConfiguration.AacEncapsulation
19841
+ * @generated from enum norsk.api.media.Cta608EncodeConfiguration.Cta608EncodeStyle
18512
19842
  */
18513
- export enum AacEncodeConfiguration_AacEncapsulation {
19843
+ export enum Cta608EncodeConfiguration_Cta608EncodeStyle {
18514
19844
  /**
18515
- * @generated from enum value: AAC_ADTS_ENCAPSULATION = 0;
19845
+ * @generated from enum value: CTA_608_STYLE_DEFAULT = 0;
18516
19846
  */
18517
- AAC_ADTS_ENCAPSULATION = 0,
19847
+ CTA_608_STYLE_DEFAULT = 0,
18518
19848
 
18519
19849
  /**
18520
- * @generated from enum value: AAC_RAW_ENCAPSULATION = 1;
19850
+ * @generated from enum value: CTA_608_STYLE_ROLL_UP = 1;
18521
19851
  */
18522
- AAC_RAW_ENCAPSULATION = 1,
19852
+ CTA_608_STYLE_ROLL_UP = 1,
19853
+
19854
+ /**
19855
+ * @generated from enum value: CTA_608_STYLE_POP_ON = 2;
19856
+ */
19857
+ CTA_608_STYLE_POP_ON = 2,
18523
19858
  }
18524
- // Retrieve enum metadata with: proto3.getEnumType(AacEncodeConfiguration_AacEncapsulation)
18525
- proto3.util.setEnumType(AacEncodeConfiguration_AacEncapsulation, "norsk.api.media.AacEncodeConfiguration.AacEncapsulation", [
18526
- { no: 0, name: "AAC_ADTS_ENCAPSULATION" },
18527
- { no: 1, name: "AAC_RAW_ENCAPSULATION" },
19859
+ // Retrieve enum metadata with: proto3.getEnumType(Cta608EncodeConfiguration_Cta608EncodeStyle)
19860
+ proto3.util.setEnumType(Cta608EncodeConfiguration_Cta608EncodeStyle, "norsk.api.media.Cta608EncodeConfiguration.Cta608EncodeStyle", [
19861
+ { no: 0, name: "CTA_608_STYLE_DEFAULT" },
19862
+ { no: 1, name: "CTA_608_STYLE_ROLL_UP" },
19863
+ { no: 2, name: "CTA_608_STYLE_POP_ON" },
18528
19864
  ]);
18529
19865
 
18530
19866
  /**
18531
- * @generated from message norsk.api.media.OpusEncodeConfiguration
19867
+ * @generated from message norsk.api.media.Cta708EncodeConfiguration
18532
19868
  */
18533
- export class OpusEncodeConfiguration extends Message<OpusEncodeConfiguration> {
18534
- constructor(data?: PartialMessage<OpusEncodeConfiguration>) {
19869
+ export class Cta708EncodeConfiguration extends Message<Cta708EncodeConfiguration> {
19870
+ constructor(data?: PartialMessage<Cta708EncodeConfiguration>) {
18535
19871
  super();
18536
19872
  proto3.util.initPartial(data, this);
18537
19873
  }
18538
19874
 
18539
19875
  static readonly runtime = proto3;
18540
- static readonly typeName = "norsk.api.media.OpusEncodeConfiguration";
19876
+ static readonly typeName = "norsk.api.media.Cta708EncodeConfiguration";
18541
19877
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
18542
19878
  ]);
18543
19879
 
18544
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OpusEncodeConfiguration {
18545
- return new OpusEncodeConfiguration().fromBinary(bytes, options);
19880
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Cta708EncodeConfiguration {
19881
+ return new Cta708EncodeConfiguration().fromBinary(bytes, options);
18546
19882
  }
18547
19883
 
18548
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OpusEncodeConfiguration {
18549
- return new OpusEncodeConfiguration().fromJson(jsonValue, options);
19884
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Cta708EncodeConfiguration {
19885
+ return new Cta708EncodeConfiguration().fromJson(jsonValue, options);
18550
19886
  }
18551
19887
 
18552
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OpusEncodeConfiguration {
18553
- return new OpusEncodeConfiguration().fromJsonString(jsonString, options);
19888
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Cta708EncodeConfiguration {
19889
+ return new Cta708EncodeConfiguration().fromJsonString(jsonString, options);
18554
19890
  }
18555
19891
 
18556
- static equals(a: OpusEncodeConfiguration | PlainMessage<OpusEncodeConfiguration> | undefined, b: OpusEncodeConfiguration | PlainMessage<OpusEncodeConfiguration> | undefined): boolean {
18557
- return proto3.util.equals(OpusEncodeConfiguration, a, b);
19892
+ static equals(a: Cta708EncodeConfiguration | PlainMessage<Cta708EncodeConfiguration> | undefined, b: Cta708EncodeConfiguration | PlainMessage<Cta708EncodeConfiguration> | undefined): boolean {
19893
+ return proto3.util.equals(Cta708EncodeConfiguration, a, b);
18558
19894
  }
18559
19895
  }
18560
19896
 
18561
19897
  /**
18562
- * @generated from message norsk.api.media.AudioEncodeConfiguration
19898
+ * @generated from message norsk.api.media.SubtitleConvertConfiguration
18563
19899
  */
18564
- export class AudioEncodeConfiguration extends Message<AudioEncodeConfiguration> {
19900
+ export class SubtitleConvertConfiguration extends Message<SubtitleConvertConfiguration> {
18565
19901
  /**
18566
19902
  * @generated from field: norsk.api.media.MediaNodeId id = 1;
18567
19903
  */
18568
19904
  id?: MediaNodeId;
18569
19905
 
18570
19906
  /**
18571
- * @generated from field: norsk.api.media.ChannelLayout channel_layout = 2;
18572
- */
18573
- channelLayout?: ChannelLayout;
18574
-
18575
- /**
18576
- * @generated from field: int32 bitrate = 3;
18577
- */
18578
- bitrate = 0;
18579
-
18580
- /**
18581
- * @generated from field: norsk.api.media.RenditionName rendition_name = 4;
18582
- */
18583
- renditionName?: RenditionName;
18584
-
18585
- /**
18586
- * @generated from oneof norsk.api.media.AudioEncodeConfiguration.encoder
19907
+ * @generated from oneof norsk.api.media.SubtitleConvertConfiguration.format
18587
19908
  */
18588
- encoder: {
19909
+ format: {
18589
19910
  /**
18590
- * @generated from field: norsk.api.media.AacEncodeConfiguration aac = 5;
19911
+ * @generated from field: norsk.api.media.WebVttEncodeConfiguration webvtt = 2;
18591
19912
  */
18592
- value: AacEncodeConfiguration;
18593
- case: "aac";
19913
+ value: WebVttEncodeConfiguration;
19914
+ case: "webvtt";
18594
19915
  } | {
18595
19916
  /**
18596
- * @generated from field: norsk.api.media.OpusEncodeConfiguration opus = 6;
19917
+ * @generated from field: norsk.api.media.Cta608EncodeConfiguration cta608 = 3;
18597
19918
  */
18598
- value: OpusEncodeConfiguration;
18599
- case: "opus";
19919
+ value: Cta608EncodeConfiguration;
19920
+ case: "cta608";
19921
+ } | {
19922
+ /**
19923
+ * @generated from field: norsk.api.media.Cta708EncodeConfiguration cta708 = 4;
19924
+ */
19925
+ value: Cta708EncodeConfiguration;
19926
+ case: "cta708";
18600
19927
  } | { case: undefined; value?: undefined } = { case: undefined };
18601
19928
 
18602
- constructor(data?: PartialMessage<AudioEncodeConfiguration>) {
19929
+ /**
19930
+ * For conversion from transcribed sources containing partial and complete transcriptions, filter to only include the transcription
19931
+ * from a fully transcribed section/utterance. Note this may be multiple sentences and span up to 30s duration or beyond, making this
19932
+ * generally an option for non-live flows
19933
+ *
19934
+ * @generated from field: bool only_complete = 5;
19935
+ */
19936
+ onlyComplete = false;
19937
+
19938
+ constructor(data?: PartialMessage<SubtitleConvertConfiguration>) {
18603
19939
  super();
18604
19940
  proto3.util.initPartial(data, this);
18605
19941
  }
18606
19942
 
18607
19943
  static readonly runtime = proto3;
18608
- static readonly typeName = "norsk.api.media.AudioEncodeConfiguration";
19944
+ static readonly typeName = "norsk.api.media.SubtitleConvertConfiguration";
18609
19945
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
18610
19946
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
18611
- { no: 2, name: "channel_layout", kind: "message", T: ChannelLayout },
18612
- { no: 3, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
18613
- { no: 4, name: "rendition_name", kind: "message", T: RenditionName },
18614
- { no: 5, name: "aac", kind: "message", T: AacEncodeConfiguration, oneof: "encoder" },
18615
- { no: 6, name: "opus", kind: "message", T: OpusEncodeConfiguration, oneof: "encoder" },
19947
+ { no: 2, name: "webvtt", kind: "message", T: WebVttEncodeConfiguration, oneof: "format" },
19948
+ { no: 3, name: "cta608", kind: "message", T: Cta608EncodeConfiguration, oneof: "format" },
19949
+ { no: 4, name: "cta708", kind: "message", T: Cta708EncodeConfiguration, oneof: "format" },
19950
+ { no: 5, name: "only_complete", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
18616
19951
  ]);
18617
19952
 
18618
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioEncodeConfiguration {
18619
- return new AudioEncodeConfiguration().fromBinary(bytes, options);
19953
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubtitleConvertConfiguration {
19954
+ return new SubtitleConvertConfiguration().fromBinary(bytes, options);
18620
19955
  }
18621
19956
 
18622
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioEncodeConfiguration {
18623
- return new AudioEncodeConfiguration().fromJson(jsonValue, options);
19957
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubtitleConvertConfiguration {
19958
+ return new SubtitleConvertConfiguration().fromJson(jsonValue, options);
18624
19959
  }
18625
19960
 
18626
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioEncodeConfiguration {
18627
- return new AudioEncodeConfiguration().fromJsonString(jsonString, options);
19961
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubtitleConvertConfiguration {
19962
+ return new SubtitleConvertConfiguration().fromJsonString(jsonString, options);
18628
19963
  }
18629
19964
 
18630
- static equals(a: AudioEncodeConfiguration | PlainMessage<AudioEncodeConfiguration> | undefined, b: AudioEncodeConfiguration | PlainMessage<AudioEncodeConfiguration> | undefined): boolean {
18631
- return proto3.util.equals(AudioEncodeConfiguration, a, b);
19965
+ static equals(a: SubtitleConvertConfiguration | PlainMessage<SubtitleConvertConfiguration> | undefined, b: SubtitleConvertConfiguration | PlainMessage<SubtitleConvertConfiguration> | undefined): boolean {
19966
+ return proto3.util.equals(SubtitleConvertConfiguration, a, b);
18632
19967
  }
18633
19968
  }
18634
19969
 
18635
19970
  /**
18636
- * Message to change how an audio encode is performed.
18637
- *
18638
- * @generated from message norsk.api.media.AudioEncodeMessage
19971
+ * @generated from message norsk.api.media.SubtitleConvertMessage
18639
19972
  */
18640
- export class AudioEncodeMessage extends Message<AudioEncodeMessage> {
19973
+ export class SubtitleConvertMessage extends Message<SubtitleConvertMessage> {
18641
19974
  /**
18642
- * Subscription or configuration
18643
- *
18644
- * @generated from oneof norsk.api.media.AudioEncodeMessage.message
19975
+ * @generated from oneof norsk.api.media.SubtitleConvertMessage.message
18645
19976
  */
18646
19977
  message: {
18647
19978
  /**
18648
- * Where the encoder should source its input
18649
- *
18650
19979
  * @generated from field: norsk.api.media.Subscription subscription = 1;
18651
19980
  */
18652
19981
  value: Subscription;
18653
19982
  case: "subscription";
18654
19983
  } | {
18655
19984
  /**
18656
- * Settings to control the encode characteristics
18657
- *
18658
- * @generated from field: norsk.api.media.AudioEncodeConfiguration configuration = 2;
19985
+ * @generated from field: norsk.api.media.SubtitleConvertConfiguration configuration = 2;
18659
19986
  */
18660
- value: AudioEncodeConfiguration;
19987
+ value: SubtitleConvertConfiguration;
18661
19988
  case: "configuration";
18662
19989
  } | { case: undefined; value?: undefined } = { case: undefined };
18663
19990
 
18664
- constructor(data?: PartialMessage<AudioEncodeMessage>) {
19991
+ constructor(data?: PartialMessage<SubtitleConvertMessage>) {
18665
19992
  super();
18666
19993
  proto3.util.initPartial(data, this);
18667
19994
  }
18668
19995
 
18669
19996
  static readonly runtime = proto3;
18670
- static readonly typeName = "norsk.api.media.AudioEncodeMessage";
19997
+ static readonly typeName = "norsk.api.media.SubtitleConvertMessage";
18671
19998
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
18672
19999
  { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
18673
- { no: 2, name: "configuration", kind: "message", T: AudioEncodeConfiguration, oneof: "message" },
20000
+ { no: 2, name: "configuration", kind: "message", T: SubtitleConvertConfiguration, oneof: "message" },
18674
20001
  ]);
18675
20002
 
18676
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioEncodeMessage {
18677
- return new AudioEncodeMessage().fromBinary(bytes, options);
20003
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubtitleConvertMessage {
20004
+ return new SubtitleConvertMessage().fromBinary(bytes, options);
18678
20005
  }
18679
20006
 
18680
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioEncodeMessage {
18681
- return new AudioEncodeMessage().fromJson(jsonValue, options);
20007
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubtitleConvertMessage {
20008
+ return new SubtitleConvertMessage().fromJson(jsonValue, options);
18682
20009
  }
18683
20010
 
18684
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioEncodeMessage {
18685
- return new AudioEncodeMessage().fromJsonString(jsonString, options);
20011
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubtitleConvertMessage {
20012
+ return new SubtitleConvertMessage().fromJsonString(jsonString, options);
18686
20013
  }
18687
20014
 
18688
- static equals(a: AudioEncodeMessage | PlainMessage<AudioEncodeMessage> | undefined, b: AudioEncodeMessage | PlainMessage<AudioEncodeMessage> | undefined): boolean {
18689
- return proto3.util.equals(AudioEncodeMessage, a, b);
20015
+ static equals(a: SubtitleConvertMessage | PlainMessage<SubtitleConvertMessage> | undefined, b: SubtitleConvertMessage | PlainMessage<SubtitleConvertMessage> | undefined): boolean {
20016
+ return proto3.util.equals(SubtitleConvertMessage, a, b);
18690
20017
  }
18691
20018
  }
18692
20019
 
18693
20020
  /**
18694
- * @generated from message norsk.api.media.AudioEncodeEvent
20021
+ * @generated from message norsk.api.media.SubtitleConvertEvent
18695
20022
  */
18696
- export class AudioEncodeEvent extends Message<AudioEncodeEvent> {
20023
+ export class SubtitleConvertEvent extends Message<SubtitleConvertEvent> {
18697
20024
  /**
18698
- * @generated from oneof norsk.api.media.AudioEncodeEvent.message
20025
+ * @generated from oneof norsk.api.media.SubtitleConvertEvent.message
18699
20026
  */
18700
20027
  message: {
18701
20028
  /**
@@ -18723,13 +20050,13 @@ export class AudioEncodeEvent extends Message<AudioEncodeEvent> {
18723
20050
  case: "inboundContext";
18724
20051
  } | { case: undefined; value?: undefined } = { case: undefined };
18725
20052
 
18726
- constructor(data?: PartialMessage<AudioEncodeEvent>) {
20053
+ constructor(data?: PartialMessage<SubtitleConvertEvent>) {
18727
20054
  super();
18728
20055
  proto3.util.initPartial(data, this);
18729
20056
  }
18730
20057
 
18731
20058
  static readonly runtime = proto3;
18732
- static readonly typeName = "norsk.api.media.AudioEncodeEvent";
20059
+ static readonly typeName = "norsk.api.media.SubtitleConvertEvent";
18733
20060
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
18734
20061
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
18735
20062
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
@@ -18737,20 +20064,20 @@ export class AudioEncodeEvent extends Message<AudioEncodeEvent> {
18737
20064
  { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18738
20065
  ]);
18739
20066
 
18740
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioEncodeEvent {
18741
- return new AudioEncodeEvent().fromBinary(bytes, options);
20067
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubtitleConvertEvent {
20068
+ return new SubtitleConvertEvent().fromBinary(bytes, options);
18742
20069
  }
18743
20070
 
18744
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioEncodeEvent {
18745
- return new AudioEncodeEvent().fromJson(jsonValue, options);
20071
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubtitleConvertEvent {
20072
+ return new SubtitleConvertEvent().fromJson(jsonValue, options);
18746
20073
  }
18747
20074
 
18748
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioEncodeEvent {
18749
- return new AudioEncodeEvent().fromJsonString(jsonString, options);
20075
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubtitleConvertEvent {
20076
+ return new SubtitleConvertEvent().fromJsonString(jsonString, options);
18750
20077
  }
18751
20078
 
18752
- static equals(a: AudioEncodeEvent | PlainMessage<AudioEncodeEvent> | undefined, b: AudioEncodeEvent | PlainMessage<AudioEncodeEvent> | undefined): boolean {
18753
- return proto3.util.equals(AudioEncodeEvent, a, b);
20079
+ static equals(a: SubtitleConvertEvent | PlainMessage<SubtitleConvertEvent> | undefined, b: SubtitleConvertEvent | PlainMessage<SubtitleConvertEvent> | undefined): boolean {
20080
+ return proto3.util.equals(SubtitleConvertEvent, a, b);
18754
20081
  }
18755
20082
  }
18756
20083
 
@@ -20883,9 +22210,18 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
20883
22210
  azureRegion = "";
20884
22211
 
20885
22212
  /**
20886
- * @generated from field: norsk.api.common.OptionalInt maximum_line_length = 7;
22213
+ * * Enable dictation mode (recognise dictated punctuation etc rather than transcribing the audio verbatim)
22214
+ *
22215
+ * @generated from field: norsk.api.common.OptionalBool dictation = 8;
22216
+ */
22217
+ dictation?: OptionalBool;
22218
+
22219
+ /**
22220
+ * * Profanity behaviour (whether to mask or remove profanity)
22221
+ *
22222
+ * @generated from field: norsk.api.media.AudioTranscribeAzureConfiguration.ProfanityOption profanity = 9;
20887
22223
  */
20888
- maximumLineLength?: OptionalInt;
22224
+ profanity = AudioTranscribeAzureConfiguration_ProfanityOption.AZURE_PROFANITY_DEFAULT;
20889
22225
 
20890
22226
  constructor(data?: PartialMessage<AudioTranscribeAzureConfiguration>) {
20891
22227
  super();
@@ -20901,7 +22237,8 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
20901
22237
  { no: 4, name: "target_languages", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
20902
22238
  { no: 5, name: "azure_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
20903
22239
  { no: 6, name: "azure_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
20904
- { no: 7, name: "maximum_line_length", kind: "message", T: OptionalInt },
22240
+ { no: 8, name: "dictation", kind: "message", T: OptionalBool },
22241
+ { no: 9, name: "profanity", kind: "enum", T: proto3.getEnumType(AudioTranscribeAzureConfiguration_ProfanityOption) },
20905
22242
  ]);
20906
22243
 
20907
22244
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureConfiguration {
@@ -20921,6 +22258,38 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
20921
22258
  }
20922
22259
  }
20923
22260
 
22261
+ /**
22262
+ * @generated from enum norsk.api.media.AudioTranscribeAzureConfiguration.ProfanityOption
22263
+ */
22264
+ export enum AudioTranscribeAzureConfiguration_ProfanityOption {
22265
+ /**
22266
+ * @generated from enum value: AZURE_PROFANITY_DEFAULT = 0;
22267
+ */
22268
+ AZURE_PROFANITY_DEFAULT = 0,
22269
+
22270
+ /**
22271
+ * @generated from enum value: AZURE_PROFANITY_MASKED = 1;
22272
+ */
22273
+ AZURE_PROFANITY_MASKED = 1,
22274
+
22275
+ /**
22276
+ * @generated from enum value: AZURE_PROFANITY_REMOVED = 2;
22277
+ */
22278
+ AZURE_PROFANITY_REMOVED = 2,
22279
+
22280
+ /**
22281
+ * @generated from enum value: AZURE_PROFANITY_RAW = 3;
22282
+ */
22283
+ AZURE_PROFANITY_RAW = 3,
22284
+ }
22285
+ // Retrieve enum metadata with: proto3.getEnumType(AudioTranscribeAzureConfiguration_ProfanityOption)
22286
+ proto3.util.setEnumType(AudioTranscribeAzureConfiguration_ProfanityOption, "norsk.api.media.AudioTranscribeAzureConfiguration.ProfanityOption", [
22287
+ { no: 0, name: "AZURE_PROFANITY_DEFAULT" },
22288
+ { no: 1, name: "AZURE_PROFANITY_MASKED" },
22289
+ { no: 2, name: "AZURE_PROFANITY_REMOVED" },
22290
+ { no: 3, name: "AZURE_PROFANITY_RAW" },
22291
+ ]);
22292
+
20924
22293
  /**
20925
22294
  * @generated from message norsk.api.media.AudioTranscribeAzureMessage
20926
22295
  */
@@ -21326,7 +22695,8 @@ export class SubtitleTranslateAwsConfiguration extends Message<SubtitleTranslate
21326
22695
  id?: MediaNodeId;
21327
22696
 
21328
22697
  /**
21329
- * / Source language code/tag, e.g. de or fr-CA (leave blank to use the source subtitle language / AWS automatic detection)
22698
+ * / Source language code/tag, e.g. de or fr-CA (leave blank to use the source
22699
+ * / subtitle language / AWS automatic detection)
21330
22700
  *
21331
22701
  * @generated from field: string source_language = 2;
21332
22702
  */
@@ -21557,8 +22927,6 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
21557
22927
  case: "subscription";
21558
22928
  } | {
21559
22929
  /**
21560
- * Scte104Event scte104_event = 4;
21561
- *
21562
22930
  * @generated from field: norsk.api.media.Scte35Event scte35_event = 3;
21563
22931
  */
21564
22932
  value: Scte35Event;
@@ -21622,8 +22990,6 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
21622
22990
  case: "subscriptionResponse";
21623
22991
  } | {
21624
22992
  /**
21625
- * Scte104Event scte104_event = 5;
21626
- *
21627
22993
  * @generated from field: norsk.api.media.Scte35Event scte35_event = 4;
21628
22994
  */
21629
22995
  value: Scte35Event;
@@ -24507,6 +25873,177 @@ export class DeckLinkDisplayModes extends Message<DeckLinkDisplayModes> {
24507
25873
  }
24508
25874
  }
24509
25875
 
25876
+ /**
25877
+ * @generated from message norsk.api.media.MA35DDeviceInfo
25878
+ */
25879
+ export class MA35DDeviceInfo extends Message<MA35DDeviceInfo> {
25880
+ /**
25881
+ * @generated from field: string product_name = 1;
25882
+ */
25883
+ productName = "";
25884
+
25885
+ /**
25886
+ * @generated from field: string serial_number = 2;
25887
+ */
25888
+ serialNumber = "";
25889
+
25890
+ constructor(data?: PartialMessage<MA35DDeviceInfo>) {
25891
+ super();
25892
+ proto3.util.initPartial(data, this);
25893
+ }
25894
+
25895
+ static readonly runtime = proto3;
25896
+ static readonly typeName = "norsk.api.media.MA35DDeviceInfo";
25897
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25898
+ { no: 1, name: "product_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25899
+ { no: 2, name: "serial_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25900
+ ]);
25901
+
25902
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MA35DDeviceInfo {
25903
+ return new MA35DDeviceInfo().fromBinary(bytes, options);
25904
+ }
25905
+
25906
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MA35DDeviceInfo {
25907
+ return new MA35DDeviceInfo().fromJson(jsonValue, options);
25908
+ }
25909
+
25910
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MA35DDeviceInfo {
25911
+ return new MA35DDeviceInfo().fromJsonString(jsonString, options);
25912
+ }
25913
+
25914
+ static equals(a: MA35DDeviceInfo | PlainMessage<MA35DDeviceInfo> | undefined, b: MA35DDeviceInfo | PlainMessage<MA35DDeviceInfo> | undefined): boolean {
25915
+ return proto3.util.equals(MA35DDeviceInfo, a, b);
25916
+ }
25917
+ }
25918
+
25919
+ /**
25920
+ * @generated from message norsk.api.media.MA35DVersionInfo
25921
+ */
25922
+ export class MA35DVersionInfo extends Message<MA35DVersionInfo> {
25923
+ /**
25924
+ * @generated from field: string pcie_crtl_patch_version = 1;
25925
+ */
25926
+ pcieCrtlPatchVersion = "";
25927
+
25928
+ /**
25929
+ * @generated from field: string pcie_fw_version = 2;
25930
+ */
25931
+ pcieFwVersion = "";
25932
+
25933
+ /**
25934
+ * @generated from field: string pcie_phy_patch_a_version = 3;
25935
+ */
25936
+ pciePhyPatchAVersion = "";
25937
+
25938
+ /**
25939
+ * @generated from field: string sc_version = 4;
25940
+ */
25941
+ scVersion = "";
25942
+
25943
+ /**
25944
+ * @generated from field: string zsp_version = 5;
25945
+ */
25946
+ zspVersion = "";
25947
+
25948
+ /**
25949
+ * @generated from field: string e_secure_version = 6;
25950
+ */
25951
+ eSecureVersion = "";
25952
+
25953
+ constructor(data?: PartialMessage<MA35DVersionInfo>) {
25954
+ super();
25955
+ proto3.util.initPartial(data, this);
25956
+ }
25957
+
25958
+ static readonly runtime = proto3;
25959
+ static readonly typeName = "norsk.api.media.MA35DVersionInfo";
25960
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
25961
+ { no: 1, name: "pcie_crtl_patch_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25962
+ { no: 2, name: "pcie_fw_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25963
+ { no: 3, name: "pcie_phy_patch_a_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25964
+ { no: 4, name: "sc_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25965
+ { no: 5, name: "zsp_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25966
+ { no: 6, name: "e_secure_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25967
+ ]);
25968
+
25969
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MA35DVersionInfo {
25970
+ return new MA35DVersionInfo().fromBinary(bytes, options);
25971
+ }
25972
+
25973
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MA35DVersionInfo {
25974
+ return new MA35DVersionInfo().fromJson(jsonValue, options);
25975
+ }
25976
+
25977
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MA35DVersionInfo {
25978
+ return new MA35DVersionInfo().fromJsonString(jsonString, options);
25979
+ }
25980
+
25981
+ static equals(a: MA35DVersionInfo | PlainMessage<MA35DVersionInfo> | undefined, b: MA35DVersionInfo | PlainMessage<MA35DVersionInfo> | undefined): boolean {
25982
+ return proto3.util.equals(MA35DVersionInfo, a, b);
25983
+ }
25984
+ }
25985
+
25986
+ /**
25987
+ * @generated from message norsk.api.media.MA35DCard
25988
+ */
25989
+ export class MA35DCard extends Message<MA35DCard> {
25990
+ /**
25991
+ * @generated from field: uint32 index = 1;
25992
+ */
25993
+ index = 0;
25994
+
25995
+ /**
25996
+ * @generated from field: string device = 2;
25997
+ */
25998
+ device = "";
25999
+
26000
+ /**
26001
+ * @generated from field: string bus_id = 3;
26002
+ */
26003
+ busId = "";
26004
+
26005
+ /**
26006
+ * @generated from field: norsk.api.media.MA35DDeviceInfo device_info = 4;
26007
+ */
26008
+ deviceInfo?: MA35DDeviceInfo;
26009
+
26010
+ /**
26011
+ * @generated from field: norsk.api.media.MA35DVersionInfo version_info = 5;
26012
+ */
26013
+ versionInfo?: MA35DVersionInfo;
26014
+
26015
+ constructor(data?: PartialMessage<MA35DCard>) {
26016
+ super();
26017
+ proto3.util.initPartial(data, this);
26018
+ }
26019
+
26020
+ static readonly runtime = proto3;
26021
+ static readonly typeName = "norsk.api.media.MA35DCard";
26022
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
26023
+ { no: 1, name: "index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
26024
+ { no: 2, name: "device", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26025
+ { no: 3, name: "bus_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
26026
+ { no: 4, name: "device_info", kind: "message", T: MA35DDeviceInfo },
26027
+ { no: 5, name: "version_info", kind: "message", T: MA35DVersionInfo },
26028
+ ]);
26029
+
26030
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MA35DCard {
26031
+ return new MA35DCard().fromBinary(bytes, options);
26032
+ }
26033
+
26034
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MA35DCard {
26035
+ return new MA35DCard().fromJson(jsonValue, options);
26036
+ }
26037
+
26038
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MA35DCard {
26039
+ return new MA35DCard().fromJsonString(jsonString, options);
26040
+ }
26041
+
26042
+ static equals(a: MA35DCard | PlainMessage<MA35DCard> | undefined, b: MA35DCard | PlainMessage<MA35DCard> | undefined): boolean {
26043
+ return proto3.util.equals(MA35DCard, a, b);
26044
+ }
26045
+ }
26046
+
24510
26047
  /**
24511
26048
  * @generated from message norsk.api.media.Hardware
24512
26049
  */
@@ -24526,6 +26063,11 @@ export class Hardware extends Message<Hardware> {
24526
26063
  */
24527
26064
  deckLinkCards: DeckLinkCard[] = [];
24528
26065
 
26066
+ /**
26067
+ * @generated from field: repeated norsk.api.media.MA35DCard ma35dCards = 4;
26068
+ */
26069
+ ma35dCards: MA35DCard[] = [];
26070
+
24529
26071
  constructor(data?: PartialMessage<Hardware>) {
24530
26072
  super();
24531
26073
  proto3.util.initPartial(data, this);
@@ -24537,6 +26079,7 @@ export class Hardware extends Message<Hardware> {
24537
26079
  { no: 1, name: "cpu_topology", kind: "message", T: CpuTopology },
24538
26080
  { no: 2, name: "system_memory", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
24539
26081
  { no: 3, name: "deckLinkCards", kind: "message", T: DeckLinkCard, repeated: true },
26082
+ { no: 4, name: "ma35dCards", kind: "message", T: MA35DCard, repeated: true },
24540
26083
  ]);
24541
26084
 
24542
26085
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Hardware {
@@ -25177,6 +26720,12 @@ export class NorskStatusEvent extends Message<NorskStatusEvent> {
25177
26720
  */
25178
26721
  value: Log;
25179
26722
  case: "logEvent";
26723
+ } | {
26724
+ /**
26725
+ * @generated from field: norsk.api.media.AmdMA35DLoad ma35d_load = 5;
26726
+ */
26727
+ value: AmdMA35DLoad;
26728
+ case: "ma35dLoad";
25180
26729
  } | { case: undefined; value?: undefined } = { case: undefined };
25181
26730
 
25182
26731
  constructor(data?: PartialMessage<NorskStatusEvent>) {
@@ -25191,6 +26740,7 @@ export class NorskStatusEvent extends Message<NorskStatusEvent> {
25191
26740
  { no: 2, name: "current_load", kind: "message", T: CurrentLoad, oneof: "message" },
25192
26741
  { no: 3, name: "license_event", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "message" },
25193
26742
  { no: 4, name: "log_event", kind: "message", T: Log, oneof: "message" },
26743
+ { no: 5, name: "ma35d_load", kind: "message", T: AmdMA35DLoad, oneof: "message" },
25194
26744
  ]);
25195
26745
 
25196
26746
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NorskStatusEvent {