@norskvideo/norsk-api 0.0.327 → 0.0.329
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/media_pb.d.ts +263 -16
- package/lib/media_pb.js +294 -21
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +433 -20
- package/package.json +1 -1
package/lib/media_pb.js
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.NorskStatusEvent = exports.Hello = exports.Status = exports.ListValue = exports.Value = exports.Struct = exports.SubscriptionResponse = exports.Subscription = exports.SubscribeSource = exports.Hardware = void 0;
|
|
7
|
+
exports.RtmpInputMessage = exports.RtmpStreamReject = exports.RtmpStreamAccept = exports.RtmpConnectionReject = exports.RtmpConnectionAccept = exports.RtmpInputConfiguration = exports.ConnectionId = exports.StreamStatsSampling = exports.MultiStreamStats_SingleStreamStats = exports.MultiStreamStats = exports.TimestampSourceProgramNudge = exports.TimestampProgramNudge = exports.TimestampNudge = exports.ValidationResponseAck = exports.ValidationResponse = exports.BlockingCallRef = exports.Context = exports.StreamMetadata_SubtitleMetadata = exports.StreamMetadata_VideoMetadata = exports.StreamMetadata_AudioMetadata = exports.StreamMetadata = exports.ChannelLayout = exports.MultiChannelLayout = exports.SingleChannelLayout = exports.Channel = exports.ExplicitChannel = exports.StreamKey = exports.InputPin = exports.RenditionName = exports.StreamId = exports.ProgramNumber = exports.SourceName = exports.Resolution = exports.MediaNodeId = exports.NullValue = exports.Code = exports.ContextType = exports.VideoIOSupport = exports.VideoConnection = exports.SentenceStabilizationMode = exports.SentenceBuildMode = exports.NvidiaPreset = exports.DeckLinkDisplayModeId = exports.DeckLinkPixelFormat = exports.SrtMode = exports.AudioCodec = exports.SampleFormat = exports.SampleRate = exports.NamedChannelLayout = exports.ChannelName = void 0;
|
|
8
|
+
exports.Mp4FileInputEvent = exports.Mp4FileInputInfo = exports.Mp4FileInputStatus_State = exports.Mp4FileInputStatus = exports.Mp4FileInputMessage = exports.Mp4FileInputConfiguration = exports.ImageFileInputEvent = exports.ImageFileInputConfiguration_ImageFormat = exports.ImageFileInputConfiguration = exports.DeckLinkInputEvent = exports.DeckLinkInputMessage = exports.DeckLinkInputConfiguration = exports.DeckLinkCardIndex = exports.TestCardVideoGeneratorEvent = exports.TestCardVideoGeneratorMessage = exports.TestCardVideoConfiguration = exports.TestCardVideoSetup = exports.M3u8MediaInputEvent = exports.M3u8MediaInputMessage = exports.M3u8MediaInputConfiguration = exports.UdpTsInputEvent = exports.UdpTsInputMessage = exports.UdpTsInputConfiguration = exports.SrtInputEvent = exports.SrtInputStatus_State = exports.SrtInputStatus = exports.SrtConnectionClose = exports.SrtConnectionReject = exports.SrtConnectionAccept = exports.SrtConnectMessage = exports.SrtTsContext = exports.SrtInputMessage = exports.SrtInputConfiguration = exports.WebVttFileInputEvent = exports.WebVttFileInputConfiguration = exports.TsFileInputEvent = exports.TsFileInputMessage = exports.TsFileInputConfiguration = exports.TsInputEvent = exports.TsInputStatus_State = exports.TsInputStatus = exports.TsContext = exports.TsProgram_TsPid = exports.TsProgram_TsStreamType = exports.TsProgram = exports.RtmpInputEvent = exports.RtmpOnStream = exports.RtmpInputStatus_State = exports.RtmpInputStatus = exports.RtmpConnection = void 0;
|
|
9
|
+
exports.AudioSplitMultichannelConfiguration = exports.AudioSplitMultichannelMessage = exports.AudioSplitMultichannelSource = exports.AudioBuildMultichannelEvent = exports.AudioBuildMultichannelConfiguration = exports.AudioBuildMultichannelMessage = exports.AudioBuildMultichannelSource = exports.AudioGainEvent = exports.AudioGainUpdateConfiguration = exports.AudioGainConfiguration = exports.AudioGainMessage = exports.AudioMatrixMixerEvent = exports.AudioMatrixMixerUpdateConfiguration = exports.AudioMatrixMixerConfiguration = exports.ChannelGainMapping = exports.AudioMatrixMixerMessage = exports.AudioMixerEvent = exports.AudioMixerUpdateConfiguration = exports.AudioMixerConfiguration = exports.AudioMixerMessage = exports.AudioMixerSource = exports.TransitionComplete = exports.ComposeVideoSourceEvent = exports.ComposeVideoUpdateConfiguration = exports.ComposeVideoConfiguration_MissingStreamBehaviour = exports.ComposeVideoConfiguration_PixelFormat = exports.ComposeVideoConfiguration = exports.ComposeVideoMessage = exports.PartId = exports.Easing_SimpleEasing = exports.Easing = exports.Transition = exports.ComposePart = exports.OffsetRectangle = exports.WhipInputEvent = exports.WhipInputMessage = exports.WhipInputConfiguration = exports.BrowserInputEvent = exports.BrowserEvent = exports.BrowserOnLoadError = exports.BrowserOnLoadEnd = exports.BrowserOnLoadStart = exports.BrowserOnLoaded = exports.BrowserInputMessage = exports.BrowserInputUpdateConfiguration = exports.BrowserInputConfiguration = exports.AudioSignalGeneratorEvent = exports.AudioSignalGeneratorConfiguration = exports.Wave = exports.SineWave = void 0;
|
|
10
|
+
exports.TsFileOutputEvent = exports.TsFileOutputMessage = exports.TsFileOutputConfiguration = exports.RtmpOutputEvent = exports.RtmpOutputMessage = exports.RtmpOutputConfiguration = exports.WebRTCBrowserDuplexEvent = exports.WebRTCWhipOutputEvent = exports.WebRTCLocalOutputMessage = exports.WebRTCLocalOutputConfiguration = exports.WebRTCWhipOutputMessage = exports.WebRTCWhipOutputConfiguration = exports.SrtOutputEvent = exports.SrtOutputMessage = exports.SrtOutputConfiguration = exports.TsUdpOutputEvent = exports.TsUdpOutputMessage = exports.TsUdpOutputConfiguration = exports.HlsOutputEvent = exports.HlsTsCombinedPushMessage = exports.HlsPushDestination = exports.HlsTsCombinedPushConfiguration = exports.HlsTsAudioPushMessage = exports.HlsTsAudioPushConfiguration = exports.HlsTsVideoPushMessage = exports.HlsTsVideoPushConfiguration = exports.HlsMasterPushMessage = exports.HlsMasterPushConfiguration = exports.HlsMasterMessage = exports.HlsMasterConfiguration = exports.HlsWebVttPushMessage = exports.HlsWebVttMessage = exports.HlsWebVttPushUpdateConfiguration = exports.HlsWebVttPushConfiguration = exports.UpdateCredentials = exports.AwsCredentials = exports.HlsWebVttConfiguration = exports.HlsTsAudioMessage = exports.HlsTsAudioConfiguration = exports.HlsAudioMessage = exports.HlsAudioConfiguration = exports.HlsTsVideoMessage = exports.HlsTsVideoConfiguration = exports.HlsVideoMessage = exports.HlsVideoConfiguration = exports.CMAFDestination = exports.LocalPullDestination = exports.AwsS3PushDestination = exports.Mp4Encryption = exports.AudioSplitMultichannelEvent = void 0;
|
|
11
|
+
exports.MetadataOverrideEvent = exports.MetadataOverrideMessage = exports.MetadataOverrideUpdateConfiguration = exports.MetadataOverrideConfiguration = exports.StreamKeyOverrideEvent = exports.StreamKeyOverrideMessage = exports.StreamKeyOverrideConfiguration = exports.TimestampNudgerEvent = exports.TimestampNudgerMessage = exports.TimestampNudgerConfiguration = exports.ChaosMonkeyEvent = exports.ChaosMonkeyMessage = exports.ChaosMonkeyConfiguration = exports.VideoTransformEvent = exports.VideoTransformMessage = exports.VideoTransformConfiguration = exports.NetintHevc_NetintHevcTier = exports.NetintHevc_NetintHevcProfile = exports.NetintHevc = exports.NetintH264_NetintH264Profile = exports.NetintH264 = exports.NvidiaHevc_NvidiaHevcTier = exports.NvidiaHevc_NvidiaHevcProfile = exports.NvidiaHevc = exports.NvidiaH264_NvidiaH264Profile = exports.NvidiaH264 = exports.NvidiaRateControl_NvidiaRateControlMode = exports.NvidiaRateControl = exports.VideoEncodeLadderEvent = exports.VideoEncodeLadderMessage = exports.VideoEncodeLadderConfiguration = exports.VideoEncodeLadderStream = exports.X265Codec_X265Tune = exports.X265Codec_X265Preset = exports.X265Codec_X265Profile = exports.X265Codec = exports.X264Codec_X264NalHrd = exports.X264Codec_X264Tune = exports.X264Codec_X264Preset = exports.X264Codec_X264Profile = exports.X264Codec = exports.OptionalString = exports.OptionalBool = exports.OptionalInt = exports.SampleAspectRatio = exports.FrameRate = exports.Mp4FileOutputEvent = exports.Mp4FileOutputMessage = exports.Mp4FileOutputWriteMessage = exports.Mp4FileOutputConfiguration = void 0;
|
|
12
|
+
exports.DeckLinkDisplayMode = exports.DeckLinkCard = exports.CpuTopology = exports.NumaNode = exports.Processor = exports.Core = exports.LogicalCpuId = exports.AwsTranscribeEvent = exports.AwsTranscribeMessage = exports.AwsTranscribeConfiguration = exports.RtpInputEvent = exports.RtpInputMessage = exports.RtpInputConfiguration = exports.RtpStream = exports.RtpHEVC = exports.RtpH264 = exports.RtpMpeg4GenericAacHbr = exports.RtpEac3 = exports.RtpLinearPcm_BitDepth = exports.RtpLinearPcm = exports.Interface_StandardInterface = exports.Interface = exports.AudioLevelsEvent = exports.AudioLevels = exports.ChannelLevels = exports.Db = exports.Interval = exports.AudioLevelsMessage = exports.AudioLevelsConfiguration = exports.StreamStatsEvent = exports.StreamStatsMessage = exports.StreamStatsConfiguration = exports.HardSwitcherEvent = exports.HardSwitcherMessage = exports.HardSwitcherSwitch = exports.HardSwitcherConfiguration = exports.SmoothSwitcherEvent = exports.SmoothSwitcherMessage = exports.SmoothSwitcherSwitch = exports.SmoothSwitcherConfiguration = exports.AudioEncoderEvent = exports.AudioEncoderMessage = exports.AudioEncoderConfiguration = exports.OpusEncoderConfiguration = exports.AacEncoderConfiguration_AacEncapsulation = exports.AacEncoderConfiguration_AacProfile = exports.AacEncoderConfiguration = exports.SyncEvent = exports.SyncMessage = exports.SyncConfiguration = void 0;
|
|
13
|
+
exports.NorskStatusEvent = exports.Hello = exports.Status = exports.ListValue = exports.Value = exports.Struct = exports.SourceSubscriptionError_UnsupportedConversion = exports.SourceSubscriptionError_NoSubscriberPin = exports.SourceSubscriptionError_SourceStream = exports.SourceSubscriptionError = exports.SubscriptionError_SourceSubscriptionErrors = exports.SubscriptionError_MultipleStreams = exports.SubscriptionError = exports.SubscriptionResponse = exports.Subscription = exports.SubscribeSource = exports.Hardware = exports.DeckLinkDisplayModes = void 0;
|
|
14
14
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
15
15
|
const common_pb_js_1 = require("./shared/common_pb.js");
|
|
16
16
|
/**
|
|
@@ -1312,6 +1312,40 @@ protobuf_1.proto3.util.setEnumType(VideoIOSupport, "norsk.api.media.VideoIOSuppo
|
|
|
1312
1312
|
{ no: 0, name: "CAPTURE" },
|
|
1313
1313
|
{ no: 1, name: "PLAYBACK" },
|
|
1314
1314
|
]);
|
|
1315
|
+
/**
|
|
1316
|
+
* @generated from enum norsk.api.media.ContextType
|
|
1317
|
+
*/
|
|
1318
|
+
var ContextType;
|
|
1319
|
+
(function (ContextType) {
|
|
1320
|
+
/**
|
|
1321
|
+
* @generated from enum value: CONTEXT_TYPE_FULL = 0;
|
|
1322
|
+
*/
|
|
1323
|
+
ContextType[ContextType["FULL"] = 0] = "FULL";
|
|
1324
|
+
/**
|
|
1325
|
+
* @generated from enum value: CONTEXT_TYPE_SINGLE_SOURCE = 1;
|
|
1326
|
+
*/
|
|
1327
|
+
ContextType[ContextType["SINGLE_SOURCE"] = 1] = "SINGLE_SOURCE";
|
|
1328
|
+
/**
|
|
1329
|
+
* @generated from enum value: CONTEXT_TYPE_SINGLE_PROGRAM = 2;
|
|
1330
|
+
*/
|
|
1331
|
+
ContextType[ContextType["SINGLE_PROGRAM"] = 2] = "SINGLE_PROGRAM";
|
|
1332
|
+
/**
|
|
1333
|
+
* @generated from enum value: CONTEXT_TYPE_SINGLE_STREAM = 3;
|
|
1334
|
+
*/
|
|
1335
|
+
ContextType[ContextType["SINGLE_STREAM"] = 3] = "SINGLE_STREAM";
|
|
1336
|
+
/**
|
|
1337
|
+
* @generated from enum value: CONTEXT_TYPE_SINGLE_RENDITION = 4;
|
|
1338
|
+
*/
|
|
1339
|
+
ContextType[ContextType["SINGLE_RENDITION"] = 4] = "SINGLE_RENDITION";
|
|
1340
|
+
})(ContextType = exports.ContextType || (exports.ContextType = {}));
|
|
1341
|
+
// Retrieve enum metadata with: proto3.getEnumType(ContextType)
|
|
1342
|
+
protobuf_1.proto3.util.setEnumType(ContextType, "norsk.api.media.ContextType", [
|
|
1343
|
+
{ no: 0, name: "CONTEXT_TYPE_FULL" },
|
|
1344
|
+
{ no: 1, name: "CONTEXT_TYPE_SINGLE_SOURCE" },
|
|
1345
|
+
{ no: 2, name: "CONTEXT_TYPE_SINGLE_PROGRAM" },
|
|
1346
|
+
{ no: 3, name: "CONTEXT_TYPE_SINGLE_STREAM" },
|
|
1347
|
+
{ no: 4, name: "CONTEXT_TYPE_SINGLE_RENDITION" },
|
|
1348
|
+
]);
|
|
1315
1349
|
/**
|
|
1316
1350
|
* The canonical error codes for gRPC APIs.
|
|
1317
1351
|
*
|
|
@@ -5177,13 +5211,14 @@ class ComposePart extends protobuf_1.Message {
|
|
|
5177
5211
|
super();
|
|
5178
5212
|
/**
|
|
5179
5213
|
* Z-index to determine ordering by which the sources are overlaid
|
|
5214
|
+
* (higher layers appear on top)
|
|
5180
5215
|
*
|
|
5181
5216
|
* @generated from field: uint32 z_index = 4;
|
|
5182
5217
|
*/
|
|
5183
5218
|
this.zIndex = 0;
|
|
5184
5219
|
/**
|
|
5185
|
-
* Opacity of this overlay (where 0.0 is fully transparent and 1.0
|
|
5186
|
-
* opaque)
|
|
5220
|
+
* Opacity multiplier of this overlay (where 0.0 is fully transparent and 1.0
|
|
5221
|
+
* is fully opaque)
|
|
5187
5222
|
*
|
|
5188
5223
|
* @generated from field: float opacity = 5;
|
|
5189
5224
|
*/
|
|
@@ -5386,7 +5421,7 @@ ComposeVideoMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
5386
5421
|
]);
|
|
5387
5422
|
/**
|
|
5388
5423
|
* *
|
|
5389
|
-
* Configure
|
|
5424
|
+
* Configure a Compose Media Node.
|
|
5390
5425
|
*
|
|
5391
5426
|
* @generated from message norsk.api.media.ComposeVideoConfiguration
|
|
5392
5427
|
*/
|
|
@@ -5544,7 +5579,7 @@ class ComposeVideoUpdateConfiguration extends protobuf_1.Message {
|
|
|
5544
5579
|
constructor(data) {
|
|
5545
5580
|
super();
|
|
5546
5581
|
/**
|
|
5547
|
-
*
|
|
5582
|
+
* Update the parts (images/overlays) to include in the composition
|
|
5548
5583
|
*
|
|
5549
5584
|
* @generated from field: repeated norsk.api.media.ComposePart parts = 1;
|
|
5550
5585
|
*/
|
|
@@ -11858,17 +11893,17 @@ class Subscription extends protobuf_1.Message {
|
|
|
11858
11893
|
constructor(data) {
|
|
11859
11894
|
super();
|
|
11860
11895
|
/**
|
|
11861
|
-
*
|
|
11896
|
+
* An arbitrary id of the subscription, to enable correlating of the corresponding subscription response
|
|
11862
11897
|
*
|
|
11863
|
-
* @generated from field:
|
|
11898
|
+
* @generated from field: string id = 1;
|
|
11864
11899
|
*/
|
|
11865
|
-
this.
|
|
11900
|
+
this.id = "";
|
|
11866
11901
|
/**
|
|
11867
|
-
*
|
|
11902
|
+
* The individual subscription components
|
|
11868
11903
|
*
|
|
11869
|
-
* @generated from field:
|
|
11904
|
+
* @generated from field: repeated norsk.api.media.SubscribeSource sources = 2;
|
|
11870
11905
|
*/
|
|
11871
|
-
this.
|
|
11906
|
+
this.sources = [];
|
|
11872
11907
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
11873
11908
|
}
|
|
11874
11909
|
static fromBinary(bytes, options) {
|
|
@@ -11888,8 +11923,8 @@ exports.Subscription = Subscription;
|
|
|
11888
11923
|
Subscription.runtime = protobuf_1.proto3;
|
|
11889
11924
|
Subscription.typeName = "norsk.api.media.Subscription";
|
|
11890
11925
|
Subscription.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
11926
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11891
11927
|
{ no: 2, name: "sources", kind: "message", T: SubscribeSource, repeated: true },
|
|
11892
|
-
{ no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11893
11928
|
]);
|
|
11894
11929
|
/**
|
|
11895
11930
|
* The response/acknowledgement of a subscription request
|
|
@@ -11902,7 +11937,7 @@ class SubscriptionResponse extends protobuf_1.Message {
|
|
|
11902
11937
|
/**
|
|
11903
11938
|
* The id of the subscription which this message is a response to
|
|
11904
11939
|
*
|
|
11905
|
-
* @generated from field: string id =
|
|
11940
|
+
* @generated from field: string id = 1;
|
|
11906
11941
|
*/
|
|
11907
11942
|
this.id = "";
|
|
11908
11943
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -11924,8 +11959,246 @@ exports.SubscriptionResponse = SubscriptionResponse;
|
|
|
11924
11959
|
SubscriptionResponse.runtime = protobuf_1.proto3;
|
|
11925
11960
|
SubscriptionResponse.typeName = "norsk.api.media.SubscriptionResponse";
|
|
11926
11961
|
SubscriptionResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
11927
|
-
{ no:
|
|
11928
|
-
{ no:
|
|
11962
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
11963
|
+
{ no: 2, name: "error", kind: "message", T: SubscriptionError },
|
|
11964
|
+
]);
|
|
11965
|
+
/**
|
|
11966
|
+
* @generated from message norsk.api.media.SubscriptionError
|
|
11967
|
+
*/
|
|
11968
|
+
class SubscriptionError extends protobuf_1.Message {
|
|
11969
|
+
constructor(data) {
|
|
11970
|
+
super();
|
|
11971
|
+
/**
|
|
11972
|
+
* @generated from oneof norsk.api.media.SubscriptionError.error
|
|
11973
|
+
*/
|
|
11974
|
+
this.error = { case: undefined };
|
|
11975
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
11976
|
+
}
|
|
11977
|
+
static fromBinary(bytes, options) {
|
|
11978
|
+
return new SubscriptionError().fromBinary(bytes, options);
|
|
11979
|
+
}
|
|
11980
|
+
static fromJson(jsonValue, options) {
|
|
11981
|
+
return new SubscriptionError().fromJson(jsonValue, options);
|
|
11982
|
+
}
|
|
11983
|
+
static fromJsonString(jsonString, options) {
|
|
11984
|
+
return new SubscriptionError().fromJsonString(jsonString, options);
|
|
11985
|
+
}
|
|
11986
|
+
static equals(a, b) {
|
|
11987
|
+
return protobuf_1.proto3.util.equals(SubscriptionError, a, b);
|
|
11988
|
+
}
|
|
11989
|
+
}
|
|
11990
|
+
exports.SubscriptionError = SubscriptionError;
|
|
11991
|
+
SubscriptionError.runtime = protobuf_1.proto3;
|
|
11992
|
+
SubscriptionError.typeName = "norsk.api.media.SubscriptionError";
|
|
11993
|
+
SubscriptionError.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
11994
|
+
{ no: 1, name: "internal", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "error" },
|
|
11995
|
+
{ no: 2, name: "unknown_subscriber", kind: "message", T: MediaNodeId, oneof: "error" },
|
|
11996
|
+
{ no: 3, name: "multiple_streams", kind: "message", T: SubscriptionError_MultipleStreams, oneof: "error" },
|
|
11997
|
+
{ no: 4, name: "source_subscription_error", kind: "message", T: SubscriptionError_SourceSubscriptionErrors, oneof: "error" },
|
|
11998
|
+
]);
|
|
11999
|
+
/**
|
|
12000
|
+
* @generated from message norsk.api.media.SubscriptionError.MultipleStreams
|
|
12001
|
+
*/
|
|
12002
|
+
class SubscriptionError_MultipleStreams extends protobuf_1.Message {
|
|
12003
|
+
constructor(data) {
|
|
12004
|
+
super();
|
|
12005
|
+
/**
|
|
12006
|
+
* @generated from field: norsk.api.media.ContextType context_type = 1;
|
|
12007
|
+
*/
|
|
12008
|
+
this.contextType = ContextType.FULL;
|
|
12009
|
+
/**
|
|
12010
|
+
* @generated from field: repeated norsk.api.media.StreamKey stream_keys = 2;
|
|
12011
|
+
*/
|
|
12012
|
+
this.streamKeys = [];
|
|
12013
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
12014
|
+
}
|
|
12015
|
+
static fromBinary(bytes, options) {
|
|
12016
|
+
return new SubscriptionError_MultipleStreams().fromBinary(bytes, options);
|
|
12017
|
+
}
|
|
12018
|
+
static fromJson(jsonValue, options) {
|
|
12019
|
+
return new SubscriptionError_MultipleStreams().fromJson(jsonValue, options);
|
|
12020
|
+
}
|
|
12021
|
+
static fromJsonString(jsonString, options) {
|
|
12022
|
+
return new SubscriptionError_MultipleStreams().fromJsonString(jsonString, options);
|
|
12023
|
+
}
|
|
12024
|
+
static equals(a, b) {
|
|
12025
|
+
return protobuf_1.proto3.util.equals(SubscriptionError_MultipleStreams, a, b);
|
|
12026
|
+
}
|
|
12027
|
+
}
|
|
12028
|
+
exports.SubscriptionError_MultipleStreams = SubscriptionError_MultipleStreams;
|
|
12029
|
+
SubscriptionError_MultipleStreams.runtime = protobuf_1.proto3;
|
|
12030
|
+
SubscriptionError_MultipleStreams.typeName = "norsk.api.media.SubscriptionError.MultipleStreams";
|
|
12031
|
+
SubscriptionError_MultipleStreams.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
12032
|
+
{ no: 1, name: "context_type", kind: "enum", T: protobuf_1.proto3.getEnumType(ContextType) },
|
|
12033
|
+
{ no: 2, name: "stream_keys", kind: "message", T: StreamKey, repeated: true },
|
|
12034
|
+
]);
|
|
12035
|
+
/**
|
|
12036
|
+
* @generated from message norsk.api.media.SubscriptionError.SourceSubscriptionErrors
|
|
12037
|
+
*/
|
|
12038
|
+
class SubscriptionError_SourceSubscriptionErrors extends protobuf_1.Message {
|
|
12039
|
+
constructor(data) {
|
|
12040
|
+
super();
|
|
12041
|
+
/**
|
|
12042
|
+
* @generated from field: repeated norsk.api.media.SourceSubscriptionError errors = 1;
|
|
12043
|
+
*/
|
|
12044
|
+
this.errors = [];
|
|
12045
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
12046
|
+
}
|
|
12047
|
+
static fromBinary(bytes, options) {
|
|
12048
|
+
return new SubscriptionError_SourceSubscriptionErrors().fromBinary(bytes, options);
|
|
12049
|
+
}
|
|
12050
|
+
static fromJson(jsonValue, options) {
|
|
12051
|
+
return new SubscriptionError_SourceSubscriptionErrors().fromJson(jsonValue, options);
|
|
12052
|
+
}
|
|
12053
|
+
static fromJsonString(jsonString, options) {
|
|
12054
|
+
return new SubscriptionError_SourceSubscriptionErrors().fromJsonString(jsonString, options);
|
|
12055
|
+
}
|
|
12056
|
+
static equals(a, b) {
|
|
12057
|
+
return protobuf_1.proto3.util.equals(SubscriptionError_SourceSubscriptionErrors, a, b);
|
|
12058
|
+
}
|
|
12059
|
+
}
|
|
12060
|
+
exports.SubscriptionError_SourceSubscriptionErrors = SubscriptionError_SourceSubscriptionErrors;
|
|
12061
|
+
SubscriptionError_SourceSubscriptionErrors.runtime = protobuf_1.proto3;
|
|
12062
|
+
SubscriptionError_SourceSubscriptionErrors.typeName = "norsk.api.media.SubscriptionError.SourceSubscriptionErrors";
|
|
12063
|
+
SubscriptionError_SourceSubscriptionErrors.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
12064
|
+
{ no: 1, name: "errors", kind: "message", T: SourceSubscriptionError, repeated: true },
|
|
12065
|
+
]);
|
|
12066
|
+
/**
|
|
12067
|
+
* @generated from message norsk.api.media.SourceSubscriptionError
|
|
12068
|
+
*/
|
|
12069
|
+
class SourceSubscriptionError extends protobuf_1.Message {
|
|
12070
|
+
constructor(data) {
|
|
12071
|
+
super();
|
|
12072
|
+
/**
|
|
12073
|
+
* @generated from oneof norsk.api.media.SourceSubscriptionError.error
|
|
12074
|
+
*/
|
|
12075
|
+
this.error = { case: undefined };
|
|
12076
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
12077
|
+
}
|
|
12078
|
+
static fromBinary(bytes, options) {
|
|
12079
|
+
return new SourceSubscriptionError().fromBinary(bytes, options);
|
|
12080
|
+
}
|
|
12081
|
+
static fromJson(jsonValue, options) {
|
|
12082
|
+
return new SourceSubscriptionError().fromJson(jsonValue, options);
|
|
12083
|
+
}
|
|
12084
|
+
static fromJsonString(jsonString, options) {
|
|
12085
|
+
return new SourceSubscriptionError().fromJsonString(jsonString, options);
|
|
12086
|
+
}
|
|
12087
|
+
static equals(a, b) {
|
|
12088
|
+
return protobuf_1.proto3.util.equals(SourceSubscriptionError, a, b);
|
|
12089
|
+
}
|
|
12090
|
+
}
|
|
12091
|
+
exports.SourceSubscriptionError = SourceSubscriptionError;
|
|
12092
|
+
SourceSubscriptionError.runtime = protobuf_1.proto3;
|
|
12093
|
+
SourceSubscriptionError.typeName = "norsk.api.media.SourceSubscriptionError";
|
|
12094
|
+
SourceSubscriptionError.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
12095
|
+
{ no: 1, name: "internal", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "error" },
|
|
12096
|
+
{ no: 2, name: "unknown_source_id", kind: "message", T: MediaNodeId, oneof: "error" },
|
|
12097
|
+
{ no: 3, name: "unknown_source_stream", kind: "message", T: SourceSubscriptionError_SourceStream, oneof: "error" },
|
|
12098
|
+
{ no: 4, name: "no_subscriber_pin", kind: "message", T: SourceSubscriptionError_NoSubscriberPin, oneof: "error" },
|
|
12099
|
+
{ no: 5, name: "unsupported_conversion", kind: "message", T: SourceSubscriptionError_UnsupportedConversion, oneof: "error" },
|
|
12100
|
+
]);
|
|
12101
|
+
/**
|
|
12102
|
+
* @generated from message norsk.api.media.SourceSubscriptionError.SourceStream
|
|
12103
|
+
*/
|
|
12104
|
+
class SourceSubscriptionError_SourceStream extends protobuf_1.Message {
|
|
12105
|
+
constructor(data) {
|
|
12106
|
+
super();
|
|
12107
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
12108
|
+
}
|
|
12109
|
+
static fromBinary(bytes, options) {
|
|
12110
|
+
return new SourceSubscriptionError_SourceStream().fromBinary(bytes, options);
|
|
12111
|
+
}
|
|
12112
|
+
static fromJson(jsonValue, options) {
|
|
12113
|
+
return new SourceSubscriptionError_SourceStream().fromJson(jsonValue, options);
|
|
12114
|
+
}
|
|
12115
|
+
static fromJsonString(jsonString, options) {
|
|
12116
|
+
return new SourceSubscriptionError_SourceStream().fromJsonString(jsonString, options);
|
|
12117
|
+
}
|
|
12118
|
+
static equals(a, b) {
|
|
12119
|
+
return protobuf_1.proto3.util.equals(SourceSubscriptionError_SourceStream, a, b);
|
|
12120
|
+
}
|
|
12121
|
+
}
|
|
12122
|
+
exports.SourceSubscriptionError_SourceStream = SourceSubscriptionError_SourceStream;
|
|
12123
|
+
SourceSubscriptionError_SourceStream.runtime = protobuf_1.proto3;
|
|
12124
|
+
SourceSubscriptionError_SourceStream.typeName = "norsk.api.media.SourceSubscriptionError.SourceStream";
|
|
12125
|
+
SourceSubscriptionError_SourceStream.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
12126
|
+
{ no: 1, name: "media_node_id", kind: "message", T: MediaNodeId },
|
|
12127
|
+
{ no: 2, name: "stream_key", kind: "message", T: StreamKey },
|
|
12128
|
+
]);
|
|
12129
|
+
/**
|
|
12130
|
+
* @generated from message norsk.api.media.SourceSubscriptionError.NoSubscriberPin
|
|
12131
|
+
*/
|
|
12132
|
+
class SourceSubscriptionError_NoSubscriberPin extends protobuf_1.Message {
|
|
12133
|
+
constructor(data) {
|
|
12134
|
+
super();
|
|
12135
|
+
/**
|
|
12136
|
+
* @generated from field: string pin = 2;
|
|
12137
|
+
*/
|
|
12138
|
+
this.pin = "";
|
|
12139
|
+
/**
|
|
12140
|
+
* @generated from field: repeated string subscriber_pins = 3;
|
|
12141
|
+
*/
|
|
12142
|
+
this.subscriberPins = [];
|
|
12143
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
12144
|
+
}
|
|
12145
|
+
static fromBinary(bytes, options) {
|
|
12146
|
+
return new SourceSubscriptionError_NoSubscriberPin().fromBinary(bytes, options);
|
|
12147
|
+
}
|
|
12148
|
+
static fromJson(jsonValue, options) {
|
|
12149
|
+
return new SourceSubscriptionError_NoSubscriberPin().fromJson(jsonValue, options);
|
|
12150
|
+
}
|
|
12151
|
+
static fromJsonString(jsonString, options) {
|
|
12152
|
+
return new SourceSubscriptionError_NoSubscriberPin().fromJsonString(jsonString, options);
|
|
12153
|
+
}
|
|
12154
|
+
static equals(a, b) {
|
|
12155
|
+
return protobuf_1.proto3.util.equals(SourceSubscriptionError_NoSubscriberPin, a, b);
|
|
12156
|
+
}
|
|
12157
|
+
}
|
|
12158
|
+
exports.SourceSubscriptionError_NoSubscriberPin = SourceSubscriptionError_NoSubscriberPin;
|
|
12159
|
+
SourceSubscriptionError_NoSubscriberPin.runtime = protobuf_1.proto3;
|
|
12160
|
+
SourceSubscriptionError_NoSubscriberPin.typeName = "norsk.api.media.SourceSubscriptionError.NoSubscriberPin";
|
|
12161
|
+
SourceSubscriptionError_NoSubscriberPin.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
12162
|
+
{ no: 1, name: "source_stream", kind: "message", T: SourceSubscriptionError_SourceStream },
|
|
12163
|
+
{ no: 2, name: "pin", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
12164
|
+
{ no: 3, name: "subscriber_pins", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
12165
|
+
]);
|
|
12166
|
+
/**
|
|
12167
|
+
* @generated from message norsk.api.media.SourceSubscriptionError.UnsupportedConversion
|
|
12168
|
+
*/
|
|
12169
|
+
class SourceSubscriptionError_UnsupportedConversion extends protobuf_1.Message {
|
|
12170
|
+
constructor(data) {
|
|
12171
|
+
super();
|
|
12172
|
+
/**
|
|
12173
|
+
* @generated from field: repeated string source_types = 2;
|
|
12174
|
+
*/
|
|
12175
|
+
this.sourceTypes = [];
|
|
12176
|
+
/**
|
|
12177
|
+
* @generated from field: repeated string subscriber_types = 3;
|
|
12178
|
+
*/
|
|
12179
|
+
this.subscriberTypes = [];
|
|
12180
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
12181
|
+
}
|
|
12182
|
+
static fromBinary(bytes, options) {
|
|
12183
|
+
return new SourceSubscriptionError_UnsupportedConversion().fromBinary(bytes, options);
|
|
12184
|
+
}
|
|
12185
|
+
static fromJson(jsonValue, options) {
|
|
12186
|
+
return new SourceSubscriptionError_UnsupportedConversion().fromJson(jsonValue, options);
|
|
12187
|
+
}
|
|
12188
|
+
static fromJsonString(jsonString, options) {
|
|
12189
|
+
return new SourceSubscriptionError_UnsupportedConversion().fromJsonString(jsonString, options);
|
|
12190
|
+
}
|
|
12191
|
+
static equals(a, b) {
|
|
12192
|
+
return protobuf_1.proto3.util.equals(SourceSubscriptionError_UnsupportedConversion, a, b);
|
|
12193
|
+
}
|
|
12194
|
+
}
|
|
12195
|
+
exports.SourceSubscriptionError_UnsupportedConversion = SourceSubscriptionError_UnsupportedConversion;
|
|
12196
|
+
SourceSubscriptionError_UnsupportedConversion.runtime = protobuf_1.proto3;
|
|
12197
|
+
SourceSubscriptionError_UnsupportedConversion.typeName = "norsk.api.media.SourceSubscriptionError.UnsupportedConversion";
|
|
12198
|
+
SourceSubscriptionError_UnsupportedConversion.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
12199
|
+
{ no: 1, name: "source_stream", kind: "message", T: SourceSubscriptionError_SourceStream },
|
|
12200
|
+
{ no: 2, name: "source_types", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
12201
|
+
{ no: 3, name: "subscriber_types", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
11929
12202
|
]);
|
|
11930
12203
|
/**
|
|
11931
12204
|
* `Struct` represents a structured data value, consisting of fields
|