@norskvideo/norsk-api 1.0.357 → 1.0.358
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 +32 -0
- package/lib/media_grpc_pb.js +70 -0
- package/lib/media_pb.d.ts +413 -45
- package/lib/media_pb.js +451 -29
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +669 -52
- package/lib/shared/common_pb.d.ts +4 -0
- package/lib/shared/common_pb.js +5 -0
- package/lib/shared/common_pb.js.map +1 -1
- package/lib/shared/common_pb.ts +6 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -1739,14 +1739,14 @@ export class Resolution extends Message<Resolution> {
|
|
|
1739
1739
|
*/
|
|
1740
1740
|
export class Interval extends Message<Interval> {
|
|
1741
1741
|
/**
|
|
1742
|
-
* @generated from field:
|
|
1742
|
+
* @generated from field: uint64 n = 1;
|
|
1743
1743
|
*/
|
|
1744
|
-
n =
|
|
1744
|
+
n = protoInt64.zero;
|
|
1745
1745
|
|
|
1746
1746
|
/**
|
|
1747
|
-
* @generated from field:
|
|
1747
|
+
* @generated from field: uint64 d = 2;
|
|
1748
1748
|
*/
|
|
1749
|
-
d =
|
|
1749
|
+
d = protoInt64.zero;
|
|
1750
1750
|
|
|
1751
1751
|
constructor(data?: PartialMessage<Interval>) {
|
|
1752
1752
|
super();
|
|
@@ -1756,8 +1756,8 @@ export class Interval extends Message<Interval> {
|
|
|
1756
1756
|
static readonly runtime = proto3;
|
|
1757
1757
|
static readonly typeName = "norsk.api.media.Interval";
|
|
1758
1758
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
1759
|
-
{ no: 1, name: "n", kind: "scalar", T:
|
|
1760
|
-
{ no: 2, name: "d", kind: "scalar", T:
|
|
1759
|
+
{ no: 1, name: "n", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1760
|
+
{ no: 2, name: "d", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1761
1761
|
]);
|
|
1762
1762
|
|
|
1763
1763
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Interval {
|
|
@@ -8228,8 +8228,6 @@ export enum Easing_SimpleEasing {
|
|
|
8228
8228
|
LINEAR = 0,
|
|
8229
8229
|
|
|
8230
8230
|
/**
|
|
8231
|
-
* EASE = 1;
|
|
8232
|
-
*
|
|
8233
8231
|
* @generated from enum value: EASE_IN = 2;
|
|
8234
8232
|
*/
|
|
8235
8233
|
EASE_IN = 2,
|
|
@@ -8796,7 +8794,8 @@ export class MetadataCombineConfiguration extends Message<MetadataCombineConfigu
|
|
|
8796
8794
|
streamKey?: StreamKey;
|
|
8797
8795
|
|
|
8798
8796
|
/**
|
|
8799
|
-
* Max delta to allow for sync purposes, may vary according to source offsets
|
|
8797
|
+
* Max delta to allow for sync purposes, may vary according to source offsets
|
|
8798
|
+
* and message frequency
|
|
8800
8799
|
*
|
|
8801
8800
|
* @generated from field: norsk.api.common.OptionalInt max_sync_delta = 3;
|
|
8802
8801
|
*/
|
|
@@ -10440,8 +10439,6 @@ export class CMAFDestination extends Message<CMAFDestination> {
|
|
|
10440
10439
|
*/
|
|
10441
10440
|
message: {
|
|
10442
10441
|
/**
|
|
10443
|
-
* GenericPushDestination generic_destination = 1;
|
|
10444
|
-
*
|
|
10445
10442
|
* @generated from field: norsk.api.media.HlsPushDestination hls_push_destination = 1;
|
|
10446
10443
|
*/
|
|
10447
10444
|
value: HlsPushDestination;
|
|
@@ -10510,8 +10507,6 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
|
|
|
10510
10507
|
partDurationSeconds = 0;
|
|
10511
10508
|
|
|
10512
10509
|
/**
|
|
10513
|
-
* float delay_output_ms = 4;
|
|
10514
|
-
*
|
|
10515
10510
|
* @generated from field: norsk.api.media.Mp4Encryption encryption = 5;
|
|
10516
10511
|
*/
|
|
10517
10512
|
encryption?: Mp4Encryption;
|
|
@@ -10527,7 +10522,7 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
|
|
|
10527
10522
|
destinations: CMAFDestination[] = [];
|
|
10528
10523
|
|
|
10529
10524
|
/**
|
|
10530
|
-
* Directives to add to the
|
|
10525
|
+
* Directives to add to the m3u8 media playlist
|
|
10531
10526
|
*
|
|
10532
10527
|
* @generated from field: string m3u_additions = 8;
|
|
10533
10528
|
*/
|
|
@@ -10666,8 +10661,6 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
|
|
|
10666
10661
|
segmentDurationSeconds = 0;
|
|
10667
10662
|
|
|
10668
10663
|
/**
|
|
10669
|
-
* float delay_output_ms = 3;
|
|
10670
|
-
*
|
|
10671
10664
|
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
|
|
10672
10665
|
*/
|
|
10673
10666
|
statsSampling?: StreamStatisticsSampling;
|
|
@@ -10820,8 +10813,6 @@ export class CmafAudioConfiguration extends Message<CmafAudioConfiguration> {
|
|
|
10820
10813
|
partDurationSeconds = 0;
|
|
10821
10814
|
|
|
10822
10815
|
/**
|
|
10823
|
-
* float delay_output_ms = 4;
|
|
10824
|
-
*
|
|
10825
10816
|
* @generated from field: norsk.api.media.Mp4Encryption encryption = 6;
|
|
10826
10817
|
*/
|
|
10827
10818
|
encryption?: Mp4Encryption;
|
|
@@ -10976,8 +10967,6 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
|
|
|
10976
10967
|
segmentDurationSeconds = 0;
|
|
10977
10968
|
|
|
10978
10969
|
/**
|
|
10979
|
-
* float delay_output_ms = 3;
|
|
10980
|
-
*
|
|
10981
10970
|
* @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 4;
|
|
10982
10971
|
*/
|
|
10983
10972
|
statsSampling?: StreamStatisticsSampling;
|
|
@@ -11125,22 +11114,10 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
|
|
|
11125
11114
|
segmentDurationSeconds = 0;
|
|
11126
11115
|
|
|
11127
11116
|
/**
|
|
11128
|
-
* float delay_output_ms = 3;
|
|
11129
|
-
*
|
|
11130
11117
|
* @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
|
|
11131
11118
|
*/
|
|
11132
11119
|
destinations: CMAFDestination[] = [];
|
|
11133
11120
|
|
|
11134
|
-
/**
|
|
11135
|
-
* @generated from field: string hls_cache_directory = 6;
|
|
11136
|
-
*/
|
|
11137
|
-
hlsCacheDirectory = "";
|
|
11138
|
-
|
|
11139
|
-
/**
|
|
11140
|
-
* @generated from field: norsk.api.media.Interval pts_adjustment = 8;
|
|
11141
|
-
*/
|
|
11142
|
-
ptsAdjustment?: Interval;
|
|
11143
|
-
|
|
11144
11121
|
/**
|
|
11145
11122
|
* @generated from field: norsk.api.common.OptionalString name = 9;
|
|
11146
11123
|
*/
|
|
@@ -11157,8 +11134,6 @@ export class CmafWebVttConfiguration extends Message<CmafWebVttConfiguration> {
|
|
|
11157
11134
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
11158
11135
|
{ no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
11159
11136
|
{ no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
11160
|
-
{ no: 6, name: "hls_cache_directory", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11161
|
-
{ no: 8, name: "pts_adjustment", kind: "message", T: Interval },
|
|
11162
11137
|
{ no: 9, name: "name", kind: "message", T: OptionalString },
|
|
11163
11138
|
]);
|
|
11164
11139
|
|
|
@@ -12176,8 +12151,6 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
|
|
|
12176
12151
|
segmentDurationSeconds = 0;
|
|
12177
12152
|
|
|
12178
12153
|
/**
|
|
12179
|
-
* float delay_output_ms = 4;
|
|
12180
|
-
*
|
|
12181
12154
|
* @generated from field: string playlist_name = 5;
|
|
12182
12155
|
*/
|
|
12183
12156
|
playlistName = "";
|
|
@@ -12188,7 +12161,7 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
|
|
|
12188
12161
|
statsSampling?: StreamStatisticsSampling;
|
|
12189
12162
|
|
|
12190
12163
|
/**
|
|
12191
|
-
* Directives to add to the
|
|
12164
|
+
* Directives to add to the m3u8 media playlists
|
|
12192
12165
|
*
|
|
12193
12166
|
* @generated from field: string m3u_additions = 7;
|
|
12194
12167
|
*/
|
|
@@ -14114,6 +14087,156 @@ export class FileMp4OutputEvent extends Message<FileMp4OutputEvent> {
|
|
|
14114
14087
|
}
|
|
14115
14088
|
}
|
|
14116
14089
|
|
|
14090
|
+
/**
|
|
14091
|
+
* @generated from message norsk.api.media.FileWebVttOutputConfiguration
|
|
14092
|
+
*/
|
|
14093
|
+
export class FileWebVttOutputConfiguration extends Message<FileWebVttOutputConfiguration> {
|
|
14094
|
+
/**
|
|
14095
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
14096
|
+
*/
|
|
14097
|
+
id?: MediaNodeId;
|
|
14098
|
+
|
|
14099
|
+
/**
|
|
14100
|
+
* @generated from field: string file_name = 2;
|
|
14101
|
+
*/
|
|
14102
|
+
fileName = "";
|
|
14103
|
+
|
|
14104
|
+
constructor(data?: PartialMessage<FileWebVttOutputConfiguration>) {
|
|
14105
|
+
super();
|
|
14106
|
+
proto3.util.initPartial(data, this);
|
|
14107
|
+
}
|
|
14108
|
+
|
|
14109
|
+
static readonly runtime = proto3;
|
|
14110
|
+
static readonly typeName = "norsk.api.media.FileWebVttOutputConfiguration";
|
|
14111
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
14112
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
14113
|
+
{ no: 2, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
14114
|
+
]);
|
|
14115
|
+
|
|
14116
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWebVttOutputConfiguration {
|
|
14117
|
+
return new FileWebVttOutputConfiguration().fromBinary(bytes, options);
|
|
14118
|
+
}
|
|
14119
|
+
|
|
14120
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWebVttOutputConfiguration {
|
|
14121
|
+
return new FileWebVttOutputConfiguration().fromJson(jsonValue, options);
|
|
14122
|
+
}
|
|
14123
|
+
|
|
14124
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWebVttOutputConfiguration {
|
|
14125
|
+
return new FileWebVttOutputConfiguration().fromJsonString(jsonString, options);
|
|
14126
|
+
}
|
|
14127
|
+
|
|
14128
|
+
static equals(a: FileWebVttOutputConfiguration | PlainMessage<FileWebVttOutputConfiguration> | undefined, b: FileWebVttOutputConfiguration | PlainMessage<FileWebVttOutputConfiguration> | undefined): boolean {
|
|
14129
|
+
return proto3.util.equals(FileWebVttOutputConfiguration, a, b);
|
|
14130
|
+
}
|
|
14131
|
+
}
|
|
14132
|
+
|
|
14133
|
+
/**
|
|
14134
|
+
* @generated from message norsk.api.media.FileWebVttOutputMessage
|
|
14135
|
+
*/
|
|
14136
|
+
export class FileWebVttOutputMessage extends Message<FileWebVttOutputMessage> {
|
|
14137
|
+
/**
|
|
14138
|
+
* @generated from oneof norsk.api.media.FileWebVttOutputMessage.message
|
|
14139
|
+
*/
|
|
14140
|
+
message: {
|
|
14141
|
+
/**
|
|
14142
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
14143
|
+
*/
|
|
14144
|
+
value: Subscription;
|
|
14145
|
+
case: "subscription";
|
|
14146
|
+
} | {
|
|
14147
|
+
/**
|
|
14148
|
+
* @generated from field: norsk.api.media.FileWebVttOutputConfiguration configuration = 2;
|
|
14149
|
+
*/
|
|
14150
|
+
value: FileWebVttOutputConfiguration;
|
|
14151
|
+
case: "configuration";
|
|
14152
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
14153
|
+
|
|
14154
|
+
constructor(data?: PartialMessage<FileWebVttOutputMessage>) {
|
|
14155
|
+
super();
|
|
14156
|
+
proto3.util.initPartial(data, this);
|
|
14157
|
+
}
|
|
14158
|
+
|
|
14159
|
+
static readonly runtime = proto3;
|
|
14160
|
+
static readonly typeName = "norsk.api.media.FileWebVttOutputMessage";
|
|
14161
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
14162
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
14163
|
+
{ no: 2, name: "configuration", kind: "message", T: FileWebVttOutputConfiguration, oneof: "message" },
|
|
14164
|
+
]);
|
|
14165
|
+
|
|
14166
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWebVttOutputMessage {
|
|
14167
|
+
return new FileWebVttOutputMessage().fromBinary(bytes, options);
|
|
14168
|
+
}
|
|
14169
|
+
|
|
14170
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWebVttOutputMessage {
|
|
14171
|
+
return new FileWebVttOutputMessage().fromJson(jsonValue, options);
|
|
14172
|
+
}
|
|
14173
|
+
|
|
14174
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWebVttOutputMessage {
|
|
14175
|
+
return new FileWebVttOutputMessage().fromJsonString(jsonString, options);
|
|
14176
|
+
}
|
|
14177
|
+
|
|
14178
|
+
static equals(a: FileWebVttOutputMessage | PlainMessage<FileWebVttOutputMessage> | undefined, b: FileWebVttOutputMessage | PlainMessage<FileWebVttOutputMessage> | undefined): boolean {
|
|
14179
|
+
return proto3.util.equals(FileWebVttOutputMessage, a, b);
|
|
14180
|
+
}
|
|
14181
|
+
}
|
|
14182
|
+
|
|
14183
|
+
/**
|
|
14184
|
+
* @generated from message norsk.api.media.FileWebVttOutputEvent
|
|
14185
|
+
*/
|
|
14186
|
+
export class FileWebVttOutputEvent extends Message<FileWebVttOutputEvent> {
|
|
14187
|
+
/**
|
|
14188
|
+
* @generated from oneof norsk.api.media.FileWebVttOutputEvent.message
|
|
14189
|
+
*/
|
|
14190
|
+
message: {
|
|
14191
|
+
/**
|
|
14192
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
14193
|
+
*/
|
|
14194
|
+
value: MediaNodeId;
|
|
14195
|
+
case: "nodeId";
|
|
14196
|
+
} | {
|
|
14197
|
+
/**
|
|
14198
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 2;
|
|
14199
|
+
*/
|
|
14200
|
+
value: SubscriptionResponse;
|
|
14201
|
+
case: "subscriptionResponse";
|
|
14202
|
+
} | {
|
|
14203
|
+
/**
|
|
14204
|
+
* @generated from field: norsk.api.media.Context inbound_context = 3;
|
|
14205
|
+
*/
|
|
14206
|
+
value: Context;
|
|
14207
|
+
case: "inboundContext";
|
|
14208
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
14209
|
+
|
|
14210
|
+
constructor(data?: PartialMessage<FileWebVttOutputEvent>) {
|
|
14211
|
+
super();
|
|
14212
|
+
proto3.util.initPartial(data, this);
|
|
14213
|
+
}
|
|
14214
|
+
|
|
14215
|
+
static readonly runtime = proto3;
|
|
14216
|
+
static readonly typeName = "norsk.api.media.FileWebVttOutputEvent";
|
|
14217
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
14218
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
14219
|
+
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
14220
|
+
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
14221
|
+
]);
|
|
14222
|
+
|
|
14223
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWebVttOutputEvent {
|
|
14224
|
+
return new FileWebVttOutputEvent().fromBinary(bytes, options);
|
|
14225
|
+
}
|
|
14226
|
+
|
|
14227
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWebVttOutputEvent {
|
|
14228
|
+
return new FileWebVttOutputEvent().fromJson(jsonValue, options);
|
|
14229
|
+
}
|
|
14230
|
+
|
|
14231
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWebVttOutputEvent {
|
|
14232
|
+
return new FileWebVttOutputEvent().fromJsonString(jsonString, options);
|
|
14233
|
+
}
|
|
14234
|
+
|
|
14235
|
+
static equals(a: FileWebVttOutputEvent | PlainMessage<FileWebVttOutputEvent> | undefined, b: FileWebVttOutputEvent | PlainMessage<FileWebVttOutputEvent> | undefined): boolean {
|
|
14236
|
+
return proto3.util.equals(FileWebVttOutputEvent, a, b);
|
|
14237
|
+
}
|
|
14238
|
+
}
|
|
14239
|
+
|
|
14117
14240
|
/**
|
|
14118
14241
|
* @generated from message norsk.api.media.FrameRate
|
|
14119
14242
|
*/
|
|
@@ -14323,7 +14446,8 @@ export class X264Codec extends Message<X264Codec> {
|
|
|
14323
14446
|
cabac?: OptionalBool;
|
|
14324
14447
|
|
|
14325
14448
|
/**
|
|
14326
|
-
* Sets the maximum rate the VBV buffer should be assumed to refill at
|
|
14449
|
+
* Sets the maximum rate the VBV buffer should be assumed to refill at
|
|
14450
|
+
* (kbit/s)
|
|
14327
14451
|
*
|
|
14328
14452
|
* @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
|
|
14329
14453
|
*/
|
|
@@ -14743,7 +14867,8 @@ export class X265Codec extends Message<X265Codec> {
|
|
|
14743
14867
|
frameReference?: OptionalInt;
|
|
14744
14868
|
|
|
14745
14869
|
/**
|
|
14746
|
-
* Sets the maximum rate the VBV buffer should be assumed to refill at
|
|
14870
|
+
* Sets the maximum rate the VBV buffer should be assumed to refill at
|
|
14871
|
+
* (kbit/s)
|
|
14747
14872
|
*
|
|
14748
14873
|
* @generated from field: norsk.api.common.OptionalInt vbv_max_rate = 11;
|
|
14749
14874
|
*/
|
|
@@ -15551,8 +15676,8 @@ export class NvidiaRateControl extends Message<NvidiaRateControl> {
|
|
|
15551
15676
|
|
|
15552
15677
|
/**
|
|
15553
15678
|
* * Enable lookahead or not:
|
|
15554
|
-
* Note: enabling lookahead will introduce scene cuts unless this is
|
|
15555
|
-
* elswhere in the codec settings
|
|
15679
|
+
* Note: enabling lookahead will introduce scene cuts unless this is
|
|
15680
|
+
* specifically disabled elswhere in the codec settings
|
|
15556
15681
|
*
|
|
15557
15682
|
*
|
|
15558
15683
|
* @generated from field: norsk.api.common.OptionalBool enableLookahead = 6;
|
|
@@ -16919,6 +17044,98 @@ proto3.util.setEnumType(AmdU30Hevc_AmdU30HevcTier, "norsk.api.media.AmdU30Hevc.A
|
|
|
16919
17044
|
{ no: 1, name: "AMD_U30_HEVC_TIER_HIGH" },
|
|
16920
17045
|
]);
|
|
16921
17046
|
|
|
17047
|
+
/**
|
|
17048
|
+
* @generated from message norsk.api.media.AmdMA35DLoad
|
|
17049
|
+
*/
|
|
17050
|
+
export class AmdMA35DLoad extends Message<AmdMA35DLoad> {
|
|
17051
|
+
/**
|
|
17052
|
+
* @generated from field: uint32 device_index = 1;
|
|
17053
|
+
*/
|
|
17054
|
+
deviceIndex = 0;
|
|
17055
|
+
|
|
17056
|
+
/**
|
|
17057
|
+
* @generated from field: repeated norsk.api.media.AmdMA35DLoad.ComputeUnitLoad compute_unit_load = 2;
|
|
17058
|
+
*/
|
|
17059
|
+
computeUnitLoad: AmdMA35DLoad_ComputeUnitLoad[] = [];
|
|
17060
|
+
|
|
17061
|
+
constructor(data?: PartialMessage<AmdMA35DLoad>) {
|
|
17062
|
+
super();
|
|
17063
|
+
proto3.util.initPartial(data, this);
|
|
17064
|
+
}
|
|
17065
|
+
|
|
17066
|
+
static readonly runtime = proto3;
|
|
17067
|
+
static readonly typeName = "norsk.api.media.AmdMA35DLoad";
|
|
17068
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
17069
|
+
{ no: 1, name: "device_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
17070
|
+
{ no: 2, name: "compute_unit_load", kind: "message", T: AmdMA35DLoad_ComputeUnitLoad, repeated: true },
|
|
17071
|
+
]);
|
|
17072
|
+
|
|
17073
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DLoad {
|
|
17074
|
+
return new AmdMA35DLoad().fromBinary(bytes, options);
|
|
17075
|
+
}
|
|
17076
|
+
|
|
17077
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DLoad {
|
|
17078
|
+
return new AmdMA35DLoad().fromJson(jsonValue, options);
|
|
17079
|
+
}
|
|
17080
|
+
|
|
17081
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DLoad {
|
|
17082
|
+
return new AmdMA35DLoad().fromJsonString(jsonString, options);
|
|
17083
|
+
}
|
|
17084
|
+
|
|
17085
|
+
static equals(a: AmdMA35DLoad | PlainMessage<AmdMA35DLoad> | undefined, b: AmdMA35DLoad | PlainMessage<AmdMA35DLoad> | undefined): boolean {
|
|
17086
|
+
return proto3.util.equals(AmdMA35DLoad, a, b);
|
|
17087
|
+
}
|
|
17088
|
+
}
|
|
17089
|
+
|
|
17090
|
+
/**
|
|
17091
|
+
* @generated from message norsk.api.media.AmdMA35DLoad.ComputeUnitLoad
|
|
17092
|
+
*/
|
|
17093
|
+
export class AmdMA35DLoad_ComputeUnitLoad extends Message<AmdMA35DLoad_ComputeUnitLoad> {
|
|
17094
|
+
/**
|
|
17095
|
+
* @generated from field: string name = 1;
|
|
17096
|
+
*/
|
|
17097
|
+
name = "";
|
|
17098
|
+
|
|
17099
|
+
/**
|
|
17100
|
+
* @generated from field: uint32 instances = 2;
|
|
17101
|
+
*/
|
|
17102
|
+
instances = 0;
|
|
17103
|
+
|
|
17104
|
+
/**
|
|
17105
|
+
* @generated from field: float load = 3;
|
|
17106
|
+
*/
|
|
17107
|
+
load = 0;
|
|
17108
|
+
|
|
17109
|
+
constructor(data?: PartialMessage<AmdMA35DLoad_ComputeUnitLoad>) {
|
|
17110
|
+
super();
|
|
17111
|
+
proto3.util.initPartial(data, this);
|
|
17112
|
+
}
|
|
17113
|
+
|
|
17114
|
+
static readonly runtime = proto3;
|
|
17115
|
+
static readonly typeName = "norsk.api.media.AmdMA35DLoad.ComputeUnitLoad";
|
|
17116
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
17117
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17118
|
+
{ no: 2, name: "instances", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
17119
|
+
{ no: 3, name: "load", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
17120
|
+
]);
|
|
17121
|
+
|
|
17122
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DLoad_ComputeUnitLoad {
|
|
17123
|
+
return new AmdMA35DLoad_ComputeUnitLoad().fromBinary(bytes, options);
|
|
17124
|
+
}
|
|
17125
|
+
|
|
17126
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DLoad_ComputeUnitLoad {
|
|
17127
|
+
return new AmdMA35DLoad_ComputeUnitLoad().fromJson(jsonValue, options);
|
|
17128
|
+
}
|
|
17129
|
+
|
|
17130
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DLoad_ComputeUnitLoad {
|
|
17131
|
+
return new AmdMA35DLoad_ComputeUnitLoad().fromJsonString(jsonString, options);
|
|
17132
|
+
}
|
|
17133
|
+
|
|
17134
|
+
static equals(a: AmdMA35DLoad_ComputeUnitLoad | PlainMessage<AmdMA35DLoad_ComputeUnitLoad> | undefined, b: AmdMA35DLoad_ComputeUnitLoad | PlainMessage<AmdMA35DLoad_ComputeUnitLoad> | undefined): boolean {
|
|
17135
|
+
return proto3.util.equals(AmdMA35DLoad_ComputeUnitLoad, a, b);
|
|
17136
|
+
}
|
|
17137
|
+
}
|
|
17138
|
+
|
|
16922
17139
|
/**
|
|
16923
17140
|
* @generated from message norsk.api.media.AmdMA35DEncodeCommon
|
|
16924
17141
|
*/
|
|
@@ -18451,7 +18668,8 @@ export class StreamMetadataOverrideConfiguration extends Message<StreamMetadataO
|
|
|
18451
18668
|
subtitlesLanguage?: OptionalString;
|
|
18452
18669
|
|
|
18453
18670
|
/**
|
|
18454
|
-
* * Override the property of whether a subtitles string is the default/primary
|
|
18671
|
+
* * Override the property of whether a subtitles string is the default/primary
|
|
18672
|
+
* rendition or not
|
|
18455
18673
|
*
|
|
18456
18674
|
* @generated from field: norsk.api.common.OptionalBool subtitles_default = 6;
|
|
18457
18675
|
*/
|
|
@@ -18535,7 +18753,8 @@ export class StreamMetadataOverrideUpdateConfiguration extends Message<StreamMet
|
|
|
18535
18753
|
subtitlesLanguage?: OptionalString;
|
|
18536
18754
|
|
|
18537
18755
|
/**
|
|
18538
|
-
* * Override the property of whether a subtitles string is the default/primary
|
|
18756
|
+
* * Override the property of whether a subtitles string is the default/primary
|
|
18757
|
+
* rendition or not
|
|
18539
18758
|
*
|
|
18540
18759
|
* @generated from field: norsk.api.common.OptionalBool subtitles_default = 6;
|
|
18541
18760
|
*/
|
|
@@ -19034,7 +19253,8 @@ export class StreamAlignConfiguration extends Message<StreamAlignConfiguration>
|
|
|
19034
19253
|
frameRate?: FrameRate;
|
|
19035
19254
|
|
|
19036
19255
|
/**
|
|
19037
|
-
* Synchronise audio/video sources aggressively to start at the same timestamp
|
|
19256
|
+
* Synchronise audio/video sources aggressively to start at the same timestamp
|
|
19257
|
+
* by dropping frames until a video keyframe occurs
|
|
19038
19258
|
*
|
|
19039
19259
|
* @generated from field: bool sync_av = 4;
|
|
19040
19260
|
*/
|
|
@@ -19510,6 +19730,357 @@ export class AudioEncodeEvent extends Message<AudioEncodeEvent> {
|
|
|
19510
19730
|
}
|
|
19511
19731
|
}
|
|
19512
19732
|
|
|
19733
|
+
/**
|
|
19734
|
+
* @generated from message norsk.api.media.WebVttEncodeConfiguration
|
|
19735
|
+
*/
|
|
19736
|
+
export class WebVttEncodeConfiguration extends Message<WebVttEncodeConfiguration> {
|
|
19737
|
+
/**
|
|
19738
|
+
* Maximum length of any line in the cue in characters
|
|
19739
|
+
*
|
|
19740
|
+
* @generated from field: norsk.api.common.OptionalInt maximum_line_length = 1;
|
|
19741
|
+
*/
|
|
19742
|
+
maximumLineLength?: OptionalInt;
|
|
19743
|
+
|
|
19744
|
+
/**
|
|
19745
|
+
* Minimum length of the overall cue in characters
|
|
19746
|
+
*
|
|
19747
|
+
* @generated from field: norsk.api.common.OptionalInt minimum_cue_length = 2;
|
|
19748
|
+
*/
|
|
19749
|
+
minimumCueLength?: OptionalInt;
|
|
19750
|
+
|
|
19751
|
+
/**
|
|
19752
|
+
* Maximum number of lines in a cue.
|
|
19753
|
+
*
|
|
19754
|
+
* Consider using a value of 1 and a longer max line length and allowing the player to break lines: per the WebVTT standard
|
|
19755
|
+
* "In general, therefore, authors are encouraged to write cues all on one line except when a line break is definitely necessary."
|
|
19756
|
+
* However if the player does not do this adequately, using the actual max line length desired and more lines, hard line breaks
|
|
19757
|
+
* will be inserted. Note a maximum subtitle length of two lines is recommended (eg BBC guidance)
|
|
19758
|
+
*
|
|
19759
|
+
* @generated from field: norsk.api.common.OptionalInt maximum_num_lines = 3;
|
|
19760
|
+
*/
|
|
19761
|
+
maximumNumLines?: OptionalInt;
|
|
19762
|
+
|
|
19763
|
+
constructor(data?: PartialMessage<WebVttEncodeConfiguration>) {
|
|
19764
|
+
super();
|
|
19765
|
+
proto3.util.initPartial(data, this);
|
|
19766
|
+
}
|
|
19767
|
+
|
|
19768
|
+
static readonly runtime = proto3;
|
|
19769
|
+
static readonly typeName = "norsk.api.media.WebVttEncodeConfiguration";
|
|
19770
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
19771
|
+
{ no: 1, name: "maximum_line_length", kind: "message", T: OptionalInt },
|
|
19772
|
+
{ no: 2, name: "minimum_cue_length", kind: "message", T: OptionalInt },
|
|
19773
|
+
{ no: 3, name: "maximum_num_lines", kind: "message", T: OptionalInt },
|
|
19774
|
+
]);
|
|
19775
|
+
|
|
19776
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebVttEncodeConfiguration {
|
|
19777
|
+
return new WebVttEncodeConfiguration().fromBinary(bytes, options);
|
|
19778
|
+
}
|
|
19779
|
+
|
|
19780
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebVttEncodeConfiguration {
|
|
19781
|
+
return new WebVttEncodeConfiguration().fromJson(jsonValue, options);
|
|
19782
|
+
}
|
|
19783
|
+
|
|
19784
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebVttEncodeConfiguration {
|
|
19785
|
+
return new WebVttEncodeConfiguration().fromJsonString(jsonString, options);
|
|
19786
|
+
}
|
|
19787
|
+
|
|
19788
|
+
static equals(a: WebVttEncodeConfiguration | PlainMessage<WebVttEncodeConfiguration> | undefined, b: WebVttEncodeConfiguration | PlainMessage<WebVttEncodeConfiguration> | undefined): boolean {
|
|
19789
|
+
return proto3.util.equals(WebVttEncodeConfiguration, a, b);
|
|
19790
|
+
}
|
|
19791
|
+
}
|
|
19792
|
+
|
|
19793
|
+
/**
|
|
19794
|
+
* @generated from message norsk.api.media.Cta608EncodeConfiguration
|
|
19795
|
+
*/
|
|
19796
|
+
export class Cta608EncodeConfiguration extends Message<Cta608EncodeConfiguration> {
|
|
19797
|
+
/**
|
|
19798
|
+
* Caption style (default: selected according to source)
|
|
19799
|
+
*
|
|
19800
|
+
* @generated from field: norsk.api.media.Cta608EncodeConfiguration.Cta608EncodeStyle style = 1;
|
|
19801
|
+
*/
|
|
19802
|
+
style = Cta608EncodeConfiguration_Cta608EncodeStyle.CTA_608_STYLE_DEFAULT;
|
|
19803
|
+
|
|
19804
|
+
/**
|
|
19805
|
+
* The total/maximum number of lines to use for captioning
|
|
19806
|
+
*
|
|
19807
|
+
* @generated from field: norsk.api.common.OptionalInt lines = 2;
|
|
19808
|
+
*/
|
|
19809
|
+
lines?: OptionalInt;
|
|
19810
|
+
|
|
19811
|
+
constructor(data?: PartialMessage<Cta608EncodeConfiguration>) {
|
|
19812
|
+
super();
|
|
19813
|
+
proto3.util.initPartial(data, this);
|
|
19814
|
+
}
|
|
19815
|
+
|
|
19816
|
+
static readonly runtime = proto3;
|
|
19817
|
+
static readonly typeName = "norsk.api.media.Cta608EncodeConfiguration";
|
|
19818
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
19819
|
+
{ no: 1, name: "style", kind: "enum", T: proto3.getEnumType(Cta608EncodeConfiguration_Cta608EncodeStyle) },
|
|
19820
|
+
{ no: 2, name: "lines", kind: "message", T: OptionalInt },
|
|
19821
|
+
]);
|
|
19822
|
+
|
|
19823
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Cta608EncodeConfiguration {
|
|
19824
|
+
return new Cta608EncodeConfiguration().fromBinary(bytes, options);
|
|
19825
|
+
}
|
|
19826
|
+
|
|
19827
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Cta608EncodeConfiguration {
|
|
19828
|
+
return new Cta608EncodeConfiguration().fromJson(jsonValue, options);
|
|
19829
|
+
}
|
|
19830
|
+
|
|
19831
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Cta608EncodeConfiguration {
|
|
19832
|
+
return new Cta608EncodeConfiguration().fromJsonString(jsonString, options);
|
|
19833
|
+
}
|
|
19834
|
+
|
|
19835
|
+
static equals(a: Cta608EncodeConfiguration | PlainMessage<Cta608EncodeConfiguration> | undefined, b: Cta608EncodeConfiguration | PlainMessage<Cta608EncodeConfiguration> | undefined): boolean {
|
|
19836
|
+
return proto3.util.equals(Cta608EncodeConfiguration, a, b);
|
|
19837
|
+
}
|
|
19838
|
+
}
|
|
19839
|
+
|
|
19840
|
+
/**
|
|
19841
|
+
* @generated from enum norsk.api.media.Cta608EncodeConfiguration.Cta608EncodeStyle
|
|
19842
|
+
*/
|
|
19843
|
+
export enum Cta608EncodeConfiguration_Cta608EncodeStyle {
|
|
19844
|
+
/**
|
|
19845
|
+
* @generated from enum value: CTA_608_STYLE_DEFAULT = 0;
|
|
19846
|
+
*/
|
|
19847
|
+
CTA_608_STYLE_DEFAULT = 0,
|
|
19848
|
+
|
|
19849
|
+
/**
|
|
19850
|
+
* @generated from enum value: CTA_608_STYLE_ROLL_UP = 1;
|
|
19851
|
+
*/
|
|
19852
|
+
CTA_608_STYLE_ROLL_UP = 1,
|
|
19853
|
+
|
|
19854
|
+
/**
|
|
19855
|
+
* @generated from enum value: CTA_608_STYLE_POP_ON = 2;
|
|
19856
|
+
*/
|
|
19857
|
+
CTA_608_STYLE_POP_ON = 2,
|
|
19858
|
+
}
|
|
19859
|
+
// Retrieve enum metadata with: proto3.getEnumType(Cta608EncodeConfiguration_Cta608EncodeStyle)
|
|
19860
|
+
proto3.util.setEnumType(Cta608EncodeConfiguration_Cta608EncodeStyle, "norsk.api.media.Cta608EncodeConfiguration.Cta608EncodeStyle", [
|
|
19861
|
+
{ no: 0, name: "CTA_608_STYLE_DEFAULT" },
|
|
19862
|
+
{ no: 1, name: "CTA_608_STYLE_ROLL_UP" },
|
|
19863
|
+
{ no: 2, name: "CTA_608_STYLE_POP_ON" },
|
|
19864
|
+
]);
|
|
19865
|
+
|
|
19866
|
+
/**
|
|
19867
|
+
* @generated from message norsk.api.media.Cta708EncodeConfiguration
|
|
19868
|
+
*/
|
|
19869
|
+
export class Cta708EncodeConfiguration extends Message<Cta708EncodeConfiguration> {
|
|
19870
|
+
constructor(data?: PartialMessage<Cta708EncodeConfiguration>) {
|
|
19871
|
+
super();
|
|
19872
|
+
proto3.util.initPartial(data, this);
|
|
19873
|
+
}
|
|
19874
|
+
|
|
19875
|
+
static readonly runtime = proto3;
|
|
19876
|
+
static readonly typeName = "norsk.api.media.Cta708EncodeConfiguration";
|
|
19877
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
19878
|
+
]);
|
|
19879
|
+
|
|
19880
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Cta708EncodeConfiguration {
|
|
19881
|
+
return new Cta708EncodeConfiguration().fromBinary(bytes, options);
|
|
19882
|
+
}
|
|
19883
|
+
|
|
19884
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Cta708EncodeConfiguration {
|
|
19885
|
+
return new Cta708EncodeConfiguration().fromJson(jsonValue, options);
|
|
19886
|
+
}
|
|
19887
|
+
|
|
19888
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Cta708EncodeConfiguration {
|
|
19889
|
+
return new Cta708EncodeConfiguration().fromJsonString(jsonString, options);
|
|
19890
|
+
}
|
|
19891
|
+
|
|
19892
|
+
static equals(a: Cta708EncodeConfiguration | PlainMessage<Cta708EncodeConfiguration> | undefined, b: Cta708EncodeConfiguration | PlainMessage<Cta708EncodeConfiguration> | undefined): boolean {
|
|
19893
|
+
return proto3.util.equals(Cta708EncodeConfiguration, a, b);
|
|
19894
|
+
}
|
|
19895
|
+
}
|
|
19896
|
+
|
|
19897
|
+
/**
|
|
19898
|
+
* @generated from message norsk.api.media.SubtitleConvertConfiguration
|
|
19899
|
+
*/
|
|
19900
|
+
export class SubtitleConvertConfiguration extends Message<SubtitleConvertConfiguration> {
|
|
19901
|
+
/**
|
|
19902
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
19903
|
+
*/
|
|
19904
|
+
id?: MediaNodeId;
|
|
19905
|
+
|
|
19906
|
+
/**
|
|
19907
|
+
* @generated from oneof norsk.api.media.SubtitleConvertConfiguration.format
|
|
19908
|
+
*/
|
|
19909
|
+
format: {
|
|
19910
|
+
/**
|
|
19911
|
+
* @generated from field: norsk.api.media.WebVttEncodeConfiguration webvtt = 2;
|
|
19912
|
+
*/
|
|
19913
|
+
value: WebVttEncodeConfiguration;
|
|
19914
|
+
case: "webvtt";
|
|
19915
|
+
} | {
|
|
19916
|
+
/**
|
|
19917
|
+
* @generated from field: norsk.api.media.Cta608EncodeConfiguration cta608 = 3;
|
|
19918
|
+
*/
|
|
19919
|
+
value: Cta608EncodeConfiguration;
|
|
19920
|
+
case: "cta608";
|
|
19921
|
+
} | {
|
|
19922
|
+
/**
|
|
19923
|
+
* @generated from field: norsk.api.media.Cta708EncodeConfiguration cta708 = 4;
|
|
19924
|
+
*/
|
|
19925
|
+
value: Cta708EncodeConfiguration;
|
|
19926
|
+
case: "cta708";
|
|
19927
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
19928
|
+
|
|
19929
|
+
/**
|
|
19930
|
+
* For conversion from transcribed sources containing partial and complete transcriptions, filter to only include the transcription
|
|
19931
|
+
* from a fully transcribed section/utterance. Note this may be multiple sentences and span up to 30s duration or beyond, making this
|
|
19932
|
+
* generally an option for non-live flows
|
|
19933
|
+
*
|
|
19934
|
+
* @generated from field: bool only_complete = 5;
|
|
19935
|
+
*/
|
|
19936
|
+
onlyComplete = false;
|
|
19937
|
+
|
|
19938
|
+
constructor(data?: PartialMessage<SubtitleConvertConfiguration>) {
|
|
19939
|
+
super();
|
|
19940
|
+
proto3.util.initPartial(data, this);
|
|
19941
|
+
}
|
|
19942
|
+
|
|
19943
|
+
static readonly runtime = proto3;
|
|
19944
|
+
static readonly typeName = "norsk.api.media.SubtitleConvertConfiguration";
|
|
19945
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
19946
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
19947
|
+
{ no: 2, name: "webvtt", kind: "message", T: WebVttEncodeConfiguration, oneof: "format" },
|
|
19948
|
+
{ no: 3, name: "cta608", kind: "message", T: Cta608EncodeConfiguration, oneof: "format" },
|
|
19949
|
+
{ no: 4, name: "cta708", kind: "message", T: Cta708EncodeConfiguration, oneof: "format" },
|
|
19950
|
+
{ no: 5, name: "only_complete", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
19951
|
+
]);
|
|
19952
|
+
|
|
19953
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubtitleConvertConfiguration {
|
|
19954
|
+
return new SubtitleConvertConfiguration().fromBinary(bytes, options);
|
|
19955
|
+
}
|
|
19956
|
+
|
|
19957
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubtitleConvertConfiguration {
|
|
19958
|
+
return new SubtitleConvertConfiguration().fromJson(jsonValue, options);
|
|
19959
|
+
}
|
|
19960
|
+
|
|
19961
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubtitleConvertConfiguration {
|
|
19962
|
+
return new SubtitleConvertConfiguration().fromJsonString(jsonString, options);
|
|
19963
|
+
}
|
|
19964
|
+
|
|
19965
|
+
static equals(a: SubtitleConvertConfiguration | PlainMessage<SubtitleConvertConfiguration> | undefined, b: SubtitleConvertConfiguration | PlainMessage<SubtitleConvertConfiguration> | undefined): boolean {
|
|
19966
|
+
return proto3.util.equals(SubtitleConvertConfiguration, a, b);
|
|
19967
|
+
}
|
|
19968
|
+
}
|
|
19969
|
+
|
|
19970
|
+
/**
|
|
19971
|
+
* @generated from message norsk.api.media.SubtitleConvertMessage
|
|
19972
|
+
*/
|
|
19973
|
+
export class SubtitleConvertMessage extends Message<SubtitleConvertMessage> {
|
|
19974
|
+
/**
|
|
19975
|
+
* @generated from oneof norsk.api.media.SubtitleConvertMessage.message
|
|
19976
|
+
*/
|
|
19977
|
+
message: {
|
|
19978
|
+
/**
|
|
19979
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
19980
|
+
*/
|
|
19981
|
+
value: Subscription;
|
|
19982
|
+
case: "subscription";
|
|
19983
|
+
} | {
|
|
19984
|
+
/**
|
|
19985
|
+
* @generated from field: norsk.api.media.SubtitleConvertConfiguration configuration = 2;
|
|
19986
|
+
*/
|
|
19987
|
+
value: SubtitleConvertConfiguration;
|
|
19988
|
+
case: "configuration";
|
|
19989
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
19990
|
+
|
|
19991
|
+
constructor(data?: PartialMessage<SubtitleConvertMessage>) {
|
|
19992
|
+
super();
|
|
19993
|
+
proto3.util.initPartial(data, this);
|
|
19994
|
+
}
|
|
19995
|
+
|
|
19996
|
+
static readonly runtime = proto3;
|
|
19997
|
+
static readonly typeName = "norsk.api.media.SubtitleConvertMessage";
|
|
19998
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
19999
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
20000
|
+
{ no: 2, name: "configuration", kind: "message", T: SubtitleConvertConfiguration, oneof: "message" },
|
|
20001
|
+
]);
|
|
20002
|
+
|
|
20003
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubtitleConvertMessage {
|
|
20004
|
+
return new SubtitleConvertMessage().fromBinary(bytes, options);
|
|
20005
|
+
}
|
|
20006
|
+
|
|
20007
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubtitleConvertMessage {
|
|
20008
|
+
return new SubtitleConvertMessage().fromJson(jsonValue, options);
|
|
20009
|
+
}
|
|
20010
|
+
|
|
20011
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubtitleConvertMessage {
|
|
20012
|
+
return new SubtitleConvertMessage().fromJsonString(jsonString, options);
|
|
20013
|
+
}
|
|
20014
|
+
|
|
20015
|
+
static equals(a: SubtitleConvertMessage | PlainMessage<SubtitleConvertMessage> | undefined, b: SubtitleConvertMessage | PlainMessage<SubtitleConvertMessage> | undefined): boolean {
|
|
20016
|
+
return proto3.util.equals(SubtitleConvertMessage, a, b);
|
|
20017
|
+
}
|
|
20018
|
+
}
|
|
20019
|
+
|
|
20020
|
+
/**
|
|
20021
|
+
* @generated from message norsk.api.media.SubtitleConvertEvent
|
|
20022
|
+
*/
|
|
20023
|
+
export class SubtitleConvertEvent extends Message<SubtitleConvertEvent> {
|
|
20024
|
+
/**
|
|
20025
|
+
* @generated from oneof norsk.api.media.SubtitleConvertEvent.message
|
|
20026
|
+
*/
|
|
20027
|
+
message: {
|
|
20028
|
+
/**
|
|
20029
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
20030
|
+
*/
|
|
20031
|
+
value: MediaNodeId;
|
|
20032
|
+
case: "nodeId";
|
|
20033
|
+
} | {
|
|
20034
|
+
/**
|
|
20035
|
+
* @generated from field: norsk.api.media.Context outbound_context = 2;
|
|
20036
|
+
*/
|
|
20037
|
+
value: Context;
|
|
20038
|
+
case: "outboundContext";
|
|
20039
|
+
} | {
|
|
20040
|
+
/**
|
|
20041
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 3;
|
|
20042
|
+
*/
|
|
20043
|
+
value: SubscriptionResponse;
|
|
20044
|
+
case: "subscriptionResponse";
|
|
20045
|
+
} | {
|
|
20046
|
+
/**
|
|
20047
|
+
* @generated from field: norsk.api.media.Context inbound_context = 4;
|
|
20048
|
+
*/
|
|
20049
|
+
value: Context;
|
|
20050
|
+
case: "inboundContext";
|
|
20051
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
20052
|
+
|
|
20053
|
+
constructor(data?: PartialMessage<SubtitleConvertEvent>) {
|
|
20054
|
+
super();
|
|
20055
|
+
proto3.util.initPartial(data, this);
|
|
20056
|
+
}
|
|
20057
|
+
|
|
20058
|
+
static readonly runtime = proto3;
|
|
20059
|
+
static readonly typeName = "norsk.api.media.SubtitleConvertEvent";
|
|
20060
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
20061
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
20062
|
+
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
20063
|
+
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
20064
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
20065
|
+
]);
|
|
20066
|
+
|
|
20067
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubtitleConvertEvent {
|
|
20068
|
+
return new SubtitleConvertEvent().fromBinary(bytes, options);
|
|
20069
|
+
}
|
|
20070
|
+
|
|
20071
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubtitleConvertEvent {
|
|
20072
|
+
return new SubtitleConvertEvent().fromJson(jsonValue, options);
|
|
20073
|
+
}
|
|
20074
|
+
|
|
20075
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubtitleConvertEvent {
|
|
20076
|
+
return new SubtitleConvertEvent().fromJsonString(jsonString, options);
|
|
20077
|
+
}
|
|
20078
|
+
|
|
20079
|
+
static equals(a: SubtitleConvertEvent | PlainMessage<SubtitleConvertEvent> | undefined, b: SubtitleConvertEvent | PlainMessage<SubtitleConvertEvent> | undefined): boolean {
|
|
20080
|
+
return proto3.util.equals(SubtitleConvertEvent, a, b);
|
|
20081
|
+
}
|
|
20082
|
+
}
|
|
20083
|
+
|
|
19513
20084
|
/**
|
|
19514
20085
|
* @generated from message norsk.api.media.StreamSwitchSmoothConfiguration
|
|
19515
20086
|
*/
|
|
@@ -21639,9 +22210,18 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
|
|
|
21639
22210
|
azureRegion = "";
|
|
21640
22211
|
|
|
21641
22212
|
/**
|
|
21642
|
-
*
|
|
22213
|
+
* * Enable dictation mode (recognise dictated punctuation etc rather than transcribing the audio verbatim)
|
|
22214
|
+
*
|
|
22215
|
+
* @generated from field: norsk.api.common.OptionalBool dictation = 8;
|
|
21643
22216
|
*/
|
|
21644
|
-
|
|
22217
|
+
dictation?: OptionalBool;
|
|
22218
|
+
|
|
22219
|
+
/**
|
|
22220
|
+
* * Profanity behaviour (whether to mask or remove profanity)
|
|
22221
|
+
*
|
|
22222
|
+
* @generated from field: norsk.api.media.AudioTranscribeAzureConfiguration.ProfanityOption profanity = 9;
|
|
22223
|
+
*/
|
|
22224
|
+
profanity = AudioTranscribeAzureConfiguration_ProfanityOption.AZURE_PROFANITY_DEFAULT;
|
|
21645
22225
|
|
|
21646
22226
|
constructor(data?: PartialMessage<AudioTranscribeAzureConfiguration>) {
|
|
21647
22227
|
super();
|
|
@@ -21657,7 +22237,8 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
|
|
|
21657
22237
|
{ no: 4, name: "target_languages", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
21658
22238
|
{ no: 5, name: "azure_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
21659
22239
|
{ no: 6, name: "azure_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
21660
|
-
{ no:
|
|
22240
|
+
{ no: 8, name: "dictation", kind: "message", T: OptionalBool },
|
|
22241
|
+
{ no: 9, name: "profanity", kind: "enum", T: proto3.getEnumType(AudioTranscribeAzureConfiguration_ProfanityOption) },
|
|
21661
22242
|
]);
|
|
21662
22243
|
|
|
21663
22244
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioTranscribeAzureConfiguration {
|
|
@@ -21677,6 +22258,38 @@ export class AudioTranscribeAzureConfiguration extends Message<AudioTranscribeAz
|
|
|
21677
22258
|
}
|
|
21678
22259
|
}
|
|
21679
22260
|
|
|
22261
|
+
/**
|
|
22262
|
+
* @generated from enum norsk.api.media.AudioTranscribeAzureConfiguration.ProfanityOption
|
|
22263
|
+
*/
|
|
22264
|
+
export enum AudioTranscribeAzureConfiguration_ProfanityOption {
|
|
22265
|
+
/**
|
|
22266
|
+
* @generated from enum value: AZURE_PROFANITY_DEFAULT = 0;
|
|
22267
|
+
*/
|
|
22268
|
+
AZURE_PROFANITY_DEFAULT = 0,
|
|
22269
|
+
|
|
22270
|
+
/**
|
|
22271
|
+
* @generated from enum value: AZURE_PROFANITY_MASKED = 1;
|
|
22272
|
+
*/
|
|
22273
|
+
AZURE_PROFANITY_MASKED = 1,
|
|
22274
|
+
|
|
22275
|
+
/**
|
|
22276
|
+
* @generated from enum value: AZURE_PROFANITY_REMOVED = 2;
|
|
22277
|
+
*/
|
|
22278
|
+
AZURE_PROFANITY_REMOVED = 2,
|
|
22279
|
+
|
|
22280
|
+
/**
|
|
22281
|
+
* @generated from enum value: AZURE_PROFANITY_RAW = 3;
|
|
22282
|
+
*/
|
|
22283
|
+
AZURE_PROFANITY_RAW = 3,
|
|
22284
|
+
}
|
|
22285
|
+
// Retrieve enum metadata with: proto3.getEnumType(AudioTranscribeAzureConfiguration_ProfanityOption)
|
|
22286
|
+
proto3.util.setEnumType(AudioTranscribeAzureConfiguration_ProfanityOption, "norsk.api.media.AudioTranscribeAzureConfiguration.ProfanityOption", [
|
|
22287
|
+
{ no: 0, name: "AZURE_PROFANITY_DEFAULT" },
|
|
22288
|
+
{ no: 1, name: "AZURE_PROFANITY_MASKED" },
|
|
22289
|
+
{ no: 2, name: "AZURE_PROFANITY_REMOVED" },
|
|
22290
|
+
{ no: 3, name: "AZURE_PROFANITY_RAW" },
|
|
22291
|
+
]);
|
|
22292
|
+
|
|
21680
22293
|
/**
|
|
21681
22294
|
* @generated from message norsk.api.media.AudioTranscribeAzureMessage
|
|
21682
22295
|
*/
|
|
@@ -22082,7 +22695,8 @@ export class SubtitleTranslateAwsConfiguration extends Message<SubtitleTranslate
|
|
|
22082
22695
|
id?: MediaNodeId;
|
|
22083
22696
|
|
|
22084
22697
|
/**
|
|
22085
|
-
* / Source language code/tag, e.g. de or fr-CA (leave blank to use the source
|
|
22698
|
+
* / Source language code/tag, e.g. de or fr-CA (leave blank to use the source
|
|
22699
|
+
* / subtitle language / AWS automatic detection)
|
|
22086
22700
|
*
|
|
22087
22701
|
* @generated from field: string source_language = 2;
|
|
22088
22702
|
*/
|
|
@@ -22313,8 +22927,6 @@ export class AncillaryMessage extends Message<AncillaryMessage> {
|
|
|
22313
22927
|
case: "subscription";
|
|
22314
22928
|
} | {
|
|
22315
22929
|
/**
|
|
22316
|
-
* Scte104Event scte104_event = 4;
|
|
22317
|
-
*
|
|
22318
22930
|
* @generated from field: norsk.api.media.Scte35Event scte35_event = 3;
|
|
22319
22931
|
*/
|
|
22320
22932
|
value: Scte35Event;
|
|
@@ -22378,8 +22990,6 @@ export class AncillaryEvent extends Message<AncillaryEvent> {
|
|
|
22378
22990
|
case: "subscriptionResponse";
|
|
22379
22991
|
} | {
|
|
22380
22992
|
/**
|
|
22381
|
-
* Scte104Event scte104_event = 5;
|
|
22382
|
-
*
|
|
22383
22993
|
* @generated from field: norsk.api.media.Scte35Event scte35_event = 4;
|
|
22384
22994
|
*/
|
|
22385
22995
|
value: Scte35Event;
|
|
@@ -26110,6 +26720,12 @@ export class NorskStatusEvent extends Message<NorskStatusEvent> {
|
|
|
26110
26720
|
*/
|
|
26111
26721
|
value: Log;
|
|
26112
26722
|
case: "logEvent";
|
|
26723
|
+
} | {
|
|
26724
|
+
/**
|
|
26725
|
+
* @generated from field: norsk.api.media.AmdMA35DLoad ma35d_load = 5;
|
|
26726
|
+
*/
|
|
26727
|
+
value: AmdMA35DLoad;
|
|
26728
|
+
case: "ma35dLoad";
|
|
26113
26729
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
26114
26730
|
|
|
26115
26731
|
constructor(data?: PartialMessage<NorskStatusEvent>) {
|
|
@@ -26124,6 +26740,7 @@ export class NorskStatusEvent extends Message<NorskStatusEvent> {
|
|
|
26124
26740
|
{ no: 2, name: "current_load", kind: "message", T: CurrentLoad, oneof: "message" },
|
|
26125
26741
|
{ no: 3, name: "license_event", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "message" },
|
|
26126
26742
|
{ no: 4, name: "log_event", kind: "message", T: Log, oneof: "message" },
|
|
26743
|
+
{ no: 5, name: "ma35d_load", kind: "message", T: AmdMA35DLoad, oneof: "message" },
|
|
26127
26744
|
]);
|
|
26128
26745
|
|
|
26129
26746
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NorskStatusEvent {
|