@norskvideo/norsk-api 1.0.340 → 1.0.342

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
@@ -2963,9 +2963,9 @@ export class ValidationResponse extends Message<ValidationResponse> {
2963
2963
  mediaNodeId?: MediaNodeId;
2964
2964
 
2965
2965
  /**
2966
- * @generated from field: bool result = 2;
2966
+ * @generated from field: norsk.api.media.ValidationResponse.ContextValidationResponse result = 2;
2967
2967
  */
2968
- result = false;
2968
+ result = ValidationResponse_ContextValidationResponse.CONTEXT_VALIDATION_DENY;
2969
2969
 
2970
2970
  constructor(data?: PartialMessage<ValidationResponse>) {
2971
2971
  super();
@@ -2976,7 +2976,7 @@ export class ValidationResponse extends Message<ValidationResponse> {
2976
2976
  static readonly typeName = "norsk.api.media.ValidationResponse";
2977
2977
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
2978
2978
  { no: 1, name: "media_node_id", kind: "message", T: MediaNodeId },
2979
- { no: 2, name: "result", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2979
+ { no: 2, name: "result", kind: "enum", T: proto3.getEnumType(ValidationResponse_ContextValidationResponse) },
2980
2980
  ]);
2981
2981
 
2982
2982
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ValidationResponse {
@@ -2996,6 +2996,32 @@ export class ValidationResponse extends Message<ValidationResponse> {
2996
2996
  }
2997
2997
  }
2998
2998
 
2999
+ /**
3000
+ * @generated from enum norsk.api.media.ValidationResponse.ContextValidationResponse
3001
+ */
3002
+ export enum ValidationResponse_ContextValidationResponse {
3003
+ /**
3004
+ * @generated from enum value: CONTEXT_VALIDATION_DENY = 0;
3005
+ */
3006
+ CONTEXT_VALIDATION_DENY = 0,
3007
+
3008
+ /**
3009
+ * @generated from enum value: CONTEXT_VALIDATION_ALLOW = 1;
3010
+ */
3011
+ CONTEXT_VALIDATION_ALLOW = 1,
3012
+
3013
+ /**
3014
+ * @generated from enum value: CONTEXT_VALIDATION_ALLOW_AND_TERMINATE = 2;
3015
+ */
3016
+ CONTEXT_VALIDATION_ALLOW_AND_TERMINATE = 2,
3017
+ }
3018
+ // Retrieve enum metadata with: proto3.getEnumType(ValidationResponse_ContextValidationResponse)
3019
+ proto3.util.setEnumType(ValidationResponse_ContextValidationResponse, "norsk.api.media.ValidationResponse.ContextValidationResponse", [
3020
+ { no: 0, name: "CONTEXT_VALIDATION_DENY" },
3021
+ { no: 1, name: "CONTEXT_VALIDATION_ALLOW" },
3022
+ { no: 2, name: "CONTEXT_VALIDATION_ALLOW_AND_TERMINATE" },
3023
+ ]);
3024
+
2999
3025
  /**
3000
3026
  * @generated from message norsk.api.media.ValidationResponseAck
3001
3027
  */
@@ -6891,6 +6917,12 @@ export class FileMp4InputEvent extends Message<FileMp4InputEvent> {
6891
6917
  */
6892
6918
  value: MultiStreamStatistics;
6893
6919
  case: "streamStatistics";
6920
+ } | {
6921
+ /**
6922
+ * @generated from field: norsk.api.media.GopStructure gop_structure = 6;
6923
+ */
6924
+ value: GopStructure;
6925
+ case: "gopStructure";
6894
6926
  } | { case: undefined; value?: undefined } = { case: undefined };
6895
6927
 
6896
6928
  constructor(data?: PartialMessage<FileMp4InputEvent>) {
@@ -6906,6 +6938,7 @@ export class FileMp4InputEvent extends Message<FileMp4InputEvent> {
6906
6938
  { no: 3, name: "status", kind: "message", T: FileMp4InputStatus, oneof: "message" },
6907
6939
  { no: 4, name: "info", kind: "message", T: FileMp4InputInfo, oneof: "message" },
6908
6940
  { no: 5, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
6941
+ { no: 6, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
6909
6942
  ]);
6910
6943
 
6911
6944
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputEvent {
@@ -8400,11 +8433,17 @@ export enum VideoComposeConfiguration_ComposeHardwareAcceleration {
8400
8433
  * @generated from enum value: QUADRA = 1;
8401
8434
  */
8402
8435
  QUADRA = 1,
8436
+
8437
+ /**
8438
+ * @generated from enum value: NVIDIA = 2;
8439
+ */
8440
+ NVIDIA = 2,
8403
8441
  }
8404
8442
  // Retrieve enum metadata with: proto3.getEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration)
8405
8443
  proto3.util.setEnumType(VideoComposeConfiguration_ComposeHardwareAcceleration, "norsk.api.media.VideoComposeConfiguration.ComposeHardwareAcceleration", [
8406
8444
  { no: 0, name: "NONE" },
8407
8445
  { no: 1, name: "QUADRA" },
8446
+ { no: 2, name: "NVIDIA" },
8408
8447
  ]);
8409
8448
 
8410
8449
  /**
@@ -8570,6 +8609,12 @@ export class VideoComposeSourceEvent extends Message<VideoComposeSourceEvent> {
8570
8609
  */
8571
8610
  value: TransitionComplete;
8572
8611
  case: "transitionComplete";
8612
+ } | {
8613
+ /**
8614
+ * @generated from field: norsk.api.media.Context inbound_context = 5;
8615
+ */
8616
+ value: Context;
8617
+ case: "inboundContext";
8573
8618
  } | { case: undefined; value?: undefined } = { case: undefined };
8574
8619
 
8575
8620
  constructor(data?: PartialMessage<VideoComposeSourceEvent>) {
@@ -8584,6 +8629,7 @@ export class VideoComposeSourceEvent extends Message<VideoComposeSourceEvent> {
8584
8629
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
8585
8630
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
8586
8631
  { no: 4, name: "transition_complete", kind: "message", T: TransitionComplete, oneof: "message" },
8632
+ { no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
8587
8633
  ]);
8588
8634
 
8589
8635
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoComposeSourceEvent {
@@ -8781,6 +8827,13 @@ export class AudioMixConfiguration extends Message<AudioMixConfiguration> {
8781
8827
  */
8782
8828
  sampleRate = SampleRate.RATE_8000;
8783
8829
 
8830
+ /**
8831
+ * The channel layout that the mixer runs with
8832
+ *
8833
+ * @generated from field: norsk.api.media.ChannelLayout channel_layout = 5;
8834
+ */
8835
+ channelLayout?: ChannelLayout;
8836
+
8784
8837
  constructor(data?: PartialMessage<AudioMixConfiguration>) {
8785
8838
  super();
8786
8839
  proto3.util.initPartial(data, this);
@@ -8793,6 +8846,7 @@ export class AudioMixConfiguration extends Message<AudioMixConfiguration> {
8793
8846
  { no: 2, name: "sources", kind: "message", T: AudioMixSource, repeated: true },
8794
8847
  { no: 3, name: "output_source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8795
8848
  { no: 4, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
8849
+ { no: 5, name: "channel_layout", kind: "message", T: ChannelLayout },
8796
8850
  ]);
8797
8851
 
8798
8852
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioMixConfiguration {
@@ -8876,6 +8930,12 @@ export class AudioMixEvent extends Message<AudioMixEvent> {
8876
8930
  */
8877
8931
  value: SubscriptionResponse;
8878
8932
  case: "subscriptionResponse";
8933
+ } | {
8934
+ /**
8935
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
8936
+ */
8937
+ value: Context;
8938
+ case: "inboundContext";
8879
8939
  } | { case: undefined; value?: undefined } = { case: undefined };
8880
8940
 
8881
8941
  constructor(data?: PartialMessage<AudioMixEvent>) {
@@ -8889,6 +8949,7 @@ export class AudioMixEvent extends Message<AudioMixEvent> {
8889
8949
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
8890
8950
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
8891
8951
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
8952
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
8892
8953
  ]);
8893
8954
 
8894
8955
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioMixEvent {
@@ -9147,6 +9208,12 @@ export class AudioMixMatrixEvent extends Message<AudioMixMatrixEvent> {
9147
9208
  */
9148
9209
  value: SubscriptionResponse;
9149
9210
  case: "subscriptionResponse";
9211
+ } | {
9212
+ /**
9213
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
9214
+ */
9215
+ value: Context;
9216
+ case: "inboundContext";
9150
9217
  } | { case: undefined; value?: undefined } = { case: undefined };
9151
9218
 
9152
9219
  constructor(data?: PartialMessage<AudioMixMatrixEvent>) {
@@ -9160,6 +9227,7 @@ export class AudioMixMatrixEvent extends Message<AudioMixMatrixEvent> {
9160
9227
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
9161
9228
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
9162
9229
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
9230
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
9163
9231
  ]);
9164
9232
 
9165
9233
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioMixMatrixEvent {
@@ -9350,6 +9418,12 @@ export class AudioGainEvent extends Message<AudioGainEvent> {
9350
9418
  */
9351
9419
  value: SubscriptionResponse;
9352
9420
  case: "subscriptionResponse";
9421
+ } | {
9422
+ /**
9423
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
9424
+ */
9425
+ value: Context;
9426
+ case: "inboundContext";
9353
9427
  } | { case: undefined; value?: undefined } = { case: undefined };
9354
9428
 
9355
9429
  constructor(data?: PartialMessage<AudioGainEvent>) {
@@ -9363,6 +9437,7 @@ export class AudioGainEvent extends Message<AudioGainEvent> {
9363
9437
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
9364
9438
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
9365
9439
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
9440
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
9366
9441
  ]);
9367
9442
 
9368
9443
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioGainEvent {
@@ -9436,6 +9511,12 @@ export class AudioBuildMultichannelMessage extends Message<AudioBuildMultichanne
9436
9511
  */
9437
9512
  value: AudioBuildMultichannelConfiguration;
9438
9513
  case: "initialConfig";
9514
+ } | {
9515
+ /**
9516
+ * @generated from field: norsk.api.media.AudioBuildMultichannelUpdateChannels update_channels = 3;
9517
+ */
9518
+ value: AudioBuildMultichannelUpdateChannels;
9519
+ case: "updateChannels";
9439
9520
  } | { case: undefined; value?: undefined } = { case: undefined };
9440
9521
 
9441
9522
  constructor(data?: PartialMessage<AudioBuildMultichannelMessage>) {
@@ -9448,6 +9529,7 @@ export class AudioBuildMultichannelMessage extends Message<AudioBuildMultichanne
9448
9529
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
9449
9530
  { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
9450
9531
  { no: 2, name: "initial_config", kind: "message", T: AudioBuildMultichannelConfiguration, oneof: "message" },
9532
+ { no: 3, name: "update_channels", kind: "message", T: AudioBuildMultichannelUpdateChannels, oneof: "message" },
9451
9533
  ]);
9452
9534
 
9453
9535
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioBuildMultichannelMessage {
@@ -9467,6 +9549,51 @@ export class AudioBuildMultichannelMessage extends Message<AudioBuildMultichanne
9467
9549
  }
9468
9550
  }
9469
9551
 
9552
+ /**
9553
+ * *
9554
+ * Update an AudioBuildMultichannelMedia Node.
9555
+ *
9556
+ * @generated from message norsk.api.media.AudioBuildMultichannelUpdateChannels
9557
+ */
9558
+ export class AudioBuildMultichannelUpdateChannels extends Message<AudioBuildMultichannelUpdateChannels> {
9559
+ /**
9560
+ * *
9561
+ * Stream keys specifying the source for each channel, where the order is
9562
+ * significant. The streams must all have the same sample format and sample
9563
+ * rate.
9564
+ *
9565
+ * @generated from field: repeated norsk.api.media.StreamKey channel_list = 1;
9566
+ */
9567
+ channelList: StreamKey[] = [];
9568
+
9569
+ constructor(data?: PartialMessage<AudioBuildMultichannelUpdateChannels>) {
9570
+ super();
9571
+ proto3.util.initPartial(data, this);
9572
+ }
9573
+
9574
+ static readonly runtime = proto3;
9575
+ static readonly typeName = "norsk.api.media.AudioBuildMultichannelUpdateChannels";
9576
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
9577
+ { no: 1, name: "channel_list", kind: "message", T: StreamKey, repeated: true },
9578
+ ]);
9579
+
9580
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioBuildMultichannelUpdateChannels {
9581
+ return new AudioBuildMultichannelUpdateChannels().fromBinary(bytes, options);
9582
+ }
9583
+
9584
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioBuildMultichannelUpdateChannels {
9585
+ return new AudioBuildMultichannelUpdateChannels().fromJson(jsonValue, options);
9586
+ }
9587
+
9588
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioBuildMultichannelUpdateChannels {
9589
+ return new AudioBuildMultichannelUpdateChannels().fromJsonString(jsonString, options);
9590
+ }
9591
+
9592
+ static equals(a: AudioBuildMultichannelUpdateChannels | PlainMessage<AudioBuildMultichannelUpdateChannels> | undefined, b: AudioBuildMultichannelUpdateChannels | PlainMessage<AudioBuildMultichannelUpdateChannels> | undefined): boolean {
9593
+ return proto3.util.equals(AudioBuildMultichannelUpdateChannels, a, b);
9594
+ }
9595
+ }
9596
+
9470
9597
  /**
9471
9598
  * *
9472
9599
  * Configure an AudioBuildMultichannelMedia Node.
@@ -9575,6 +9702,12 @@ export class AudioBuildMultichannelEvent extends Message<AudioBuildMultichannelE
9575
9702
  */
9576
9703
  value: SubscriptionResponse;
9577
9704
  case: "subscriptionResponse";
9705
+ } | {
9706
+ /**
9707
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
9708
+ */
9709
+ value: Context;
9710
+ case: "inboundContext";
9578
9711
  } | { case: undefined; value?: undefined } = { case: undefined };
9579
9712
 
9580
9713
  constructor(data?: PartialMessage<AudioBuildMultichannelEvent>) {
@@ -9588,6 +9721,7 @@ export class AudioBuildMultichannelEvent extends Message<AudioBuildMultichannelE
9588
9721
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
9589
9722
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
9590
9723
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
9724
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
9591
9725
  ]);
9592
9726
 
9593
9727
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioBuildMultichannelEvent {
@@ -9785,6 +9919,12 @@ export class AudioSplitMultichannelEvent extends Message<AudioSplitMultichannelE
9785
9919
  */
9786
9920
  value: SubscriptionResponse;
9787
9921
  case: "subscriptionResponse";
9922
+ } | {
9923
+ /**
9924
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
9925
+ */
9926
+ value: Context;
9927
+ case: "inboundContext";
9788
9928
  } | { case: undefined; value?: undefined } = { case: undefined };
9789
9929
 
9790
9930
  constructor(data?: PartialMessage<AudioSplitMultichannelEvent>) {
@@ -9798,6 +9938,7 @@ export class AudioSplitMultichannelEvent extends Message<AudioSplitMultichannelE
9798
9938
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
9799
9939
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
9800
9940
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
9941
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
9801
9942
  ]);
9802
9943
 
9803
9944
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSplitMultichannelEvent {
@@ -10143,6 +10284,11 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
10143
10284
  */
10144
10285
  mpdAdditions = "";
10145
10286
 
10287
+ /**
10288
+ * @generated from field: int32 bitrate = 10;
10289
+ */
10290
+ bitrate = 0;
10291
+
10146
10292
  constructor(data?: PartialMessage<CmafVideoConfiguration>) {
10147
10293
  super();
10148
10294
  proto3.util.initPartial(data, this);
@@ -10160,6 +10306,7 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
10160
10306
  { no: 7, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
10161
10307
  { no: 8, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10162
10308
  { no: 9, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10309
+ { no: 10, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
10163
10310
  ]);
10164
10311
 
10165
10312
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafVideoConfiguration {
@@ -10279,6 +10426,11 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
10279
10426
  */
10280
10427
  mpdAdditions = "";
10281
10428
 
10429
+ /**
10430
+ * @generated from field: int32 bitrate = 8;
10431
+ */
10432
+ bitrate = 0;
10433
+
10282
10434
  constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
10283
10435
  super();
10284
10436
  proto3.util.initPartial(data, this);
@@ -10294,6 +10446,7 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
10294
10446
  { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
10295
10447
  { no: 6, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10296
10448
  { no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10449
+ { no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
10297
10450
  ]);
10298
10451
 
10299
10452
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoConfiguration {
@@ -10423,6 +10576,11 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
10423
10576
  */
10424
10577
  mpdAdditions = "";
10425
10578
 
10579
+ /**
10580
+ * @generated from field: int32 bitrate = 11;
10581
+ */
10582
+ bitrate = 0;
10583
+
10426
10584
  constructor(data?: PartialMessage<CmafAudioConfiguration>) {
10427
10585
  super();
10428
10586
  proto3.util.initPartial(data, this);
@@ -10440,6 +10598,7 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
10440
10598
  { no: 8, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
10441
10599
  { no: 9, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10442
10600
  { no: 10, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10601
+ { no: 11, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
10443
10602
  ]);
10444
10603
 
10445
10604
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafAudioConfiguration {
@@ -10559,6 +10718,11 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
10559
10718
  */
10560
10719
  mpdAdditions = "";
10561
10720
 
10721
+ /**
10722
+ * @generated from field: int32 bitrate = 8;
10723
+ */
10724
+ bitrate = 0;
10725
+
10562
10726
  constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
10563
10727
  super();
10564
10728
  proto3.util.initPartial(data, this);
@@ -10574,6 +10738,7 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
10574
10738
  { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
10575
10739
  { no: 6, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10576
10740
  { no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10741
+ { no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
10577
10742
  ]);
10578
10743
 
10579
10744
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioConfiguration {
@@ -12383,6 +12548,12 @@ export class RtmpOutputEvent extends Message<RtmpOutputEvent> {
12383
12548
  */
12384
12549
  value: MultiStreamStatistics;
12385
12550
  case: "streamStatistics";
12551
+ } | {
12552
+ /**
12553
+ * @generated from field: norsk.api.media.RtmpOutputEvent.State status = 5;
12554
+ */
12555
+ value: RtmpOutputEvent_State;
12556
+ case: "status";
12386
12557
  } | { case: undefined; value?: undefined } = { case: undefined };
12387
12558
 
12388
12559
  constructor(data?: PartialMessage<RtmpOutputEvent>) {
@@ -12397,6 +12568,7 @@ export class RtmpOutputEvent extends Message<RtmpOutputEvent> {
12397
12568
  { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
12398
12569
  { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
12399
12570
  { no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
12571
+ { no: 5, name: "status", kind: "enum", T: proto3.getEnumType(RtmpOutputEvent_State), oneof: "message" },
12400
12572
  ]);
12401
12573
 
12402
12574
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpOutputEvent {
@@ -12416,6 +12588,26 @@ export class RtmpOutputEvent extends Message<RtmpOutputEvent> {
12416
12588
  }
12417
12589
  }
12418
12590
 
12591
+ /**
12592
+ * @generated from enum norsk.api.media.RtmpOutputEvent.State
12593
+ */
12594
+ export enum RtmpOutputEvent_State {
12595
+ /**
12596
+ * @generated from enum value: RTMP_OUTPUT_STATUS_UNKNOWN = 0;
12597
+ */
12598
+ RTMP_OUTPUT_STATUS_UNKNOWN = 0,
12599
+
12600
+ /**
12601
+ * @generated from enum value: RTMP_OUTPUT_STATUS_PUBLISH_START = 1;
12602
+ */
12603
+ RTMP_OUTPUT_STATUS_PUBLISH_START = 1,
12604
+ }
12605
+ // Retrieve enum metadata with: proto3.getEnumType(RtmpOutputEvent_State)
12606
+ proto3.util.setEnumType(RtmpOutputEvent_State, "norsk.api.media.RtmpOutputEvent.State", [
12607
+ { no: 0, name: "RTMP_OUTPUT_STATUS_UNKNOWN" },
12608
+ { no: 1, name: "RTMP_OUTPUT_STATUS_PUBLISH_START" },
12609
+ ]);
12610
+
12419
12611
  /**
12420
12612
  * @generated from message norsk.api.media.FileTsOutputConfiguration
12421
12613
  */
@@ -12740,6 +12932,63 @@ export class FileMp4OutputMessage extends Message<FileMp4OutputMessage> {
12740
12932
  }
12741
12933
  }
12742
12934
 
12935
+ /**
12936
+ * @generated from message norsk.api.media.FileMp4OutputStatus
12937
+ */
12938
+ export class FileMp4OutputStatus extends Message<FileMp4OutputStatus> {
12939
+ /**
12940
+ * @generated from field: norsk.api.media.FileMp4OutputStatus.State state = 1;
12941
+ */
12942
+ state = FileMp4OutputStatus_State.OUTPUT_STATUS_UNKNOWN;
12943
+
12944
+ constructor(data?: PartialMessage<FileMp4OutputStatus>) {
12945
+ super();
12946
+ proto3.util.initPartial(data, this);
12947
+ }
12948
+
12949
+ static readonly runtime = proto3;
12950
+ static readonly typeName = "norsk.api.media.FileMp4OutputStatus";
12951
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
12952
+ { no: 1, name: "state", kind: "enum", T: proto3.getEnumType(FileMp4OutputStatus_State) },
12953
+ ]);
12954
+
12955
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4OutputStatus {
12956
+ return new FileMp4OutputStatus().fromBinary(bytes, options);
12957
+ }
12958
+
12959
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4OutputStatus {
12960
+ return new FileMp4OutputStatus().fromJson(jsonValue, options);
12961
+ }
12962
+
12963
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4OutputStatus {
12964
+ return new FileMp4OutputStatus().fromJsonString(jsonString, options);
12965
+ }
12966
+
12967
+ static equals(a: FileMp4OutputStatus | PlainMessage<FileMp4OutputStatus> | undefined, b: FileMp4OutputStatus | PlainMessage<FileMp4OutputStatus> | undefined): boolean {
12968
+ return proto3.util.equals(FileMp4OutputStatus, a, b);
12969
+ }
12970
+ }
12971
+
12972
+ /**
12973
+ * @generated from enum norsk.api.media.FileMp4OutputStatus.State
12974
+ */
12975
+ export enum FileMp4OutputStatus_State {
12976
+ /**
12977
+ * @generated from enum value: OUTPUT_STATUS_UNKNOWN = 0;
12978
+ */
12979
+ OUTPUT_STATUS_UNKNOWN = 0,
12980
+
12981
+ /**
12982
+ * @generated from enum value: OUTPUT_STATUS_EOF = 1;
12983
+ */
12984
+ OUTPUT_STATUS_EOF = 1,
12985
+ }
12986
+ // Retrieve enum metadata with: proto3.getEnumType(FileMp4OutputStatus_State)
12987
+ proto3.util.setEnumType(FileMp4OutputStatus_State, "norsk.api.media.FileMp4OutputStatus.State", [
12988
+ { no: 0, name: "OUTPUT_STATUS_UNKNOWN" },
12989
+ { no: 1, name: "OUTPUT_STATUS_EOF" },
12990
+ ]);
12991
+
12743
12992
  /**
12744
12993
  * @generated from message norsk.api.media.FileMp4OutputEvent
12745
12994
  */
@@ -12771,6 +13020,12 @@ export class FileMp4OutputEvent extends Message<FileMp4OutputEvent> {
12771
13020
  */
12772
13021
  value: MultiStreamStatistics;
12773
13022
  case: "streamStatistics";
13023
+ } | {
13024
+ /**
13025
+ * @generated from field: norsk.api.media.FileMp4OutputStatus status = 5;
13026
+ */
13027
+ value: FileMp4OutputStatus;
13028
+ case: "status";
12774
13029
  } | { case: undefined; value?: undefined } = { case: undefined };
12775
13030
 
12776
13031
  constructor(data?: PartialMessage<FileMp4OutputEvent>) {
@@ -12785,6 +13040,7 @@ export class FileMp4OutputEvent extends Message<FileMp4OutputEvent> {
12785
13040
  { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
12786
13041
  { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
12787
13042
  { no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
13043
+ { no: 5, name: "status", kind: "message", T: FileMp4OutputStatus, oneof: "message" },
12788
13044
  ]);
12789
13045
 
12790
13046
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4OutputEvent {
@@ -13616,6 +13872,11 @@ export class X265Codec extends Message<X265Codec> {
13616
13872
  */
13617
13873
  noDeblock?: OptionalBool;
13618
13874
 
13875
+ /**
13876
+ * @generated from field: norsk.api.media.X265Codec.X265Tier tier = 18;
13877
+ */
13878
+ tier = X265Codec_X265Tier.MAIN;
13879
+
13619
13880
  constructor(data?: PartialMessage<X265Codec>) {
13620
13881
  super();
13621
13882
  proto3.util.initPartial(data, this);
@@ -13641,6 +13902,7 @@ export class X265Codec extends Message<X265Codec> {
13641
13902
  { no: 13, name: "scene_cut", kind: "message", T: OptionalInt },
13642
13903
  { no: 14, name: "aud", kind: "message", T: OptionalBool },
13643
13904
  { no: 15, name: "no_deblock", kind: "message", T: OptionalBool },
13905
+ { no: 18, name: "tier", kind: "enum", T: proto3.getEnumType(X265Codec_X265Tier) },
13644
13906
  ]);
13645
13907
 
13646
13908
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): X265Codec {
@@ -13822,6 +14084,26 @@ proto3.util.setEnumType(X265Codec_X265Tune, "norsk.api.media.X265Codec.X265Tune"
13822
14084
  { no: 6, name: "X265_TUNE_ANIMATION" },
13823
14085
  ]);
13824
14086
 
14087
+ /**
14088
+ * @generated from enum norsk.api.media.X265Codec.X265Tier
14089
+ */
14090
+ export enum X265Codec_X265Tier {
14091
+ /**
14092
+ * @generated from enum value: X265_TIER_MAIN = 0;
14093
+ */
14094
+ MAIN = 0,
14095
+
14096
+ /**
14097
+ * @generated from enum value: X265_TIER_HIGH = 1;
14098
+ */
14099
+ HIGH = 1,
14100
+ }
14101
+ // Retrieve enum metadata with: proto3.getEnumType(X265Codec_X265Tier)
14102
+ proto3.util.setEnumType(X265Codec_X265Tier, "norsk.api.media.X265Codec.X265Tier", [
14103
+ { no: 0, name: "X265_TIER_MAIN" },
14104
+ { no: 1, name: "X265_TIER_HIGH" },
14105
+ ]);
14106
+
13825
14107
  /**
13826
14108
  * @generated from message norsk.api.media.VideoEncodeStream
13827
14109
  */
@@ -14070,6 +14352,12 @@ export class VideoEncodeEvent extends Message<VideoEncodeEvent> {
14070
14352
  */
14071
14353
  value: SubscriptionResponse;
14072
14354
  case: "subscriptionResponse";
14355
+ } | {
14356
+ /**
14357
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
14358
+ */
14359
+ value: Context;
14360
+ case: "inboundContext";
14073
14361
  } | { case: undefined; value?: undefined } = { case: undefined };
14074
14362
 
14075
14363
  constructor(data?: PartialMessage<VideoEncodeEvent>) {
@@ -14083,6 +14371,7 @@ export class VideoEncodeEvent extends Message<VideoEncodeEvent> {
14083
14371
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
14084
14372
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
14085
14373
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
14374
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
14086
14375
  ]);
14087
14376
 
14088
14377
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoEncodeEvent {
@@ -14354,11 +14643,6 @@ export class NvidiaHevc extends Message<NvidiaHevc> {
14354
14643
  */
14355
14644
  frameIntervalP?: OptionalInt;
14356
14645
 
14357
- /**
14358
- * @generated from field: norsk.api.media.OptionalInt maxNumRefFrames = 5;
14359
- */
14360
- maxNumRefFrames?: OptionalInt;
14361
-
14362
14646
  /**
14363
14647
  * @generated from field: norsk.api.media.OptionalBool outputAud = 6;
14364
14648
  */
@@ -14396,7 +14680,6 @@ export class NvidiaHevc extends Message<NvidiaHevc> {
14396
14680
  { no: 2, name: "gopInterval", kind: "message", T: OptionalInt },
14397
14681
  { no: 3, name: "idrPeriod", kind: "message", T: OptionalInt },
14398
14682
  { no: 4, name: "frameIntervalP", kind: "message", T: OptionalInt },
14399
- { no: 5, name: "maxNumRefFrames", kind: "message", T: OptionalInt },
14400
14683
  { no: 6, name: "outputAud", kind: "message", T: OptionalBool },
14401
14684
  { no: 7, name: "level", kind: "message", T: OptionalInt },
14402
14685
  { no: 8, name: "tier", kind: "enum", T: proto3.getEnumType(NvidiaHevc_NvidiaHevcTier) },
@@ -15563,6 +15846,12 @@ export class VideoTransformEvent extends Message<VideoTransformEvent> {
15563
15846
  */
15564
15847
  value: SubscriptionResponse;
15565
15848
  case: "subscriptionResponse";
15849
+ } | {
15850
+ /**
15851
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
15852
+ */
15853
+ value: Context;
15854
+ case: "inboundContext";
15566
15855
  } | { case: undefined; value?: undefined } = { case: undefined };
15567
15856
 
15568
15857
  constructor(data?: PartialMessage<VideoTransformEvent>) {
@@ -15576,6 +15865,7 @@ export class VideoTransformEvent extends Message<VideoTransformEvent> {
15576
15865
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
15577
15866
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
15578
15867
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
15868
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
15579
15869
  ]);
15580
15870
 
15581
15871
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoTransformEvent {
@@ -15732,6 +16022,12 @@ export class StreamChaosMonkeyEvent extends Message<StreamChaosMonkeyEvent> {
15732
16022
  */
15733
16023
  value: SubscriptionResponse;
15734
16024
  case: "subscriptionResponse";
16025
+ } | {
16026
+ /**
16027
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
16028
+ */
16029
+ value: Context;
16030
+ case: "inboundContext";
15735
16031
  } | { case: undefined; value?: undefined } = { case: undefined };
15736
16032
 
15737
16033
  constructor(data?: PartialMessage<StreamChaosMonkeyEvent>) {
@@ -15745,6 +16041,7 @@ export class StreamChaosMonkeyEvent extends Message<StreamChaosMonkeyEvent> {
15745
16041
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
15746
16042
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
15747
16043
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
16044
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
15748
16045
  ]);
15749
16046
 
15750
16047
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamChaosMonkeyEvent {
@@ -15889,6 +16186,12 @@ export class StreamTimestampNudgeEvent extends Message<StreamTimestampNudgeEvent
15889
16186
  */
15890
16187
  value: SubscriptionResponse;
15891
16188
  case: "subscriptionResponse";
16189
+ } | {
16190
+ /**
16191
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
16192
+ */
16193
+ value: Context;
16194
+ case: "inboundContext";
15892
16195
  } | { case: undefined; value?: undefined } = { case: undefined };
15893
16196
 
15894
16197
  constructor(data?: PartialMessage<StreamTimestampNudgeEvent>) {
@@ -15902,6 +16205,7 @@ export class StreamTimestampNudgeEvent extends Message<StreamTimestampNudgeEvent
15902
16205
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
15903
16206
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
15904
16207
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
16208
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
15905
16209
  ]);
15906
16210
 
15907
16211
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTimestampNudgeEvent {
@@ -16039,6 +16343,12 @@ export class StreamKeyOverrideEvent extends Message<StreamKeyOverrideEvent> {
16039
16343
  */
16040
16344
  value: SubscriptionResponse;
16041
16345
  case: "subscriptionResponse";
16346
+ } | {
16347
+ /**
16348
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
16349
+ */
16350
+ value: Context;
16351
+ case: "inboundContext";
16042
16352
  } | { case: undefined; value?: undefined } = { case: undefined };
16043
16353
 
16044
16354
  constructor(data?: PartialMessage<StreamKeyOverrideEvent>) {
@@ -16052,6 +16362,7 @@ export class StreamKeyOverrideEvent extends Message<StreamKeyOverrideEvent> {
16052
16362
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
16053
16363
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
16054
16364
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
16365
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
16055
16366
  ]);
16056
16367
 
16057
16368
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamKeyOverrideEvent {
@@ -16289,6 +16600,12 @@ export class StreamMetadataOverrideEvent extends Message<StreamMetadataOverrideE
16289
16600
  */
16290
16601
  value: SubscriptionResponse;
16291
16602
  case: "subscriptionResponse";
16603
+ } | {
16604
+ /**
16605
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
16606
+ */
16607
+ value: Context;
16608
+ case: "inboundContext";
16292
16609
  } | { case: undefined; value?: undefined } = { case: undefined };
16293
16610
 
16294
16611
  constructor(data?: PartialMessage<StreamMetadataOverrideEvent>) {
@@ -16302,6 +16619,7 @@ export class StreamMetadataOverrideEvent extends Message<StreamMetadataOverrideE
16302
16619
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
16303
16620
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
16304
16621
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
16622
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
16305
16623
  ]);
16306
16624
 
16307
16625
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamMetadataOverrideEvent {
@@ -16439,6 +16757,12 @@ export class JitterBufferEvent extends Message<JitterBufferEvent> {
16439
16757
  */
16440
16758
  value: SubscriptionResponse;
16441
16759
  case: "subscriptionResponse";
16760
+ } | {
16761
+ /**
16762
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
16763
+ */
16764
+ value: Context;
16765
+ case: "inboundContext";
16442
16766
  } | { case: undefined; value?: undefined } = { case: undefined };
16443
16767
 
16444
16768
  constructor(data?: PartialMessage<JitterBufferEvent>) {
@@ -16452,6 +16776,7 @@ export class JitterBufferEvent extends Message<JitterBufferEvent> {
16452
16776
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
16453
16777
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
16454
16778
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
16779
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
16455
16780
  ]);
16456
16781
 
16457
16782
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JitterBufferEvent {
@@ -16583,6 +16908,12 @@ export class StreamSyncEvent extends Message<StreamSyncEvent> {
16583
16908
  */
16584
16909
  value: SubscriptionResponse;
16585
16910
  case: "subscriptionResponse";
16911
+ } | {
16912
+ /**
16913
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
16914
+ */
16915
+ value: Context;
16916
+ case: "inboundContext";
16586
16917
  } | { case: undefined; value?: undefined } = { case: undefined };
16587
16918
 
16588
16919
  constructor(data?: PartialMessage<StreamSyncEvent>) {
@@ -16596,6 +16927,7 @@ export class StreamSyncEvent extends Message<StreamSyncEvent> {
16596
16927
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
16597
16928
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
16598
16929
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
16930
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
16599
16931
  ]);
16600
16932
 
16601
16933
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSyncEvent {
@@ -16615,6 +16947,157 @@ export class StreamSyncEvent extends Message<StreamSyncEvent> {
16615
16947
  }
16616
16948
  }
16617
16949
 
16950
+ /**
16951
+ * @generated from message norsk.api.media.StreamProgramJoinConfiguration
16952
+ */
16953
+ export class StreamProgramJoinConfiguration extends Message<StreamProgramJoinConfiguration> {
16954
+ /**
16955
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
16956
+ */
16957
+ id?: MediaNodeId;
16958
+
16959
+ constructor(data?: PartialMessage<StreamProgramJoinConfiguration>) {
16960
+ super();
16961
+ proto3.util.initPartial(data, this);
16962
+ }
16963
+
16964
+ static readonly runtime = proto3;
16965
+ static readonly typeName = "norsk.api.media.StreamProgramJoinConfiguration";
16966
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
16967
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
16968
+ ]);
16969
+
16970
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamProgramJoinConfiguration {
16971
+ return new StreamProgramJoinConfiguration().fromBinary(bytes, options);
16972
+ }
16973
+
16974
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamProgramJoinConfiguration {
16975
+ return new StreamProgramJoinConfiguration().fromJson(jsonValue, options);
16976
+ }
16977
+
16978
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamProgramJoinConfiguration {
16979
+ return new StreamProgramJoinConfiguration().fromJsonString(jsonString, options);
16980
+ }
16981
+
16982
+ static equals(a: StreamProgramJoinConfiguration | PlainMessage<StreamProgramJoinConfiguration> | undefined, b: StreamProgramJoinConfiguration | PlainMessage<StreamProgramJoinConfiguration> | undefined): boolean {
16983
+ return proto3.util.equals(StreamProgramJoinConfiguration, a, b);
16984
+ }
16985
+ }
16986
+
16987
+ /**
16988
+ * @generated from message norsk.api.media.StreamProgramJoinMessage
16989
+ */
16990
+ export class StreamProgramJoinMessage extends Message<StreamProgramJoinMessage> {
16991
+ /**
16992
+ * @generated from oneof norsk.api.media.StreamProgramJoinMessage.message
16993
+ */
16994
+ message: {
16995
+ /**
16996
+ * @generated from field: norsk.api.media.StreamProgramJoinConfiguration initial_config = 1;
16997
+ */
16998
+ value: StreamProgramJoinConfiguration;
16999
+ case: "initialConfig";
17000
+ } | {
17001
+ /**
17002
+ * @generated from field: norsk.api.media.Subscription subscription = 2;
17003
+ */
17004
+ value: Subscription;
17005
+ case: "subscription";
17006
+ } | { case: undefined; value?: undefined } = { case: undefined };
17007
+
17008
+ constructor(data?: PartialMessage<StreamProgramJoinMessage>) {
17009
+ super();
17010
+ proto3.util.initPartial(data, this);
17011
+ }
17012
+
17013
+ static readonly runtime = proto3;
17014
+ static readonly typeName = "norsk.api.media.StreamProgramJoinMessage";
17015
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17016
+ { no: 1, name: "initial_config", kind: "message", T: StreamProgramJoinConfiguration, oneof: "message" },
17017
+ { no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
17018
+ ]);
17019
+
17020
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamProgramJoinMessage {
17021
+ return new StreamProgramJoinMessage().fromBinary(bytes, options);
17022
+ }
17023
+
17024
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamProgramJoinMessage {
17025
+ return new StreamProgramJoinMessage().fromJson(jsonValue, options);
17026
+ }
17027
+
17028
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamProgramJoinMessage {
17029
+ return new StreamProgramJoinMessage().fromJsonString(jsonString, options);
17030
+ }
17031
+
17032
+ static equals(a: StreamProgramJoinMessage | PlainMessage<StreamProgramJoinMessage> | undefined, b: StreamProgramJoinMessage | PlainMessage<StreamProgramJoinMessage> | undefined): boolean {
17033
+ return proto3.util.equals(StreamProgramJoinMessage, a, b);
17034
+ }
17035
+ }
17036
+
17037
+ /**
17038
+ * @generated from message norsk.api.media.StreamProgramJoinEvent
17039
+ */
17040
+ export class StreamProgramJoinEvent extends Message<StreamProgramJoinEvent> {
17041
+ /**
17042
+ * @generated from oneof norsk.api.media.StreamProgramJoinEvent.message
17043
+ */
17044
+ message: {
17045
+ /**
17046
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
17047
+ */
17048
+ value: MediaNodeId;
17049
+ case: "nodeId";
17050
+ } | {
17051
+ /**
17052
+ * @generated from field: norsk.api.media.Context outbound_context = 2;
17053
+ */
17054
+ value: Context;
17055
+ case: "outboundContext";
17056
+ } | {
17057
+ /**
17058
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
17059
+ */
17060
+ value: SubscriptionResponse;
17061
+ case: "subscriptionResponse";
17062
+ } | {
17063
+ /**
17064
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
17065
+ */
17066
+ value: Context;
17067
+ case: "inboundContext";
17068
+ } | { case: undefined; value?: undefined } = { case: undefined };
17069
+
17070
+ constructor(data?: PartialMessage<StreamProgramJoinEvent>) {
17071
+ super();
17072
+ proto3.util.initPartial(data, this);
17073
+ }
17074
+
17075
+ static readonly runtime = proto3;
17076
+ static readonly typeName = "norsk.api.media.StreamProgramJoinEvent";
17077
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17078
+ { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
17079
+ { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
17080
+ { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
17081
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17082
+ ]);
17083
+
17084
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamProgramJoinEvent {
17085
+ return new StreamProgramJoinEvent().fromBinary(bytes, options);
17086
+ }
17087
+
17088
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamProgramJoinEvent {
17089
+ return new StreamProgramJoinEvent().fromJson(jsonValue, options);
17090
+ }
17091
+
17092
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamProgramJoinEvent {
17093
+ return new StreamProgramJoinEvent().fromJsonString(jsonString, options);
17094
+ }
17095
+
17096
+ static equals(a: StreamProgramJoinEvent | PlainMessage<StreamProgramJoinEvent> | undefined, b: StreamProgramJoinEvent | PlainMessage<StreamProgramJoinEvent> | undefined): boolean {
17097
+ return proto3.util.equals(StreamProgramJoinEvent, a, b);
17098
+ }
17099
+ }
17100
+
16618
17101
  /**
16619
17102
  * ///////////////////////////////
16620
17103
  * AudioEncode
@@ -16901,6 +17384,12 @@ export class AudioEncodeEvent extends Message<AudioEncodeEvent> {
16901
17384
  */
16902
17385
  value: SubscriptionResponse;
16903
17386
  case: "subscriptionResponse";
17387
+ } | {
17388
+ /**
17389
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
17390
+ */
17391
+ value: Context;
17392
+ case: "inboundContext";
16904
17393
  } | { case: undefined; value?: undefined } = { case: undefined };
16905
17394
 
16906
17395
  constructor(data?: PartialMessage<AudioEncodeEvent>) {
@@ -16914,6 +17403,7 @@ export class AudioEncodeEvent extends Message<AudioEncodeEvent> {
16914
17403
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
16915
17404
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
16916
17405
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
17406
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
16917
17407
  ]);
16918
17408
 
16919
17409
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioEncodeEvent {
@@ -17147,6 +17637,43 @@ export class StreamSwitchSmoothSwitchError extends Message<StreamSwitchSmoothSwi
17147
17637
  }
17148
17638
  }
17149
17639
 
17640
+ /**
17641
+ * @generated from message norsk.api.media.StreamSwitchTransitionComplete
17642
+ */
17643
+ export class StreamSwitchTransitionComplete extends Message<StreamSwitchTransitionComplete> {
17644
+ /**
17645
+ * @generated from field: norsk.api.media.InputPin active_source = 1;
17646
+ */
17647
+ activeSource?: InputPin;
17648
+
17649
+ constructor(data?: PartialMessage<StreamSwitchTransitionComplete>) {
17650
+ super();
17651
+ proto3.util.initPartial(data, this);
17652
+ }
17653
+
17654
+ static readonly runtime = proto3;
17655
+ static readonly typeName = "norsk.api.media.StreamSwitchTransitionComplete";
17656
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
17657
+ { no: 1, name: "active_source", kind: "message", T: InputPin },
17658
+ ]);
17659
+
17660
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchTransitionComplete {
17661
+ return new StreamSwitchTransitionComplete().fromBinary(bytes, options);
17662
+ }
17663
+
17664
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamSwitchTransitionComplete {
17665
+ return new StreamSwitchTransitionComplete().fromJson(jsonValue, options);
17666
+ }
17667
+
17668
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamSwitchTransitionComplete {
17669
+ return new StreamSwitchTransitionComplete().fromJsonString(jsonString, options);
17670
+ }
17671
+
17672
+ static equals(a: StreamSwitchTransitionComplete | PlainMessage<StreamSwitchTransitionComplete> | undefined, b: StreamSwitchTransitionComplete | PlainMessage<StreamSwitchTransitionComplete> | undefined): boolean {
17673
+ return proto3.util.equals(StreamSwitchTransitionComplete, a, b);
17674
+ }
17675
+ }
17676
+
17150
17677
  /**
17151
17678
  * @generated from message norsk.api.media.StreamSwitchSmoothEvent
17152
17679
  */
@@ -17184,9 +17711,28 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
17184
17711
  * input in this message means that media has arrived and is ready to switch
17185
17712
  * immediately
17186
17713
  *
17187
- * @generated from field: norsk.api.media.MultipleContext inbound_context = 5;
17714
+ * @generated from field: norsk.api.media.MultipleContext validated_context = 5;
17188
17715
  */
17189
17716
  value: MultipleContext;
17717
+ case: "validatedContext";
17718
+ } | {
17719
+ /**
17720
+ * Message indicating a transition has succesfully completed for a requested switch, i.e. the new source
17721
+ * is now showing
17722
+ *
17723
+ * @generated from field: norsk.api.media.StreamSwitchTransitionComplete transition_complete = 6;
17724
+ */
17725
+ value: StreamSwitchTransitionComplete;
17726
+ case: "transitionComplete";
17727
+ } | {
17728
+ /**
17729
+ * The shared validation message used by all nodes, this takes
17730
+ * place before synchronisation and is useful for gathering all streams
17731
+ * before letting through to sync
17732
+ *
17733
+ * @generated from field: norsk.api.media.Context inbound_context = 7;
17734
+ */
17735
+ value: Context;
17190
17736
  case: "inboundContext";
17191
17737
  } | { case: undefined; value?: undefined } = { case: undefined };
17192
17738
 
@@ -17202,7 +17748,9 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
17202
17748
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
17203
17749
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
17204
17750
  { no: 4, name: "switch_error", kind: "message", T: StreamSwitchSmoothSwitchError, oneof: "message" },
17205
- { no: 5, name: "inbound_context", kind: "message", T: MultipleContext, oneof: "message" },
17751
+ { no: 5, name: "validated_context", kind: "message", T: MultipleContext, oneof: "message" },
17752
+ { no: 6, name: "transition_complete", kind: "message", T: StreamSwitchTransitionComplete, oneof: "message" },
17753
+ { no: 7, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17206
17754
  ]);
17207
17755
 
17208
17756
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchSmoothEvent {
@@ -17396,6 +17944,12 @@ export class StreamSwitchHardEvent extends Message<StreamSwitchHardEvent> {
17396
17944
  */
17397
17945
  value: SubscriptionResponse;
17398
17946
  case: "subscriptionResponse";
17947
+ } | {
17948
+ /**
17949
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
17950
+ */
17951
+ value: Context;
17952
+ case: "inboundContext";
17399
17953
  } | { case: undefined; value?: undefined } = { case: undefined };
17400
17954
 
17401
17955
  constructor(data?: PartialMessage<StreamSwitchHardEvent>) {
@@ -17409,6 +17963,7 @@ export class StreamSwitchHardEvent extends Message<StreamSwitchHardEvent> {
17409
17963
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
17410
17964
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
17411
17965
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
17966
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17412
17967
  ]);
17413
17968
 
17414
17969
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchHardEvent {
@@ -17555,6 +18110,12 @@ export class StreamStatisticsEvent extends Message<StreamStatisticsEvent> {
17555
18110
  */
17556
18111
  value: SubscriptionResponse;
17557
18112
  case: "subscriptionResponse";
18113
+ } | {
18114
+ /**
18115
+ * @generated from field: norsk.api.media.Context inbound_context = 5;
18116
+ */
18117
+ value: Context;
18118
+ case: "inboundContext";
17558
18119
  } | { case: undefined; value?: undefined } = { case: undefined };
17559
18120
 
17560
18121
  constructor(data?: PartialMessage<StreamStatisticsEvent>) {
@@ -17569,6 +18130,7 @@ export class StreamStatisticsEvent extends Message<StreamStatisticsEvent> {
17569
18130
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
17570
18131
  { no: 3, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
17571
18132
  { no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
18133
+ { no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17572
18134
  ]);
17573
18135
 
17574
18136
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamStatisticsEvent {
@@ -17894,6 +18456,12 @@ export class AudioMeasureLevelsEvent extends Message<AudioMeasureLevelsEvent> {
17894
18456
  */
17895
18457
  value: SubscriptionResponse;
17896
18458
  case: "subscriptionResponse";
18459
+ } | {
18460
+ /**
18461
+ * @generated from field: norsk.api.media.Context inbound_context = 5;
18462
+ */
18463
+ value: Context;
18464
+ case: "inboundContext";
17897
18465
  } | { case: undefined; value?: undefined } = { case: undefined };
17898
18466
 
17899
18467
  constructor(data?: PartialMessage<AudioMeasureLevelsEvent>) {
@@ -17908,6 +18476,7 @@ export class AudioMeasureLevelsEvent extends Message<AudioMeasureLevelsEvent> {
17908
18476
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
17909
18477
  { no: 3, name: "levels", kind: "message", T: AudioMeasureLevels, oneof: "message" },
17910
18478
  { no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
18479
+ { no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17911
18480
  ]);
17912
18481
 
17913
18482
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioMeasureLevelsEvent {
@@ -18658,6 +19227,12 @@ export class AudioTranscribeAwsEvent extends Message<AudioTranscribeAwsEvent> {
18658
19227
  */
18659
19228
  value: SubscriptionResponse;
18660
19229
  case: "subscriptionResponse";
19230
+ } | {
19231
+ /**
19232
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
19233
+ */
19234
+ value: Context;
19235
+ case: "inboundContext";
18661
19236
  } | { case: undefined; value?: undefined } = { case: undefined };
18662
19237
 
18663
19238
  constructor(data?: PartialMessage<AudioTranscribeAwsEvent>) {
@@ -18671,6 +19246,7 @@ export class AudioTranscribeAwsEvent extends Message<AudioTranscribeAwsEvent> {
18671
19246
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
18672
19247
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
18673
19248
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
19249
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18674
19250
  ]);
18675
19251
 
18676
19252
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAwsEvent {
@@ -18825,6 +19401,12 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
18825
19401
  */
18826
19402
  value: Smpte2038Message;
18827
19403
  case: "smpte2038Message";
19404
+ } | {
19405
+ /**
19406
+ * @generated from field: norsk.api.media.Context inbound_context = 7;
19407
+ */
19408
+ value: Context;
19409
+ case: "inboundContext";
18828
19410
  } | { case: undefined; value?: undefined } = { case: undefined };
18829
19411
 
18830
19412
  constructor(data?: PartialMessage<AncillaryEvent>) {
@@ -18840,6 +19422,7 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
18840
19422
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
18841
19423
  { no: 4, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
18842
19424
  { no: 6, name: "smpte2038_message", kind: "message", T: Smpte2038Message, oneof: "message" },
19425
+ { no: 7, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18843
19426
  ]);
18844
19427
 
18845
19428
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryEvent {