@norskvideo/norsk-api 1.0.346 → 1.0.347
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_grpc_pb.d.ts +65 -0
- package/lib/media_grpc_pb.js +123 -3
- package/lib/media_pb.d.ts +357 -19
- package/lib/media_pb.js +342 -16
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +554 -23
- package/package.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -3266,21 +3266,24 @@ export class CodecPictureStructure_Mpeg2PictureStructure extends Message<CodecPi
|
|
|
3266
3266
|
*/
|
|
3267
3267
|
export enum CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo {
|
|
3268
3268
|
/**
|
|
3269
|
-
* There is no gop information, either because it is not coded or this is
|
|
3269
|
+
* There is no gop information, either because it is not coded or this is
|
|
3270
|
+
* not the start of a gop
|
|
3270
3271
|
*
|
|
3271
3272
|
* @generated from enum value: MPEG2_GOP_UNKNOWN = 0;
|
|
3272
3273
|
*/
|
|
3273
3274
|
MPEG2_GOP_UNKNOWN = 0,
|
|
3274
3275
|
|
|
3275
3276
|
/**
|
|
3276
|
-
* Indicates gop information is present and this is the start of a closed
|
|
3277
|
+
* Indicates gop information is present and this is the start of a closed
|
|
3278
|
+
* gop
|
|
3277
3279
|
*
|
|
3278
3280
|
* @generated from enum value: MPEG2_GOP_CLOSED = 1;
|
|
3279
3281
|
*/
|
|
3280
3282
|
MPEG2_GOP_CLOSED = 1,
|
|
3281
3283
|
|
|
3282
3284
|
/**
|
|
3283
|
-
* Indicates gop information is present and this is the start of an open
|
|
3285
|
+
* Indicates gop information is present and this is the start of an open
|
|
3286
|
+
* gop
|
|
3284
3287
|
*
|
|
3285
3288
|
* @generated from enum value: MPEG2_GOP_OPEN = 2;
|
|
3286
3289
|
*/
|
|
@@ -10754,11 +10757,6 @@ export class CmafWebVttUpdateConfiguration extends Message<CmafWebVttUpdateConfi
|
|
|
10754
10757
|
*/
|
|
10755
10758
|
maximumPlaylistSegments = 0;
|
|
10756
10759
|
|
|
10757
|
-
/**
|
|
10758
|
-
* @generated from field: norsk.api.media.Interval pts_adjustment = 4;
|
|
10759
|
-
*/
|
|
10760
|
-
ptsAdjustment?: Interval;
|
|
10761
|
-
|
|
10762
10760
|
/**
|
|
10763
10761
|
* @generated from field: norsk.api.media.UpdateCredentials update_credentials = 5;
|
|
10764
10762
|
*/
|
|
@@ -10775,7 +10773,6 @@ export class CmafWebVttUpdateConfiguration extends Message<CmafWebVttUpdateConfi
|
|
|
10775
10773
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
10776
10774
|
{ no: 2, name: "retention_period_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
10777
10775
|
{ no: 3, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
10778
|
-
{ no: 4, name: "pts_adjustment", kind: "message", T: Interval },
|
|
10779
10776
|
{ no: 5, name: "update_credentials", kind: "message", T: UpdateCredentials },
|
|
10780
10777
|
]);
|
|
10781
10778
|
|
|
@@ -11080,6 +11077,126 @@ export class CmafMultiVariantMessage extends Message<CmafMultiVariantMessage> {
|
|
|
11080
11077
|
}
|
|
11081
11078
|
}
|
|
11082
11079
|
|
|
11080
|
+
/**
|
|
11081
|
+
* @generated from message norsk.api.media.HlsTsMultiVariantConfiguration
|
|
11082
|
+
*/
|
|
11083
|
+
export class HlsTsMultiVariantConfiguration extends Message<HlsTsMultiVariantConfiguration> {
|
|
11084
|
+
/**
|
|
11085
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
11086
|
+
*/
|
|
11087
|
+
id?: MediaNodeId;
|
|
11088
|
+
|
|
11089
|
+
/**
|
|
11090
|
+
* @generated from field: string playlist_name = 2;
|
|
11091
|
+
*/
|
|
11092
|
+
playlistName = "";
|
|
11093
|
+
|
|
11094
|
+
/**
|
|
11095
|
+
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 3;
|
|
11096
|
+
*/
|
|
11097
|
+
statsSampling?: StreamStatisticsSampling;
|
|
11098
|
+
|
|
11099
|
+
/**
|
|
11100
|
+
* @generated from field: repeated norsk.api.media.CMAFDestination destinations = 4;
|
|
11101
|
+
*/
|
|
11102
|
+
destinations: CMAFDestination[] = [];
|
|
11103
|
+
|
|
11104
|
+
/**
|
|
11105
|
+
* Directives to add to the m3u multi variant playlist
|
|
11106
|
+
*
|
|
11107
|
+
* @generated from field: string m3u_additions = 5;
|
|
11108
|
+
*/
|
|
11109
|
+
m3uAdditions = "";
|
|
11110
|
+
|
|
11111
|
+
constructor(data?: PartialMessage<HlsTsMultiVariantConfiguration>) {
|
|
11112
|
+
super();
|
|
11113
|
+
proto3.util.initPartial(data, this);
|
|
11114
|
+
}
|
|
11115
|
+
|
|
11116
|
+
static readonly runtime = proto3;
|
|
11117
|
+
static readonly typeName = "norsk.api.media.HlsTsMultiVariantConfiguration";
|
|
11118
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11119
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
11120
|
+
{ no: 2, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11121
|
+
{ no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
11122
|
+
{ no: 4, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
11123
|
+
{ no: 5, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11124
|
+
]);
|
|
11125
|
+
|
|
11126
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsMultiVariantConfiguration {
|
|
11127
|
+
return new HlsTsMultiVariantConfiguration().fromBinary(bytes, options);
|
|
11128
|
+
}
|
|
11129
|
+
|
|
11130
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsMultiVariantConfiguration {
|
|
11131
|
+
return new HlsTsMultiVariantConfiguration().fromJson(jsonValue, options);
|
|
11132
|
+
}
|
|
11133
|
+
|
|
11134
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsMultiVariantConfiguration {
|
|
11135
|
+
return new HlsTsMultiVariantConfiguration().fromJsonString(jsonString, options);
|
|
11136
|
+
}
|
|
11137
|
+
|
|
11138
|
+
static equals(a: HlsTsMultiVariantConfiguration | PlainMessage<HlsTsMultiVariantConfiguration> | undefined, b: HlsTsMultiVariantConfiguration | PlainMessage<HlsTsMultiVariantConfiguration> | undefined): boolean {
|
|
11139
|
+
return proto3.util.equals(HlsTsMultiVariantConfiguration, a, b);
|
|
11140
|
+
}
|
|
11141
|
+
}
|
|
11142
|
+
|
|
11143
|
+
/**
|
|
11144
|
+
* @generated from message norsk.api.media.HlsTsMultiVariantMessage
|
|
11145
|
+
*/
|
|
11146
|
+
export class HlsTsMultiVariantMessage extends Message<HlsTsMultiVariantMessage> {
|
|
11147
|
+
/**
|
|
11148
|
+
* @generated from oneof norsk.api.media.HlsTsMultiVariantMessage.message
|
|
11149
|
+
*/
|
|
11150
|
+
message: {
|
|
11151
|
+
/**
|
|
11152
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
11153
|
+
*/
|
|
11154
|
+
value: Subscription;
|
|
11155
|
+
case: "subscription";
|
|
11156
|
+
} | {
|
|
11157
|
+
/**
|
|
11158
|
+
* @generated from field: norsk.api.media.HlsTsMultiVariantConfiguration configuration = 2;
|
|
11159
|
+
*/
|
|
11160
|
+
value: HlsTsMultiVariantConfiguration;
|
|
11161
|
+
case: "configuration";
|
|
11162
|
+
} | {
|
|
11163
|
+
/**
|
|
11164
|
+
* @generated from field: norsk.api.media.UpdateCredentials update_credentials = 3;
|
|
11165
|
+
*/
|
|
11166
|
+
value: UpdateCredentials;
|
|
11167
|
+
case: "updateCredentials";
|
|
11168
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
11169
|
+
|
|
11170
|
+
constructor(data?: PartialMessage<HlsTsMultiVariantMessage>) {
|
|
11171
|
+
super();
|
|
11172
|
+
proto3.util.initPartial(data, this);
|
|
11173
|
+
}
|
|
11174
|
+
|
|
11175
|
+
static readonly runtime = proto3;
|
|
11176
|
+
static readonly typeName = "norsk.api.media.HlsTsMultiVariantMessage";
|
|
11177
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11178
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
11179
|
+
{ no: 2, name: "configuration", kind: "message", T: HlsTsMultiVariantConfiguration, oneof: "message" },
|
|
11180
|
+
{ no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
|
|
11181
|
+
]);
|
|
11182
|
+
|
|
11183
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsMultiVariantMessage {
|
|
11184
|
+
return new HlsTsMultiVariantMessage().fromBinary(bytes, options);
|
|
11185
|
+
}
|
|
11186
|
+
|
|
11187
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HlsTsMultiVariantMessage {
|
|
11188
|
+
return new HlsTsMultiVariantMessage().fromJson(jsonValue, options);
|
|
11189
|
+
}
|
|
11190
|
+
|
|
11191
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HlsTsMultiVariantMessage {
|
|
11192
|
+
return new HlsTsMultiVariantMessage().fromJsonString(jsonString, options);
|
|
11193
|
+
}
|
|
11194
|
+
|
|
11195
|
+
static equals(a: HlsTsMultiVariantMessage | PlainMessage<HlsTsMultiVariantMessage> | undefined, b: HlsTsMultiVariantMessage | PlainMessage<HlsTsMultiVariantMessage> | undefined): boolean {
|
|
11196
|
+
return proto3.util.equals(HlsTsMultiVariantMessage, a, b);
|
|
11197
|
+
}
|
|
11198
|
+
}
|
|
11199
|
+
|
|
11083
11200
|
/**
|
|
11084
11201
|
* @generated from message norsk.api.media.HlsTsCombinedPushConfiguration
|
|
11085
11202
|
*/
|
|
@@ -11121,13 +11238,6 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
|
|
|
11121
11238
|
*/
|
|
11122
11239
|
m3uAdditions = "";
|
|
11123
11240
|
|
|
11124
|
-
/**
|
|
11125
|
-
* XML fragment to add to the mpd Representation elements
|
|
11126
|
-
*
|
|
11127
|
-
* @generated from field: string mpd_additions = 8;
|
|
11128
|
-
*/
|
|
11129
|
-
mpdAdditions = "";
|
|
11130
|
-
|
|
11131
11241
|
constructor(data?: PartialMessage<HlsTsCombinedPushConfiguration>) {
|
|
11132
11242
|
super();
|
|
11133
11243
|
proto3.util.initPartial(data, this);
|
|
@@ -11143,7 +11253,6 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
|
|
|
11143
11253
|
{ no: 5, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11144
11254
|
{ no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
11145
11255
|
{ no: 7, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11146
|
-
{ no: 8, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11147
11256
|
]);
|
|
11148
11257
|
|
|
11149
11258
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsCombinedPushConfiguration {
|
|
@@ -16111,14 +16220,14 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
|
|
|
16111
16220
|
audioBitrate?: OptionalInt;
|
|
16112
16221
|
|
|
16113
16222
|
/**
|
|
16114
|
-
* * Override the language metadata of an audio stream, or `""` to clear
|
|
16223
|
+
* * Override the language metadata of an audio stream, or `""` to clear. RFC 5646 language tag.
|
|
16115
16224
|
*
|
|
16116
16225
|
* @generated from field: norsk.api.common.OptionalString audio_language = 4;
|
|
16117
16226
|
*/
|
|
16118
16227
|
audioLanguage?: OptionalString;
|
|
16119
16228
|
|
|
16120
16229
|
/**
|
|
16121
|
-
* * Override the language metadata of a subtitles stream, or `""` to clear
|
|
16230
|
+
* * Override the language metadata of a subtitles stream, or `""` to clear RFC 5646 language tag.
|
|
16122
16231
|
*
|
|
16123
16232
|
* @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
|
|
16124
16233
|
*/
|
|
@@ -16177,14 +16286,14 @@ export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMet
|
|
|
16177
16286
|
audioBitrate?: OptionalInt;
|
|
16178
16287
|
|
|
16179
16288
|
/**
|
|
16180
|
-
* * Override the language metadata of an audio stream, or `""` to clear
|
|
16289
|
+
* * Override the language metadata of an audio stream, or `""` to clear. RFC 5646 language tag.
|
|
16181
16290
|
*
|
|
16182
16291
|
* @generated from field: norsk.api.common.OptionalString audio_language = 4;
|
|
16183
16292
|
*/
|
|
16184
16293
|
audioLanguage?: OptionalString;
|
|
16185
16294
|
|
|
16186
16295
|
/**
|
|
16187
|
-
* * Override the language metadata of a subtitles stream, or `""` to clear
|
|
16296
|
+
* * Override the language metadata of a subtitles stream, or `""` to clear. RFC 5646 language tag.
|
|
16188
16297
|
*
|
|
16189
16298
|
* @generated from field: norsk.api.common.OptionalString subtitles_language = 5;
|
|
16190
16299
|
*/
|
|
@@ -17484,8 +17593,8 @@ export class StreamSwitchSmoothEvent extends Message<StreamSwitchSmoothEvent> {
|
|
|
17484
17593
|
case: "validatedContext";
|
|
17485
17594
|
} | {
|
|
17486
17595
|
/**
|
|
17487
|
-
* Message indicating a transition has succesfully completed for a requested
|
|
17488
|
-
* is now showing
|
|
17596
|
+
* Message indicating a transition has succesfully completed for a requested
|
|
17597
|
+
* switch, i.e. the new source is now showing
|
|
17489
17598
|
*
|
|
17490
17599
|
* @generated from field: norsk.api.media.StreamSwitchTransitionComplete transition_complete = 6;
|
|
17491
17600
|
*/
|
|
@@ -18571,6 +18680,8 @@ export class RtpEac3 extends Message<RtpEac3> {
|
|
|
18571
18680
|
clockRate = 0;
|
|
18572
18681
|
|
|
18573
18682
|
/**
|
|
18683
|
+
* RFC5646 language tag
|
|
18684
|
+
*
|
|
18574
18685
|
* @generated from field: string language_code = 2;
|
|
18575
18686
|
*/
|
|
18576
18687
|
languageCode = "";
|
|
@@ -19182,6 +19293,426 @@ export class AudioTranscribeAwsEvent extends Message<AudioTranscribeAwsEvent> {
|
|
|
19182
19293
|
}
|
|
19183
19294
|
}
|
|
19184
19295
|
|
|
19296
|
+
/**
|
|
19297
|
+
* @generated from message norsk.api.media.AudioTranscribeAzureConfiguration
|
|
19298
|
+
*/
|
|
19299
|
+
export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAzureConfiguration> {
|
|
19300
|
+
/**
|
|
19301
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
19302
|
+
*/
|
|
19303
|
+
id?: MediaNodeId;
|
|
19304
|
+
|
|
19305
|
+
/**
|
|
19306
|
+
* @generated from field: uint32 output_stream_id = 2;
|
|
19307
|
+
*/
|
|
19308
|
+
outputStreamId = 0;
|
|
19309
|
+
|
|
19310
|
+
/**
|
|
19311
|
+
* The source language to recognise - an RFC 5646/ IETF BCP 47 language tag, eg en-US,
|
|
19312
|
+
* en-GB, de-DE. Supported languages are found at
|
|
19313
|
+
* https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt
|
|
19314
|
+
*
|
|
19315
|
+
* @generated from field: string source_language = 3;
|
|
19316
|
+
*/
|
|
19317
|
+
sourceLanguage = "";
|
|
19318
|
+
|
|
19319
|
+
/**
|
|
19320
|
+
* The target output languages for translation - technically a RFC 5646 language
|
|
19321
|
+
* tag but but in most cases omitting region, e.g. en, de, zh-Hant.
|
|
19322
|
+
*
|
|
19323
|
+
* Leave this field absent/empty to use the transcription service without
|
|
19324
|
+
* translation, while if any target languages are present the translation
|
|
19325
|
+
* service will be used even if this is the same as the
|
|
19326
|
+
* source language.
|
|
19327
|
+
*
|
|
19328
|
+
* @generated from field: repeated string target_languages = 4;
|
|
19329
|
+
*/
|
|
19330
|
+
targetLanguages: string[] = [];
|
|
19331
|
+
|
|
19332
|
+
/**
|
|
19333
|
+
* * Key for the Azure Speech Service endpoint
|
|
19334
|
+
*
|
|
19335
|
+
* @generated from field: string azure_key = 5;
|
|
19336
|
+
*/
|
|
19337
|
+
azureKey = "";
|
|
19338
|
+
|
|
19339
|
+
/**
|
|
19340
|
+
* * Region for the Azure Speech Service endpoint
|
|
19341
|
+
*
|
|
19342
|
+
* @generated from field: string azure_region = 6;
|
|
19343
|
+
*/
|
|
19344
|
+
azureRegion = "";
|
|
19345
|
+
|
|
19346
|
+
/**
|
|
19347
|
+
* @generated from field: norsk.api.common.OptionalInt maximum_line_length = 7;
|
|
19348
|
+
*/
|
|
19349
|
+
maximumLineLength?: OptionalInt;
|
|
19350
|
+
|
|
19351
|
+
constructor(data?: PartialMessage<AudioTranscribeAzureConfiguration>) {
|
|
19352
|
+
super();
|
|
19353
|
+
proto3.util.initPartial(data, this);
|
|
19354
|
+
}
|
|
19355
|
+
|
|
19356
|
+
static readonly runtime = proto3;
|
|
19357
|
+
static readonly typeName = "norsk.api.media.AudioTranscribeAzureConfiguration";
|
|
19358
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
19359
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
19360
|
+
{ no: 2, name: "output_stream_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
19361
|
+
{ no: 3, name: "source_language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
19362
|
+
{ no: 4, name: "target_languages", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
19363
|
+
{ no: 5, name: "azure_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
19364
|
+
{ no: 6, name: "azure_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
19365
|
+
{ no: 7, name: "maximum_line_length", kind: "message", T: OptionalInt },
|
|
19366
|
+
]);
|
|
19367
|
+
|
|
19368
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureConfiguration {
|
|
19369
|
+
return new AudioTranscribeAzureConfiguration().fromBinary(bytes, options);
|
|
19370
|
+
}
|
|
19371
|
+
|
|
19372
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeAzureConfiguration {
|
|
19373
|
+
return new AudioTranscribeAzureConfiguration().fromJson(jsonValue, options);
|
|
19374
|
+
}
|
|
19375
|
+
|
|
19376
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAzureConfiguration {
|
|
19377
|
+
return new AudioTranscribeAzureConfiguration().fromJsonString(jsonString, options);
|
|
19378
|
+
}
|
|
19379
|
+
|
|
19380
|
+
static equals(a: AudioTranscribeAzureConfiguration | PlainMessage<AudioTranscribeAzureConfiguration> | undefined, b: AudioTranscribeAzureConfiguration | PlainMessage<AudioTranscribeAzureConfiguration> | undefined): boolean {
|
|
19381
|
+
return proto3.util.equals(AudioTranscribeAzureConfiguration, a, b);
|
|
19382
|
+
}
|
|
19383
|
+
}
|
|
19384
|
+
|
|
19385
|
+
/**
|
|
19386
|
+
* @generated from message norsk.api.media.AudioTranscribeAzureMessage
|
|
19387
|
+
*/
|
|
19388
|
+
export class AudioTranscribeAzureMessage extends Message<AudioTranscribeAzureMessage> {
|
|
19389
|
+
/**
|
|
19390
|
+
* @generated from oneof norsk.api.media.AudioTranscribeAzureMessage.message
|
|
19391
|
+
*/
|
|
19392
|
+
message: {
|
|
19393
|
+
/**
|
|
19394
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
19395
|
+
*/
|
|
19396
|
+
value: Subscription;
|
|
19397
|
+
case: "subscription";
|
|
19398
|
+
} | {
|
|
19399
|
+
/**
|
|
19400
|
+
* @generated from field: norsk.api.media.AudioTranscribeAzureConfiguration configuration = 2;
|
|
19401
|
+
*/
|
|
19402
|
+
value: AudioTranscribeAzureConfiguration;
|
|
19403
|
+
case: "configuration";
|
|
19404
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
19405
|
+
|
|
19406
|
+
constructor(data?: PartialMessage<AudioTranscribeAzureMessage>) {
|
|
19407
|
+
super();
|
|
19408
|
+
proto3.util.initPartial(data, this);
|
|
19409
|
+
}
|
|
19410
|
+
|
|
19411
|
+
static readonly runtime = proto3;
|
|
19412
|
+
static readonly typeName = "norsk.api.media.AudioTranscribeAzureMessage";
|
|
19413
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
19414
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
19415
|
+
{ no: 2, name: "configuration", kind: "message", T: AudioTranscribeAzureConfiguration, oneof: "message" },
|
|
19416
|
+
]);
|
|
19417
|
+
|
|
19418
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureMessage {
|
|
19419
|
+
return new AudioTranscribeAzureMessage().fromBinary(bytes, options);
|
|
19420
|
+
}
|
|
19421
|
+
|
|
19422
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeAzureMessage {
|
|
19423
|
+
return new AudioTranscribeAzureMessage().fromJson(jsonValue, options);
|
|
19424
|
+
}
|
|
19425
|
+
|
|
19426
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAzureMessage {
|
|
19427
|
+
return new AudioTranscribeAzureMessage().fromJsonString(jsonString, options);
|
|
19428
|
+
}
|
|
19429
|
+
|
|
19430
|
+
static equals(a: AudioTranscribeAzureMessage | PlainMessage<AudioTranscribeAzureMessage> | undefined, b: AudioTranscribeAzureMessage | PlainMessage<AudioTranscribeAzureMessage> | undefined): boolean {
|
|
19431
|
+
return proto3.util.equals(AudioTranscribeAzureMessage, a, b);
|
|
19432
|
+
}
|
|
19433
|
+
}
|
|
19434
|
+
|
|
19435
|
+
/**
|
|
19436
|
+
* @generated from message norsk.api.media.AudioTranscribeAzureEvent
|
|
19437
|
+
*/
|
|
19438
|
+
export class AudioTranscribeAzureEvent extends Message<AudioTranscribeAzureEvent> {
|
|
19439
|
+
/**
|
|
19440
|
+
* @generated from oneof norsk.api.media.AudioTranscribeAzureEvent.message
|
|
19441
|
+
*/
|
|
19442
|
+
message: {
|
|
19443
|
+
/**
|
|
19444
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
19445
|
+
*/
|
|
19446
|
+
value: MediaNodeId;
|
|
19447
|
+
case: "nodeId";
|
|
19448
|
+
} | {
|
|
19449
|
+
/**
|
|
19450
|
+
* @generated from field: norsk.api.media.Context outbound_context = 2;
|
|
19451
|
+
*/
|
|
19452
|
+
value: Context;
|
|
19453
|
+
case: "outboundContext";
|
|
19454
|
+
} | {
|
|
19455
|
+
/**
|
|
19456
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
|
|
19457
|
+
*/
|
|
19458
|
+
value: SubscriptionResponse;
|
|
19459
|
+
case: "subscriptionResponse";
|
|
19460
|
+
} | {
|
|
19461
|
+
/**
|
|
19462
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
19463
|
+
*/
|
|
19464
|
+
value: Context;
|
|
19465
|
+
case: "inboundContext";
|
|
19466
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
19467
|
+
|
|
19468
|
+
constructor(data?: PartialMessage<AudioTranscribeAzureEvent>) {
|
|
19469
|
+
super();
|
|
19470
|
+
proto3.util.initPartial(data, this);
|
|
19471
|
+
}
|
|
19472
|
+
|
|
19473
|
+
static readonly runtime = proto3;
|
|
19474
|
+
static readonly typeName = "norsk.api.media.AudioTranscribeAzureEvent";
|
|
19475
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
19476
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
19477
|
+
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
19478
|
+
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
19479
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
19480
|
+
]);
|
|
19481
|
+
|
|
19482
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureEvent {
|
|
19483
|
+
return new AudioTranscribeAzureEvent().fromBinary(bytes, options);
|
|
19484
|
+
}
|
|
19485
|
+
|
|
19486
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeAzureEvent {
|
|
19487
|
+
return new AudioTranscribeAzureEvent().fromJson(jsonValue, options);
|
|
19488
|
+
}
|
|
19489
|
+
|
|
19490
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeAzureEvent {
|
|
19491
|
+
return new AudioTranscribeAzureEvent().fromJsonString(jsonString, options);
|
|
19492
|
+
}
|
|
19493
|
+
|
|
19494
|
+
static equals(a: AudioTranscribeAzureEvent | PlainMessage<AudioTranscribeAzureEvent> | undefined, b: AudioTranscribeAzureEvent | PlainMessage<AudioTranscribeAzureEvent> | undefined): boolean {
|
|
19495
|
+
return proto3.util.equals(AudioTranscribeAzureEvent, a, b);
|
|
19496
|
+
}
|
|
19497
|
+
}
|
|
19498
|
+
|
|
19499
|
+
/**
|
|
19500
|
+
* @generated from message norsk.api.media.AudioTranscribeWhisperConfiguration
|
|
19501
|
+
*/
|
|
19502
|
+
export class AudioTranscribeWhisperConfiguration extends Message<AudioTranscribeWhisperConfiguration> {
|
|
19503
|
+
/**
|
|
19504
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
19505
|
+
*/
|
|
19506
|
+
id?: MediaNodeId;
|
|
19507
|
+
|
|
19508
|
+
/**
|
|
19509
|
+
* @generated from field: uint32 output_stream_id = 2;
|
|
19510
|
+
*/
|
|
19511
|
+
outputStreamId = 0;
|
|
19512
|
+
|
|
19513
|
+
/**
|
|
19514
|
+
* @generated from field: norsk.api.common.OptionalInt step_ms = 3;
|
|
19515
|
+
*/
|
|
19516
|
+
stepMs?: OptionalInt;
|
|
19517
|
+
|
|
19518
|
+
/**
|
|
19519
|
+
* @generated from field: norsk.api.common.OptionalInt length_ms = 4;
|
|
19520
|
+
*/
|
|
19521
|
+
lengthMs?: OptionalInt;
|
|
19522
|
+
|
|
19523
|
+
/**
|
|
19524
|
+
* @generated from field: norsk.api.common.OptionalInt keep_ms = 5;
|
|
19525
|
+
*/
|
|
19526
|
+
keepMs?: OptionalInt;
|
|
19527
|
+
|
|
19528
|
+
/**
|
|
19529
|
+
* @generated from field: norsk.api.common.OptionalInt max_tokens = 6;
|
|
19530
|
+
*/
|
|
19531
|
+
maxTokens?: OptionalInt;
|
|
19532
|
+
|
|
19533
|
+
/**
|
|
19534
|
+
* @generated from field: norsk.api.common.OptionalBool speed_up = 7;
|
|
19535
|
+
*/
|
|
19536
|
+
speedUp?: OptionalBool;
|
|
19537
|
+
|
|
19538
|
+
/**
|
|
19539
|
+
* @generated from field: norsk.api.common.OptionalBool no_fallback = 8;
|
|
19540
|
+
*/
|
|
19541
|
+
noFallback?: OptionalBool;
|
|
19542
|
+
|
|
19543
|
+
/**
|
|
19544
|
+
* @generated from field: norsk.api.common.OptionalInt num_threads = 9;
|
|
19545
|
+
*/
|
|
19546
|
+
numThreads?: OptionalInt;
|
|
19547
|
+
|
|
19548
|
+
/**
|
|
19549
|
+
* @generated from field: norsk.api.common.OptionalBool use_gpu = 10;
|
|
19550
|
+
*/
|
|
19551
|
+
useGpu?: OptionalBool;
|
|
19552
|
+
|
|
19553
|
+
/**
|
|
19554
|
+
* @generated from field: string language = 11;
|
|
19555
|
+
*/
|
|
19556
|
+
language = "";
|
|
19557
|
+
|
|
19558
|
+
/**
|
|
19559
|
+
* @generated from field: string model = 12;
|
|
19560
|
+
*/
|
|
19561
|
+
model = "";
|
|
19562
|
+
|
|
19563
|
+
constructor(data?: PartialMessage<AudioTranscribeWhisperConfiguration>) {
|
|
19564
|
+
super();
|
|
19565
|
+
proto3.util.initPartial(data, this);
|
|
19566
|
+
}
|
|
19567
|
+
|
|
19568
|
+
static readonly runtime = proto3;
|
|
19569
|
+
static readonly typeName = "norsk.api.media.AudioTranscribeWhisperConfiguration";
|
|
19570
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
19571
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
19572
|
+
{ no: 2, name: "output_stream_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
19573
|
+
{ no: 3, name: "step_ms", kind: "message", T: OptionalInt },
|
|
19574
|
+
{ no: 4, name: "length_ms", kind: "message", T: OptionalInt },
|
|
19575
|
+
{ no: 5, name: "keep_ms", kind: "message", T: OptionalInt },
|
|
19576
|
+
{ no: 6, name: "max_tokens", kind: "message", T: OptionalInt },
|
|
19577
|
+
{ no: 7, name: "speed_up", kind: "message", T: OptionalBool },
|
|
19578
|
+
{ no: 8, name: "no_fallback", kind: "message", T: OptionalBool },
|
|
19579
|
+
{ no: 9, name: "num_threads", kind: "message", T: OptionalInt },
|
|
19580
|
+
{ no: 10, name: "use_gpu", kind: "message", T: OptionalBool },
|
|
19581
|
+
{ no: 11, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
19582
|
+
{ no: 12, name: "model", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
19583
|
+
]);
|
|
19584
|
+
|
|
19585
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperConfiguration {
|
|
19586
|
+
return new AudioTranscribeWhisperConfiguration().fromBinary(bytes, options);
|
|
19587
|
+
}
|
|
19588
|
+
|
|
19589
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperConfiguration {
|
|
19590
|
+
return new AudioTranscribeWhisperConfiguration().fromJson(jsonValue, options);
|
|
19591
|
+
}
|
|
19592
|
+
|
|
19593
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperConfiguration {
|
|
19594
|
+
return new AudioTranscribeWhisperConfiguration().fromJsonString(jsonString, options);
|
|
19595
|
+
}
|
|
19596
|
+
|
|
19597
|
+
static equals(a: AudioTranscribeWhisperConfiguration | PlainMessage<AudioTranscribeWhisperConfiguration> | undefined, b: AudioTranscribeWhisperConfiguration | PlainMessage<AudioTranscribeWhisperConfiguration> | undefined): boolean {
|
|
19598
|
+
return proto3.util.equals(AudioTranscribeWhisperConfiguration, a, b);
|
|
19599
|
+
}
|
|
19600
|
+
}
|
|
19601
|
+
|
|
19602
|
+
/**
|
|
19603
|
+
* @generated from message norsk.api.media.AudioTranscribeWhisperMessage
|
|
19604
|
+
*/
|
|
19605
|
+
export class AudioTranscribeWhisperMessage extends Message<AudioTranscribeWhisperMessage> {
|
|
19606
|
+
/**
|
|
19607
|
+
* @generated from oneof norsk.api.media.AudioTranscribeWhisperMessage.message
|
|
19608
|
+
*/
|
|
19609
|
+
message: {
|
|
19610
|
+
/**
|
|
19611
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
19612
|
+
*/
|
|
19613
|
+
value: Subscription;
|
|
19614
|
+
case: "subscription";
|
|
19615
|
+
} | {
|
|
19616
|
+
/**
|
|
19617
|
+
* @generated from field: norsk.api.media.AudioTranscribeWhisperConfiguration configuration = 2;
|
|
19618
|
+
*/
|
|
19619
|
+
value: AudioTranscribeWhisperConfiguration;
|
|
19620
|
+
case: "configuration";
|
|
19621
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
19622
|
+
|
|
19623
|
+
constructor(data?: PartialMessage<AudioTranscribeWhisperMessage>) {
|
|
19624
|
+
super();
|
|
19625
|
+
proto3.util.initPartial(data, this);
|
|
19626
|
+
}
|
|
19627
|
+
|
|
19628
|
+
static readonly runtime = proto3;
|
|
19629
|
+
static readonly typeName = "norsk.api.media.AudioTranscribeWhisperMessage";
|
|
19630
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
19631
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
19632
|
+
{ no: 2, name: "configuration", kind: "message", T: AudioTranscribeWhisperConfiguration, oneof: "message" },
|
|
19633
|
+
]);
|
|
19634
|
+
|
|
19635
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperMessage {
|
|
19636
|
+
return new AudioTranscribeWhisperMessage().fromBinary(bytes, options);
|
|
19637
|
+
}
|
|
19638
|
+
|
|
19639
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperMessage {
|
|
19640
|
+
return new AudioTranscribeWhisperMessage().fromJson(jsonValue, options);
|
|
19641
|
+
}
|
|
19642
|
+
|
|
19643
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperMessage {
|
|
19644
|
+
return new AudioTranscribeWhisperMessage().fromJsonString(jsonString, options);
|
|
19645
|
+
}
|
|
19646
|
+
|
|
19647
|
+
static equals(a: AudioTranscribeWhisperMessage | PlainMessage<AudioTranscribeWhisperMessage> | undefined, b: AudioTranscribeWhisperMessage | PlainMessage<AudioTranscribeWhisperMessage> | undefined): boolean {
|
|
19648
|
+
return proto3.util.equals(AudioTranscribeWhisperMessage, a, b);
|
|
19649
|
+
}
|
|
19650
|
+
}
|
|
19651
|
+
|
|
19652
|
+
/**
|
|
19653
|
+
* @generated from message norsk.api.media.AudioTranscribeWhisperEvent
|
|
19654
|
+
*/
|
|
19655
|
+
export class AudioTranscribeWhisperEvent extends Message<AudioTranscribeWhisperEvent> {
|
|
19656
|
+
/**
|
|
19657
|
+
* @generated from oneof norsk.api.media.AudioTranscribeWhisperEvent.message
|
|
19658
|
+
*/
|
|
19659
|
+
message: {
|
|
19660
|
+
/**
|
|
19661
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
19662
|
+
*/
|
|
19663
|
+
value: MediaNodeId;
|
|
19664
|
+
case: "nodeId";
|
|
19665
|
+
} | {
|
|
19666
|
+
/**
|
|
19667
|
+
* @generated from field: norsk.api.media.Context outbound_context = 2;
|
|
19668
|
+
*/
|
|
19669
|
+
value: Context;
|
|
19670
|
+
case: "outboundContext";
|
|
19671
|
+
} | {
|
|
19672
|
+
/**
|
|
19673
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
|
|
19674
|
+
*/
|
|
19675
|
+
value: SubscriptionResponse;
|
|
19676
|
+
case: "subscriptionResponse";
|
|
19677
|
+
} | {
|
|
19678
|
+
/**
|
|
19679
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
19680
|
+
*/
|
|
19681
|
+
value: Context;
|
|
19682
|
+
case: "inboundContext";
|
|
19683
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
19684
|
+
|
|
19685
|
+
constructor(data?: PartialMessage<AudioTranscribeWhisperEvent>) {
|
|
19686
|
+
super();
|
|
19687
|
+
proto3.util.initPartial(data, this);
|
|
19688
|
+
}
|
|
19689
|
+
|
|
19690
|
+
static readonly runtime = proto3;
|
|
19691
|
+
static readonly typeName = "norsk.api.media.AudioTranscribeWhisperEvent";
|
|
19692
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
19693
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
19694
|
+
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
19695
|
+
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
19696
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
19697
|
+
]);
|
|
19698
|
+
|
|
19699
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeWhisperEvent {
|
|
19700
|
+
return new AudioTranscribeWhisperEvent().fromBinary(bytes, options);
|
|
19701
|
+
}
|
|
19702
|
+
|
|
19703
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperEvent {
|
|
19704
|
+
return new AudioTranscribeWhisperEvent().fromJson(jsonValue, options);
|
|
19705
|
+
}
|
|
19706
|
+
|
|
19707
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioTranscribeWhisperEvent {
|
|
19708
|
+
return new AudioTranscribeWhisperEvent().fromJsonString(jsonString, options);
|
|
19709
|
+
}
|
|
19710
|
+
|
|
19711
|
+
static equals(a: AudioTranscribeWhisperEvent | PlainMessage<AudioTranscribeWhisperEvent> | undefined, b: AudioTranscribeWhisperEvent | PlainMessage<AudioTranscribeWhisperEvent> | undefined): boolean {
|
|
19712
|
+
return proto3.util.equals(AudioTranscribeWhisperEvent, a, b);
|
|
19713
|
+
}
|
|
19714
|
+
}
|
|
19715
|
+
|
|
19185
19716
|
/**
|
|
19186
19717
|
* @generated from message norsk.api.media.AncillaryConfiguration
|
|
19187
19718
|
*/
|