@norskvideo/norsk-api 1.0.385 → 1.0.387
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 +47 -0
- package/lib/media_grpc_pb.js +118 -0
- package/lib/media_pb.d.ts +746 -1
- package/lib/media_pb.js +813 -9
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +1465 -233
- package/lib/shared/common_pb.d.ts +17 -0
- package/lib/shared/common_pb.js +32 -1
- package/lib/shared/common_pb.js.map +1 -1
- package/lib/shared/common_pb.ts +37 -0
- package/package.json +1 -1
package/lib/media_pb.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
7
|
import { Empty, Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
8
|
-
import { CurrentLoad, Log, Log_Level, OptionalBool, OptionalInt, OptionalInt64, OptionalString, UInt32OrInfinity, Version } from "./shared/common_pb.js";
|
|
8
|
+
import { CurrentLoad, Log, Log_Level, OptionalBool, OptionalFloat, OptionalInt, OptionalInt64, OptionalString, UInt32OrInfinity, Version } from "./shared/common_pb.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @generated from enum norsk.api.media.NodeMetricsMode
|
|
@@ -6901,6 +6901,464 @@ export class DeckLinkInputEvent extends Message<DeckLinkInputEvent> {
|
|
|
6901
6901
|
}
|
|
6902
6902
|
}
|
|
6903
6903
|
|
|
6904
|
+
/**
|
|
6905
|
+
* ///////////////////////////////
|
|
6906
|
+
* Kantar Audio Watermarks
|
|
6907
|
+
*
|
|
6908
|
+
* @generated from message norsk.api.media.AudioWatermarkConfiguration
|
|
6909
|
+
*/
|
|
6910
|
+
export class AudioWatermarkConfiguration extends Message<AudioWatermarkConfiguration> {
|
|
6911
|
+
/**
|
|
6912
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
6913
|
+
*/
|
|
6914
|
+
id?: MediaNodeId;
|
|
6915
|
+
|
|
6916
|
+
/**
|
|
6917
|
+
* @generated from oneof norsk.api.media.AudioWatermarkConfiguration.license
|
|
6918
|
+
*/
|
|
6919
|
+
license: {
|
|
6920
|
+
/**
|
|
6921
|
+
* @generated from field: norsk.api.media.AudioWatermarkConfiguration.OnlineLicense online_license = 2;
|
|
6922
|
+
*/
|
|
6923
|
+
value: AudioWatermarkConfiguration_OnlineLicense;
|
|
6924
|
+
case: "onlineLicense";
|
|
6925
|
+
} | {
|
|
6926
|
+
/**
|
|
6927
|
+
* @generated from field: norsk.api.media.AudioWatermarkConfiguration.OfflineLicense offline_license = 3;
|
|
6928
|
+
*/
|
|
6929
|
+
value: AudioWatermarkConfiguration_OfflineLicense;
|
|
6930
|
+
case: "offlineLicense";
|
|
6931
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
6932
|
+
|
|
6933
|
+
constructor(data?: PartialMessage<AudioWatermarkConfiguration>) {
|
|
6934
|
+
super();
|
|
6935
|
+
proto3.util.initPartial(data, this);
|
|
6936
|
+
}
|
|
6937
|
+
|
|
6938
|
+
static readonly runtime = proto3;
|
|
6939
|
+
static readonly typeName = "norsk.api.media.AudioWatermarkConfiguration";
|
|
6940
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
6941
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
6942
|
+
{ no: 2, name: "online_license", kind: "message", T: AudioWatermarkConfiguration_OnlineLicense, oneof: "license" },
|
|
6943
|
+
{ no: 3, name: "offline_license", kind: "message", T: AudioWatermarkConfiguration_OfflineLicense, oneof: "license" },
|
|
6944
|
+
]);
|
|
6945
|
+
|
|
6946
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioWatermarkConfiguration {
|
|
6947
|
+
return new AudioWatermarkConfiguration().fromBinary(bytes, options);
|
|
6948
|
+
}
|
|
6949
|
+
|
|
6950
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioWatermarkConfiguration {
|
|
6951
|
+
return new AudioWatermarkConfiguration().fromJson(jsonValue, options);
|
|
6952
|
+
}
|
|
6953
|
+
|
|
6954
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioWatermarkConfiguration {
|
|
6955
|
+
return new AudioWatermarkConfiguration().fromJsonString(jsonString, options);
|
|
6956
|
+
}
|
|
6957
|
+
|
|
6958
|
+
static equals(a: AudioWatermarkConfiguration | PlainMessage<AudioWatermarkConfiguration> | undefined, b: AudioWatermarkConfiguration | PlainMessage<AudioWatermarkConfiguration> | undefined): boolean {
|
|
6959
|
+
return proto3.util.equals(AudioWatermarkConfiguration, a, b);
|
|
6960
|
+
}
|
|
6961
|
+
}
|
|
6962
|
+
|
|
6963
|
+
/**
|
|
6964
|
+
* @generated from message norsk.api.media.AudioWatermarkConfiguration.OnlineLicense
|
|
6965
|
+
*/
|
|
6966
|
+
export class AudioWatermarkConfiguration_OnlineLicense extends Message<AudioWatermarkConfiguration_OnlineLicense> {
|
|
6967
|
+
/**
|
|
6968
|
+
* @generated from field: string login = 1;
|
|
6969
|
+
*/
|
|
6970
|
+
login = "";
|
|
6971
|
+
|
|
6972
|
+
/**
|
|
6973
|
+
* @generated from field: string password = 2;
|
|
6974
|
+
*/
|
|
6975
|
+
password = "";
|
|
6976
|
+
|
|
6977
|
+
/**
|
|
6978
|
+
* @generated from field: string server = 3;
|
|
6979
|
+
*/
|
|
6980
|
+
server = "";
|
|
6981
|
+
|
|
6982
|
+
/**
|
|
6983
|
+
* @generated from field: int32 port = 4;
|
|
6984
|
+
*/
|
|
6985
|
+
port = 0;
|
|
6986
|
+
|
|
6987
|
+
/**
|
|
6988
|
+
* @generated from field: int64 license_id = 5;
|
|
6989
|
+
*/
|
|
6990
|
+
licenseId = protoInt64.zero;
|
|
6991
|
+
|
|
6992
|
+
constructor(data?: PartialMessage<AudioWatermarkConfiguration_OnlineLicense>) {
|
|
6993
|
+
super();
|
|
6994
|
+
proto3.util.initPartial(data, this);
|
|
6995
|
+
}
|
|
6996
|
+
|
|
6997
|
+
static readonly runtime = proto3;
|
|
6998
|
+
static readonly typeName = "norsk.api.media.AudioWatermarkConfiguration.OnlineLicense";
|
|
6999
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7000
|
+
{ no: 1, name: "login", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
7001
|
+
{ no: 2, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
7002
|
+
{ no: 3, name: "server", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
7003
|
+
{ no: 4, name: "port", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
7004
|
+
{ no: 5, name: "license_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
7005
|
+
]);
|
|
7006
|
+
|
|
7007
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioWatermarkConfiguration_OnlineLicense {
|
|
7008
|
+
return new AudioWatermarkConfiguration_OnlineLicense().fromBinary(bytes, options);
|
|
7009
|
+
}
|
|
7010
|
+
|
|
7011
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioWatermarkConfiguration_OnlineLicense {
|
|
7012
|
+
return new AudioWatermarkConfiguration_OnlineLicense().fromJson(jsonValue, options);
|
|
7013
|
+
}
|
|
7014
|
+
|
|
7015
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioWatermarkConfiguration_OnlineLicense {
|
|
7016
|
+
return new AudioWatermarkConfiguration_OnlineLicense().fromJsonString(jsonString, options);
|
|
7017
|
+
}
|
|
7018
|
+
|
|
7019
|
+
static equals(a: AudioWatermarkConfiguration_OnlineLicense | PlainMessage<AudioWatermarkConfiguration_OnlineLicense> | undefined, b: AudioWatermarkConfiguration_OnlineLicense | PlainMessage<AudioWatermarkConfiguration_OnlineLicense> | undefined): boolean {
|
|
7020
|
+
return proto3.util.equals(AudioWatermarkConfiguration_OnlineLicense, a, b);
|
|
7021
|
+
}
|
|
7022
|
+
}
|
|
7023
|
+
|
|
7024
|
+
/**
|
|
7025
|
+
* @generated from message norsk.api.media.AudioWatermarkConfiguration.OfflineLicense
|
|
7026
|
+
*/
|
|
7027
|
+
export class AudioWatermarkConfiguration_OfflineLicense extends Message<AudioWatermarkConfiguration_OfflineLicense> {
|
|
7028
|
+
/**
|
|
7029
|
+
* @generated from field: string kantar_license = 1;
|
|
7030
|
+
*/
|
|
7031
|
+
kantarLicense = "";
|
|
7032
|
+
|
|
7033
|
+
/**
|
|
7034
|
+
* @generated from field: string audience_license = 2;
|
|
7035
|
+
*/
|
|
7036
|
+
audienceLicense = "";
|
|
7037
|
+
|
|
7038
|
+
/**
|
|
7039
|
+
* @generated from field: string channel_name = 3;
|
|
7040
|
+
*/
|
|
7041
|
+
channelName = "";
|
|
7042
|
+
|
|
7043
|
+
constructor(data?: PartialMessage<AudioWatermarkConfiguration_OfflineLicense>) {
|
|
7044
|
+
super();
|
|
7045
|
+
proto3.util.initPartial(data, this);
|
|
7046
|
+
}
|
|
7047
|
+
|
|
7048
|
+
static readonly runtime = proto3;
|
|
7049
|
+
static readonly typeName = "norsk.api.media.AudioWatermarkConfiguration.OfflineLicense";
|
|
7050
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7051
|
+
{ no: 1, name: "kantar_license", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
7052
|
+
{ no: 2, name: "audience_license", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
7053
|
+
{ no: 3, name: "channel_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
7054
|
+
]);
|
|
7055
|
+
|
|
7056
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioWatermarkConfiguration_OfflineLicense {
|
|
7057
|
+
return new AudioWatermarkConfiguration_OfflineLicense().fromBinary(bytes, options);
|
|
7058
|
+
}
|
|
7059
|
+
|
|
7060
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioWatermarkConfiguration_OfflineLicense {
|
|
7061
|
+
return new AudioWatermarkConfiguration_OfflineLicense().fromJson(jsonValue, options);
|
|
7062
|
+
}
|
|
7063
|
+
|
|
7064
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioWatermarkConfiguration_OfflineLicense {
|
|
7065
|
+
return new AudioWatermarkConfiguration_OfflineLicense().fromJsonString(jsonString, options);
|
|
7066
|
+
}
|
|
7067
|
+
|
|
7068
|
+
static equals(a: AudioWatermarkConfiguration_OfflineLicense | PlainMessage<AudioWatermarkConfiguration_OfflineLicense> | undefined, b: AudioWatermarkConfiguration_OfflineLicense | PlainMessage<AudioWatermarkConfiguration_OfflineLicense> | undefined): boolean {
|
|
7069
|
+
return proto3.util.equals(AudioWatermarkConfiguration_OfflineLicense, a, b);
|
|
7070
|
+
}
|
|
7071
|
+
}
|
|
7072
|
+
|
|
7073
|
+
/**
|
|
7074
|
+
* @generated from message norsk.api.media.AudioWatermarkMessage
|
|
7075
|
+
*/
|
|
7076
|
+
export class AudioWatermarkMessage extends Message<AudioWatermarkMessage> {
|
|
7077
|
+
/**
|
|
7078
|
+
* @generated from oneof norsk.api.media.AudioWatermarkMessage.message
|
|
7079
|
+
*/
|
|
7080
|
+
message: {
|
|
7081
|
+
/**
|
|
7082
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
7083
|
+
*/
|
|
7084
|
+
value: Subscription;
|
|
7085
|
+
case: "subscription";
|
|
7086
|
+
} | {
|
|
7087
|
+
/**
|
|
7088
|
+
* @generated from field: norsk.api.media.AudioWatermarkConfiguration initial_config = 2;
|
|
7089
|
+
*/
|
|
7090
|
+
value: AudioWatermarkConfiguration;
|
|
7091
|
+
case: "initialConfig";
|
|
7092
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
7093
|
+
|
|
7094
|
+
constructor(data?: PartialMessage<AudioWatermarkMessage>) {
|
|
7095
|
+
super();
|
|
7096
|
+
proto3.util.initPartial(data, this);
|
|
7097
|
+
}
|
|
7098
|
+
|
|
7099
|
+
static readonly runtime = proto3;
|
|
7100
|
+
static readonly typeName = "norsk.api.media.AudioWatermarkMessage";
|
|
7101
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7102
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
7103
|
+
{ no: 2, name: "initial_config", kind: "message", T: AudioWatermarkConfiguration, oneof: "message" },
|
|
7104
|
+
]);
|
|
7105
|
+
|
|
7106
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioWatermarkMessage {
|
|
7107
|
+
return new AudioWatermarkMessage().fromBinary(bytes, options);
|
|
7108
|
+
}
|
|
7109
|
+
|
|
7110
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioWatermarkMessage {
|
|
7111
|
+
return new AudioWatermarkMessage().fromJson(jsonValue, options);
|
|
7112
|
+
}
|
|
7113
|
+
|
|
7114
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioWatermarkMessage {
|
|
7115
|
+
return new AudioWatermarkMessage().fromJsonString(jsonString, options);
|
|
7116
|
+
}
|
|
7117
|
+
|
|
7118
|
+
static equals(a: AudioWatermarkMessage | PlainMessage<AudioWatermarkMessage> | undefined, b: AudioWatermarkMessage | PlainMessage<AudioWatermarkMessage> | undefined): boolean {
|
|
7119
|
+
return proto3.util.equals(AudioWatermarkMessage, a, b);
|
|
7120
|
+
}
|
|
7121
|
+
}
|
|
7122
|
+
|
|
7123
|
+
/**
|
|
7124
|
+
* @generated from message norsk.api.media.AudioWatermarkLicenseInformation
|
|
7125
|
+
*/
|
|
7126
|
+
export class AudioWatermarkLicenseInformation extends Message<AudioWatermarkLicenseInformation> {
|
|
7127
|
+
/**
|
|
7128
|
+
* @generated from field: int32 remaining_days = 1;
|
|
7129
|
+
*/
|
|
7130
|
+
remainingDays = 0;
|
|
7131
|
+
|
|
7132
|
+
/**
|
|
7133
|
+
* @generated from field: repeated norsk.api.media.AudioWatermarkLicenseInformation.ChannelInfo channel_infos = 2;
|
|
7134
|
+
*/
|
|
7135
|
+
channelInfos: AudioWatermarkLicenseInformation_ChannelInfo[] = [];
|
|
7136
|
+
|
|
7137
|
+
constructor(data?: PartialMessage<AudioWatermarkLicenseInformation>) {
|
|
7138
|
+
super();
|
|
7139
|
+
proto3.util.initPartial(data, this);
|
|
7140
|
+
}
|
|
7141
|
+
|
|
7142
|
+
static readonly runtime = proto3;
|
|
7143
|
+
static readonly typeName = "norsk.api.media.AudioWatermarkLicenseInformation";
|
|
7144
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7145
|
+
{ no: 1, name: "remaining_days", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
7146
|
+
{ no: 2, name: "channel_infos", kind: "message", T: AudioWatermarkLicenseInformation_ChannelInfo, repeated: true },
|
|
7147
|
+
]);
|
|
7148
|
+
|
|
7149
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioWatermarkLicenseInformation {
|
|
7150
|
+
return new AudioWatermarkLicenseInformation().fromBinary(bytes, options);
|
|
7151
|
+
}
|
|
7152
|
+
|
|
7153
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioWatermarkLicenseInformation {
|
|
7154
|
+
return new AudioWatermarkLicenseInformation().fromJson(jsonValue, options);
|
|
7155
|
+
}
|
|
7156
|
+
|
|
7157
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioWatermarkLicenseInformation {
|
|
7158
|
+
return new AudioWatermarkLicenseInformation().fromJsonString(jsonString, options);
|
|
7159
|
+
}
|
|
7160
|
+
|
|
7161
|
+
static equals(a: AudioWatermarkLicenseInformation | PlainMessage<AudioWatermarkLicenseInformation> | undefined, b: AudioWatermarkLicenseInformation | PlainMessage<AudioWatermarkLicenseInformation> | undefined): boolean {
|
|
7162
|
+
return proto3.util.equals(AudioWatermarkLicenseInformation, a, b);
|
|
7163
|
+
}
|
|
7164
|
+
}
|
|
7165
|
+
|
|
7166
|
+
/**
|
|
7167
|
+
* @generated from message norsk.api.media.AudioWatermarkLicenseInformation.ChannelInfo
|
|
7168
|
+
*/
|
|
7169
|
+
export class AudioWatermarkLicenseInformation_ChannelInfo extends Message<AudioWatermarkLicenseInformation_ChannelInfo> {
|
|
7170
|
+
/**
|
|
7171
|
+
* @generated from field: string channel_name = 1;
|
|
7172
|
+
*/
|
|
7173
|
+
channelName = "";
|
|
7174
|
+
|
|
7175
|
+
/**
|
|
7176
|
+
* @generated from field: int64 channel_id = 2;
|
|
7177
|
+
*/
|
|
7178
|
+
channelId = protoInt64.zero;
|
|
7179
|
+
|
|
7180
|
+
constructor(data?: PartialMessage<AudioWatermarkLicenseInformation_ChannelInfo>) {
|
|
7181
|
+
super();
|
|
7182
|
+
proto3.util.initPartial(data, this);
|
|
7183
|
+
}
|
|
7184
|
+
|
|
7185
|
+
static readonly runtime = proto3;
|
|
7186
|
+
static readonly typeName = "norsk.api.media.AudioWatermarkLicenseInformation.ChannelInfo";
|
|
7187
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7188
|
+
{ no: 1, name: "channel_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
7189
|
+
{ no: 2, name: "channel_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
7190
|
+
]);
|
|
7191
|
+
|
|
7192
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioWatermarkLicenseInformation_ChannelInfo {
|
|
7193
|
+
return new AudioWatermarkLicenseInformation_ChannelInfo().fromBinary(bytes, options);
|
|
7194
|
+
}
|
|
7195
|
+
|
|
7196
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioWatermarkLicenseInformation_ChannelInfo {
|
|
7197
|
+
return new AudioWatermarkLicenseInformation_ChannelInfo().fromJson(jsonValue, options);
|
|
7198
|
+
}
|
|
7199
|
+
|
|
7200
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioWatermarkLicenseInformation_ChannelInfo {
|
|
7201
|
+
return new AudioWatermarkLicenseInformation_ChannelInfo().fromJsonString(jsonString, options);
|
|
7202
|
+
}
|
|
7203
|
+
|
|
7204
|
+
static equals(a: AudioWatermarkLicenseInformation_ChannelInfo | PlainMessage<AudioWatermarkLicenseInformation_ChannelInfo> | undefined, b: AudioWatermarkLicenseInformation_ChannelInfo | PlainMessage<AudioWatermarkLicenseInformation_ChannelInfo> | undefined): boolean {
|
|
7205
|
+
return proto3.util.equals(AudioWatermarkLicenseInformation_ChannelInfo, a, b);
|
|
7206
|
+
}
|
|
7207
|
+
}
|
|
7208
|
+
|
|
7209
|
+
/**
|
|
7210
|
+
* @generated from message norsk.api.media.AudioWatermarkSnapEvent
|
|
7211
|
+
*/
|
|
7212
|
+
export class AudioWatermarkSnapEvent extends Message<AudioWatermarkSnapEvent> {
|
|
7213
|
+
/**
|
|
7214
|
+
* @generated from field: norsk.api.media.AudioWatermarkSnapEvent.EventType event_type = 1;
|
|
7215
|
+
*/
|
|
7216
|
+
eventType = AudioWatermarkSnapEvent_EventType.SNAPINFO;
|
|
7217
|
+
|
|
7218
|
+
/**
|
|
7219
|
+
* @generated from field: int32 code = 2;
|
|
7220
|
+
*/
|
|
7221
|
+
code = 0;
|
|
7222
|
+
|
|
7223
|
+
/**
|
|
7224
|
+
* @generated from field: string message = 3;
|
|
7225
|
+
*/
|
|
7226
|
+
message = "";
|
|
7227
|
+
|
|
7228
|
+
constructor(data?: PartialMessage<AudioWatermarkSnapEvent>) {
|
|
7229
|
+
super();
|
|
7230
|
+
proto3.util.initPartial(data, this);
|
|
7231
|
+
}
|
|
7232
|
+
|
|
7233
|
+
static readonly runtime = proto3;
|
|
7234
|
+
static readonly typeName = "norsk.api.media.AudioWatermarkSnapEvent";
|
|
7235
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7236
|
+
{ no: 1, name: "event_type", kind: "enum", T: proto3.getEnumType(AudioWatermarkSnapEvent_EventType) },
|
|
7237
|
+
{ no: 2, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
7238
|
+
{ no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
7239
|
+
]);
|
|
7240
|
+
|
|
7241
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioWatermarkSnapEvent {
|
|
7242
|
+
return new AudioWatermarkSnapEvent().fromBinary(bytes, options);
|
|
7243
|
+
}
|
|
7244
|
+
|
|
7245
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioWatermarkSnapEvent {
|
|
7246
|
+
return new AudioWatermarkSnapEvent().fromJson(jsonValue, options);
|
|
7247
|
+
}
|
|
7248
|
+
|
|
7249
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioWatermarkSnapEvent {
|
|
7250
|
+
return new AudioWatermarkSnapEvent().fromJsonString(jsonString, options);
|
|
7251
|
+
}
|
|
7252
|
+
|
|
7253
|
+
static equals(a: AudioWatermarkSnapEvent | PlainMessage<AudioWatermarkSnapEvent> | undefined, b: AudioWatermarkSnapEvent | PlainMessage<AudioWatermarkSnapEvent> | undefined): boolean {
|
|
7254
|
+
return proto3.util.equals(AudioWatermarkSnapEvent, a, b);
|
|
7255
|
+
}
|
|
7256
|
+
}
|
|
7257
|
+
|
|
7258
|
+
/**
|
|
7259
|
+
* @generated from enum norsk.api.media.AudioWatermarkSnapEvent.EventType
|
|
7260
|
+
*/
|
|
7261
|
+
export enum AudioWatermarkSnapEvent_EventType {
|
|
7262
|
+
/**
|
|
7263
|
+
* @generated from enum value: SNAPINFO = 0;
|
|
7264
|
+
*/
|
|
7265
|
+
SNAPINFO = 0,
|
|
7266
|
+
|
|
7267
|
+
/**
|
|
7268
|
+
* @generated from enum value: SNAPWARNING = 1;
|
|
7269
|
+
*/
|
|
7270
|
+
SNAPWARNING = 1,
|
|
7271
|
+
|
|
7272
|
+
/**
|
|
7273
|
+
* @generated from enum value: SNAPERROR = 2;
|
|
7274
|
+
*/
|
|
7275
|
+
SNAPERROR = 2,
|
|
7276
|
+
}
|
|
7277
|
+
// Retrieve enum metadata with: proto3.getEnumType(AudioWatermarkSnapEvent_EventType)
|
|
7278
|
+
proto3.util.setEnumType(AudioWatermarkSnapEvent_EventType, "norsk.api.media.AudioWatermarkSnapEvent.EventType", [
|
|
7279
|
+
{ no: 0, name: "SNAPINFO" },
|
|
7280
|
+
{ no: 1, name: "SNAPWARNING" },
|
|
7281
|
+
{ no: 2, name: "SNAPERROR" },
|
|
7282
|
+
]);
|
|
7283
|
+
|
|
7284
|
+
/**
|
|
7285
|
+
* @generated from message norsk.api.media.AudioWatermarkEvent
|
|
7286
|
+
*/
|
|
7287
|
+
export class AudioWatermarkEvent extends Message<AudioWatermarkEvent> {
|
|
7288
|
+
/**
|
|
7289
|
+
* @generated from oneof norsk.api.media.AudioWatermarkEvent.message
|
|
7290
|
+
*/
|
|
7291
|
+
message: {
|
|
7292
|
+
/**
|
|
7293
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
7294
|
+
*/
|
|
7295
|
+
value: MediaNodeId;
|
|
7296
|
+
case: "nodeId";
|
|
7297
|
+
} | {
|
|
7298
|
+
/**
|
|
7299
|
+
* @generated from field: norsk.api.media.Context outbound_context = 2;
|
|
7300
|
+
*/
|
|
7301
|
+
value: Context;
|
|
7302
|
+
case: "outboundContext";
|
|
7303
|
+
} | {
|
|
7304
|
+
/**
|
|
7305
|
+
* @generated from field: norsk.api.media.Context inbound_context = 3;
|
|
7306
|
+
*/
|
|
7307
|
+
value: Context;
|
|
7308
|
+
case: "inboundContext";
|
|
7309
|
+
} | {
|
|
7310
|
+
/**
|
|
7311
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 4;
|
|
7312
|
+
*/
|
|
7313
|
+
value: SubscriptionResponse;
|
|
7314
|
+
case: "subscriptionResponse";
|
|
7315
|
+
} | {
|
|
7316
|
+
/**
|
|
7317
|
+
* @generated from field: norsk.api.media.AudioWatermarkLicenseInformation license_information = 5;
|
|
7318
|
+
*/
|
|
7319
|
+
value: AudioWatermarkLicenseInformation;
|
|
7320
|
+
case: "licenseInformation";
|
|
7321
|
+
} | {
|
|
7322
|
+
/**
|
|
7323
|
+
* @generated from field: norsk.api.media.AudioWatermarkSnapEvent snap_event = 6;
|
|
7324
|
+
*/
|
|
7325
|
+
value: AudioWatermarkSnapEvent;
|
|
7326
|
+
case: "snapEvent";
|
|
7327
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
7328
|
+
|
|
7329
|
+
constructor(data?: PartialMessage<AudioWatermarkEvent>) {
|
|
7330
|
+
super();
|
|
7331
|
+
proto3.util.initPartial(data, this);
|
|
7332
|
+
}
|
|
7333
|
+
|
|
7334
|
+
static readonly runtime = proto3;
|
|
7335
|
+
static readonly typeName = "norsk.api.media.AudioWatermarkEvent";
|
|
7336
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7337
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
7338
|
+
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
7339
|
+
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
7340
|
+
{ no: 4, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
7341
|
+
{ no: 5, name: "license_information", kind: "message", T: AudioWatermarkLicenseInformation, oneof: "message" },
|
|
7342
|
+
{ no: 6, name: "snap_event", kind: "message", T: AudioWatermarkSnapEvent, oneof: "message" },
|
|
7343
|
+
]);
|
|
7344
|
+
|
|
7345
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioWatermarkEvent {
|
|
7346
|
+
return new AudioWatermarkEvent().fromBinary(bytes, options);
|
|
7347
|
+
}
|
|
7348
|
+
|
|
7349
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioWatermarkEvent {
|
|
7350
|
+
return new AudioWatermarkEvent().fromJson(jsonValue, options);
|
|
7351
|
+
}
|
|
7352
|
+
|
|
7353
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioWatermarkEvent {
|
|
7354
|
+
return new AudioWatermarkEvent().fromJsonString(jsonString, options);
|
|
7355
|
+
}
|
|
7356
|
+
|
|
7357
|
+
static equals(a: AudioWatermarkEvent | PlainMessage<AudioWatermarkEvent> | undefined, b: AudioWatermarkEvent | PlainMessage<AudioWatermarkEvent> | undefined): boolean {
|
|
7358
|
+
return proto3.util.equals(AudioWatermarkEvent, a, b);
|
|
7359
|
+
}
|
|
7360
|
+
}
|
|
7361
|
+
|
|
6904
7362
|
/**
|
|
6905
7363
|
* @generated from message norsk.api.media.DeltacastChannel
|
|
6906
7364
|
*/
|
|
@@ -7654,115 +8112,391 @@ export class FileMp4InputStatus extends Message<FileMp4InputStatus> {
|
|
|
7654
8112
|
*/
|
|
7655
8113
|
state = FileMp4InputStatus_State.INPUT_STATUS_UNKNOWN;
|
|
7656
8114
|
|
|
7657
|
-
constructor(data?: PartialMessage<FileMp4InputStatus>) {
|
|
8115
|
+
constructor(data?: PartialMessage<FileMp4InputStatus>) {
|
|
8116
|
+
super();
|
|
8117
|
+
proto3.util.initPartial(data, this);
|
|
8118
|
+
}
|
|
8119
|
+
|
|
8120
|
+
static readonly runtime = proto3;
|
|
8121
|
+
static readonly typeName = "norsk.api.media.FileMp4InputStatus";
|
|
8122
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
8123
|
+
{ no: 1, name: "state", kind: "enum", T: proto3.getEnumType(FileMp4InputStatus_State) },
|
|
8124
|
+
]);
|
|
8125
|
+
|
|
8126
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputStatus {
|
|
8127
|
+
return new FileMp4InputStatus().fromBinary(bytes, options);
|
|
8128
|
+
}
|
|
8129
|
+
|
|
8130
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4InputStatus {
|
|
8131
|
+
return new FileMp4InputStatus().fromJson(jsonValue, options);
|
|
8132
|
+
}
|
|
8133
|
+
|
|
8134
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputStatus {
|
|
8135
|
+
return new FileMp4InputStatus().fromJsonString(jsonString, options);
|
|
8136
|
+
}
|
|
8137
|
+
|
|
8138
|
+
static equals(a: FileMp4InputStatus | PlainMessage<FileMp4InputStatus> | undefined, b: FileMp4InputStatus | PlainMessage<FileMp4InputStatus> | undefined): boolean {
|
|
8139
|
+
return proto3.util.equals(FileMp4InputStatus, a, b);
|
|
8140
|
+
}
|
|
8141
|
+
}
|
|
8142
|
+
|
|
8143
|
+
/**
|
|
8144
|
+
* @generated from enum norsk.api.media.FileMp4InputStatus.State
|
|
8145
|
+
*/
|
|
8146
|
+
export enum FileMp4InputStatus_State {
|
|
8147
|
+
/**
|
|
8148
|
+
* @generated from enum value: INPUT_STATUS_UNKNOWN = 0;
|
|
8149
|
+
*/
|
|
8150
|
+
INPUT_STATUS_UNKNOWN = 0,
|
|
8151
|
+
|
|
8152
|
+
/**
|
|
8153
|
+
* @generated from enum value: INPUT_STATUS_EOF = 1;
|
|
8154
|
+
*/
|
|
8155
|
+
INPUT_STATUS_EOF = 1,
|
|
8156
|
+
|
|
8157
|
+
/**
|
|
8158
|
+
* @generated from enum value: INPUT_STATUS_EOF_LOOPING = 2;
|
|
8159
|
+
*/
|
|
8160
|
+
INPUT_STATUS_EOF_LOOPING = 2,
|
|
8161
|
+
|
|
8162
|
+
/**
|
|
8163
|
+
* @generated from enum value: INPUT_STATUS_STOP_POSITION = 3;
|
|
8164
|
+
*/
|
|
8165
|
+
INPUT_STATUS_STOP_POSITION = 3,
|
|
8166
|
+
}
|
|
8167
|
+
// Retrieve enum metadata with: proto3.getEnumType(FileMp4InputStatus_State)
|
|
8168
|
+
proto3.util.setEnumType(FileMp4InputStatus_State, "norsk.api.media.FileMp4InputStatus.State", [
|
|
8169
|
+
{ no: 0, name: "INPUT_STATUS_UNKNOWN" },
|
|
8170
|
+
{ no: 1, name: "INPUT_STATUS_EOF" },
|
|
8171
|
+
{ no: 2, name: "INPUT_STATUS_EOF_LOOPING" },
|
|
8172
|
+
{ no: 3, name: "INPUT_STATUS_STOP_POSITION" },
|
|
8173
|
+
]);
|
|
8174
|
+
|
|
8175
|
+
/**
|
|
8176
|
+
* @generated from message norsk.api.media.FileMp4InputInfo
|
|
8177
|
+
*/
|
|
8178
|
+
export class FileMp4InputInfo extends Message<FileMp4InputInfo> {
|
|
8179
|
+
/**
|
|
8180
|
+
* @generated from field: norsk.api.common.OptionalInt byte_length = 1;
|
|
8181
|
+
*/
|
|
8182
|
+
byteLength?: OptionalInt;
|
|
8183
|
+
|
|
8184
|
+
/**
|
|
8185
|
+
* @generated from field: norsk.api.common.OptionalInt duration_ms = 2;
|
|
8186
|
+
*/
|
|
8187
|
+
durationMs?: OptionalInt;
|
|
8188
|
+
|
|
8189
|
+
constructor(data?: PartialMessage<FileMp4InputInfo>) {
|
|
8190
|
+
super();
|
|
8191
|
+
proto3.util.initPartial(data, this);
|
|
8192
|
+
}
|
|
8193
|
+
|
|
8194
|
+
static readonly runtime = proto3;
|
|
8195
|
+
static readonly typeName = "norsk.api.media.FileMp4InputInfo";
|
|
8196
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
8197
|
+
{ no: 1, name: "byte_length", kind: "message", T: OptionalInt },
|
|
8198
|
+
{ no: 2, name: "duration_ms", kind: "message", T: OptionalInt },
|
|
8199
|
+
]);
|
|
8200
|
+
|
|
8201
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputInfo {
|
|
8202
|
+
return new FileMp4InputInfo().fromBinary(bytes, options);
|
|
8203
|
+
}
|
|
8204
|
+
|
|
8205
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4InputInfo {
|
|
8206
|
+
return new FileMp4InputInfo().fromJson(jsonValue, options);
|
|
8207
|
+
}
|
|
8208
|
+
|
|
8209
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputInfo {
|
|
8210
|
+
return new FileMp4InputInfo().fromJsonString(jsonString, options);
|
|
8211
|
+
}
|
|
8212
|
+
|
|
8213
|
+
static equals(a: FileMp4InputInfo | PlainMessage<FileMp4InputInfo> | undefined, b: FileMp4InputInfo | PlainMessage<FileMp4InputInfo> | undefined): boolean {
|
|
8214
|
+
return proto3.util.equals(FileMp4InputInfo, a, b);
|
|
8215
|
+
}
|
|
8216
|
+
}
|
|
8217
|
+
|
|
8218
|
+
/**
|
|
8219
|
+
* @generated from message norsk.api.media.FileMp4InputEvent
|
|
8220
|
+
*/
|
|
8221
|
+
export class FileMp4InputEvent extends Message<FileMp4InputEvent> {
|
|
8222
|
+
/**
|
|
8223
|
+
* @generated from oneof norsk.api.media.FileMp4InputEvent.message
|
|
8224
|
+
*/
|
|
8225
|
+
message: {
|
|
8226
|
+
/**
|
|
8227
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
8228
|
+
*/
|
|
8229
|
+
value: MediaNodeId;
|
|
8230
|
+
case: "nodeId";
|
|
8231
|
+
} | {
|
|
8232
|
+
/**
|
|
8233
|
+
* @generated from field: norsk.api.media.Context outbound_context = 2;
|
|
8234
|
+
*/
|
|
8235
|
+
value: Context;
|
|
8236
|
+
case: "outboundContext";
|
|
8237
|
+
} | {
|
|
8238
|
+
/**
|
|
8239
|
+
* @generated from field: norsk.api.media.FileMp4InputStatus status = 3;
|
|
8240
|
+
*/
|
|
8241
|
+
value: FileMp4InputStatus;
|
|
8242
|
+
case: "status";
|
|
8243
|
+
} | {
|
|
8244
|
+
/**
|
|
8245
|
+
* @generated from field: norsk.api.media.FileMp4InputInfo info = 4;
|
|
8246
|
+
*/
|
|
8247
|
+
value: FileMp4InputInfo;
|
|
8248
|
+
case: "info";
|
|
8249
|
+
} | {
|
|
8250
|
+
/**
|
|
8251
|
+
* @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 5;
|
|
8252
|
+
*/
|
|
8253
|
+
value: MultiStreamStatistics;
|
|
8254
|
+
case: "streamStatistics";
|
|
8255
|
+
} | {
|
|
8256
|
+
/**
|
|
8257
|
+
* @generated from field: norsk.api.media.GopStructure gop_structure = 6;
|
|
8258
|
+
*/
|
|
8259
|
+
value: GopStructure;
|
|
8260
|
+
case: "gopStructure";
|
|
8261
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
8262
|
+
|
|
8263
|
+
constructor(data?: PartialMessage<FileMp4InputEvent>) {
|
|
8264
|
+
super();
|
|
8265
|
+
proto3.util.initPartial(data, this);
|
|
8266
|
+
}
|
|
8267
|
+
|
|
8268
|
+
static readonly runtime = proto3;
|
|
8269
|
+
static readonly typeName = "norsk.api.media.FileMp4InputEvent";
|
|
8270
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
8271
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
8272
|
+
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
8273
|
+
{ no: 3, name: "status", kind: "message", T: FileMp4InputStatus, oneof: "message" },
|
|
8274
|
+
{ no: 4, name: "info", kind: "message", T: FileMp4InputInfo, oneof: "message" },
|
|
8275
|
+
{ no: 5, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
8276
|
+
{ no: 6, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
|
|
8277
|
+
]);
|
|
8278
|
+
|
|
8279
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileMp4InputEvent {
|
|
8280
|
+
return new FileMp4InputEvent().fromBinary(bytes, options);
|
|
8281
|
+
}
|
|
8282
|
+
|
|
8283
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileMp4InputEvent {
|
|
8284
|
+
return new FileMp4InputEvent().fromJson(jsonValue, options);
|
|
8285
|
+
}
|
|
8286
|
+
|
|
8287
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileMp4InputEvent {
|
|
8288
|
+
return new FileMp4InputEvent().fromJsonString(jsonString, options);
|
|
8289
|
+
}
|
|
8290
|
+
|
|
8291
|
+
static equals(a: FileMp4InputEvent | PlainMessage<FileMp4InputEvent> | undefined, b: FileMp4InputEvent | PlainMessage<FileMp4InputEvent> | undefined): boolean {
|
|
8292
|
+
return proto3.util.equals(FileMp4InputEvent, a, b);
|
|
8293
|
+
}
|
|
8294
|
+
}
|
|
8295
|
+
|
|
8296
|
+
/**
|
|
8297
|
+
* ///////////////////////////////
|
|
8298
|
+
* WAV Input
|
|
8299
|
+
*
|
|
8300
|
+
* @generated from message norsk.api.media.FileWavInputConfiguration
|
|
8301
|
+
*/
|
|
8302
|
+
export class FileWavInputConfiguration extends Message<FileWavInputConfiguration> {
|
|
8303
|
+
/**
|
|
8304
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
8305
|
+
*/
|
|
8306
|
+
id?: MediaNodeId;
|
|
8307
|
+
|
|
8308
|
+
/**
|
|
8309
|
+
* @generated from field: string source_name = 2;
|
|
8310
|
+
*/
|
|
8311
|
+
sourceName = "";
|
|
8312
|
+
|
|
8313
|
+
/**
|
|
8314
|
+
* @generated from field: string file_name = 3;
|
|
8315
|
+
*/
|
|
8316
|
+
fileName = "";
|
|
8317
|
+
|
|
8318
|
+
constructor(data?: PartialMessage<FileWavInputConfiguration>) {
|
|
8319
|
+
super();
|
|
8320
|
+
proto3.util.initPartial(data, this);
|
|
8321
|
+
}
|
|
8322
|
+
|
|
8323
|
+
static readonly runtime = proto3;
|
|
8324
|
+
static readonly typeName = "norsk.api.media.FileWavInputConfiguration";
|
|
8325
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
8326
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
8327
|
+
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
8328
|
+
{ no: 3, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
8329
|
+
]);
|
|
8330
|
+
|
|
8331
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWavInputConfiguration {
|
|
8332
|
+
return new FileWavInputConfiguration().fromBinary(bytes, options);
|
|
8333
|
+
}
|
|
8334
|
+
|
|
8335
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWavInputConfiguration {
|
|
8336
|
+
return new FileWavInputConfiguration().fromJson(jsonValue, options);
|
|
8337
|
+
}
|
|
8338
|
+
|
|
8339
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWavInputConfiguration {
|
|
8340
|
+
return new FileWavInputConfiguration().fromJsonString(jsonString, options);
|
|
8341
|
+
}
|
|
8342
|
+
|
|
8343
|
+
static equals(a: FileWavInputConfiguration | PlainMessage<FileWavInputConfiguration> | undefined, b: FileWavInputConfiguration | PlainMessage<FileWavInputConfiguration> | undefined): boolean {
|
|
8344
|
+
return proto3.util.equals(FileWavInputConfiguration, a, b);
|
|
8345
|
+
}
|
|
8346
|
+
}
|
|
8347
|
+
|
|
8348
|
+
/**
|
|
8349
|
+
* @generated from message norsk.api.media.FileWavInputEvent
|
|
8350
|
+
*/
|
|
8351
|
+
export class FileWavInputEvent extends Message<FileWavInputEvent> {
|
|
8352
|
+
/**
|
|
8353
|
+
* @generated from oneof norsk.api.media.FileWavInputEvent.message
|
|
8354
|
+
*/
|
|
8355
|
+
message: {
|
|
8356
|
+
/**
|
|
8357
|
+
* @generated from field: norsk.api.media.MediaNodeId node_id = 1;
|
|
8358
|
+
*/
|
|
8359
|
+
value: MediaNodeId;
|
|
8360
|
+
case: "nodeId";
|
|
8361
|
+
} | {
|
|
8362
|
+
/**
|
|
8363
|
+
* @generated from field: norsk.api.media.Context outbound_context = 2;
|
|
8364
|
+
*/
|
|
8365
|
+
value: Context;
|
|
8366
|
+
case: "outboundContext";
|
|
8367
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
8368
|
+
|
|
8369
|
+
constructor(data?: PartialMessage<FileWavInputEvent>) {
|
|
7658
8370
|
super();
|
|
7659
8371
|
proto3.util.initPartial(data, this);
|
|
7660
8372
|
}
|
|
7661
8373
|
|
|
7662
8374
|
static readonly runtime = proto3;
|
|
7663
|
-
static readonly typeName = "norsk.api.media.
|
|
8375
|
+
static readonly typeName = "norsk.api.media.FileWavInputEvent";
|
|
7664
8376
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7665
|
-
{ no: 1, name: "
|
|
8377
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
8378
|
+
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
7666
8379
|
]);
|
|
7667
8380
|
|
|
7668
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
7669
|
-
return new
|
|
8381
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWavInputEvent {
|
|
8382
|
+
return new FileWavInputEvent().fromBinary(bytes, options);
|
|
7670
8383
|
}
|
|
7671
8384
|
|
|
7672
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
7673
|
-
return new
|
|
8385
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWavInputEvent {
|
|
8386
|
+
return new FileWavInputEvent().fromJson(jsonValue, options);
|
|
7674
8387
|
}
|
|
7675
8388
|
|
|
7676
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
7677
|
-
return new
|
|
8389
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWavInputEvent {
|
|
8390
|
+
return new FileWavInputEvent().fromJsonString(jsonString, options);
|
|
7678
8391
|
}
|
|
7679
8392
|
|
|
7680
|
-
static equals(a:
|
|
7681
|
-
return proto3.util.equals(
|
|
8393
|
+
static equals(a: FileWavInputEvent | PlainMessage<FileWavInputEvent> | undefined, b: FileWavInputEvent | PlainMessage<FileWavInputEvent> | undefined): boolean {
|
|
8394
|
+
return proto3.util.equals(FileWavInputEvent, a, b);
|
|
7682
8395
|
}
|
|
7683
8396
|
}
|
|
7684
8397
|
|
|
7685
8398
|
/**
|
|
7686
|
-
*
|
|
8399
|
+
* ///////////////////////////////
|
|
8400
|
+
* WAV Output
|
|
8401
|
+
*
|
|
8402
|
+
* @generated from message norsk.api.media.FileWavOutputConfiguration
|
|
7687
8403
|
*/
|
|
7688
|
-
export
|
|
8404
|
+
export class FileWavOutputConfiguration extends Message<FileWavOutputConfiguration> {
|
|
7689
8405
|
/**
|
|
7690
|
-
* @generated from
|
|
8406
|
+
* @generated from field: norsk.api.media.MediaNodeId id = 1;
|
|
7691
8407
|
*/
|
|
7692
|
-
|
|
8408
|
+
id?: MediaNodeId;
|
|
7693
8409
|
|
|
7694
8410
|
/**
|
|
7695
|
-
* @generated from
|
|
8411
|
+
* @generated from field: string file_name = 2;
|
|
7696
8412
|
*/
|
|
7697
|
-
|
|
8413
|
+
fileName = "";
|
|
7698
8414
|
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7702
|
-
|
|
8415
|
+
constructor(data?: PartialMessage<FileWavOutputConfiguration>) {
|
|
8416
|
+
super();
|
|
8417
|
+
proto3.util.initPartial(data, this);
|
|
8418
|
+
}
|
|
7703
8419
|
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
8420
|
+
static readonly runtime = proto3;
|
|
8421
|
+
static readonly typeName = "norsk.api.media.FileWavOutputConfiguration";
|
|
8422
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
8423
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
8424
|
+
{ no: 2, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
8425
|
+
]);
|
|
8426
|
+
|
|
8427
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWavOutputConfiguration {
|
|
8428
|
+
return new FileWavOutputConfiguration().fromBinary(bytes, options);
|
|
8429
|
+
}
|
|
8430
|
+
|
|
8431
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWavOutputConfiguration {
|
|
8432
|
+
return new FileWavOutputConfiguration().fromJson(jsonValue, options);
|
|
8433
|
+
}
|
|
8434
|
+
|
|
8435
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWavOutputConfiguration {
|
|
8436
|
+
return new FileWavOutputConfiguration().fromJsonString(jsonString, options);
|
|
8437
|
+
}
|
|
8438
|
+
|
|
8439
|
+
static equals(a: FileWavOutputConfiguration | PlainMessage<FileWavOutputConfiguration> | undefined, b: FileWavOutputConfiguration | PlainMessage<FileWavOutputConfiguration> | undefined): boolean {
|
|
8440
|
+
return proto3.util.equals(FileWavOutputConfiguration, a, b);
|
|
8441
|
+
}
|
|
7708
8442
|
}
|
|
7709
|
-
// Retrieve enum metadata with: proto3.getEnumType(FileMp4InputStatus_State)
|
|
7710
|
-
proto3.util.setEnumType(FileMp4InputStatus_State, "norsk.api.media.FileMp4InputStatus.State", [
|
|
7711
|
-
{ no: 0, name: "INPUT_STATUS_UNKNOWN" },
|
|
7712
|
-
{ no: 1, name: "INPUT_STATUS_EOF" },
|
|
7713
|
-
{ no: 2, name: "INPUT_STATUS_EOF_LOOPING" },
|
|
7714
|
-
{ no: 3, name: "INPUT_STATUS_STOP_POSITION" },
|
|
7715
|
-
]);
|
|
7716
8443
|
|
|
7717
8444
|
/**
|
|
7718
|
-
* @generated from message norsk.api.media.
|
|
8445
|
+
* @generated from message norsk.api.media.FileWavOutputMessage
|
|
7719
8446
|
*/
|
|
7720
|
-
export class
|
|
7721
|
-
/**
|
|
7722
|
-
* @generated from field: norsk.api.common.OptionalInt byte_length = 1;
|
|
7723
|
-
*/
|
|
7724
|
-
byteLength?: OptionalInt;
|
|
7725
|
-
|
|
8447
|
+
export class FileWavOutputMessage extends Message<FileWavOutputMessage> {
|
|
7726
8448
|
/**
|
|
7727
|
-
* @generated from
|
|
8449
|
+
* @generated from oneof norsk.api.media.FileWavOutputMessage.message
|
|
7728
8450
|
*/
|
|
7729
|
-
|
|
8451
|
+
message: {
|
|
8452
|
+
/**
|
|
8453
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
8454
|
+
*/
|
|
8455
|
+
value: Subscription;
|
|
8456
|
+
case: "subscription";
|
|
8457
|
+
} | {
|
|
8458
|
+
/**
|
|
8459
|
+
* @generated from field: norsk.api.media.FileWavOutputConfiguration configuration = 2;
|
|
8460
|
+
*/
|
|
8461
|
+
value: FileWavOutputConfiguration;
|
|
8462
|
+
case: "configuration";
|
|
8463
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
7730
8464
|
|
|
7731
|
-
constructor(data?: PartialMessage<
|
|
8465
|
+
constructor(data?: PartialMessage<FileWavOutputMessage>) {
|
|
7732
8466
|
super();
|
|
7733
8467
|
proto3.util.initPartial(data, this);
|
|
7734
8468
|
}
|
|
7735
8469
|
|
|
7736
8470
|
static readonly runtime = proto3;
|
|
7737
|
-
static readonly typeName = "norsk.api.media.
|
|
8471
|
+
static readonly typeName = "norsk.api.media.FileWavOutputMessage";
|
|
7738
8472
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7739
|
-
{ no: 1, name: "
|
|
7740
|
-
{ no: 2, name: "
|
|
8473
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
8474
|
+
{ no: 2, name: "configuration", kind: "message", T: FileWavOutputConfiguration, oneof: "message" },
|
|
7741
8475
|
]);
|
|
7742
8476
|
|
|
7743
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
7744
|
-
return new
|
|
8477
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWavOutputMessage {
|
|
8478
|
+
return new FileWavOutputMessage().fromBinary(bytes, options);
|
|
7745
8479
|
}
|
|
7746
8480
|
|
|
7747
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
7748
|
-
return new
|
|
8481
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWavOutputMessage {
|
|
8482
|
+
return new FileWavOutputMessage().fromJson(jsonValue, options);
|
|
7749
8483
|
}
|
|
7750
8484
|
|
|
7751
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
7752
|
-
return new
|
|
8485
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWavOutputMessage {
|
|
8486
|
+
return new FileWavOutputMessage().fromJsonString(jsonString, options);
|
|
7753
8487
|
}
|
|
7754
8488
|
|
|
7755
|
-
static equals(a:
|
|
7756
|
-
return proto3.util.equals(
|
|
8489
|
+
static equals(a: FileWavOutputMessage | PlainMessage<FileWavOutputMessage> | undefined, b: FileWavOutputMessage | PlainMessage<FileWavOutputMessage> | undefined): boolean {
|
|
8490
|
+
return proto3.util.equals(FileWavOutputMessage, a, b);
|
|
7757
8491
|
}
|
|
7758
8492
|
}
|
|
7759
8493
|
|
|
7760
8494
|
/**
|
|
7761
|
-
* @generated from message norsk.api.media.
|
|
8495
|
+
* @generated from message norsk.api.media.FileWavOutputEvent
|
|
7762
8496
|
*/
|
|
7763
|
-
export class
|
|
8497
|
+
export class FileWavOutputEvent extends Message<FileWavOutputEvent> {
|
|
7764
8498
|
/**
|
|
7765
|
-
* @generated from oneof norsk.api.media.
|
|
8499
|
+
* @generated from oneof norsk.api.media.FileWavOutputEvent.message
|
|
7766
8500
|
*/
|
|
7767
8501
|
message: {
|
|
7768
8502
|
/**
|
|
@@ -7772,66 +8506,45 @@ export class FileMp4InputEvent extends Message<FileMp4InputEvent> {
|
|
|
7772
8506
|
case: "nodeId";
|
|
7773
8507
|
} | {
|
|
7774
8508
|
/**
|
|
7775
|
-
* @generated from field: norsk.api.media.
|
|
7776
|
-
*/
|
|
7777
|
-
value: Context;
|
|
7778
|
-
case: "outboundContext";
|
|
7779
|
-
} | {
|
|
7780
|
-
/**
|
|
7781
|
-
* @generated from field: norsk.api.media.FileMp4InputStatus status = 3;
|
|
7782
|
-
*/
|
|
7783
|
-
value: FileMp4InputStatus;
|
|
7784
|
-
case: "status";
|
|
7785
|
-
} | {
|
|
7786
|
-
/**
|
|
7787
|
-
* @generated from field: norsk.api.media.FileMp4InputInfo info = 4;
|
|
7788
|
-
*/
|
|
7789
|
-
value: FileMp4InputInfo;
|
|
7790
|
-
case: "info";
|
|
7791
|
-
} | {
|
|
7792
|
-
/**
|
|
7793
|
-
* @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 5;
|
|
8509
|
+
* @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 2;
|
|
7794
8510
|
*/
|
|
7795
|
-
value:
|
|
7796
|
-
case: "
|
|
8511
|
+
value: SubscriptionResponse;
|
|
8512
|
+
case: "subscriptionResponse";
|
|
7797
8513
|
} | {
|
|
7798
8514
|
/**
|
|
7799
|
-
* @generated from field: norsk.api.media.
|
|
8515
|
+
* @generated from field: norsk.api.media.Context inbound_context = 3;
|
|
7800
8516
|
*/
|
|
7801
|
-
value:
|
|
7802
|
-
case: "
|
|
8517
|
+
value: Context;
|
|
8518
|
+
case: "inboundContext";
|
|
7803
8519
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
7804
8520
|
|
|
7805
|
-
constructor(data?: PartialMessage<
|
|
8521
|
+
constructor(data?: PartialMessage<FileWavOutputEvent>) {
|
|
7806
8522
|
super();
|
|
7807
8523
|
proto3.util.initPartial(data, this);
|
|
7808
8524
|
}
|
|
7809
8525
|
|
|
7810
8526
|
static readonly runtime = proto3;
|
|
7811
|
-
static readonly typeName = "norsk.api.media.
|
|
8527
|
+
static readonly typeName = "norsk.api.media.FileWavOutputEvent";
|
|
7812
8528
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
7813
8529
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
7814
|
-
{ no: 2, name: "
|
|
7815
|
-
{ no: 3, name: "
|
|
7816
|
-
{ no: 4, name: "info", kind: "message", T: FileMp4InputInfo, oneof: "message" },
|
|
7817
|
-
{ no: 5, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
7818
|
-
{ no: 6, name: "gop_structure", kind: "message", T: GopStructure, oneof: "message" },
|
|
8530
|
+
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
8531
|
+
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
7819
8532
|
]);
|
|
7820
8533
|
|
|
7821
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
7822
|
-
return new
|
|
8534
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileWavOutputEvent {
|
|
8535
|
+
return new FileWavOutputEvent().fromBinary(bytes, options);
|
|
7823
8536
|
}
|
|
7824
8537
|
|
|
7825
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
7826
|
-
return new
|
|
8538
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileWavOutputEvent {
|
|
8539
|
+
return new FileWavOutputEvent().fromJson(jsonValue, options);
|
|
7827
8540
|
}
|
|
7828
8541
|
|
|
7829
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
7830
|
-
return new
|
|
8542
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileWavOutputEvent {
|
|
8543
|
+
return new FileWavOutputEvent().fromJsonString(jsonString, options);
|
|
7831
8544
|
}
|
|
7832
8545
|
|
|
7833
|
-
static equals(a:
|
|
7834
|
-
return proto3.util.equals(
|
|
8546
|
+
static equals(a: FileWavOutputEvent | PlainMessage<FileWavOutputEvent> | undefined, b: FileWavOutputEvent | PlainMessage<FileWavOutputEvent> | undefined): boolean {
|
|
8547
|
+
return proto3.util.equals(FileWavOutputEvent, a, b);
|
|
7835
8548
|
}
|
|
7836
8549
|
}
|
|
7837
8550
|
|
|
@@ -7954,6 +8667,16 @@ export class AudioSignalGeneratorConfiguration extends Message<AudioSignalGenera
|
|
|
7954
8667
|
*/
|
|
7955
8668
|
wave?: Wave;
|
|
7956
8669
|
|
|
8670
|
+
/**
|
|
8671
|
+
* @generated from field: norsk.api.common.OptionalInt samples_per_frame = 8;
|
|
8672
|
+
*/
|
|
8673
|
+
samplesPerFrame?: OptionalInt;
|
|
8674
|
+
|
|
8675
|
+
/**
|
|
8676
|
+
* @generated from field: norsk.api.common.OptionalInt output_frame_count = 9;
|
|
8677
|
+
*/
|
|
8678
|
+
outputFrameCount?: OptionalInt;
|
|
8679
|
+
|
|
7957
8680
|
constructor(data?: PartialMessage<AudioSignalGeneratorConfiguration>) {
|
|
7958
8681
|
super();
|
|
7959
8682
|
proto3.util.initPartial(data, this);
|
|
@@ -7969,6 +8692,8 @@ export class AudioSignalGeneratorConfiguration extends Message<AudioSignalGenera
|
|
|
7969
8692
|
{ no: 5, name: "sampleFormat", kind: "enum", T: proto3.getEnumType(SampleFormat) },
|
|
7970
8693
|
{ no: 6, name: "language", kind: "message", T: OptionalString },
|
|
7971
8694
|
{ no: 7, name: "wave", kind: "message", T: Wave },
|
|
8695
|
+
{ no: 8, name: "samples_per_frame", kind: "message", T: OptionalInt },
|
|
8696
|
+
{ no: 9, name: "output_frame_count", kind: "message", T: OptionalInt },
|
|
7972
8697
|
]);
|
|
7973
8698
|
|
|
7974
8699
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioSignalGeneratorConfiguration {
|
|
@@ -11423,66 +12148,190 @@ export class CmafVideoConfiguration extends Message<CmafVideoConfiguration> {
|
|
|
11423
12148
|
}
|
|
11424
12149
|
|
|
11425
12150
|
/**
|
|
11426
|
-
* @generated from message norsk.api.media.CmafVideoMessage
|
|
12151
|
+
* @generated from message norsk.api.media.CmafVideoMessage
|
|
12152
|
+
*/
|
|
12153
|
+
export class CmafVideoMessage extends Message<CmafVideoMessage> {
|
|
12154
|
+
/**
|
|
12155
|
+
* @generated from oneof norsk.api.media.CmafVideoMessage.message
|
|
12156
|
+
*/
|
|
12157
|
+
message: {
|
|
12158
|
+
/**
|
|
12159
|
+
* @generated from field: norsk.api.media.Subscription subscription = 1;
|
|
12160
|
+
*/
|
|
12161
|
+
value: Subscription;
|
|
12162
|
+
case: "subscription";
|
|
12163
|
+
} | {
|
|
12164
|
+
/**
|
|
12165
|
+
* @generated from field: norsk.api.media.CmafVideoConfiguration configuration = 2;
|
|
12166
|
+
*/
|
|
12167
|
+
value: CmafVideoConfiguration;
|
|
12168
|
+
case: "configuration";
|
|
12169
|
+
} | {
|
|
12170
|
+
/**
|
|
12171
|
+
* @generated from field: norsk.api.media.UpdateCredentials update_credentials = 3;
|
|
12172
|
+
*/
|
|
12173
|
+
value: UpdateCredentials;
|
|
12174
|
+
case: "updateCredentials";
|
|
12175
|
+
} | {
|
|
12176
|
+
/**
|
|
12177
|
+
* @generated from field: norsk.api.media.UpdateDestinationPlaylist update_playlist = 4;
|
|
12178
|
+
*/
|
|
12179
|
+
value: UpdateDestinationPlaylist;
|
|
12180
|
+
case: "updatePlaylist";
|
|
12181
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
12182
|
+
|
|
12183
|
+
constructor(data?: PartialMessage<CmafVideoMessage>) {
|
|
12184
|
+
super();
|
|
12185
|
+
proto3.util.initPartial(data, this);
|
|
12186
|
+
}
|
|
12187
|
+
|
|
12188
|
+
static readonly runtime = proto3;
|
|
12189
|
+
static readonly typeName = "norsk.api.media.CmafVideoMessage";
|
|
12190
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
12191
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
12192
|
+
{ no: 2, name: "configuration", kind: "message", T: CmafVideoConfiguration, oneof: "message" },
|
|
12193
|
+
{ no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
|
|
12194
|
+
{ no: 4, name: "update_playlist", kind: "message", T: UpdateDestinationPlaylist, oneof: "message" },
|
|
12195
|
+
]);
|
|
12196
|
+
|
|
12197
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CmafVideoMessage {
|
|
12198
|
+
return new CmafVideoMessage().fromBinary(bytes, options);
|
|
12199
|
+
}
|
|
12200
|
+
|
|
12201
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CmafVideoMessage {
|
|
12202
|
+
return new CmafVideoMessage().fromJson(jsonValue, options);
|
|
12203
|
+
}
|
|
12204
|
+
|
|
12205
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CmafVideoMessage {
|
|
12206
|
+
return new CmafVideoMessage().fromJsonString(jsonString, options);
|
|
12207
|
+
}
|
|
12208
|
+
|
|
12209
|
+
static equals(a: CmafVideoMessage | PlainMessage<CmafVideoMessage> | undefined, b: CmafVideoMessage | PlainMessage<CmafVideoMessage> | undefined): boolean {
|
|
12210
|
+
return proto3.util.equals(CmafVideoMessage, a, b);
|
|
12211
|
+
}
|
|
12212
|
+
}
|
|
12213
|
+
|
|
12214
|
+
/**
|
|
12215
|
+
* @generated from message norsk.api.media.SegmentationExactFrameCount
|
|
12216
|
+
*/
|
|
12217
|
+
export class SegmentationExactFrameCount extends Message<SegmentationExactFrameCount> {
|
|
12218
|
+
/**
|
|
12219
|
+
* @generated from field: int32 frame_count = 1;
|
|
12220
|
+
*/
|
|
12221
|
+
frameCount = 0;
|
|
12222
|
+
|
|
12223
|
+
constructor(data?: PartialMessage<SegmentationExactFrameCount>) {
|
|
12224
|
+
super();
|
|
12225
|
+
proto3.util.initPartial(data, this);
|
|
12226
|
+
}
|
|
12227
|
+
|
|
12228
|
+
static readonly runtime = proto3;
|
|
12229
|
+
static readonly typeName = "norsk.api.media.SegmentationExactFrameCount";
|
|
12230
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
12231
|
+
{ no: 1, name: "frame_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
12232
|
+
]);
|
|
12233
|
+
|
|
12234
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SegmentationExactFrameCount {
|
|
12235
|
+
return new SegmentationExactFrameCount().fromBinary(bytes, options);
|
|
12236
|
+
}
|
|
12237
|
+
|
|
12238
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SegmentationExactFrameCount {
|
|
12239
|
+
return new SegmentationExactFrameCount().fromJson(jsonValue, options);
|
|
12240
|
+
}
|
|
12241
|
+
|
|
12242
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SegmentationExactFrameCount {
|
|
12243
|
+
return new SegmentationExactFrameCount().fromJsonString(jsonString, options);
|
|
12244
|
+
}
|
|
12245
|
+
|
|
12246
|
+
static equals(a: SegmentationExactFrameCount | PlainMessage<SegmentationExactFrameCount> | undefined, b: SegmentationExactFrameCount | PlainMessage<SegmentationExactFrameCount> | undefined): boolean {
|
|
12247
|
+
return proto3.util.equals(SegmentationExactFrameCount, a, b);
|
|
12248
|
+
}
|
|
12249
|
+
}
|
|
12250
|
+
|
|
12251
|
+
/**
|
|
12252
|
+
* @generated from message norsk.api.media.SegmentationExactIdrCount
|
|
12253
|
+
*/
|
|
12254
|
+
export class SegmentationExactIdrCount extends Message<SegmentationExactIdrCount> {
|
|
12255
|
+
/**
|
|
12256
|
+
* @generated from field: int32 idr_count = 1;
|
|
12257
|
+
*/
|
|
12258
|
+
idrCount = 0;
|
|
12259
|
+
|
|
12260
|
+
constructor(data?: PartialMessage<SegmentationExactIdrCount>) {
|
|
12261
|
+
super();
|
|
12262
|
+
proto3.util.initPartial(data, this);
|
|
12263
|
+
}
|
|
12264
|
+
|
|
12265
|
+
static readonly runtime = proto3;
|
|
12266
|
+
static readonly typeName = "norsk.api.media.SegmentationExactIdrCount";
|
|
12267
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
12268
|
+
{ no: 1, name: "idr_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
12269
|
+
]);
|
|
12270
|
+
|
|
12271
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SegmentationExactIdrCount {
|
|
12272
|
+
return new SegmentationExactIdrCount().fromBinary(bytes, options);
|
|
12273
|
+
}
|
|
12274
|
+
|
|
12275
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SegmentationExactIdrCount {
|
|
12276
|
+
return new SegmentationExactIdrCount().fromJson(jsonValue, options);
|
|
12277
|
+
}
|
|
12278
|
+
|
|
12279
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SegmentationExactIdrCount {
|
|
12280
|
+
return new SegmentationExactIdrCount().fromJsonString(jsonString, options);
|
|
12281
|
+
}
|
|
12282
|
+
|
|
12283
|
+
static equals(a: SegmentationExactIdrCount | PlainMessage<SegmentationExactIdrCount> | undefined, b: SegmentationExactIdrCount | PlainMessage<SegmentationExactIdrCount> | undefined): boolean {
|
|
12284
|
+
return proto3.util.equals(SegmentationExactIdrCount, a, b);
|
|
12285
|
+
}
|
|
12286
|
+
}
|
|
12287
|
+
|
|
12288
|
+
/**
|
|
12289
|
+
* @generated from message norsk.api.media.SegmentationStrategy
|
|
11427
12290
|
*/
|
|
11428
|
-
export class
|
|
12291
|
+
export class SegmentationStrategy extends Message<SegmentationStrategy> {
|
|
11429
12292
|
/**
|
|
11430
|
-
* @generated from oneof norsk.api.media.
|
|
12293
|
+
* @generated from oneof norsk.api.media.SegmentationStrategy.message
|
|
11431
12294
|
*/
|
|
11432
12295
|
message: {
|
|
11433
12296
|
/**
|
|
11434
|
-
* @generated from field: norsk.api.media.
|
|
11435
|
-
*/
|
|
11436
|
-
value: Subscription;
|
|
11437
|
-
case: "subscription";
|
|
11438
|
-
} | {
|
|
11439
|
-
/**
|
|
11440
|
-
* @generated from field: norsk.api.media.CmafVideoConfiguration configuration = 2;
|
|
11441
|
-
*/
|
|
11442
|
-
value: CmafVideoConfiguration;
|
|
11443
|
-
case: "configuration";
|
|
11444
|
-
} | {
|
|
11445
|
-
/**
|
|
11446
|
-
* @generated from field: norsk.api.media.UpdateCredentials update_credentials = 3;
|
|
12297
|
+
* @generated from field: norsk.api.media.SegmentationExactFrameCount frame_count = 1;
|
|
11447
12298
|
*/
|
|
11448
|
-
value:
|
|
11449
|
-
case: "
|
|
12299
|
+
value: SegmentationExactFrameCount;
|
|
12300
|
+
case: "frameCount";
|
|
11450
12301
|
} | {
|
|
11451
12302
|
/**
|
|
11452
|
-
* @generated from field: norsk.api.media.
|
|
12303
|
+
* @generated from field: norsk.api.media.SegmentationExactIdrCount idr_count = 2;
|
|
11453
12304
|
*/
|
|
11454
|
-
value:
|
|
11455
|
-
case: "
|
|
12305
|
+
value: SegmentationExactIdrCount;
|
|
12306
|
+
case: "idrCount";
|
|
11456
12307
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
11457
12308
|
|
|
11458
|
-
constructor(data?: PartialMessage<
|
|
12309
|
+
constructor(data?: PartialMessage<SegmentationStrategy>) {
|
|
11459
12310
|
super();
|
|
11460
12311
|
proto3.util.initPartial(data, this);
|
|
11461
12312
|
}
|
|
11462
12313
|
|
|
11463
12314
|
static readonly runtime = proto3;
|
|
11464
|
-
static readonly typeName = "norsk.api.media.
|
|
12315
|
+
static readonly typeName = "norsk.api.media.SegmentationStrategy";
|
|
11465
12316
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
11466
|
-
{ no: 1, name: "
|
|
11467
|
-
{ no: 2, name: "
|
|
11468
|
-
{ no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
|
|
11469
|
-
{ no: 4, name: "update_playlist", kind: "message", T: UpdateDestinationPlaylist, oneof: "message" },
|
|
12317
|
+
{ no: 1, name: "frame_count", kind: "message", T: SegmentationExactFrameCount, oneof: "message" },
|
|
12318
|
+
{ no: 2, name: "idr_count", kind: "message", T: SegmentationExactIdrCount, oneof: "message" },
|
|
11470
12319
|
]);
|
|
11471
12320
|
|
|
11472
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
11473
|
-
return new
|
|
12321
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SegmentationStrategy {
|
|
12322
|
+
return new SegmentationStrategy().fromBinary(bytes, options);
|
|
11474
12323
|
}
|
|
11475
12324
|
|
|
11476
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
11477
|
-
return new
|
|
12325
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SegmentationStrategy {
|
|
12326
|
+
return new SegmentationStrategy().fromJson(jsonValue, options);
|
|
11478
12327
|
}
|
|
11479
12328
|
|
|
11480
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
11481
|
-
return new
|
|
12329
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SegmentationStrategy {
|
|
12330
|
+
return new SegmentationStrategy().fromJsonString(jsonString, options);
|
|
11482
12331
|
}
|
|
11483
12332
|
|
|
11484
|
-
static equals(a:
|
|
11485
|
-
return proto3.util.equals(
|
|
12333
|
+
static equals(a: SegmentationStrategy | PlainMessage<SegmentationStrategy> | undefined, b: SegmentationStrategy | PlainMessage<SegmentationStrategy> | undefined): boolean {
|
|
12334
|
+
return proto3.util.equals(SegmentationStrategy, a, b);
|
|
11486
12335
|
}
|
|
11487
12336
|
}
|
|
11488
12337
|
|
|
@@ -11544,6 +12393,11 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
|
|
|
11544
12393
|
*/
|
|
11545
12394
|
metrics = NodeMetricsMode.NODE_METRICS_DEFAULT;
|
|
11546
12395
|
|
|
12396
|
+
/**
|
|
12397
|
+
* @generated from field: norsk.api.media.SegmentationStrategy segmentation_strategy = 12;
|
|
12398
|
+
*/
|
|
12399
|
+
segmentationStrategy?: SegmentationStrategy;
|
|
12400
|
+
|
|
11547
12401
|
constructor(data?: PartialMessage<HlsTsVideoConfiguration>) {
|
|
11548
12402
|
super();
|
|
11549
12403
|
proto3.util.initPartial(data, this);
|
|
@@ -11562,6 +12416,7 @@ export class HlsTsVideoConfiguration extends Message<HlsTsVideoConfiguration> {
|
|
|
11562
12416
|
{ no: 9, name: "name", kind: "message", T: OptionalString },
|
|
11563
12417
|
{ no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
11564
12418
|
{ no: 11, name: "metrics", kind: "enum", T: proto3.getEnumType(NodeMetricsMode) },
|
|
12419
|
+
{ no: 12, name: "segmentation_strategy", kind: "message", T: SegmentationStrategy },
|
|
11565
12420
|
]);
|
|
11566
12421
|
|
|
11567
12422
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsVideoConfiguration {
|
|
@@ -11868,6 +12723,11 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
|
|
|
11868
12723
|
*/
|
|
11869
12724
|
metrics = NodeMetricsMode.NODE_METRICS_DEFAULT;
|
|
11870
12725
|
|
|
12726
|
+
/**
|
|
12727
|
+
* @generated from field: norsk.api.media.SegmentationStrategy segmentation_strategy = 12;
|
|
12728
|
+
*/
|
|
12729
|
+
segmentationStrategy?: SegmentationStrategy;
|
|
12730
|
+
|
|
11871
12731
|
constructor(data?: PartialMessage<HlsTsAudioConfiguration>) {
|
|
11872
12732
|
super();
|
|
11873
12733
|
proto3.util.initPartial(data, this);
|
|
@@ -11886,6 +12746,7 @@ export class HlsTsAudioConfiguration extends Message<HlsTsAudioConfiguration> {
|
|
|
11886
12746
|
{ no: 9, name: "name", kind: "message", T: OptionalString },
|
|
11887
12747
|
{ no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
11888
12748
|
{ no: 11, name: "metrics", kind: "enum", T: proto3.getEnumType(NodeMetricsMode) },
|
|
12749
|
+
{ no: 12, name: "segmentation_strategy", kind: "message", T: SegmentationStrategy },
|
|
11889
12750
|
]);
|
|
11890
12751
|
|
|
11891
12752
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsAudioConfiguration {
|
|
@@ -13053,6 +13914,11 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
|
|
|
13053
13914
|
*/
|
|
13054
13915
|
pdtEverySegment = false;
|
|
13055
13916
|
|
|
13917
|
+
/**
|
|
13918
|
+
* @generated from field: norsk.api.media.SegmentationStrategy segmentation_strategy = 11;
|
|
13919
|
+
*/
|
|
13920
|
+
segmentationStrategy?: SegmentationStrategy;
|
|
13921
|
+
|
|
13056
13922
|
constructor(data?: PartialMessage<HlsTsCombinedPushConfiguration>) {
|
|
13057
13923
|
super();
|
|
13058
13924
|
proto3.util.initPartial(data, this);
|
|
@@ -13069,6 +13935,7 @@ export class HlsTsCombinedPushConfiguration extends Message<HlsTsCombinedPushCon
|
|
|
13069
13935
|
{ no: 7, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13070
13936
|
{ no: 9, name: "name", kind: "message", T: OptionalString },
|
|
13071
13937
|
{ no: 10, name: "pdt_every_segment", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
13938
|
+
{ no: 11, name: "segmentation_strategy", kind: "message", T: SegmentationStrategy },
|
|
13072
13939
|
]);
|
|
13073
13940
|
|
|
13074
13941
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HlsTsCombinedPushConfiguration {
|
|
@@ -16688,6 +17555,18 @@ export class VideoEncodeStream extends Message<VideoEncodeStream> {
|
|
|
16688
17555
|
*/
|
|
16689
17556
|
value: AmdMA35DHevc;
|
|
16690
17557
|
case: "amdMA35DHevc";
|
|
17558
|
+
} | {
|
|
17559
|
+
/**
|
|
17560
|
+
* @generated from field: norsk.api.media.QuadraAv1 quadraAv1 = 17;
|
|
17561
|
+
*/
|
|
17562
|
+
value: QuadraAv1;
|
|
17563
|
+
case: "quadraAv1";
|
|
17564
|
+
} | {
|
|
17565
|
+
/**
|
|
17566
|
+
* @generated from field: norsk.api.media.AmdMA35DAv1 amdMA35DAv1 = 18;
|
|
17567
|
+
*/
|
|
17568
|
+
value: AmdMA35DAv1;
|
|
17569
|
+
case: "amdMA35DAv1";
|
|
16691
17570
|
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
16692
17571
|
|
|
16693
17572
|
constructor(data?: PartialMessage<VideoEncodeStream>) {
|
|
@@ -16714,6 +17593,8 @@ export class VideoEncodeStream extends Message<VideoEncodeStream> {
|
|
|
16714
17593
|
{ no: 14, name: "amdU30Hevc", kind: "message", T: AmdU30Hevc, oneof: "codec" },
|
|
16715
17594
|
{ no: 15, name: "amdMA35DH264", kind: "message", T: AmdMA35DH264, oneof: "codec" },
|
|
16716
17595
|
{ no: 16, name: "amdMA35DHevc", kind: "message", T: AmdMA35DHevc, oneof: "codec" },
|
|
17596
|
+
{ no: 17, name: "quadraAv1", kind: "message", T: QuadraAv1, oneof: "codec" },
|
|
17597
|
+
{ no: 18, name: "amdMA35DAv1", kind: "message", T: AmdMA35DAv1, oneof: "codec" },
|
|
16717
17598
|
]);
|
|
16718
17599
|
|
|
16719
17600
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VideoEncodeStream {
|
|
@@ -17443,30 +18324,237 @@ proto3.util.setEnumType(NvidiaHevc_NvidiaHevcProfile, "norsk.api.media.NvidiaHev
|
|
|
17443
18324
|
{ no: 2, name: "NVIDIA_HEVC_PROFILE_MAIN10" },
|
|
17444
18325
|
]);
|
|
17445
18326
|
|
|
17446
|
-
/**
|
|
17447
|
-
* @generated from enum norsk.api.media.NvidiaHevc.NvidiaHevcTier
|
|
17448
|
-
*/
|
|
17449
|
-
export enum NvidiaHevc_NvidiaHevcTier {
|
|
18327
|
+
/**
|
|
18328
|
+
* @generated from enum norsk.api.media.NvidiaHevc.NvidiaHevcTier
|
|
18329
|
+
*/
|
|
18330
|
+
export enum NvidiaHevc_NvidiaHevcTier {
|
|
18331
|
+
/**
|
|
18332
|
+
* @generated from enum value: NVIDIA_HEVC_TIER_MAIN = 0;
|
|
18333
|
+
*/
|
|
18334
|
+
MAIN = 0,
|
|
18335
|
+
|
|
18336
|
+
/**
|
|
18337
|
+
* @generated from enum value: NVIDIA_HEVC_TIER_HIGH = 1;
|
|
18338
|
+
*/
|
|
18339
|
+
HIGH = 1,
|
|
18340
|
+
}
|
|
18341
|
+
// Retrieve enum metadata with: proto3.getEnumType(NvidiaHevc_NvidiaHevcTier)
|
|
18342
|
+
proto3.util.setEnumType(NvidiaHevc_NvidiaHevcTier, "norsk.api.media.NvidiaHevc.NvidiaHevcTier", [
|
|
18343
|
+
{ no: 0, name: "NVIDIA_HEVC_TIER_MAIN" },
|
|
18344
|
+
{ no: 1, name: "NVIDIA_HEVC_TIER_HIGH" },
|
|
18345
|
+
]);
|
|
18346
|
+
|
|
18347
|
+
/**
|
|
18348
|
+
* @generated from message norsk.api.media.QuadraH264
|
|
18349
|
+
*/
|
|
18350
|
+
export class QuadraH264 extends Message<QuadraH264> {
|
|
18351
|
+
/**
|
|
18352
|
+
* @generated from field: string extraOpts = 1;
|
|
18353
|
+
*/
|
|
18354
|
+
extraOpts = "";
|
|
18355
|
+
|
|
18356
|
+
/**
|
|
18357
|
+
* @generated from field: norsk.api.common.OptionalBool enableAud = 2;
|
|
18358
|
+
*/
|
|
18359
|
+
enableAud?: OptionalBool;
|
|
18360
|
+
|
|
18361
|
+
/**
|
|
18362
|
+
* @generated from field: norsk.api.common.OptionalInt gpuIndex = 3;
|
|
18363
|
+
*/
|
|
18364
|
+
gpuIndex?: OptionalInt;
|
|
18365
|
+
|
|
18366
|
+
/**
|
|
18367
|
+
* @generated from field: norsk.api.common.OptionalInt bitrate = 4;
|
|
18368
|
+
*/
|
|
18369
|
+
bitrate?: OptionalInt;
|
|
18370
|
+
|
|
18371
|
+
/**
|
|
18372
|
+
* @generated from field: norsk.api.common.OptionalBool enableVfr = 6;
|
|
18373
|
+
*/
|
|
18374
|
+
enableVfr?: OptionalBool;
|
|
18375
|
+
|
|
18376
|
+
/**
|
|
18377
|
+
* @generated from field: norsk.api.common.OptionalInt crf = 7;
|
|
18378
|
+
*/
|
|
18379
|
+
crf?: OptionalInt;
|
|
18380
|
+
|
|
18381
|
+
/**
|
|
18382
|
+
* @generated from field: norsk.api.common.OptionalInt gopPresetIndex = 9;
|
|
18383
|
+
*/
|
|
18384
|
+
gopPresetIndex?: OptionalInt;
|
|
18385
|
+
|
|
18386
|
+
/**
|
|
18387
|
+
* @generated from field: norsk.api.common.OptionalInt intraPeriod = 10;
|
|
18388
|
+
*/
|
|
18389
|
+
intraPeriod?: OptionalInt;
|
|
18390
|
+
|
|
18391
|
+
/**
|
|
18392
|
+
* @generated from field: norsk.api.media.QuadraH264.QuadraH264Profile profile = 11;
|
|
18393
|
+
*/
|
|
18394
|
+
profile = QuadraH264_QuadraH264Profile.DEFAULT;
|
|
18395
|
+
|
|
18396
|
+
/**
|
|
18397
|
+
* @generated from field: norsk.api.common.OptionalInt level = 12;
|
|
18398
|
+
*/
|
|
18399
|
+
level?: OptionalInt;
|
|
18400
|
+
|
|
18401
|
+
/**
|
|
18402
|
+
* @generated from field: norsk.api.common.OptionalBool rcEnable = 13;
|
|
18403
|
+
*/
|
|
18404
|
+
rcEnable?: OptionalBool;
|
|
18405
|
+
|
|
18406
|
+
/**
|
|
18407
|
+
* @generated from field: norsk.api.common.OptionalInt intraQp = 14;
|
|
18408
|
+
*/
|
|
18409
|
+
intraQp?: OptionalInt;
|
|
18410
|
+
|
|
18411
|
+
/**
|
|
18412
|
+
* @generated from field: norsk.api.common.OptionalBool hrdEnable = 18;
|
|
18413
|
+
*/
|
|
18414
|
+
hrdEnable?: OptionalBool;
|
|
18415
|
+
|
|
18416
|
+
/**
|
|
18417
|
+
* @generated from field: norsk.api.common.OptionalInt dolbyVisionProfile = 19;
|
|
18418
|
+
*/
|
|
18419
|
+
dolbyVisionProfile?: OptionalInt;
|
|
18420
|
+
|
|
18421
|
+
/**
|
|
18422
|
+
* @generated from field: norsk.api.common.OptionalBool fillerEnable = 20;
|
|
18423
|
+
*/
|
|
18424
|
+
fillerEnable?: OptionalBool;
|
|
18425
|
+
|
|
18426
|
+
/**
|
|
18427
|
+
* @generated from field: norsk.api.common.OptionalInt minQp = 21;
|
|
18428
|
+
*/
|
|
18429
|
+
minQp?: OptionalInt;
|
|
18430
|
+
|
|
18431
|
+
/**
|
|
18432
|
+
* @generated from field: norsk.api.common.OptionalInt maxQp = 22;
|
|
18433
|
+
*/
|
|
18434
|
+
maxQp?: OptionalInt;
|
|
18435
|
+
|
|
18436
|
+
/**
|
|
18437
|
+
* @generated from field: norsk.api.common.OptionalInt maxDeltaQp = 23;
|
|
18438
|
+
*/
|
|
18439
|
+
maxDeltaQp?: OptionalInt;
|
|
18440
|
+
|
|
18441
|
+
/**
|
|
18442
|
+
* @generated from field: norsk.api.common.OptionalBool cuLevelRCEnable = 24;
|
|
18443
|
+
*/
|
|
18444
|
+
cuLevelRCEnable?: OptionalBool;
|
|
18445
|
+
|
|
18446
|
+
/**
|
|
18447
|
+
* @generated from field: norsk.api.common.OptionalInt lookAheadDepth = 25;
|
|
18448
|
+
*/
|
|
18449
|
+
lookAheadDepth?: OptionalInt;
|
|
18450
|
+
|
|
18451
|
+
/**
|
|
18452
|
+
* @generated from field: norsk.api.common.OptionalInt vbvBufferSize = 26;
|
|
18453
|
+
*/
|
|
18454
|
+
vbvBufferSize?: OptionalInt;
|
|
18455
|
+
|
|
18456
|
+
/**
|
|
18457
|
+
* @generated from field: norsk.api.common.OptionalInt vbvMaxRate = 27;
|
|
18458
|
+
*/
|
|
18459
|
+
vbvMaxRate?: OptionalInt;
|
|
18460
|
+
|
|
18461
|
+
constructor(data?: PartialMessage<QuadraH264>) {
|
|
18462
|
+
super();
|
|
18463
|
+
proto3.util.initPartial(data, this);
|
|
18464
|
+
}
|
|
18465
|
+
|
|
18466
|
+
static readonly runtime = proto3;
|
|
18467
|
+
static readonly typeName = "norsk.api.media.QuadraH264";
|
|
18468
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
18469
|
+
{ no: 1, name: "extraOpts", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
18470
|
+
{ no: 2, name: "enableAud", kind: "message", T: OptionalBool },
|
|
18471
|
+
{ no: 3, name: "gpuIndex", kind: "message", T: OptionalInt },
|
|
18472
|
+
{ no: 4, name: "bitrate", kind: "message", T: OptionalInt },
|
|
18473
|
+
{ no: 6, name: "enableVfr", kind: "message", T: OptionalBool },
|
|
18474
|
+
{ no: 7, name: "crf", kind: "message", T: OptionalInt },
|
|
18475
|
+
{ no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
|
|
18476
|
+
{ no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
|
|
18477
|
+
{ no: 11, name: "profile", kind: "enum", T: proto3.getEnumType(QuadraH264_QuadraH264Profile) },
|
|
18478
|
+
{ no: 12, name: "level", kind: "message", T: OptionalInt },
|
|
18479
|
+
{ no: 13, name: "rcEnable", kind: "message", T: OptionalBool },
|
|
18480
|
+
{ no: 14, name: "intraQp", kind: "message", T: OptionalInt },
|
|
18481
|
+
{ no: 18, name: "hrdEnable", kind: "message", T: OptionalBool },
|
|
18482
|
+
{ no: 19, name: "dolbyVisionProfile", kind: "message", T: OptionalInt },
|
|
18483
|
+
{ no: 20, name: "fillerEnable", kind: "message", T: OptionalBool },
|
|
18484
|
+
{ no: 21, name: "minQp", kind: "message", T: OptionalInt },
|
|
18485
|
+
{ no: 22, name: "maxQp", kind: "message", T: OptionalInt },
|
|
18486
|
+
{ no: 23, name: "maxDeltaQp", kind: "message", T: OptionalInt },
|
|
18487
|
+
{ no: 24, name: "cuLevelRCEnable", kind: "message", T: OptionalBool },
|
|
18488
|
+
{ no: 25, name: "lookAheadDepth", kind: "message", T: OptionalInt },
|
|
18489
|
+
{ no: 26, name: "vbvBufferSize", kind: "message", T: OptionalInt },
|
|
18490
|
+
{ no: 27, name: "vbvMaxRate", kind: "message", T: OptionalInt },
|
|
18491
|
+
]);
|
|
18492
|
+
|
|
18493
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuadraH264 {
|
|
18494
|
+
return new QuadraH264().fromBinary(bytes, options);
|
|
18495
|
+
}
|
|
18496
|
+
|
|
18497
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuadraH264 {
|
|
18498
|
+
return new QuadraH264().fromJson(jsonValue, options);
|
|
18499
|
+
}
|
|
18500
|
+
|
|
18501
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuadraH264 {
|
|
18502
|
+
return new QuadraH264().fromJsonString(jsonString, options);
|
|
18503
|
+
}
|
|
18504
|
+
|
|
18505
|
+
static equals(a: QuadraH264 | PlainMessage<QuadraH264> | undefined, b: QuadraH264 | PlainMessage<QuadraH264> | undefined): boolean {
|
|
18506
|
+
return proto3.util.equals(QuadraH264, a, b);
|
|
18507
|
+
}
|
|
18508
|
+
}
|
|
18509
|
+
|
|
18510
|
+
/**
|
|
18511
|
+
* @generated from enum norsk.api.media.QuadraH264.QuadraH264Profile
|
|
18512
|
+
*/
|
|
18513
|
+
export enum QuadraH264_QuadraH264Profile {
|
|
18514
|
+
/**
|
|
18515
|
+
* @generated from enum value: QUADRA_H264_PROFILE_DEFAULT = 0;
|
|
18516
|
+
*/
|
|
18517
|
+
DEFAULT = 0,
|
|
18518
|
+
|
|
18519
|
+
/**
|
|
18520
|
+
* @generated from enum value: QUADRA_H264_PROFILE_BASELINE = 1;
|
|
18521
|
+
*/
|
|
18522
|
+
BASELINE = 1,
|
|
18523
|
+
|
|
18524
|
+
/**
|
|
18525
|
+
* @generated from enum value: QUADRA_H264_PROFILE_MAIN = 2;
|
|
18526
|
+
*/
|
|
18527
|
+
MAIN = 2,
|
|
18528
|
+
|
|
18529
|
+
/**
|
|
18530
|
+
* @generated from enum value: QUADRA_H264_PROFILE_EXTENDED = 3;
|
|
18531
|
+
*/
|
|
18532
|
+
EXTENDED = 3,
|
|
18533
|
+
|
|
17450
18534
|
/**
|
|
17451
|
-
* @generated from enum value:
|
|
18535
|
+
* @generated from enum value: QUADRA_H264_PROFILE_HIGH = 4;
|
|
17452
18536
|
*/
|
|
17453
|
-
|
|
18537
|
+
HIGH = 4,
|
|
17454
18538
|
|
|
17455
18539
|
/**
|
|
17456
|
-
* @generated from enum value:
|
|
18540
|
+
* @generated from enum value: QUADRA_H264_PROFILE_HIGH10 = 5;
|
|
17457
18541
|
*/
|
|
17458
|
-
|
|
18542
|
+
HIGH10 = 5,
|
|
17459
18543
|
}
|
|
17460
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
17461
|
-
proto3.util.setEnumType(
|
|
17462
|
-
{ no: 0, name: "
|
|
17463
|
-
{ no: 1, name: "
|
|
18544
|
+
// Retrieve enum metadata with: proto3.getEnumType(QuadraH264_QuadraH264Profile)
|
|
18545
|
+
proto3.util.setEnumType(QuadraH264_QuadraH264Profile, "norsk.api.media.QuadraH264.QuadraH264Profile", [
|
|
18546
|
+
{ no: 0, name: "QUADRA_H264_PROFILE_DEFAULT" },
|
|
18547
|
+
{ no: 1, name: "QUADRA_H264_PROFILE_BASELINE" },
|
|
18548
|
+
{ no: 2, name: "QUADRA_H264_PROFILE_MAIN" },
|
|
18549
|
+
{ no: 3, name: "QUADRA_H264_PROFILE_EXTENDED" },
|
|
18550
|
+
{ no: 4, name: "QUADRA_H264_PROFILE_HIGH" },
|
|
18551
|
+
{ no: 5, name: "QUADRA_H264_PROFILE_HIGH10" },
|
|
17464
18552
|
]);
|
|
17465
18553
|
|
|
17466
18554
|
/**
|
|
17467
|
-
* @generated from message norsk.api.media.
|
|
18555
|
+
* @generated from message norsk.api.media.QuadraHevc
|
|
17468
18556
|
*/
|
|
17469
|
-
export class
|
|
18557
|
+
export class QuadraHevc extends Message<QuadraHevc> {
|
|
17470
18558
|
/**
|
|
17471
18559
|
* @generated from field: string extraOpts = 1;
|
|
17472
18560
|
*/
|
|
@@ -17508,22 +18596,32 @@ export class QuadraH264 extends Message<QuadraH264> {
|
|
|
17508
18596
|
intraPeriod?: OptionalInt;
|
|
17509
18597
|
|
|
17510
18598
|
/**
|
|
17511
|
-
* @generated from field: norsk.api.media.
|
|
18599
|
+
* @generated from field: norsk.api.media.QuadraHevc.QuadraHevcTier tier = 11;
|
|
17512
18600
|
*/
|
|
17513
|
-
|
|
18601
|
+
tier = QuadraHevc_QuadraHevcTier.MAIN;
|
|
17514
18602
|
|
|
17515
18603
|
/**
|
|
17516
|
-
* @generated from field: norsk.api.
|
|
18604
|
+
* @generated from field: norsk.api.media.QuadraHevc.QuadraHevcProfile profile = 12;
|
|
18605
|
+
*/
|
|
18606
|
+
profile = QuadraHevc_QuadraHevcProfile.DEFAULT;
|
|
18607
|
+
|
|
18608
|
+
/**
|
|
18609
|
+
* @generated from field: norsk.api.common.OptionalInt level = 13;
|
|
17517
18610
|
*/
|
|
17518
18611
|
level?: OptionalInt;
|
|
17519
18612
|
|
|
17520
18613
|
/**
|
|
17521
|
-
* @generated from field: norsk.api.common.OptionalBool rcEnable =
|
|
18614
|
+
* @generated from field: norsk.api.common.OptionalBool rcEnable = 14;
|
|
17522
18615
|
*/
|
|
17523
18616
|
rcEnable?: OptionalBool;
|
|
17524
18617
|
|
|
17525
18618
|
/**
|
|
17526
|
-
* @generated from field: norsk.api.common.
|
|
18619
|
+
* @generated from field: norsk.api.common.OptionalBool lossless = 15;
|
|
18620
|
+
*/
|
|
18621
|
+
lossless?: OptionalBool;
|
|
18622
|
+
|
|
18623
|
+
/**
|
|
18624
|
+
* @generated from field: norsk.api.common.OptionalInt intraQp = 16;
|
|
17527
18625
|
*/
|
|
17528
18626
|
intraQp?: OptionalInt;
|
|
17529
18627
|
|
|
@@ -17577,13 +18675,13 @@ export class QuadraH264 extends Message<QuadraH264> {
|
|
|
17577
18675
|
*/
|
|
17578
18676
|
vbvMaxRate?: OptionalInt;
|
|
17579
18677
|
|
|
17580
|
-
constructor(data?: PartialMessage<
|
|
18678
|
+
constructor(data?: PartialMessage<QuadraHevc>) {
|
|
17581
18679
|
super();
|
|
17582
18680
|
proto3.util.initPartial(data, this);
|
|
17583
18681
|
}
|
|
17584
18682
|
|
|
17585
18683
|
static readonly runtime = proto3;
|
|
17586
|
-
static readonly typeName = "norsk.api.media.
|
|
18684
|
+
static readonly typeName = "norsk.api.media.QuadraHevc";
|
|
17587
18685
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
17588
18686
|
{ no: 1, name: "extraOpts", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17589
18687
|
{ no: 2, name: "enableAud", kind: "message", T: OptionalBool },
|
|
@@ -17593,10 +18691,12 @@ export class QuadraH264 extends Message<QuadraH264> {
|
|
|
17593
18691
|
{ no: 7, name: "crf", kind: "message", T: OptionalInt },
|
|
17594
18692
|
{ no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
|
|
17595
18693
|
{ no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
|
|
17596
|
-
{ no: 11, name: "
|
|
17597
|
-
{ no: 12, name: "
|
|
17598
|
-
{ no: 13, name: "
|
|
17599
|
-
{ no: 14, name: "
|
|
18694
|
+
{ no: 11, name: "tier", kind: "enum", T: proto3.getEnumType(QuadraHevc_QuadraHevcTier) },
|
|
18695
|
+
{ no: 12, name: "profile", kind: "enum", T: proto3.getEnumType(QuadraHevc_QuadraHevcProfile) },
|
|
18696
|
+
{ no: 13, name: "level", kind: "message", T: OptionalInt },
|
|
18697
|
+
{ no: 14, name: "rcEnable", kind: "message", T: OptionalBool },
|
|
18698
|
+
{ no: 15, name: "lossless", kind: "message", T: OptionalBool },
|
|
18699
|
+
{ no: 16, name: "intraQp", kind: "message", T: OptionalInt },
|
|
17600
18700
|
{ no: 18, name: "hrdEnable", kind: "message", T: OptionalBool },
|
|
17601
18701
|
{ no: 19, name: "dolbyVisionProfile", kind: "message", T: OptionalInt },
|
|
17602
18702
|
{ no: 20, name: "fillerEnable", kind: "message", T: OptionalBool },
|
|
@@ -17609,71 +18709,73 @@ export class QuadraH264 extends Message<QuadraH264> {
|
|
|
17609
18709
|
{ no: 27, name: "vbvMaxRate", kind: "message", T: OptionalInt },
|
|
17610
18710
|
]);
|
|
17611
18711
|
|
|
17612
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
17613
|
-
return new
|
|
18712
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuadraHevc {
|
|
18713
|
+
return new QuadraHevc().fromBinary(bytes, options);
|
|
17614
18714
|
}
|
|
17615
18715
|
|
|
17616
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
17617
|
-
return new
|
|
18716
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuadraHevc {
|
|
18717
|
+
return new QuadraHevc().fromJson(jsonValue, options);
|
|
17618
18718
|
}
|
|
17619
18719
|
|
|
17620
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
17621
|
-
return new
|
|
18720
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuadraHevc {
|
|
18721
|
+
return new QuadraHevc().fromJsonString(jsonString, options);
|
|
17622
18722
|
}
|
|
17623
18723
|
|
|
17624
|
-
static equals(a:
|
|
17625
|
-
return proto3.util.equals(
|
|
18724
|
+
static equals(a: QuadraHevc | PlainMessage<QuadraHevc> | undefined, b: QuadraHevc | PlainMessage<QuadraHevc> | undefined): boolean {
|
|
18725
|
+
return proto3.util.equals(QuadraHevc, a, b);
|
|
17626
18726
|
}
|
|
17627
18727
|
}
|
|
17628
18728
|
|
|
17629
18729
|
/**
|
|
17630
|
-
* @generated from enum norsk.api.media.
|
|
18730
|
+
* @generated from enum norsk.api.media.QuadraHevc.QuadraHevcProfile
|
|
17631
18731
|
*/
|
|
17632
|
-
export enum
|
|
18732
|
+
export enum QuadraHevc_QuadraHevcProfile {
|
|
17633
18733
|
/**
|
|
17634
|
-
* @generated from enum value:
|
|
18734
|
+
* @generated from enum value: QUADRA_HEVC_PROFILE_DEFAULT = 0;
|
|
17635
18735
|
*/
|
|
17636
18736
|
DEFAULT = 0,
|
|
17637
18737
|
|
|
17638
18738
|
/**
|
|
17639
|
-
* @generated from enum value:
|
|
17640
|
-
*/
|
|
17641
|
-
BASELINE = 1,
|
|
17642
|
-
|
|
17643
|
-
/**
|
|
17644
|
-
* @generated from enum value: QUADRA_H264_PROFILE_MAIN = 2;
|
|
18739
|
+
* @generated from enum value: QUADRA_HEVC_PROFILE_MAIN = 1;
|
|
17645
18740
|
*/
|
|
17646
|
-
MAIN =
|
|
18741
|
+
MAIN = 1,
|
|
17647
18742
|
|
|
17648
18743
|
/**
|
|
17649
|
-
* @generated from enum value:
|
|
18744
|
+
* @generated from enum value: QUADRA_HEVC_PROFILE_MAIN10 = 2;
|
|
17650
18745
|
*/
|
|
17651
|
-
|
|
18746
|
+
MAIN10 = 2,
|
|
18747
|
+
}
|
|
18748
|
+
// Retrieve enum metadata with: proto3.getEnumType(QuadraHevc_QuadraHevcProfile)
|
|
18749
|
+
proto3.util.setEnumType(QuadraHevc_QuadraHevcProfile, "norsk.api.media.QuadraHevc.QuadraHevcProfile", [
|
|
18750
|
+
{ no: 0, name: "QUADRA_HEVC_PROFILE_DEFAULT" },
|
|
18751
|
+
{ no: 1, name: "QUADRA_HEVC_PROFILE_MAIN" },
|
|
18752
|
+
{ no: 2, name: "QUADRA_HEVC_PROFILE_MAIN10" },
|
|
18753
|
+
]);
|
|
17652
18754
|
|
|
18755
|
+
/**
|
|
18756
|
+
* @generated from enum norsk.api.media.QuadraHevc.QuadraHevcTier
|
|
18757
|
+
*/
|
|
18758
|
+
export enum QuadraHevc_QuadraHevcTier {
|
|
17653
18759
|
/**
|
|
17654
|
-
* @generated from enum value:
|
|
18760
|
+
* @generated from enum value: QUADRA_HEVC_TIER_MAIN = 0;
|
|
17655
18761
|
*/
|
|
17656
|
-
|
|
18762
|
+
MAIN = 0,
|
|
17657
18763
|
|
|
17658
18764
|
/**
|
|
17659
|
-
* @generated from enum value:
|
|
18765
|
+
* @generated from enum value: QUADRA_HEVC_TIER_HIGH = 1;
|
|
17660
18766
|
*/
|
|
17661
|
-
|
|
18767
|
+
HIGH = 1,
|
|
17662
18768
|
}
|
|
17663
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
17664
|
-
proto3.util.setEnumType(
|
|
17665
|
-
{ no: 0, name: "
|
|
17666
|
-
{ no: 1, name: "
|
|
17667
|
-
{ no: 2, name: "QUADRA_H264_PROFILE_MAIN" },
|
|
17668
|
-
{ no: 3, name: "QUADRA_H264_PROFILE_EXTENDED" },
|
|
17669
|
-
{ no: 4, name: "QUADRA_H264_PROFILE_HIGH" },
|
|
17670
|
-
{ no: 5, name: "QUADRA_H264_PROFILE_HIGH10" },
|
|
18769
|
+
// Retrieve enum metadata with: proto3.getEnumType(QuadraHevc_QuadraHevcTier)
|
|
18770
|
+
proto3.util.setEnumType(QuadraHevc_QuadraHevcTier, "norsk.api.media.QuadraHevc.QuadraHevcTier", [
|
|
18771
|
+
{ no: 0, name: "QUADRA_HEVC_TIER_MAIN" },
|
|
18772
|
+
{ no: 1, name: "QUADRA_HEVC_TIER_HIGH" },
|
|
17671
18773
|
]);
|
|
17672
18774
|
|
|
17673
18775
|
/**
|
|
17674
|
-
* @generated from message norsk.api.media.
|
|
18776
|
+
* @generated from message norsk.api.media.QuadraAv1
|
|
17675
18777
|
*/
|
|
17676
|
-
export class
|
|
18778
|
+
export class QuadraAv1 extends Message<QuadraAv1> {
|
|
17677
18779
|
/**
|
|
17678
18780
|
* @generated from field: string extraOpts = 1;
|
|
17679
18781
|
*/
|
|
@@ -17715,14 +18817,14 @@ export class QuadraHevc extends Message<QuadraHevc> {
|
|
|
17715
18817
|
intraPeriod?: OptionalInt;
|
|
17716
18818
|
|
|
17717
18819
|
/**
|
|
17718
|
-
* @generated from field: norsk.api.media.
|
|
18820
|
+
* @generated from field: norsk.api.media.QuadraAv1.QuadraAv1Tier tier = 11;
|
|
17719
18821
|
*/
|
|
17720
|
-
tier =
|
|
18822
|
+
tier = QuadraAv1_QuadraAv1Tier.MAIN;
|
|
17721
18823
|
|
|
17722
18824
|
/**
|
|
17723
|
-
* @generated from field: norsk.api.media.
|
|
18825
|
+
* @generated from field: norsk.api.media.QuadraAv1.QuadraAv1Profile profile = 12;
|
|
17724
18826
|
*/
|
|
17725
|
-
profile =
|
|
18827
|
+
profile = QuadraAv1_QuadraAv1Profile.MAIN_420_8;
|
|
17726
18828
|
|
|
17727
18829
|
/**
|
|
17728
18830
|
* @generated from field: norsk.api.common.OptionalInt level = 13;
|
|
@@ -17794,13 +18896,13 @@ export class QuadraHevc extends Message<QuadraHevc> {
|
|
|
17794
18896
|
*/
|
|
17795
18897
|
vbvMaxRate?: OptionalInt;
|
|
17796
18898
|
|
|
17797
|
-
constructor(data?: PartialMessage<
|
|
18899
|
+
constructor(data?: PartialMessage<QuadraAv1>) {
|
|
17798
18900
|
super();
|
|
17799
18901
|
proto3.util.initPartial(data, this);
|
|
17800
18902
|
}
|
|
17801
18903
|
|
|
17802
18904
|
static readonly runtime = proto3;
|
|
17803
|
-
static readonly typeName = "norsk.api.media.
|
|
18905
|
+
static readonly typeName = "norsk.api.media.QuadraAv1";
|
|
17804
18906
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
17805
18907
|
{ no: 1, name: "extraOpts", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17806
18908
|
{ no: 2, name: "enableAud", kind: "message", T: OptionalBool },
|
|
@@ -17810,8 +18912,8 @@ export class QuadraHevc extends Message<QuadraHevc> {
|
|
|
17810
18912
|
{ no: 7, name: "crf", kind: "message", T: OptionalInt },
|
|
17811
18913
|
{ no: 9, name: "gopPresetIndex", kind: "message", T: OptionalInt },
|
|
17812
18914
|
{ no: 10, name: "intraPeriod", kind: "message", T: OptionalInt },
|
|
17813
|
-
{ no: 11, name: "tier", kind: "enum", T: proto3.getEnumType(
|
|
17814
|
-
{ no: 12, name: "profile", kind: "enum", T: proto3.getEnumType(
|
|
18915
|
+
{ no: 11, name: "tier", kind: "enum", T: proto3.getEnumType(QuadraAv1_QuadraAv1Tier) },
|
|
18916
|
+
{ no: 12, name: "profile", kind: "enum", T: proto3.getEnumType(QuadraAv1_QuadraAv1Profile) },
|
|
17815
18917
|
{ no: 13, name: "level", kind: "message", T: OptionalInt },
|
|
17816
18918
|
{ no: 14, name: "rcEnable", kind: "message", T: OptionalBool },
|
|
17817
18919
|
{ no: 15, name: "lossless", kind: "message", T: OptionalBool },
|
|
@@ -17828,67 +18930,55 @@ export class QuadraHevc extends Message<QuadraHevc> {
|
|
|
17828
18930
|
{ no: 27, name: "vbvMaxRate", kind: "message", T: OptionalInt },
|
|
17829
18931
|
]);
|
|
17830
18932
|
|
|
17831
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
17832
|
-
return new
|
|
18933
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuadraAv1 {
|
|
18934
|
+
return new QuadraAv1().fromBinary(bytes, options);
|
|
17833
18935
|
}
|
|
17834
18936
|
|
|
17835
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
17836
|
-
return new
|
|
18937
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuadraAv1 {
|
|
18938
|
+
return new QuadraAv1().fromJson(jsonValue, options);
|
|
17837
18939
|
}
|
|
17838
18940
|
|
|
17839
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
17840
|
-
return new
|
|
18941
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuadraAv1 {
|
|
18942
|
+
return new QuadraAv1().fromJsonString(jsonString, options);
|
|
17841
18943
|
}
|
|
17842
18944
|
|
|
17843
|
-
static equals(a:
|
|
17844
|
-
return proto3.util.equals(
|
|
18945
|
+
static equals(a: QuadraAv1 | PlainMessage<QuadraAv1> | undefined, b: QuadraAv1 | PlainMessage<QuadraAv1> | undefined): boolean {
|
|
18946
|
+
return proto3.util.equals(QuadraAv1, a, b);
|
|
17845
18947
|
}
|
|
17846
18948
|
}
|
|
17847
18949
|
|
|
17848
18950
|
/**
|
|
17849
|
-
* @generated from enum norsk.api.media.
|
|
18951
|
+
* @generated from enum norsk.api.media.QuadraAv1.QuadraAv1Profile
|
|
17850
18952
|
*/
|
|
17851
|
-
export enum
|
|
17852
|
-
/**
|
|
17853
|
-
* @generated from enum value: QUADRA_HEVC_PROFILE_DEFAULT = 0;
|
|
17854
|
-
*/
|
|
17855
|
-
DEFAULT = 0,
|
|
17856
|
-
|
|
17857
|
-
/**
|
|
17858
|
-
* @generated from enum value: QUADRA_HEVC_PROFILE_MAIN = 1;
|
|
17859
|
-
*/
|
|
17860
|
-
MAIN = 1,
|
|
17861
|
-
|
|
18953
|
+
export enum QuadraAv1_QuadraAv1Profile {
|
|
17862
18954
|
/**
|
|
17863
|
-
* @generated from enum value:
|
|
18955
|
+
* @generated from enum value: QUADRA_AV1_PROFILE_MAIN_420_8 = 0;
|
|
17864
18956
|
*/
|
|
17865
|
-
|
|
18957
|
+
MAIN_420_8 = 0,
|
|
17866
18958
|
}
|
|
17867
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
17868
|
-
proto3.util.setEnumType(
|
|
17869
|
-
{ no: 0, name: "
|
|
17870
|
-
{ no: 1, name: "QUADRA_HEVC_PROFILE_MAIN" },
|
|
17871
|
-
{ no: 2, name: "QUADRA_HEVC_PROFILE_MAIN10" },
|
|
18959
|
+
// Retrieve enum metadata with: proto3.getEnumType(QuadraAv1_QuadraAv1Profile)
|
|
18960
|
+
proto3.util.setEnumType(QuadraAv1_QuadraAv1Profile, "norsk.api.media.QuadraAv1.QuadraAv1Profile", [
|
|
18961
|
+
{ no: 0, name: "QUADRA_AV1_PROFILE_MAIN_420_8" },
|
|
17872
18962
|
]);
|
|
17873
18963
|
|
|
17874
18964
|
/**
|
|
17875
|
-
* @generated from enum norsk.api.media.
|
|
18965
|
+
* @generated from enum norsk.api.media.QuadraAv1.QuadraAv1Tier
|
|
17876
18966
|
*/
|
|
17877
|
-
export enum
|
|
18967
|
+
export enum QuadraAv1_QuadraAv1Tier {
|
|
17878
18968
|
/**
|
|
17879
|
-
* @generated from enum value:
|
|
18969
|
+
* @generated from enum value: QUADRA_AV1_TIER_MAIN = 0;
|
|
17880
18970
|
*/
|
|
17881
18971
|
MAIN = 0,
|
|
17882
18972
|
|
|
17883
18973
|
/**
|
|
17884
|
-
* @generated from enum value:
|
|
18974
|
+
* @generated from enum value: QUADRA_AV1_TIER_HIGH = 1;
|
|
17885
18975
|
*/
|
|
17886
18976
|
HIGH = 1,
|
|
17887
18977
|
}
|
|
17888
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
17889
|
-
proto3.util.setEnumType(
|
|
17890
|
-
{ no: 0, name: "
|
|
17891
|
-
{ no: 1, name: "
|
|
18978
|
+
// Retrieve enum metadata with: proto3.getEnumType(QuadraAv1_QuadraAv1Tier)
|
|
18979
|
+
proto3.util.setEnumType(QuadraAv1_QuadraAv1Tier, "norsk.api.media.QuadraAv1.QuadraAv1Tier", [
|
|
18980
|
+
{ no: 0, name: "QUADRA_AV1_TIER_MAIN" },
|
|
18981
|
+
{ no: 1, name: "QUADRA_AV1_TIER_HIGH" },
|
|
17892
18982
|
]);
|
|
17893
18983
|
|
|
17894
18984
|
/**
|
|
@@ -19282,6 +20372,95 @@ proto3.util.setEnumType(AmdMA35DHevc_AmdMA35DHevcTier, "norsk.api.media.AmdMA35D
|
|
|
19282
20372
|
{ no: 1, name: "AMD_MA35D_HEVC_TIER_HIGH" },
|
|
19283
20373
|
]);
|
|
19284
20374
|
|
|
20375
|
+
/**
|
|
20376
|
+
* @generated from message norsk.api.media.AmdMA35DAv1
|
|
20377
|
+
*/
|
|
20378
|
+
export class AmdMA35DAv1 extends Message<AmdMA35DAv1> {
|
|
20379
|
+
/**
|
|
20380
|
+
* @generated from field: norsk.api.media.AmdMA35DAv1.AmdMA35DAv1Tier tier = 1;
|
|
20381
|
+
*/
|
|
20382
|
+
tier = AmdMA35DAv1_AmdMA35DAv1Tier.AMD_MA35D_AV1_TIER_MAIN;
|
|
20383
|
+
|
|
20384
|
+
/**
|
|
20385
|
+
* @generated from field: norsk.api.media.AmdMA35DAv1.AmdMA35DAv1Profile profile = 2;
|
|
20386
|
+
*/
|
|
20387
|
+
profile = AmdMA35DAv1_AmdMA35DAv1Profile.AMD_MA35D_AV1_PROFILE_MAIN;
|
|
20388
|
+
|
|
20389
|
+
/**
|
|
20390
|
+
* @generated from field: norsk.api.common.OptionalInt level = 3;
|
|
20391
|
+
*/
|
|
20392
|
+
level?: OptionalInt;
|
|
20393
|
+
|
|
20394
|
+
/**
|
|
20395
|
+
* @generated from field: norsk.api.media.AmdMA35DEncodeCommon common = 4;
|
|
20396
|
+
*/
|
|
20397
|
+
common?: AmdMA35DEncodeCommon;
|
|
20398
|
+
|
|
20399
|
+
constructor(data?: PartialMessage<AmdMA35DAv1>) {
|
|
20400
|
+
super();
|
|
20401
|
+
proto3.util.initPartial(data, this);
|
|
20402
|
+
}
|
|
20403
|
+
|
|
20404
|
+
static readonly runtime = proto3;
|
|
20405
|
+
static readonly typeName = "norsk.api.media.AmdMA35DAv1";
|
|
20406
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
20407
|
+
{ no: 1, name: "tier", kind: "enum", T: proto3.getEnumType(AmdMA35DAv1_AmdMA35DAv1Tier) },
|
|
20408
|
+
{ no: 2, name: "profile", kind: "enum", T: proto3.getEnumType(AmdMA35DAv1_AmdMA35DAv1Profile) },
|
|
20409
|
+
{ no: 3, name: "level", kind: "message", T: OptionalInt },
|
|
20410
|
+
{ no: 4, name: "common", kind: "message", T: AmdMA35DEncodeCommon },
|
|
20411
|
+
]);
|
|
20412
|
+
|
|
20413
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AmdMA35DAv1 {
|
|
20414
|
+
return new AmdMA35DAv1().fromBinary(bytes, options);
|
|
20415
|
+
}
|
|
20416
|
+
|
|
20417
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AmdMA35DAv1 {
|
|
20418
|
+
return new AmdMA35DAv1().fromJson(jsonValue, options);
|
|
20419
|
+
}
|
|
20420
|
+
|
|
20421
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AmdMA35DAv1 {
|
|
20422
|
+
return new AmdMA35DAv1().fromJsonString(jsonString, options);
|
|
20423
|
+
}
|
|
20424
|
+
|
|
20425
|
+
static equals(a: AmdMA35DAv1 | PlainMessage<AmdMA35DAv1> | undefined, b: AmdMA35DAv1 | PlainMessage<AmdMA35DAv1> | undefined): boolean {
|
|
20426
|
+
return proto3.util.equals(AmdMA35DAv1, a, b);
|
|
20427
|
+
}
|
|
20428
|
+
}
|
|
20429
|
+
|
|
20430
|
+
/**
|
|
20431
|
+
* @generated from enum norsk.api.media.AmdMA35DAv1.AmdMA35DAv1Profile
|
|
20432
|
+
*/
|
|
20433
|
+
export enum AmdMA35DAv1_AmdMA35DAv1Profile {
|
|
20434
|
+
/**
|
|
20435
|
+
* @generated from enum value: AMD_MA35D_AV1_PROFILE_MAIN = 0;
|
|
20436
|
+
*/
|
|
20437
|
+
AMD_MA35D_AV1_PROFILE_MAIN = 0,
|
|
20438
|
+
}
|
|
20439
|
+
// Retrieve enum metadata with: proto3.getEnumType(AmdMA35DAv1_AmdMA35DAv1Profile)
|
|
20440
|
+
proto3.util.setEnumType(AmdMA35DAv1_AmdMA35DAv1Profile, "norsk.api.media.AmdMA35DAv1.AmdMA35DAv1Profile", [
|
|
20441
|
+
{ no: 0, name: "AMD_MA35D_AV1_PROFILE_MAIN" },
|
|
20442
|
+
]);
|
|
20443
|
+
|
|
20444
|
+
/**
|
|
20445
|
+
* @generated from enum norsk.api.media.AmdMA35DAv1.AmdMA35DAv1Tier
|
|
20446
|
+
*/
|
|
20447
|
+
export enum AmdMA35DAv1_AmdMA35DAv1Tier {
|
|
20448
|
+
/**
|
|
20449
|
+
* @generated from enum value: AMD_MA35D_AV1_TIER_MAIN = 0;
|
|
20450
|
+
*/
|
|
20451
|
+
AMD_MA35D_AV1_TIER_MAIN = 0,
|
|
20452
|
+
|
|
20453
|
+
/**
|
|
20454
|
+
* @generated from enum value: AMD_MA35D_AV1_TIER_HIGH = 1;
|
|
20455
|
+
*/
|
|
20456
|
+
AMD_MA35D_AV1_TIER_HIGH = 1,
|
|
20457
|
+
}
|
|
20458
|
+
// Retrieve enum metadata with: proto3.getEnumType(AmdMA35DAv1_AmdMA35DAv1Tier)
|
|
20459
|
+
proto3.util.setEnumType(AmdMA35DAv1_AmdMA35DAv1Tier, "norsk.api.media.AmdMA35DAv1.AmdMA35DAv1Tier", [
|
|
20460
|
+
{ no: 0, name: "AMD_MA35D_AV1_TIER_MAIN" },
|
|
20461
|
+
{ no: 1, name: "AMD_MA35D_AV1_TIER_HIGH" },
|
|
20462
|
+
]);
|
|
20463
|
+
|
|
19285
20464
|
/**
|
|
19286
20465
|
* @generated from message norsk.api.media.NoDeinterlace
|
|
19287
20466
|
*/
|
|
@@ -21724,6 +22903,13 @@ export class StreamSwitchSmoothSwitch extends Message<StreamSwitchSmoothSwitch>
|
|
|
21724
22903
|
*/
|
|
21725
22904
|
newActiveSource?: InputPin;
|
|
21726
22905
|
|
|
22906
|
+
/**
|
|
22907
|
+
* Optionally the duration of the transition (otherwise the configured default transition duration is used)
|
|
22908
|
+
*
|
|
22909
|
+
* @generated from field: norsk.api.common.OptionalFloat transition_duration_ms = 2;
|
|
22910
|
+
*/
|
|
22911
|
+
transitionDurationMs?: OptionalFloat;
|
|
22912
|
+
|
|
21727
22913
|
constructor(data?: PartialMessage<StreamSwitchSmoothSwitch>) {
|
|
21728
22914
|
super();
|
|
21729
22915
|
proto3.util.initPartial(data, this);
|
|
@@ -21733,6 +22919,7 @@ export class StreamSwitchSmoothSwitch extends Message<StreamSwitchSmoothSwitch>
|
|
|
21733
22919
|
static readonly typeName = "norsk.api.media.StreamSwitchSmoothSwitch";
|
|
21734
22920
|
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
21735
22921
|
{ no: 1, name: "new_active_source", kind: "message", T: InputPin },
|
|
22922
|
+
{ no: 2, name: "transition_duration_ms", kind: "message", T: OptionalFloat },
|
|
21736
22923
|
]);
|
|
21737
22924
|
|
|
21738
22925
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamSwitchSmoothSwitch {
|
|
@@ -27022,6 +28209,28 @@ export class StartMediaStoreCut extends Message<StartMediaStoreCut> {
|
|
|
27022
28209
|
*/
|
|
27023
28210
|
fastStart = false;
|
|
27024
28211
|
|
|
28212
|
+
/**
|
|
28213
|
+
* @generated from oneof norsk.api.media.StartMediaStoreCut.partial_encode_settings
|
|
28214
|
+
*/
|
|
28215
|
+
partialEncodeSettings: {
|
|
28216
|
+
/**
|
|
28217
|
+
* @generated from field: norsk.api.media.X264Codec x264_params = 7;
|
|
28218
|
+
*/
|
|
28219
|
+
value: X264Codec;
|
|
28220
|
+
case: "x264Params";
|
|
28221
|
+
} | {
|
|
28222
|
+
/**
|
|
28223
|
+
* @generated from field: norsk.api.media.X265Codec x265_params = 8;
|
|
28224
|
+
*/
|
|
28225
|
+
value: X265Codec;
|
|
28226
|
+
case: "x265Params";
|
|
28227
|
+
} | { case: undefined; value?: undefined } = { case: undefined };
|
|
28228
|
+
|
|
28229
|
+
/**
|
|
28230
|
+
* @generated from field: norsk.api.media.StartMediaStoreCut.SequenceHeaderHandling sequence_header_handling = 9;
|
|
28231
|
+
*/
|
|
28232
|
+
sequenceHeaderHandling = StartMediaStoreCut_SequenceHeaderHandling.SINGLE_HEADER;
|
|
28233
|
+
|
|
27025
28234
|
constructor(data?: PartialMessage<StartMediaStoreCut>) {
|
|
27026
28235
|
super();
|
|
27027
28236
|
proto3.util.initPartial(data, this);
|
|
@@ -27036,6 +28245,9 @@ export class StartMediaStoreCut extends Message<StartMediaStoreCut> {
|
|
|
27036
28245
|
{ no: 4, name: "file_format", kind: "enum", T: proto3.getEnumType(StartMediaStoreCut_FileFormat) },
|
|
27037
28246
|
{ no: 5, name: "language_mapping", kind: "message", T: LanguageMapping, repeated: true },
|
|
27038
28247
|
{ no: 6, name: "fast_start", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
28248
|
+
{ no: 7, name: "x264_params", kind: "message", T: X264Codec, oneof: "partial_encode_settings" },
|
|
28249
|
+
{ no: 8, name: "x265_params", kind: "message", T: X265Codec, oneof: "partial_encode_settings" },
|
|
28250
|
+
{ no: 9, name: "sequence_header_handling", kind: "enum", T: proto3.getEnumType(StartMediaStoreCut_SequenceHeaderHandling) },
|
|
27039
28251
|
]);
|
|
27040
28252
|
|
|
27041
28253
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartMediaStoreCut {
|
|
@@ -27069,6 +28281,26 @@ proto3.util.setEnumType(StartMediaStoreCut_FileFormat, "norsk.api.media.StartMed
|
|
|
27069
28281
|
{ no: 0, name: "CUT_MP4" },
|
|
27070
28282
|
]);
|
|
27071
28283
|
|
|
28284
|
+
/**
|
|
28285
|
+
* @generated from enum norsk.api.media.StartMediaStoreCut.SequenceHeaderHandling
|
|
28286
|
+
*/
|
|
28287
|
+
export enum StartMediaStoreCut_SequenceHeaderHandling {
|
|
28288
|
+
/**
|
|
28289
|
+
* @generated from enum value: SINGLE_HEADER = 0;
|
|
28290
|
+
*/
|
|
28291
|
+
SINGLE_HEADER = 0,
|
|
28292
|
+
|
|
28293
|
+
/**
|
|
28294
|
+
* @generated from enum value: MULTIPLE_HEADERS = 1;
|
|
28295
|
+
*/
|
|
28296
|
+
MULTIPLE_HEADERS = 1,
|
|
28297
|
+
}
|
|
28298
|
+
// Retrieve enum metadata with: proto3.getEnumType(StartMediaStoreCut_SequenceHeaderHandling)
|
|
28299
|
+
proto3.util.setEnumType(StartMediaStoreCut_SequenceHeaderHandling, "norsk.api.media.StartMediaStoreCut.SequenceHeaderHandling", [
|
|
28300
|
+
{ no: 0, name: "SINGLE_HEADER" },
|
|
28301
|
+
{ no: 1, name: "MULTIPLE_HEADERS" },
|
|
28302
|
+
]);
|
|
28303
|
+
|
|
27072
28304
|
/**
|
|
27073
28305
|
* @generated from message norsk.api.media.CancelMediaStoreCut
|
|
27074
28306
|
*/
|