@norskvideo/norsk-api 1.0.341 → 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 {
@@ -8576,6 +8609,12 @@ export class VideoComposeSourceEvent extends Message<VideoComposeSourceEvent> {
8576
8609
  */
8577
8610
  value: TransitionComplete;
8578
8611
  case: "transitionComplete";
8612
+ } | {
8613
+ /**
8614
+ * @generated from field: norsk.api.media.Context inbound_context = 5;
8615
+ */
8616
+ value: Context;
8617
+ case: "inboundContext";
8579
8618
  } | { case: undefined; value?: undefined } = { case: undefined };
8580
8619
 
8581
8620
  constructor(data?: PartialMessage<VideoComposeSourceEvent>) {
@@ -8590,6 +8629,7 @@ export class VideoComposeSourceEvent extends Message<VideoComposeSourceEvent> {
8590
8629
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
8591
8630
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
8592
8631
  { no: 4, name: "transition_complete", kind: "message", T: TransitionComplete, oneof: "message" },
8632
+ { no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
8593
8633
  ]);
8594
8634
 
8595
8635
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoComposeSourceEvent {
@@ -8787,6 +8827,13 @@ export class AudioMixConfiguration extends Message<AudioMixConfiguration> {
8787
8827
  */
8788
8828
  sampleRate = SampleRate.RATE_8000;
8789
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
+
8790
8837
  constructor(data?: PartialMessage<AudioMixConfiguration>) {
8791
8838
  super();
8792
8839
  proto3.util.initPartial(data, this);
@@ -8799,6 +8846,7 @@ export class AudioMixConfiguration extends Message<AudioMixConfiguration> {
8799
8846
  { no: 2, name: "sources", kind: "message", T: AudioMixSource, repeated: true },
8800
8847
  { no: 3, name: "output_source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8801
8848
  { no: 4, name: "sample_rate", kind: "enum", T: proto3.getEnumType(SampleRate) },
8849
+ { no: 5, name: "channel_layout", kind: "message", T: ChannelLayout },
8802
8850
  ]);
8803
8851
 
8804
8852
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioMixConfiguration {
@@ -8882,6 +8930,12 @@ export class AudioMixEvent extends Message<AudioMixEvent> {
8882
8930
  */
8883
8931
  value: SubscriptionResponse;
8884
8932
  case: "subscriptionResponse";
8933
+ } | {
8934
+ /**
8935
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
8936
+ */
8937
+ value: Context;
8938
+ case: "inboundContext";
8885
8939
  } | { case: undefined; value?: undefined } = { case: undefined };
8886
8940
 
8887
8941
  constructor(data?: PartialMessage<AudioMixEvent>) {
@@ -8895,6 +8949,7 @@ export class AudioMixEvent extends Message<AudioMixEvent> {
8895
8949
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
8896
8950
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
8897
8951
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
8952
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
8898
8953
  ]);
8899
8954
 
8900
8955
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioMixEvent {
@@ -9153,6 +9208,12 @@ export class AudioMixMatrixEvent extends Message<AudioMixMatrixEvent> {
9153
9208
  */
9154
9209
  value: SubscriptionResponse;
9155
9210
  case: "subscriptionResponse";
9211
+ } | {
9212
+ /**
9213
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
9214
+ */
9215
+ value: Context;
9216
+ case: "inboundContext";
9156
9217
  } | { case: undefined; value?: undefined } = { case: undefined };
9157
9218
 
9158
9219
  constructor(data?: PartialMessage<AudioMixMatrixEvent>) {
@@ -9166,6 +9227,7 @@ export class AudioMixMatrixEvent extends Message<AudioMixMatrixEvent> {
9166
9227
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
9167
9228
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
9168
9229
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
9230
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
9169
9231
  ]);
9170
9232
 
9171
9233
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioMixMatrixEvent {
@@ -9356,6 +9418,12 @@ export class AudioGainEvent extends Message<AudioGainEvent> {
9356
9418
  */
9357
9419
  value: SubscriptionResponse;
9358
9420
  case: "subscriptionResponse";
9421
+ } | {
9422
+ /**
9423
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
9424
+ */
9425
+ value: Context;
9426
+ case: "inboundContext";
9359
9427
  } | { case: undefined; value?: undefined } = { case: undefined };
9360
9428
 
9361
9429
  constructor(data?: PartialMessage<AudioGainEvent>) {
@@ -9369,6 +9437,7 @@ export class AudioGainEvent extends Message<AudioGainEvent> {
9369
9437
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
9370
9438
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
9371
9439
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
9440
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
9372
9441
  ]);
9373
9442
 
9374
9443
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioGainEvent {
@@ -9442,6 +9511,12 @@ export class AudioBuildMultichannelMessage extends Message<AudioBuildMultichanne
9442
9511
  */
9443
9512
  value: AudioBuildMultichannelConfiguration;
9444
9513
  case: "initialConfig";
9514
+ } | {
9515
+ /**
9516
+ * @generated from field: norsk.api.media.AudioBuildMultichannelUpdateChannels update_channels = 3;
9517
+ */
9518
+ value: AudioBuildMultichannelUpdateChannels;
9519
+ case: "updateChannels";
9445
9520
  } | { case: undefined; value?: undefined } = { case: undefined };
9446
9521
 
9447
9522
  constructor(data?: PartialMessage<AudioBuildMultichannelMessage>) {
@@ -9454,6 +9529,7 @@ export class AudioBuildMultichannelMessage extends Message<AudioBuildMultichanne
9454
9529
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
9455
9530
  { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
9456
9531
  { no: 2, name: "initial_config", kind: "message", T: AudioBuildMultichannelConfiguration, oneof: "message" },
9532
+ { no: 3, name: "update_channels", kind: "message", T: AudioBuildMultichannelUpdateChannels, oneof: "message" },
9457
9533
  ]);
9458
9534
 
9459
9535
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioBuildMultichannelMessage {
@@ -9473,6 +9549,51 @@ export class AudioBuildMultichannelMessage extends Message<AudioBuildMultichanne
9473
9549
  }
9474
9550
  }
9475
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
+
9476
9597
  /**
9477
9598
  * *
9478
9599
  * Configure an AudioBuildMultichannelMedia Node.
@@ -9581,6 +9702,12 @@ export class AudioBuildMultichannelEvent extends Message<AudioBuildMultichannelE
9581
9702
  */
9582
9703
  value: SubscriptionResponse;
9583
9704
  case: "subscriptionResponse";
9705
+ } | {
9706
+ /**
9707
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
9708
+ */
9709
+ value: Context;
9710
+ case: "inboundContext";
9584
9711
  } | { case: undefined; value?: undefined } = { case: undefined };
9585
9712
 
9586
9713
  constructor(data?: PartialMessage<AudioBuildMultichannelEvent>) {
@@ -9594,6 +9721,7 @@ export class AudioBuildMultichannelEvent extends Message<AudioBuildMultichannelE
9594
9721
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
9595
9722
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
9596
9723
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
9724
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
9597
9725
  ]);
9598
9726
 
9599
9727
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioBuildMultichannelEvent {
@@ -9791,6 +9919,12 @@ export class AudioSplitMultichannelEvent extends Message<AudioSplitMultichannelE
9791
9919
  */
9792
9920
  value: SubscriptionResponse;
9793
9921
  case: "subscriptionResponse";
9922
+ } | {
9923
+ /**
9924
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
9925
+ */
9926
+ value: Context;
9927
+ case: "inboundContext";
9794
9928
  } | { case: undefined; value?: undefined } = { case: undefined };
9795
9929
 
9796
9930
  constructor(data?: PartialMessage<AudioSplitMultichannelEvent>) {
@@ -9804,6 +9938,7 @@ export class AudioSplitMultichannelEvent extends Message<AudioSplitMultichannelE
9804
9938
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
9805
9939
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
9806
9940
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
9941
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
9807
9942
  ]);
9808
9943
 
9809
9944
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSplitMultichannelEvent {
@@ -10149,6 +10284,11 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
10149
10284
  */
10150
10285
  mpdAdditions = "";
10151
10286
 
10287
+ /**
10288
+ * @generated from field: int32 bitrate = 10;
10289
+ */
10290
+ bitrate = 0;
10291
+
10152
10292
  constructor(data?: PartialMessage<CmafVideoConfiguration>) {
10153
10293
  super();
10154
10294
  proto3.util.initPartial(data, this);
@@ -10166,6 +10306,7 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
10166
10306
  { no: 7, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
10167
10307
  { no: 8, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10168
10308
  { no: 9, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10309
+ { no: 10, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
10169
10310
  ]);
10170
10311
 
10171
10312
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafVideoConfiguration {
@@ -10285,6 +10426,11 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
10285
10426
  */
10286
10427
  mpdAdditions = "";
10287
10428
 
10429
+ /**
10430
+ * @generated from field: int32 bitrate = 8;
10431
+ */
10432
+ bitrate = 0;
10433
+
10288
10434
  constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
10289
10435
  super();
10290
10436
  proto3.util.initPartial(data, this);
@@ -10300,6 +10446,7 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
10300
10446
  { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
10301
10447
  { no: 6, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10302
10448
  { no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10449
+ { no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
10303
10450
  ]);
10304
10451
 
10305
10452
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoConfiguration {
@@ -10429,6 +10576,11 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
10429
10576
  */
10430
10577
  mpdAdditions = "";
10431
10578
 
10579
+ /**
10580
+ * @generated from field: int32 bitrate = 11;
10581
+ */
10582
+ bitrate = 0;
10583
+
10432
10584
  constructor(data?: PartialMessage<CmafAudioConfiguration>) {
10433
10585
  super();
10434
10586
  proto3.util.initPartial(data, this);
@@ -10446,6 +10598,7 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
10446
10598
  { no: 8, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
10447
10599
  { no: 9, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10448
10600
  { no: 10, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10601
+ { no: 11, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
10449
10602
  ]);
10450
10603
 
10451
10604
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafAudioConfiguration {
@@ -10565,6 +10718,11 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
10565
10718
  */
10566
10719
  mpdAdditions = "";
10567
10720
 
10721
+ /**
10722
+ * @generated from field: int32 bitrate = 8;
10723
+ */
10724
+ bitrate = 0;
10725
+
10568
10726
  constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
10569
10727
  super();
10570
10728
  proto3.util.initPartial(data, this);
@@ -10580,6 +10738,7 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
10580
10738
  { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
10581
10739
  { no: 6, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10582
10740
  { no: 7, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
10741
+ { no: 8, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
10583
10742
  ]);
10584
10743
 
10585
10744
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioConfiguration {
@@ -12389,6 +12548,12 @@ export class RtmpOutputEvent extends Message<RtmpOutputEvent> {
12389
12548
  */
12390
12549
  value: MultiStreamStatistics;
12391
12550
  case: "streamStatistics";
12551
+ } | {
12552
+ /**
12553
+ * @generated from field: norsk.api.media.RtmpOutputEvent.State status = 5;
12554
+ */
12555
+ value: RtmpOutputEvent_State;
12556
+ case: "status";
12392
12557
  } | { case: undefined; value?: undefined } = { case: undefined };
12393
12558
 
12394
12559
  constructor(data?: PartialMessage<RtmpOutputEvent>) {
@@ -12403,6 +12568,7 @@ export class RtmpOutputEvent extends Message<RtmpOutputEvent> {
12403
12568
  { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
12404
12569
  { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
12405
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" },
12406
12572
  ]);
12407
12573
 
12408
12574
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpOutputEvent {
@@ -12422,6 +12588,26 @@ export class RtmpOutputEvent extends Message<RtmpOutputEvent> {
12422
12588
  }
12423
12589
  }
12424
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
+
12425
12611
  /**
12426
12612
  * @generated from message norsk.api.media.FileTsOutputConfiguration
12427
12613
  */
@@ -12746,6 +12932,63 @@ export class FileMp4OutputMessage extends Message<FileMp4OutputMessage> {
12746
12932
  }
12747
12933
  }
12748
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
+
12749
12992
  /**
12750
12993
  * @generated from message norsk.api.media.FileMp4OutputEvent
12751
12994
  */
@@ -12777,6 +13020,12 @@ export class FileMp4OutputEvent extends Message<FileMp4OutputEvent> {
12777
13020
  */
12778
13021
  value: MultiStreamStatistics;
12779
13022
  case: "streamStatistics";
13023
+ } | {
13024
+ /**
13025
+ * @generated from field: norsk.api.media.FileMp4OutputStatus status = 5;
13026
+ */
13027
+ value: FileMp4OutputStatus;
13028
+ case: "status";
12780
13029
  } | { case: undefined; value?: undefined } = { case: undefined };
12781
13030
 
12782
13031
  constructor(data?: PartialMessage<FileMp4OutputEvent>) {
@@ -12791,6 +13040,7 @@ export class FileMp4OutputEvent extends Message<FileMp4OutputEvent> {
12791
13040
  { no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
12792
13041
  { no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
12793
13042
  { no: 4, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
13043
+ { no: 5, name: "status", kind: "message", T: FileMp4OutputStatus, oneof: "message" },
12794
13044
  ]);
12795
13045
 
12796
13046
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4OutputEvent {
@@ -13622,6 +13872,11 @@ export class X265Codec extends Message<X265Codec> {
13622
13872
  */
13623
13873
  noDeblock?: OptionalBool;
13624
13874
 
13875
+ /**
13876
+ * @generated from field: norsk.api.media.X265Codec.X265Tier tier = 18;
13877
+ */
13878
+ tier = X265Codec_X265Tier.MAIN;
13879
+
13625
13880
  constructor(data?: PartialMessage<X265Codec>) {
13626
13881
  super();
13627
13882
  proto3.util.initPartial(data, this);
@@ -13647,6 +13902,7 @@ export class X265Codec extends Message<X265Codec> {
13647
13902
  { no: 13, name: "scene_cut", kind: "message", T: OptionalInt },
13648
13903
  { no: 14, name: "aud", kind: "message", T: OptionalBool },
13649
13904
  { no: 15, name: "no_deblock", kind: "message", T: OptionalBool },
13905
+ { no: 18, name: "tier", kind: "enum", T: proto3.getEnumType(X265Codec_X265Tier) },
13650
13906
  ]);
13651
13907
 
13652
13908
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): X265Codec {
@@ -13828,6 +14084,26 @@ proto3.util.setEnumType(X265Codec_X265Tune, "norsk.api.media.X265Codec.X265Tune"
13828
14084
  { no: 6, name: "X265_TUNE_ANIMATION" },
13829
14085
  ]);
13830
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
+
13831
14107
  /**
13832
14108
  * @generated from message norsk.api.media.VideoEncodeStream
13833
14109
  */
@@ -14076,6 +14352,12 @@ export class VideoEncodeEvent extends Message<VideoEncodeEvent> {
14076
14352
  */
14077
14353
  value: SubscriptionResponse;
14078
14354
  case: "subscriptionResponse";
14355
+ } | {
14356
+ /**
14357
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
14358
+ */
14359
+ value: Context;
14360
+ case: "inboundContext";
14079
14361
  } | { case: undefined; value?: undefined } = { case: undefined };
14080
14362
 
14081
14363
  constructor(data?: PartialMessage<VideoEncodeEvent>) {
@@ -14089,6 +14371,7 @@ export class VideoEncodeEvent extends Message<VideoEncodeEvent> {
14089
14371
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
14090
14372
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
14091
14373
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
14374
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
14092
14375
  ]);
14093
14376
 
14094
14377
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoEncodeEvent {
@@ -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 {
@@ -17221,10 +17711,10 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
17221
17711
  * input in this message means that media has arrived and is ready to switch
17222
17712
  * immediately
17223
17713
  *
17224
- * @generated from field: norsk.api.media.MultipleContext inbound_context = 5;
17714
+ * @generated from field: norsk.api.media.MultipleContext validated_context = 5;
17225
17715
  */
17226
17716
  value: MultipleContext;
17227
- case: "inboundContext";
17717
+ case: "validatedContext";
17228
17718
  } | {
17229
17719
  /**
17230
17720
  * Message indicating a transition has succesfully completed for a requested switch, i.e. the new source
@@ -17234,6 +17724,16 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
17234
17724
  */
17235
17725
  value: StreamSwitchTransitionComplete;
17236
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;
17736
+ case: "inboundContext";
17237
17737
  } | { case: undefined; value?: undefined } = { case: undefined };
17238
17738
 
17239
17739
  constructor(data?: PartialMessage<StreamSwitchSmoothEvent>) {
@@ -17248,8 +17748,9 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
17248
17748
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
17249
17749
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
17250
17750
  { no: 4, name: "switch_error", kind: "message", T: StreamSwitchSmoothSwitchError, oneof: "message" },
17251
- { no: 5, name: "inbound_context", kind: "message", T: MultipleContext, oneof: "message" },
17751
+ { no: 5, name: "validated_context", kind: "message", T: MultipleContext, oneof: "message" },
17252
17752
  { no: 6, name: "transition_complete", kind: "message", T: StreamSwitchTransitionComplete, oneof: "message" },
17753
+ { no: 7, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17253
17754
  ]);
17254
17755
 
17255
17756
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchSmoothEvent {
@@ -17443,6 +17944,12 @@ export class StreamSwitchHardEvent extends Message<StreamSwitchHardEvent> {
17443
17944
  */
17444
17945
  value: SubscriptionResponse;
17445
17946
  case: "subscriptionResponse";
17947
+ } | {
17948
+ /**
17949
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
17950
+ */
17951
+ value: Context;
17952
+ case: "inboundContext";
17446
17953
  } | { case: undefined; value?: undefined } = { case: undefined };
17447
17954
 
17448
17955
  constructor(data?: PartialMessage<StreamSwitchHardEvent>) {
@@ -17456,6 +17963,7 @@ export class StreamSwitchHardEvent extends Message<StreamSwitchHardEvent> {
17456
17963
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
17457
17964
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
17458
17965
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
17966
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17459
17967
  ]);
17460
17968
 
17461
17969
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchHardEvent {
@@ -17602,6 +18110,12 @@ export class StreamStatisticsEvent extends Message<StreamStatisticsEvent> {
17602
18110
  */
17603
18111
  value: SubscriptionResponse;
17604
18112
  case: "subscriptionResponse";
18113
+ } | {
18114
+ /**
18115
+ * @generated from field: norsk.api.media.Context inbound_context = 5;
18116
+ */
18117
+ value: Context;
18118
+ case: "inboundContext";
17605
18119
  } | { case: undefined; value?: undefined } = { case: undefined };
17606
18120
 
17607
18121
  constructor(data?: PartialMessage<StreamStatisticsEvent>) {
@@ -17616,6 +18130,7 @@ export class StreamStatisticsEvent extends Message<StreamStatisticsEvent> {
17616
18130
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
17617
18131
  { no: 3, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
17618
18132
  { no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
18133
+ { no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17619
18134
  ]);
17620
18135
 
17621
18136
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamStatisticsEvent {
@@ -17941,6 +18456,12 @@ export class AudioMeasureLevelsEvent extends Message<AudioMeasureLevelsEvent> {
17941
18456
  */
17942
18457
  value: SubscriptionResponse;
17943
18458
  case: "subscriptionResponse";
18459
+ } | {
18460
+ /**
18461
+ * @generated from field: norsk.api.media.Context inbound_context = 5;
18462
+ */
18463
+ value: Context;
18464
+ case: "inboundContext";
17944
18465
  } | { case: undefined; value?: undefined } = { case: undefined };
17945
18466
 
17946
18467
  constructor(data?: PartialMessage<AudioMeasureLevelsEvent>) {
@@ -17955,6 +18476,7 @@ export class AudioMeasureLevelsEvent extends Message<AudioMeasureLevelsEvent> {
17955
18476
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
17956
18477
  { no: 3, name: "levels", kind: "message", T: AudioMeasureLevels, oneof: "message" },
17957
18478
  { no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
18479
+ { no: 5, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
17958
18480
  ]);
17959
18481
 
17960
18482
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioMeasureLevelsEvent {
@@ -18705,6 +19227,12 @@ export class AudioTranscribeAwsEvent extends Message<AudioTranscribeAwsEvent> {
18705
19227
  */
18706
19228
  value: SubscriptionResponse;
18707
19229
  case: "subscriptionResponse";
19230
+ } | {
19231
+ /**
19232
+ * @generated from field: norsk.api.media.Context inbound_context = 4;
19233
+ */
19234
+ value: Context;
19235
+ case: "inboundContext";
18708
19236
  } | { case: undefined; value?: undefined } = { case: undefined };
18709
19237
 
18710
19238
  constructor(data?: PartialMessage<AudioTranscribeAwsEvent>) {
@@ -18718,6 +19246,7 @@ export class AudioTranscribeAwsEvent extends Message<AudioTranscribeAwsEvent> {
18718
19246
  { no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
18719
19247
  { no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
18720
19248
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
19249
+ { no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18721
19250
  ]);
18722
19251
 
18723
19252
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAwsEvent {
@@ -18872,6 +19401,12 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
18872
19401
  */
18873
19402
  value: Smpte2038Message;
18874
19403
  case: "smpte2038Message";
19404
+ } | {
19405
+ /**
19406
+ * @generated from field: norsk.api.media.Context inbound_context = 7;
19407
+ */
19408
+ value: Context;
19409
+ case: "inboundContext";
18875
19410
  } | { case: undefined; value?: undefined } = { case: undefined };
18876
19411
 
18877
19412
  constructor(data?: PartialMessage<AncillaryEvent>) {
@@ -18887,6 +19422,7 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
18887
19422
  { no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
18888
19423
  { no: 4, name: "scte35_event", kind: "message", T: Scte35Event, oneof: "message" },
18889
19424
  { no: 6, name: "smpte2038_message", kind: "message", T: Smpte2038Message, oneof: "message" },
19425
+ { no: 7, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
18890
19426
  ]);
18891
19427
 
18892
19428
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AncillaryEvent {