@norskvideo/norsk-api 1.0.349 → 1.0.350

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
@@ -3646,6 +3646,16 @@ export class RtmpServerInputConfiguration extends Message<RtmpServerInputConfigu
3646
3646
  */
3647
3647
  statsSampling?: StreamStatisticsSampling;
3648
3648
 
3649
+ /**
3650
+ * @generated from field: bool ssl = 4;
3651
+ */
3652
+ ssl = false;
3653
+
3654
+ /**
3655
+ * @generated from field: norsk.api.media.SslServerOptions ssl_options = 5;
3656
+ */
3657
+ sslOptions?: SslServerOptions;
3658
+
3649
3659
  constructor(data?: PartialMessage<RtmpServerInputConfiguration>) {
3650
3660
  super();
3651
3661
  proto3.util.initPartial(data, this);
@@ -3657,6 +3667,8 @@ export class RtmpServerInputConfiguration extends Message<RtmpServerInputConfigu
3657
3667
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
3658
3668
  { no: 2, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
3659
3669
  { no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
3670
+ { no: 4, name: "ssl", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3671
+ { no: 5, name: "ssl_options", kind: "message", T: SslServerOptions },
3660
3672
  ]);
3661
3673
 
3662
3674
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpServerInputConfiguration {
@@ -3676,6 +3688,49 @@ export class RtmpServerInputConfiguration extends Message<RtmpServerInputConfigu
3676
3688
  }
3677
3689
  }
3678
3690
 
3691
+ /**
3692
+ * @generated from message norsk.api.media.SslServerOptions
3693
+ */
3694
+ export class SslServerOptions extends Message<SslServerOptions> {
3695
+ /**
3696
+ * @generated from field: string cert_file = 1;
3697
+ */
3698
+ certFile = "";
3699
+
3700
+ /**
3701
+ * @generated from field: string key_file = 2;
3702
+ */
3703
+ keyFile = "";
3704
+
3705
+ constructor(data?: PartialMessage<SslServerOptions>) {
3706
+ super();
3707
+ proto3.util.initPartial(data, this);
3708
+ }
3709
+
3710
+ static readonly runtime = proto3;
3711
+ static readonly typeName = "norsk.api.media.SslServerOptions";
3712
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
3713
+ { no: 1, name: "cert_file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3714
+ { no: 2, name: "key_file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3715
+ ]);
3716
+
3717
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SslServerOptions {
3718
+ return new SslServerOptions().fromBinary(bytes, options);
3719
+ }
3720
+
3721
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SslServerOptions {
3722
+ return new SslServerOptions().fromJson(jsonValue, options);
3723
+ }
3724
+
3725
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SslServerOptions {
3726
+ return new SslServerOptions().fromJsonString(jsonString, options);
3727
+ }
3728
+
3729
+ static equals(a: SslServerOptions | PlainMessage<SslServerOptions> | undefined, b: SslServerOptions | PlainMessage<SslServerOptions> | undefined): boolean {
3730
+ return proto3.util.equals(SslServerOptions, a, b);
3731
+ }
3732
+ }
3733
+
3679
3734
  /**
3680
3735
  * *
3681
3736
  * Accept a remote connection attempt.
@@ -12992,6 +13047,16 @@ export class RtmpOutputConfiguration extends Message<RtmpOutputConfiguration> {
12992
13047
  */
12993
13048
  bufferDelayMs = 0;
12994
13049
 
13050
+ /**
13051
+ * @generated from field: norsk.api.media.SslClientOptions ssl_options = 5;
13052
+ */
13053
+ sslOptions?: SslClientOptions;
13054
+
13055
+ /**
13056
+ * @generated from field: int32 retry_connection_timeout = 6;
13057
+ */
13058
+ retryConnectionTimeout = 0;
13059
+
12995
13060
  constructor(data?: PartialMessage<RtmpOutputConfiguration>) {
12996
13061
  super();
12997
13062
  proto3.util.initPartial(data, this);
@@ -13004,6 +13069,8 @@ export class RtmpOutputConfiguration extends Message<RtmpOutputConfiguration> {
13004
13069
  { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
13005
13070
  { no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
13006
13071
  { no: 4, name: "buffer_delay_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
13072
+ { no: 5, name: "ssl_options", kind: "message", T: SslClientOptions },
13073
+ { no: 6, name: "retry_connection_timeout", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
13007
13074
  ]);
13008
13075
 
13009
13076
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RtmpOutputConfiguration {
@@ -13023,6 +13090,43 @@ export class RtmpOutputConfiguration extends Message<RtmpOutputConfiguration> {
13023
13090
  }
13024
13091
  }
13025
13092
 
13093
+ /**
13094
+ * @generated from message norsk.api.media.SslClientOptions
13095
+ */
13096
+ export class SslClientOptions extends Message<SslClientOptions> {
13097
+ /**
13098
+ * @generated from field: norsk.api.common.OptionalBool verify_peer_cert = 1;
13099
+ */
13100
+ verifyPeerCert?: OptionalBool;
13101
+
13102
+ constructor(data?: PartialMessage<SslClientOptions>) {
13103
+ super();
13104
+ proto3.util.initPartial(data, this);
13105
+ }
13106
+
13107
+ static readonly runtime = proto3;
13108
+ static readonly typeName = "norsk.api.media.SslClientOptions";
13109
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
13110
+ { no: 1, name: "verify_peer_cert", kind: "message", T: OptionalBool },
13111
+ ]);
13112
+
13113
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SslClientOptions {
13114
+ return new SslClientOptions().fromBinary(bytes, options);
13115
+ }
13116
+
13117
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SslClientOptions {
13118
+ return new SslClientOptions().fromJson(jsonValue, options);
13119
+ }
13120
+
13121
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SslClientOptions {
13122
+ return new SslClientOptions().fromJsonString(jsonString, options);
13123
+ }
13124
+
13125
+ static equals(a: SslClientOptions | PlainMessage<SslClientOptions> | undefined, b: SslClientOptions | PlainMessage<SslClientOptions> | undefined): boolean {
13126
+ return proto3.util.equals(SslClientOptions, a, b);
13127
+ }
13128
+ }
13129
+
13026
13130
  /**
13027
13131
  * @generated from message norsk.api.media.RtmpOutputMessage
13028
13132
  */
@@ -13157,11 +13261,17 @@ export enum RtmpOutputEvent_State {
13157
13261
  * @generated from enum value: RTMP_OUTPUT_STATUS_PUBLISH_START = 1;
13158
13262
  */
13159
13263
  RTMP_OUTPUT_STATUS_PUBLISH_START = 1,
13264
+
13265
+ /**
13266
+ * @generated from enum value: RTMP_OUTPUT_STATUS_CONNECTION_FAILED_RETRY = 2;
13267
+ */
13268
+ RTMP_OUTPUT_STATUS_CONNECTION_FAILED_RETRY = 2,
13160
13269
  }
13161
13270
  // Retrieve enum metadata with: proto3.getEnumType(RtmpOutputEvent_State)
13162
13271
  proto3.util.setEnumType(RtmpOutputEvent_State, "norsk.api.media.RtmpOutputEvent.State", [
13163
13272
  { no: 0, name: "RTMP_OUTPUT_STATUS_UNKNOWN" },
13164
13273
  { no: 1, name: "RTMP_OUTPUT_STATUS_PUBLISH_START" },
13274
+ { no: 2, name: "RTMP_OUTPUT_STATUS_CONNECTION_FAILED_RETRY" },
13165
13275
  ]);
13166
13276
 
13167
13277
  /**
@@ -22257,9 +22367,9 @@ export class SingleCut extends Message<SingleCut> {
22257
22367
  durationMs = 0;
22258
22368
 
22259
22369
  /**
22260
- * @generated from field: norsk.api.common.OptionalInt session_id = 3;
22370
+ * @generated from field: norsk.api.common.OptionalInt session_num = 3;
22261
22371
  */
22262
- sessionId?: OptionalInt;
22372
+ sessionNum?: OptionalInt;
22263
22373
 
22264
22374
  constructor(data?: PartialMessage<SingleCut>) {
22265
22375
  super();
@@ -22271,7 +22381,7 @@ export class SingleCut extends Message<SingleCut> {
22271
22381
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
22272
22382
  { no: 1, name: "start_date_time", kind: "message", T: Timestamp },
22273
22383
  { no: 2, name: "duration_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
22274
- { no: 3, name: "session_id", kind: "message", T: OptionalInt },
22384
+ { no: 3, name: "session_num", kind: "message", T: OptionalInt },
22275
22385
  ]);
22276
22386
 
22277
22387
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SingleCut {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-api",
3
- "version": "1.0.349",
3
+ "version": "1.0.350",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@bufbuild/protobuf": "^0.3.0",