@norskvideo/norsk-api 1.0.336 → 1.0.338

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.d.ts CHANGED
@@ -1003,6 +1003,53 @@ export declare enum SentenceStabilizationMode {
1003
1003
  */
1004
1004
  Low = 2
1005
1005
  }
1006
+ /**
1007
+ * @generated from enum norsk.api.media.VancPayloadFormat
1008
+ */
1009
+ export declare enum VancPayloadFormat {
1010
+ /**
1011
+ * Other format - see ancillary_id
1012
+ *
1013
+ * @generated from enum value: VANC_OTHER = 0;
1014
+ */
1015
+ VANC_OTHER = 0,
1016
+ /**
1017
+ * @generated from enum value: VANC_AFD_BAR = 1;
1018
+ */
1019
+ VANC_AFD_BAR = 1,
1020
+ /**
1021
+ * @generated from enum value: VANC_PAN_SCAN = 2;
1022
+ */
1023
+ VANC_PAN_SCAN = 2,
1024
+ /**
1025
+ * @generated from enum value: VANC_SCTE_104 = 3;
1026
+ */
1027
+ VANC_SCTE_104 = 3,
1028
+ /**
1029
+ * @generated from enum value: VANC_DVB_SCTE_VBI = 4;
1030
+ */
1031
+ VANC_DVB_SCTE_VBI = 4,
1032
+ /**
1033
+ * @generated from enum value: VANC_OP47_SDP = 5;
1034
+ */
1035
+ VANC_OP47_SDP = 5,
1036
+ /**
1037
+ * @generated from enum value: VANC_OP47_VANC_MULTIPACKET = 6;
1038
+ */
1039
+ VANC_OP47_VANC_MULTIPACKET = 6,
1040
+ /**
1041
+ * @generated from enum value: VANC_ANCILLARY_TIME_CODE = 7;
1042
+ */
1043
+ VANC_ANCILLARY_TIME_CODE = 7,
1044
+ /**
1045
+ * @generated from enum value: VANC_EIA_708D = 8;
1046
+ */
1047
+ VANC_EIA_708D = 8,
1048
+ /**
1049
+ * @generated from enum value: VANC_EIA_608 = 9;
1050
+ */
1051
+ VANC_EIA_608 = 9
1052
+ }
1006
1053
  /**
1007
1054
  * @generated from enum norsk.api.media.VideoConnection
1008
1055
  */
@@ -4301,31 +4348,43 @@ export declare class BrowserInputEvent extends Message<BrowserInputEvent> {
4301
4348
  static equals(a: BrowserInputEvent | PlainMessage<BrowserInputEvent> | undefined, b: BrowserInputEvent | PlainMessage<BrowserInputEvent> | undefined): boolean;
4302
4349
  }
4303
4350
  /**
4304
- * @generated from message norsk.api.media.WebRtcIceServerConfiguration
4351
+ * @generated from message norsk.api.media.WebRtcConfiguration
4305
4352
  */
4306
- export declare class WebRtcIceServerConfiguration extends Message<WebRtcIceServerConfiguration> {
4353
+ export declare class WebRtcConfiguration extends Message<WebRtcConfiguration> {
4307
4354
  /**
4308
4355
  * STUN/TURN servers to use for the Norsk server (and by default report to
4309
4356
  * clients)
4310
4357
  *
4311
- * @generated from field: repeated norsk.api.media.WebRtcIceServer servers = 1;
4358
+ * @generated from field: repeated norsk.api.media.WebRtcIceServer ice_servers = 1;
4312
4359
  */
4313
- servers: WebRtcIceServer[];
4360
+ iceServers: WebRtcIceServer[];
4314
4361
  /**
4315
4362
  * STUN/TURN servers to report to a connecting client (eg via WHIP/WHEP). If
4316
4363
  * specified overrides the configuration in servers
4317
4364
  *
4318
- * @generated from field: repeated norsk.api.media.WebRtcIceServer reported_servers = 2;
4365
+ * @generated from field: repeated norsk.api.media.WebRtcIceServer reported_ice_servers = 2;
4366
+ */
4367
+ reportedIceServers: WebRtcIceServer[];
4368
+ /**
4369
+ * Server IPs to use instead of the local server IP (optional)
4370
+ *
4371
+ * @generated from field: repeated string hostIps = 3;
4319
4372
  */
4320
- reportedServers: WebRtcIceServer[];
4321
- constructor(data?: PartialMessage<WebRtcIceServerConfiguration>);
4373
+ hostIps: string[];
4374
+ /**
4375
+ * IPs to report as server relexive candiates at session startup (optional)
4376
+ *
4377
+ * @generated from field: repeated string serverReflexiveIps = 4;
4378
+ */
4379
+ serverReflexiveIps: string[];
4380
+ constructor(data?: PartialMessage<WebRtcConfiguration>);
4322
4381
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
4323
- static readonly typeName = "norsk.api.media.WebRtcIceServerConfiguration";
4382
+ static readonly typeName = "norsk.api.media.WebRtcConfiguration";
4324
4383
  static readonly fields: FieldList;
4325
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRtcIceServerConfiguration;
4326
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebRtcIceServerConfiguration;
4327
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebRtcIceServerConfiguration;
4328
- static equals(a: WebRtcIceServerConfiguration | PlainMessage<WebRtcIceServerConfiguration> | undefined, b: WebRtcIceServerConfiguration | PlainMessage<WebRtcIceServerConfiguration> | undefined): boolean;
4384
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebRtcConfiguration;
4385
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebRtcConfiguration;
4386
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebRtcConfiguration;
4387
+ static equals(a: WebRtcConfiguration | PlainMessage<WebRtcConfiguration> | undefined, b: WebRtcConfiguration | PlainMessage<WebRtcConfiguration> | undefined): boolean;
4329
4388
  }
4330
4389
  /**
4331
4390
  * @generated from message norsk.api.media.WebRtcIceServer
@@ -4373,11 +4432,11 @@ export declare class WhipInputConfiguration extends Message<WhipInputConfigurati
4373
4432
  */
4374
4433
  statsSampling?: StreamStatisticsSampling;
4375
4434
  /**
4376
- * Optionally configure ICE servers (STUN/TURN)
4435
+ * Optionally configure ICE servers (STUN/TURN...)
4377
4436
  *
4378
- * @generated from field: norsk.api.media.WebRtcIceServerConfiguration ice_server_configuration = 4;
4437
+ * @generated from field: norsk.api.media.WebRtcConfiguration server_configuration = 4;
4379
4438
  */
4380
- iceServerConfiguration?: WebRtcIceServerConfiguration;
4439
+ serverConfiguration?: WebRtcConfiguration;
4381
4440
  constructor(data?: PartialMessage<WhipInputConfiguration>);
4382
4441
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
4383
4442
  static readonly typeName = "norsk.api.media.WhipInputConfiguration";
@@ -6926,9 +6985,9 @@ export declare class WebRTCBrowserDuplexConfiguration extends Message<WebRTCBrow
6926
6985
  /**
6927
6986
  * Optionally configure ICE servers (STUN/TURN)
6928
6987
  *
6929
- * @generated from field: norsk.api.media.WebRtcIceServerConfiguration ice_server_configuration = 3;
6988
+ * @generated from field: norsk.api.media.WebRtcConfiguration server_configuration = 3;
6930
6989
  */
6931
- iceServerConfiguration?: WebRtcIceServerConfiguration;
6990
+ serverConfiguration?: WebRtcConfiguration;
6932
6991
  /**
6933
6992
  * @generated from field: uint32 buffer_delay_ms = 4;
6934
6993
  */
@@ -7039,9 +7098,9 @@ export declare class WhepOutputConfiguration extends Message<WhepOutputConfigura
7039
7098
  /**
7040
7099
  * Optionally configure ICE servers (STUN/TURN)
7041
7100
  *
7042
- * @generated from field: norsk.api.media.WebRtcIceServerConfiguration ice_server_configuration = 3;
7101
+ * @generated from field: norsk.api.media.WebRtcConfiguration server_configuration = 3;
7043
7102
  */
7044
- iceServerConfiguration?: WebRtcIceServerConfiguration;
7103
+ serverConfiguration?: WebRtcConfiguration;
7045
7104
  /**
7046
7105
  * @generated from field: uint32 buffer_delay_ms = 4;
7047
7106
  */
@@ -8213,6 +8272,18 @@ export declare class VideoEncodeStream extends Message<VideoEncodeStream> {
8213
8272
  */
8214
8273
  value: QuadraHevc;
8215
8274
  case: "quadraHevc";
8275
+ } | {
8276
+ /**
8277
+ * @generated from field: norsk.api.media.XilinxH264 xilinxH264 = 13;
8278
+ */
8279
+ value: XilinxH264;
8280
+ case: "xilinxH264";
8281
+ } | {
8282
+ /**
8283
+ * @generated from field: norsk.api.media.XilinxHevc xilinxHevc = 14;
8284
+ */
8285
+ value: XilinxHevc;
8286
+ case: "xilinxHevc";
8216
8287
  } | {
8217
8288
  case: undefined;
8218
8289
  value?: undefined;
@@ -8978,6 +9049,111 @@ export declare enum LoganHevc_LoganHevcTier {
8978
9049
  */
8979
9050
  HIGH = 1
8980
9051
  }
9052
+ /**
9053
+ * @generated from message norsk.api.media.XilinxH264
9054
+ */
9055
+ export declare class XilinxH264 extends Message<XilinxH264> {
9056
+ /**
9057
+ * @generated from field: norsk.api.media.XilinxH264.XilinxH264Profile profile = 1;
9058
+ */
9059
+ profile: XilinxH264_XilinxH264Profile;
9060
+ /**
9061
+ * @generated from field: norsk.api.media.OptionalInt level = 2;
9062
+ */
9063
+ level?: OptionalInt;
9064
+ constructor(data?: PartialMessage<XilinxH264>);
9065
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
9066
+ static readonly typeName = "norsk.api.media.XilinxH264";
9067
+ static readonly fields: FieldList;
9068
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): XilinxH264;
9069
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): XilinxH264;
9070
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): XilinxH264;
9071
+ static equals(a: XilinxH264 | PlainMessage<XilinxH264> | undefined, b: XilinxH264 | PlainMessage<XilinxH264> | undefined): boolean;
9072
+ }
9073
+ /**
9074
+ * @generated from enum norsk.api.media.XilinxH264.XilinxH264Profile
9075
+ */
9076
+ export declare enum XilinxH264_XilinxH264Profile {
9077
+ /**
9078
+ * @generated from enum value: XILINX_H264_PROFILE_DEFAULT = 0;
9079
+ */
9080
+ DEFAULT = 0,
9081
+ /**
9082
+ * @generated from enum value: XILINX_H264_PROFILE_BASELINE = 1;
9083
+ */
9084
+ BASELINE = 1,
9085
+ /**
9086
+ * @generated from enum value: XILINX_H264_PROFILE_MAIN = 2;
9087
+ */
9088
+ MAIN = 2,
9089
+ /**
9090
+ * @generated from enum value: XILINX_H264_PROFILE_EXTENDED = 3;
9091
+ */
9092
+ EXTENDED = 3,
9093
+ /**
9094
+ * @generated from enum value: XILINX_H264_PROFILE_HIGH = 4;
9095
+ */
9096
+ HIGH = 4,
9097
+ /**
9098
+ * @generated from enum value: XILINX_H264_PROFILE_HIGH10 = 5;
9099
+ */
9100
+ HIGH10 = 5
9101
+ }
9102
+ /**
9103
+ * @generated from message norsk.api.media.XilinxHevc
9104
+ */
9105
+ export declare class XilinxHevc extends Message<XilinxHevc> {
9106
+ /**
9107
+ * @generated from field: norsk.api.media.XilinxHevc.XilinxHevcTier tier = 1;
9108
+ */
9109
+ tier: XilinxHevc_XilinxHevcTier;
9110
+ /**
9111
+ * @generated from field: norsk.api.media.XilinxHevc.XilinxHevcProfile profile = 2;
9112
+ */
9113
+ profile: XilinxHevc_XilinxHevcProfile;
9114
+ /**
9115
+ * @generated from field: norsk.api.media.OptionalInt level = 3;
9116
+ */
9117
+ level?: OptionalInt;
9118
+ constructor(data?: PartialMessage<XilinxHevc>);
9119
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
9120
+ static readonly typeName = "norsk.api.media.XilinxHevc";
9121
+ static readonly fields: FieldList;
9122
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): XilinxHevc;
9123
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): XilinxHevc;
9124
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): XilinxHevc;
9125
+ static equals(a: XilinxHevc | PlainMessage<XilinxHevc> | undefined, b: XilinxHevc | PlainMessage<XilinxHevc> | undefined): boolean;
9126
+ }
9127
+ /**
9128
+ * @generated from enum norsk.api.media.XilinxHevc.XilinxHevcProfile
9129
+ */
9130
+ export declare enum XilinxHevc_XilinxHevcProfile {
9131
+ /**
9132
+ * @generated from enum value: XILINX_HEVC_PROFILE_DEFAULT = 0;
9133
+ */
9134
+ DEFAULT = 0,
9135
+ /**
9136
+ * @generated from enum value: XILINX_HEVC_PROFILE_MAIN = 1;
9137
+ */
9138
+ MAIN = 1,
9139
+ /**
9140
+ * @generated from enum value: XILINX_HEVC_PROFILE_MAIN10 = 2;
9141
+ */
9142
+ MAIN10 = 2
9143
+ }
9144
+ /**
9145
+ * @generated from enum norsk.api.media.XilinxHevc.XilinxHevcTier
9146
+ */
9147
+ export declare enum XilinxHevc_XilinxHevcTier {
9148
+ /**
9149
+ * @generated from enum value: XILINX_HEVC_TIER_MAIN = 0;
9150
+ */
9151
+ MAIN = 0,
9152
+ /**
9153
+ * @generated from enum value: XILINX_HEVC_TIER_HIGH = 1;
9154
+ */
9155
+ HIGH = 1
9156
+ }
8981
9157
  /**
8982
9158
  * @generated from message norsk.api.media.VideoTransformConfiguration
8983
9159
  */
@@ -10998,6 +11174,8 @@ export declare class AncillaryMessage extends Message<AncillaryMessage> {
10998
11174
  case: "subscription";
10999
11175
  } | {
11000
11176
  /**
11177
+ * Scte104Event scte104_event = 4;
11178
+ *
11001
11179
  * @generated from field: norsk.api.media.Scte35Event scte35_event = 3;
11002
11180
  */
11003
11181
  value: Scte35Event;
@@ -11042,10 +11220,18 @@ export declare class AncillaryEvent extends Message<AncillaryEvent> {
11042
11220
  case: "subscriptionResponse";
11043
11221
  } | {
11044
11222
  /**
11223
+ * Scte104Event scte104_event = 5;
11224
+ *
11045
11225
  * @generated from field: norsk.api.media.Scte35Event scte35_event = 4;
11046
11226
  */
11047
11227
  value: Scte35Event;
11048
11228
  case: "scte35Event";
11229
+ } | {
11230
+ /**
11231
+ * @generated from field: norsk.api.media.Smpte2038Message smpte2038_message = 6;
11232
+ */
11233
+ value: Smpte2038Message;
11234
+ case: "smpte2038Message";
11049
11235
  } | {
11050
11236
  case: undefined;
11051
11237
  value?: undefined;
@@ -11080,6 +11266,68 @@ export declare class Scte35Event extends Message<Scte35Event> {
11080
11266
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Scte35Event;
11081
11267
  static equals(a: Scte35Event | PlainMessage<Scte35Event> | undefined, b: Scte35Event | PlainMessage<Scte35Event> | undefined): boolean;
11082
11268
  }
11269
+ /**
11270
+ * @generated from message norsk.api.media.Smpte2038Message
11271
+ */
11272
+ export declare class Smpte2038Message extends Message<Smpte2038Message> {
11273
+ /**
11274
+ * @generated from field: norsk.api.media.StreamKey stream = 1;
11275
+ */
11276
+ stream?: StreamKey;
11277
+ /**
11278
+ * @generated from field: bool c_not_y_channel_flag = 2;
11279
+ */
11280
+ cNotYChannelFlag: boolean;
11281
+ /**
11282
+ * @generated from field: uint32 line_number = 3;
11283
+ */
11284
+ lineNumber: number;
11285
+ /**
11286
+ * @generated from field: uint32 horizontal_offset = 4;
11287
+ */
11288
+ horizontalOffset: number;
11289
+ /**
11290
+ * @generated from field: norsk.api.media.VancPayloadFormat payload_format = 5;
11291
+ */
11292
+ payloadFormat: VancPayloadFormat;
11293
+ /**
11294
+ * @generated from field: norsk.api.media.VancType2AncillaryId ancillary_id = 6;
11295
+ */
11296
+ ancillaryId?: VancType2AncillaryId;
11297
+ /**
11298
+ * @generated from field: bytes user_data = 7;
11299
+ */
11300
+ userData: Uint8Array;
11301
+ constructor(data?: PartialMessage<Smpte2038Message>);
11302
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
11303
+ static readonly typeName = "norsk.api.media.Smpte2038Message";
11304
+ static readonly fields: FieldList;
11305
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Smpte2038Message;
11306
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Smpte2038Message;
11307
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Smpte2038Message;
11308
+ static equals(a: Smpte2038Message | PlainMessage<Smpte2038Message> | undefined, b: Smpte2038Message | PlainMessage<Smpte2038Message> | undefined): boolean;
11309
+ }
11310
+ /**
11311
+ * @generated from message norsk.api.media.VancType2AncillaryId
11312
+ */
11313
+ export declare class VancType2AncillaryId extends Message<VancType2AncillaryId> {
11314
+ /**
11315
+ * @generated from field: uint32 did = 1;
11316
+ */
11317
+ did: number;
11318
+ /**
11319
+ * @generated from field: uint32 sdid = 2;
11320
+ */
11321
+ sdid: number;
11322
+ constructor(data?: PartialMessage<VancType2AncillaryId>);
11323
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
11324
+ static readonly typeName = "norsk.api.media.VancType2AncillaryId";
11325
+ static readonly fields: FieldList;
11326
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VancType2AncillaryId;
11327
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VancType2AncillaryId;
11328
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VancType2AncillaryId;
11329
+ static equals(a: VancType2AncillaryId | PlainMessage<VancType2AncillaryId> | undefined, b: VancType2AncillaryId | PlainMessage<VancType2AncillaryId> | undefined): boolean;
11330
+ }
11083
11331
  /**
11084
11332
  * @generated from message norsk.api.media.Scte35SpliceInfoSection
11085
11333
  */