@norskvideo/norsk-api 1.0.360 → 1.0.364
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 +89 -26
- package/lib/media_grpc_pb.js +200 -62
- package/lib/media_pb.d.ts +489 -203
- package/lib/media_pb.js +617 -227
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +821 -296
- package/package.json +1 -1
package/lib/media_pb.js
CHANGED
|
@@ -5,15 +5,16 @@
|
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.MultiStreamStatistics = exports.TimestampSourceProgramNudge = exports.TimestampProgramNudge = exports.TimestampNudge = exports.ValidationResponseAck = exports.ValidationResponse_ContextValidationResponse = exports.ValidationResponse = exports.BlockingCallRef = exports.TaggedContext = exports.MultipleContext = exports.Context = exports.StreamMetadata_AncillaryMetadata = exports.StreamMetadata_PlaylistMetadata = 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.Interval = exports.Resolution = exports.MediaNodeId = exports.ContextType = exports.VideoIOSupport = exports.VideoConnection = exports.VancPayloadFormat = exports.MetadataKind = exports.SentenceStabilizationMode = exports.SentenceBuildMode = exports.NvidiaPreset = exports.DeckLinkDisplayModeId = exports.DeckLinkPixelFormat = exports.TestCardPattern = exports.SrtMode = exports.AncillaryType = exports.SubtitleFormat = exports.AudioCodec = exports.SampleFormat = exports.SampleRate = exports.NamedChannelLayout = exports.ChannelName = void 0;
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
8
|
+
exports.SrtConnectMessage = exports.SrtTsContext = exports.SrtInputMessage = exports.SrtInputConfiguration = exports.StreamWebVttInputEvent = exports.StreamWebVttError = exports.StreamWebVttInputConfiguration = exports.StreamWebVttInputMessage = exports.FileWebVttInputEvent = exports.FileWebVttInputConfiguration = exports.FileTsInputMessage = exports.FileTsInputConfigurationUpdate = exports.FileTsInputConfiguration_StartMode = exports.FileTsInputConfiguration = exports.TsInputEvent = exports.TsInputStatus_State = exports.TsInputStatus = exports.TsContext = exports.TsProgram_TsPid = exports.TsProgram_TsStreamType = exports.TsProgram = exports.RtmpServerInputEvent = exports.RtmpBytesRead = exports.RtmpError_UnsupportedAudio = exports.RtmpError_UnsupportedVideo = exports.RtmpError = exports.RtmpOnStream = exports.RtmpServerInputStatus_State = exports.RtmpServerInputStatus = exports.RtmpConnection = exports.RtmpServerInputMessage = exports.RtmpStreamReject = exports.RtmpStreamAccept = exports.RtmpConnectionReject = exports.RtmpConnectionAccept = exports.SslServerOptions = exports.RtmpServerInputConfiguration = exports.ConnectionId = exports.GopStructure_SinglePictureStructure = exports.GopStructure_PictureType = exports.GopStructure = exports.CodecPictureStructure_HEVCPictureStructure_HEVCSliceType = exports.CodecPictureStructure_HEVCPictureStructure = exports.CodecPictureStructure_H264PictureStructure_H264SliceType = exports.CodecPictureStructure_H264PictureStructure = exports.CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo = exports.CodecPictureStructure_Mpeg2PictureStructure = exports.CodecPictureStructure = exports.StreamStatisticsSampling = exports.MultiStreamStatistics_SingleStreamStatistics = void 0;
|
|
9
|
+
exports.WhipInputConfiguration = exports.WebRtcIceServer = exports.WebRtcConfiguration = 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 = exports.FileMp4InputEvent = exports.FileMp4InputInfo = exports.FileMp4InputStatus_State = exports.FileMp4InputStatus = exports.FileMp4InputMessage = exports.FileMp4InputConfigurationUpdate = exports.FileMp4InputConfiguration_StartMode = exports.FileMp4InputConfiguration = exports.FileImageInputEvent = exports.FileImageInputConfiguration_ImageFormat = exports.FileImageInputConfiguration_FileImageHardwareAcceleration = exports.FileImageInputConfiguration = exports.DeltacastInputEvent = exports.DeltacastInputMessage = exports.DeltacastInputConfiguration = exports.DeckLinkInputEvent = exports.DeckLinkInputMessage = exports.DeckLinkInputConfiguration = exports.DeckLinkCardIndex = exports.VideoTestCardGeneratorEvent = exports.VideoTestCardGeneratorMessage = exports.TestCardVideoConfiguration = exports.TestCardVideoSetup = exports.M3u8MediaInputEvent = exports.M3u8MediaInputMessage = exports.M3u8MediaInputConfiguration = exports.UdpTsInputMessage = exports.UdpTsInputConfiguration = exports.SrtInputEvent = exports.SrtInputStatus_State = exports.SrtInputStatus = exports.SrtConnectionClose = exports.SrtConnectionReject = exports.SrtConnectionAccept = void 0;
|
|
10
|
+
exports.HlsTsVideoConfiguration = exports.CmafVideoMessage = exports.CmafVideoConfiguration = exports.CMAFDestination = exports.LocalPullDestination = exports.AwsS3PushDestination = exports.Mp4Encryption_Mp4EncryptionScheme = exports.Mp4Encryption = exports.AudioSplitMultichannelEvent = exports.AudioSplitMultichannelConfiguration = exports.AudioSplitMultichannelMessage = exports.AudioSplitMultichannelSource = exports.AudioBuildMultichannelEvent = exports.AudioBuildMultichannelConfiguration = exports.AudioBuildMultichannelUpdateChannels = exports.AudioBuildMultichannelMessage = exports.AudioBuildMultichannelSource = exports.AudioGainEvent = exports.AudioGainUpdateConfiguration = exports.AudioGainConfiguration = exports.AudioGainMessage = exports.AudioMixMatrixEvent = exports.AudioMixMatrixUpdateConfiguration = exports.AudioMixMatrixConfiguration = exports.ChannelGainMapping = exports.AudioMixMatrixMessage = exports.AudioMixEvent = exports.AudioMixUpdateConfiguration = exports.AudioMixConfiguration = exports.AudioMixMessage = exports.AudioMixSource = exports.MetadataCombineEvent = exports.MetadataCombineConfiguration = exports.MetadataCombineMessage = exports.TransitionComplete = exports.VideoComposeSourceEvent = exports.VideoComposeUpdateConfiguration = exports.VideoComposeConfiguration_MissingStreamBehaviour = exports.VideoComposeConfiguration_PixelFormat = exports.VideoComposeConfiguration_ComposeHardwareAcceleration = exports.VideoComposeConfiguration = exports.VideoComposeMessage = exports.PartId = exports.Easing_SimpleEasing = exports.Easing = exports.Transition = exports.ComposePart = exports.OffsetRectangle = exports.WhipInputEvent = exports.WhipInputMessage = void 0;
|
|
11
|
+
exports.FileTsOutputConfiguration = exports.RtmpOutputEvent_State = exports.RtmpOutputEvent = exports.RtmpOutputMessage = exports.SslClientOptions = exports.RtmpOutputConfiguration = exports.WhepOutputEvent_State = exports.WhepOutputEvent = exports.WhepOutputMessage = exports.WhepOutputConfiguration = exports.WebRTCBrowserDuplexEvent = exports.WebRTCBrowserDuplexMessage = exports.WebRTCBrowserDuplexConfiguration = exports.WhipOutputEvent = exports.WhipOutputMessage = exports.WhipOutputConfiguration = exports.SrtOutputEvent = exports.SrtOutputMessage = exports.SrtOutputConfiguration = exports.UdpTsOutputEvent = exports.UdpTsOutputMessage = exports.UdpTsOutputConfiguration = exports.HlsOutputEvent = exports.HlsTsCombinedPushMessage = exports.HlsPushDestination = exports.HlsTsCombinedPushConfiguration = exports.HlsTsMultiVariantMessage = exports.HlsTsMultiVariantConfiguration = exports.CmafMultiVariantMessage = exports.CmafMultiVariantConfiguration = exports.CmafWebVttMessage = exports.MultiVariantPlaylistData = exports.TsMediaPlaylistData = exports.CmafMediaPlaylistData = exports.PlaylistPart = exports.ProgramDateTime = exports.HlsTag = exports.MediaSegment = exports.AdMarker = exports.UpdatePlaylist = exports.UpdateDestinationPlaylist = exports.UpdateCredentials = exports.AwsCredentials = exports.CmafWebVttUpdateConfiguration = exports.CmafWebVttConfiguration = exports.HlsTsAudioMessage = exports.HlsTsAudioConfiguration = exports.CmafAudioMessage = exports.CmafAudioConfiguration = exports.HlsTsVideoMessage = void 0;
|
|
12
|
+
exports.AmdU30H264_AmdU30H264Profile = exports.AmdU30H264 = exports.LoganHevc_LoganHevcTier = exports.LoganHevc_LoganHevcProfile = exports.LoganHevc = exports.LoganH264_LoganH264Profile = exports.LoganH264 = exports.QuadraHevc_QuadraHevcTier = exports.QuadraHevc_QuadraHevcProfile = exports.QuadraHevc = exports.QuadraH264_QuadraH264Profile = exports.QuadraH264 = exports.NvidiaHevc_NvidiaHevcTier = exports.NvidiaHevc_NvidiaHevcProfile = exports.NvidiaHevc = exports.NvidiaH264_NvidiaH264Profile = exports.NvidiaH264 = exports.NvidiaRateControl_NvidiaRateControlMode = exports.NvidiaRateControl = exports.VideoDecodeEvent = exports.VideoDecodeMessage = exports.VideoDecodeConfiguration_VideoDecoder = exports.VideoDecodeConfiguration = exports.VideoEncodeEvent = exports.VideoEncodeMessage = exports.VideoEncodeConfiguration = exports.VideoEncodeStream = exports.X265Codec_X265Tier = 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.SampleAspectRatio = exports.FrameRate = exports.FileWebVttOutputEvent = exports.FileWebVttOutputMessage = exports.FileWebVttOutputConfiguration = exports.FileMp4OutputEvent = exports.FileMp4OutputStatus_State = exports.FileMp4OutputStatus = exports.FileMp4OutputMessage = exports.FileMp4OutputWriteMessage = exports.FileMp4OutputConfiguration = exports.FileTsOutputEvent = exports.FileTsOutputMessage = void 0;
|
|
13
|
+
exports.AacEncodeConfiguration_AacProfile = exports.AacEncodeConfiguration = exports.StreamAlignEvent = exports.StreamAlignMessage = exports.StreamAlignConfiguration = exports.StreamSyncEvent = exports.StreamSyncMessage = exports.StreamSyncConfiguration = exports.JitterBufferEvent = exports.JitterBufferMessage = exports.JitterBufferConfiguration = exports.StreamMetadataOverrideEvent = exports.StreamMetadataOverrideMessage = exports.StreamMetadataOverrideUpdateConfiguration = exports.StreamMetadataOverrideConfiguration = exports.StreamKeyOverrideEvent = exports.StreamKeyOverrideMessage = exports.StreamKeyOverrideConfiguration = exports.StreamTimestampNudgeEvent = exports.StreamTimestampNudgeMessage = exports.StreamTimestampNudgeConfiguration = exports.StreamChaosMonkeyEvent = exports.StreamChaosMonkeyMessage = exports.StreamChaosMonkeyConfiguration = exports.VideoTransformEvent = exports.VideoTransformMessage = exports.VideoTransformConfiguration = exports.SoftwareDeinterlace_SoftwareDeinterlaceAlgorithm = exports.SoftwareDeinterlace = exports.NoDeinterlace = exports.AmdMA35DHevc_AmdMA35DHevcTier = exports.AmdMA35DHevc_AmdMA35DHevcProfile = exports.AmdMA35DHevc = exports.AmdMA35DH264_AmdMA35DH264Profile = exports.AmdMA35DH264 = exports.AmdMA35DEncodeCommon_ContentAdaptive = exports.AmdMA35DEncodeCommon_ConstrainedVBR = exports.AmdMA35DEncodeCommon_VBR = exports.AmdMA35DEncodeCommon_CBR = exports.AmdMA35DEncodeCommon_ConstQp = exports.AmdMA35DEncodeCommon_TrinaryFlag = exports.AmdMA35DEncodeCommon_TuneMetrics = exports.AmdMA35DEncodeCommon_QpMode = exports.AmdMA35DEncodeCommon_Preset = exports.AmdMA35DEncodeCommon = exports.AmdMA35DLoad_ComputeUnitLoad = exports.AmdMA35DLoad = exports.AmdU30Hevc_AmdU30HevcTier = exports.AmdU30Hevc_AmdU30HevcProfile = exports.AmdU30Hevc = void 0;
|
|
14
|
+
exports.AudioTranscribeAwsConfiguration = 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.StreamTimestampReportEvent = exports.StreamTimestampReport = exports.StreamTimestampReportMessage = exports.StreamTimestampReportConfiguration = exports.AudioMeasureLevelsEvent = exports.AudioMeasureLevels = exports.ChannelLevels = exports.Db = exports.AudioMeasureLevelsMessage = exports.AudioMeasureLevelsConfiguration = exports.StreamStatisticsEvent = exports.StreamStatisticsMessage = exports.StreamStatisticsConfiguration = exports.StreamSwitchHardEvent = exports.StreamSwitchHardMessage = exports.StreamSwitchHardSwitch = exports.StreamSwitchHardConfiguration = exports.StreamSwitchSmoothEvent = exports.StreamSwitchTransitionComplete = exports.StreamSwitchSmoothSwitchError = exports.StreamSwitchSmoothMessage = exports.StreamSwitchSmoothSwitch = exports.StreamSwitchSmoothConfiguration_Alignment = exports.StreamSwitchSmoothConfiguration_StreamSwitchSmoothHardwareAcceleration = exports.StreamSwitchSmoothConfiguration = exports.SubtitleConvertEvent = exports.SubtitleConvertMessage = exports.SubtitleConvertConfiguration = exports.Cta708EncodeConfiguration = exports.Cta608EncodeConfiguration_Cta608EncodeStyle = exports.Cta608EncodeConfiguration = exports.WebVttEncodeConfiguration = exports.AudioEncodeEvent = exports.AudioEncodeMessage = exports.AudioEncodeConfiguration = exports.OpusEncodeConfiguration = exports.AacEncodeConfiguration_AacEncapsulation = void 0;
|
|
15
|
+
exports.Scte35SegmentationComponent = exports.Scte35SegmentDeliveryRestrictions = exports.Scte35SegmentationDescriptor = exports.Scte35AudioComponent = exports.Scte35AudioDescriptor = exports.Scte35TimeDescriptor = exports.Scte35DtmfDescriptor = exports.Scte35AvailDescriptor = exports.Scte35GenericDescriptor = exports.Scte35SpliceDescriptor = exports.Scte35ScheduleCommandComponent = exports.Scte35ScheduleCommandMode_ScheduleComponent = exports.Scte35ScheduleCommandMode_ScheduleProgram = exports.Scte35ScheduleCommandMode = exports.Scte35ScheduleItem = exports.Scte35ScheduleCommand = exports.Scte35PrivateCommand = exports.Scte35BreakDuration = exports.Scte35SpliceTime = exports.Scte35InsertCommandComponent = exports.Scte35InsertCommandMode_InsertComponent = exports.Scte35InsertCommandMode_InsertProgram = exports.Scte35InsertCommandMode = exports.Scte35InsertCommand = exports.Scte35TimeSignalCommand = exports.Scte35SpliceCommand = exports.Scte35SpliceInfoSection = exports.StreamConditionEvent = exports.StreamConditionMessage = exports.StreamConditionConfiguration = exports.VancType2AncillaryId = exports.Smpte2038Message = exports.Scte35Event = exports.AncillaryEvent = exports.MetadataMessage = exports.AncillaryMessage = exports.AncillaryConfiguration = exports.SubtitleTranslateAwsEvent = exports.SubtitleTranslateAwsMessage = exports.SubtitleTranslateAwsConfiguration = exports.AudioTranscribeWhisperEvent = exports.AudioTranscribeWhisperMessage = exports.AudioTranscribeWhisperConfiguration_SamplingStrategy = exports.AudioTranscribeWhisperConfiguration = exports.AudioTranscribeAzureEvent = exports.AudioTranscribeAzureMessage = exports.AudioTranscribeAzureConfiguration_ProfanityOption = exports.AudioTranscribeAzureConfiguration = exports.AudioTranscribeAwsEvent = exports.AudioTranscribeAwsMessage = void 0;
|
|
16
|
+
exports.SubscriptionChannelMessage = exports.NorskStatusEvent = exports.Hello = 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.MA35DCard = exports.MA35DVersionInfo = exports.MA35DDeviceInfo = exports.DeckLinkDisplayModes = exports.DeckLinkDisplayMode = exports.DeckLinkCard = exports.CpuTopology = exports.NumaNode = exports.Processor = exports.Core = exports.LogicalCpuId = exports.MoqOutputEvent = exports.MoqOutputMessage = exports.MoqOutputConfiguration = exports.MediaStorePlayerEvent = exports.MediaStorePlayerMessage = exports.MediaStorePlayerConfiguration = exports.MediaStoreCutEvent = exports.MediaStoreAssetEvent = exports.MediaStoreAssetImportComplete = exports.MediaStoreAssetSettings = exports.MediaStoreRecorderEvent = exports.MediaStoreRecorderMessage = exports.MediaStoreCutComplete = exports.Progress = exports.MediaStoreCutRequest_FileFormat = exports.MediaStoreCutRequest = exports.SingleCut = exports.StreamSelection = exports.MediaStoreRecorderConfiguration = exports.MediaStoreExpiry = exports.MediaStoreMetadataResponse = exports.MediaStoreMetadataRequest = exports.MediaStoreSession = exports.MediaStoreStream = exports.MediaStoreStreamVersion = void 0;
|
|
17
|
+
exports.SubscriptionChannelResponse = void 0;
|
|
17
18
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
18
19
|
const common_pb_js_1 = require("./shared/common_pb.js");
|
|
19
20
|
/**
|
|
@@ -4121,6 +4122,12 @@ class FileWebVttInputConfiguration extends protobuf_1.Message {
|
|
|
4121
4122
|
* @generated from field: string filename = 3;
|
|
4122
4123
|
*/
|
|
4123
4124
|
this.filename = "";
|
|
4125
|
+
/**
|
|
4126
|
+
* Language tag to associate with the stream (optional)
|
|
4127
|
+
*
|
|
4128
|
+
* @generated from field: string language = 4;
|
|
4129
|
+
*/
|
|
4130
|
+
this.language = "";
|
|
4124
4131
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
4125
4132
|
}
|
|
4126
4133
|
static fromBinary(bytes, options) {
|
|
@@ -4143,6 +4150,8 @@ FileWebVttInputConfiguration.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
4143
4150
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
4144
4151
|
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4145
4152
|
{ no: 3, name: "filename", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4153
|
+
{ no: 4, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4154
|
+
{ no: 5, name: "rendition_name", kind: "message", T: RenditionName },
|
|
4146
4155
|
]);
|
|
4147
4156
|
/**
|
|
4148
4157
|
* @generated from message norsk.api.media.FileWebVttInputEvent
|
|
@@ -4176,6 +4185,143 @@ FileWebVttInputEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
4176
4185
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
4177
4186
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
4178
4187
|
]);
|
|
4188
|
+
/**
|
|
4189
|
+
* @generated from message norsk.api.media.StreamWebVttInputMessage
|
|
4190
|
+
*/
|
|
4191
|
+
class StreamWebVttInputMessage extends protobuf_1.Message {
|
|
4192
|
+
constructor(data) {
|
|
4193
|
+
super();
|
|
4194
|
+
/**
|
|
4195
|
+
* @generated from oneof norsk.api.media.StreamWebVttInputMessage.message
|
|
4196
|
+
*/
|
|
4197
|
+
this.message = { case: undefined };
|
|
4198
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
4199
|
+
}
|
|
4200
|
+
static fromBinary(bytes, options) {
|
|
4201
|
+
return new StreamWebVttInputMessage().fromBinary(bytes, options);
|
|
4202
|
+
}
|
|
4203
|
+
static fromJson(jsonValue, options) {
|
|
4204
|
+
return new StreamWebVttInputMessage().fromJson(jsonValue, options);
|
|
4205
|
+
}
|
|
4206
|
+
static fromJsonString(jsonString, options) {
|
|
4207
|
+
return new StreamWebVttInputMessage().fromJsonString(jsonString, options);
|
|
4208
|
+
}
|
|
4209
|
+
static equals(a, b) {
|
|
4210
|
+
return protobuf_1.proto3.util.equals(StreamWebVttInputMessage, a, b);
|
|
4211
|
+
}
|
|
4212
|
+
}
|
|
4213
|
+
exports.StreamWebVttInputMessage = StreamWebVttInputMessage;
|
|
4214
|
+
StreamWebVttInputMessage.runtime = protobuf_1.proto3;
|
|
4215
|
+
StreamWebVttInputMessage.typeName = "norsk.api.media.StreamWebVttInputMessage";
|
|
4216
|
+
StreamWebVttInputMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
4217
|
+
{ no: 1, name: "initial_config", kind: "message", T: StreamWebVttInputConfiguration, oneof: "message" },
|
|
4218
|
+
{ no: 2, name: "vtt_chunk", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "message" },
|
|
4219
|
+
{ no: 3, name: "nudge", kind: "message", T: TimestampNudge, oneof: "message" },
|
|
4220
|
+
]);
|
|
4221
|
+
/**
|
|
4222
|
+
* @generated from message norsk.api.media.StreamWebVttInputConfiguration
|
|
4223
|
+
*/
|
|
4224
|
+
class StreamWebVttInputConfiguration extends protobuf_1.Message {
|
|
4225
|
+
constructor(data) {
|
|
4226
|
+
super();
|
|
4227
|
+
/**
|
|
4228
|
+
* @generated from field: string source_name = 2;
|
|
4229
|
+
*/
|
|
4230
|
+
this.sourceName = "";
|
|
4231
|
+
/**
|
|
4232
|
+
* Language tag to associate with the stream (optional)
|
|
4233
|
+
*
|
|
4234
|
+
* @generated from field: string language = 3;
|
|
4235
|
+
*/
|
|
4236
|
+
this.language = "";
|
|
4237
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
4238
|
+
}
|
|
4239
|
+
static fromBinary(bytes, options) {
|
|
4240
|
+
return new StreamWebVttInputConfiguration().fromBinary(bytes, options);
|
|
4241
|
+
}
|
|
4242
|
+
static fromJson(jsonValue, options) {
|
|
4243
|
+
return new StreamWebVttInputConfiguration().fromJson(jsonValue, options);
|
|
4244
|
+
}
|
|
4245
|
+
static fromJsonString(jsonString, options) {
|
|
4246
|
+
return new StreamWebVttInputConfiguration().fromJsonString(jsonString, options);
|
|
4247
|
+
}
|
|
4248
|
+
static equals(a, b) {
|
|
4249
|
+
return protobuf_1.proto3.util.equals(StreamWebVttInputConfiguration, a, b);
|
|
4250
|
+
}
|
|
4251
|
+
}
|
|
4252
|
+
exports.StreamWebVttInputConfiguration = StreamWebVttInputConfiguration;
|
|
4253
|
+
StreamWebVttInputConfiguration.runtime = protobuf_1.proto3;
|
|
4254
|
+
StreamWebVttInputConfiguration.typeName = "norsk.api.media.StreamWebVttInputConfiguration";
|
|
4255
|
+
StreamWebVttInputConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
4256
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
4257
|
+
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4258
|
+
{ no: 3, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4259
|
+
{ no: 4, name: "rendition_name", kind: "message", T: RenditionName },
|
|
4260
|
+
]);
|
|
4261
|
+
/**
|
|
4262
|
+
* @generated from message norsk.api.media.StreamWebVttError
|
|
4263
|
+
*/
|
|
4264
|
+
class StreamWebVttError extends protobuf_1.Message {
|
|
4265
|
+
constructor(data) {
|
|
4266
|
+
super();
|
|
4267
|
+
/**
|
|
4268
|
+
* @generated from field: string text = 1;
|
|
4269
|
+
*/
|
|
4270
|
+
this.text = "";
|
|
4271
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
4272
|
+
}
|
|
4273
|
+
static fromBinary(bytes, options) {
|
|
4274
|
+
return new StreamWebVttError().fromBinary(bytes, options);
|
|
4275
|
+
}
|
|
4276
|
+
static fromJson(jsonValue, options) {
|
|
4277
|
+
return new StreamWebVttError().fromJson(jsonValue, options);
|
|
4278
|
+
}
|
|
4279
|
+
static fromJsonString(jsonString, options) {
|
|
4280
|
+
return new StreamWebVttError().fromJsonString(jsonString, options);
|
|
4281
|
+
}
|
|
4282
|
+
static equals(a, b) {
|
|
4283
|
+
return protobuf_1.proto3.util.equals(StreamWebVttError, a, b);
|
|
4284
|
+
}
|
|
4285
|
+
}
|
|
4286
|
+
exports.StreamWebVttError = StreamWebVttError;
|
|
4287
|
+
StreamWebVttError.runtime = protobuf_1.proto3;
|
|
4288
|
+
StreamWebVttError.typeName = "norsk.api.media.StreamWebVttError";
|
|
4289
|
+
StreamWebVttError.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
4290
|
+
{ no: 1, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4291
|
+
]);
|
|
4292
|
+
/**
|
|
4293
|
+
* @generated from message norsk.api.media.StreamWebVttInputEvent
|
|
4294
|
+
*/
|
|
4295
|
+
class StreamWebVttInputEvent extends protobuf_1.Message {
|
|
4296
|
+
constructor(data) {
|
|
4297
|
+
super();
|
|
4298
|
+
/**
|
|
4299
|
+
* @generated from oneof norsk.api.media.StreamWebVttInputEvent.message
|
|
4300
|
+
*/
|
|
4301
|
+
this.message = { case: undefined };
|
|
4302
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
4303
|
+
}
|
|
4304
|
+
static fromBinary(bytes, options) {
|
|
4305
|
+
return new StreamWebVttInputEvent().fromBinary(bytes, options);
|
|
4306
|
+
}
|
|
4307
|
+
static fromJson(jsonValue, options) {
|
|
4308
|
+
return new StreamWebVttInputEvent().fromJson(jsonValue, options);
|
|
4309
|
+
}
|
|
4310
|
+
static fromJsonString(jsonString, options) {
|
|
4311
|
+
return new StreamWebVttInputEvent().fromJsonString(jsonString, options);
|
|
4312
|
+
}
|
|
4313
|
+
static equals(a, b) {
|
|
4314
|
+
return protobuf_1.proto3.util.equals(StreamWebVttInputEvent, a, b);
|
|
4315
|
+
}
|
|
4316
|
+
}
|
|
4317
|
+
exports.StreamWebVttInputEvent = StreamWebVttInputEvent;
|
|
4318
|
+
StreamWebVttInputEvent.runtime = protobuf_1.proto3;
|
|
4319
|
+
StreamWebVttInputEvent.typeName = "norsk.api.media.StreamWebVttInputEvent";
|
|
4320
|
+
StreamWebVttInputEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
4321
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
4322
|
+
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
4323
|
+
{ no: 3, name: "error", kind: "message", T: StreamWebVttError, oneof: "message" },
|
|
4324
|
+
]);
|
|
4179
4325
|
/**
|
|
4180
4326
|
* @generated from message norsk.api.media.SrtInputConfiguration
|
|
4181
4327
|
*/
|
|
@@ -5041,9 +5187,13 @@ class DeltacastInputConfiguration extends protobuf_1.Message {
|
|
|
5041
5187
|
*/
|
|
5042
5188
|
this.deviceId = 0;
|
|
5043
5189
|
/**
|
|
5044
|
-
* @generated from field: uint32
|
|
5190
|
+
* @generated from field: uint32 channel_index = 4;
|
|
5045
5191
|
*/
|
|
5046
|
-
this.
|
|
5192
|
+
this.channelIndex = 0;
|
|
5193
|
+
/**
|
|
5194
|
+
* @generated from field: uint32 audio_channel_mask = 5;
|
|
5195
|
+
*/
|
|
5196
|
+
this.audioChannelMask = 0;
|
|
5047
5197
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
5048
5198
|
}
|
|
5049
5199
|
static fromBinary(bytes, options) {
|
|
@@ -5066,8 +5216,9 @@ DeltacastInputConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
5066
5216
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
5067
5217
|
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5068
5218
|
{ no: 3, name: "device_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
5069
|
-
{ no: 4, name: "
|
|
5070
|
-
{ no: 5, name: "
|
|
5219
|
+
{ no: 4, name: "channel_index", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
5220
|
+
{ no: 5, name: "audio_channel_mask", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
5221
|
+
{ no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
5071
5222
|
]);
|
|
5072
5223
|
/**
|
|
5073
5224
|
* @generated from message norsk.api.media.DeltacastInputMessage
|
|
@@ -17129,43 +17280,216 @@ Scte35SegmentationComponent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
17129
17280
|
]);
|
|
17130
17281
|
/**
|
|
17131
17282
|
* ////////////////////////////////////////////////////////////////////////////
|
|
17132
|
-
*
|
|
17283
|
+
* MediaStore
|
|
17133
17284
|
*
|
|
17134
|
-
* @generated from message norsk.api.media.
|
|
17285
|
+
* @generated from message norsk.api.media.MediaStoreStreamVersion
|
|
17286
|
+
*/
|
|
17287
|
+
class MediaStoreStreamVersion extends protobuf_1.Message {
|
|
17288
|
+
constructor(data) {
|
|
17289
|
+
super();
|
|
17290
|
+
/**
|
|
17291
|
+
* @generated from field: int32 version_num = 1;
|
|
17292
|
+
*/
|
|
17293
|
+
this.versionNum = 0;
|
|
17294
|
+
/**
|
|
17295
|
+
* @generated from field: uint64 duration_ms = 4;
|
|
17296
|
+
*/
|
|
17297
|
+
this.durationMs = protobuf_1.protoInt64.zero;
|
|
17298
|
+
/**
|
|
17299
|
+
* @generated from field: bool active = 5;
|
|
17300
|
+
*/
|
|
17301
|
+
this.active = false;
|
|
17302
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
17303
|
+
}
|
|
17304
|
+
static fromBinary(bytes, options) {
|
|
17305
|
+
return new MediaStoreStreamVersion().fromBinary(bytes, options);
|
|
17306
|
+
}
|
|
17307
|
+
static fromJson(jsonValue, options) {
|
|
17308
|
+
return new MediaStoreStreamVersion().fromJson(jsonValue, options);
|
|
17309
|
+
}
|
|
17310
|
+
static fromJsonString(jsonString, options) {
|
|
17311
|
+
return new MediaStoreStreamVersion().fromJsonString(jsonString, options);
|
|
17312
|
+
}
|
|
17313
|
+
static equals(a, b) {
|
|
17314
|
+
return protobuf_1.proto3.util.equals(MediaStoreStreamVersion, a, b);
|
|
17315
|
+
}
|
|
17316
|
+
}
|
|
17317
|
+
exports.MediaStoreStreamVersion = MediaStoreStreamVersion;
|
|
17318
|
+
MediaStoreStreamVersion.runtime = protobuf_1.proto3;
|
|
17319
|
+
MediaStoreStreamVersion.typeName = "norsk.api.media.MediaStoreStreamVersion";
|
|
17320
|
+
MediaStoreStreamVersion.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17321
|
+
{ no: 1, name: "version_num", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
17322
|
+
{ no: 2, name: "metadata", kind: "message", T: StreamMetadata },
|
|
17323
|
+
{ no: 3, name: "start_date_time", kind: "message", T: protobuf_1.Timestamp },
|
|
17324
|
+
{ no: 4, name: "duration_ms", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
17325
|
+
{ no: 5, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
17326
|
+
]);
|
|
17327
|
+
/**
|
|
17328
|
+
* @generated from message norsk.api.media.MediaStoreStream
|
|
17329
|
+
*/
|
|
17330
|
+
class MediaStoreStream extends protobuf_1.Message {
|
|
17331
|
+
constructor(data) {
|
|
17332
|
+
super();
|
|
17333
|
+
/**
|
|
17334
|
+
* @generated from field: repeated norsk.api.media.MediaStoreStreamVersion versions = 2;
|
|
17335
|
+
*/
|
|
17336
|
+
this.versions = [];
|
|
17337
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
17338
|
+
}
|
|
17339
|
+
static fromBinary(bytes, options) {
|
|
17340
|
+
return new MediaStoreStream().fromBinary(bytes, options);
|
|
17341
|
+
}
|
|
17342
|
+
static fromJson(jsonValue, options) {
|
|
17343
|
+
return new MediaStoreStream().fromJson(jsonValue, options);
|
|
17344
|
+
}
|
|
17345
|
+
static fromJsonString(jsonString, options) {
|
|
17346
|
+
return new MediaStoreStream().fromJsonString(jsonString, options);
|
|
17347
|
+
}
|
|
17348
|
+
static equals(a, b) {
|
|
17349
|
+
return protobuf_1.proto3.util.equals(MediaStoreStream, a, b);
|
|
17350
|
+
}
|
|
17351
|
+
}
|
|
17352
|
+
exports.MediaStoreStream = MediaStoreStream;
|
|
17353
|
+
MediaStoreStream.runtime = protobuf_1.proto3;
|
|
17354
|
+
MediaStoreStream.typeName = "norsk.api.media.MediaStoreStream";
|
|
17355
|
+
MediaStoreStream.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17356
|
+
{ no: 1, name: "stream_key", kind: "message", T: StreamKey },
|
|
17357
|
+
{ no: 2, name: "versions", kind: "message", T: MediaStoreStreamVersion, repeated: true },
|
|
17358
|
+
]);
|
|
17359
|
+
/**
|
|
17360
|
+
* @generated from message norsk.api.media.MediaStoreSession
|
|
17135
17361
|
*/
|
|
17136
|
-
class
|
|
17362
|
+
class MediaStoreSession extends protobuf_1.Message {
|
|
17137
17363
|
constructor(data) {
|
|
17138
17364
|
super();
|
|
17139
17365
|
/**
|
|
17140
|
-
* @generated from
|
|
17366
|
+
* @generated from field: int32 session_num = 1;
|
|
17367
|
+
*/
|
|
17368
|
+
this.sessionNum = 0;
|
|
17369
|
+
/**
|
|
17370
|
+
* @generated from field: repeated norsk.api.media.MediaStoreStream streams = 2;
|
|
17371
|
+
*/
|
|
17372
|
+
this.streams = [];
|
|
17373
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
17374
|
+
}
|
|
17375
|
+
static fromBinary(bytes, options) {
|
|
17376
|
+
return new MediaStoreSession().fromBinary(bytes, options);
|
|
17377
|
+
}
|
|
17378
|
+
static fromJson(jsonValue, options) {
|
|
17379
|
+
return new MediaStoreSession().fromJson(jsonValue, options);
|
|
17380
|
+
}
|
|
17381
|
+
static fromJsonString(jsonString, options) {
|
|
17382
|
+
return new MediaStoreSession().fromJsonString(jsonString, options);
|
|
17383
|
+
}
|
|
17384
|
+
static equals(a, b) {
|
|
17385
|
+
return protobuf_1.proto3.util.equals(MediaStoreSession, a, b);
|
|
17386
|
+
}
|
|
17387
|
+
}
|
|
17388
|
+
exports.MediaStoreSession = MediaStoreSession;
|
|
17389
|
+
MediaStoreSession.runtime = protobuf_1.proto3;
|
|
17390
|
+
MediaStoreSession.typeName = "norsk.api.media.MediaStoreSession";
|
|
17391
|
+
MediaStoreSession.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17392
|
+
{ no: 1, name: "session_num", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
17393
|
+
{ no: 2, name: "streams", kind: "message", T: MediaStoreStream, repeated: true },
|
|
17394
|
+
]);
|
|
17395
|
+
/**
|
|
17396
|
+
* @generated from message norsk.api.media.MediaStoreMetadataRequest
|
|
17397
|
+
*/
|
|
17398
|
+
class MediaStoreMetadataRequest extends protobuf_1.Message {
|
|
17399
|
+
constructor(data) {
|
|
17400
|
+
super();
|
|
17401
|
+
/**
|
|
17402
|
+
* @generated from field: string media_store_name = 1;
|
|
17403
|
+
*/
|
|
17404
|
+
this.mediaStoreName = "";
|
|
17405
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
17406
|
+
}
|
|
17407
|
+
static fromBinary(bytes, options) {
|
|
17408
|
+
return new MediaStoreMetadataRequest().fromBinary(bytes, options);
|
|
17409
|
+
}
|
|
17410
|
+
static fromJson(jsonValue, options) {
|
|
17411
|
+
return new MediaStoreMetadataRequest().fromJson(jsonValue, options);
|
|
17412
|
+
}
|
|
17413
|
+
static fromJsonString(jsonString, options) {
|
|
17414
|
+
return new MediaStoreMetadataRequest().fromJsonString(jsonString, options);
|
|
17415
|
+
}
|
|
17416
|
+
static equals(a, b) {
|
|
17417
|
+
return protobuf_1.proto3.util.equals(MediaStoreMetadataRequest, a, b);
|
|
17418
|
+
}
|
|
17419
|
+
}
|
|
17420
|
+
exports.MediaStoreMetadataRequest = MediaStoreMetadataRequest;
|
|
17421
|
+
MediaStoreMetadataRequest.runtime = protobuf_1.proto3;
|
|
17422
|
+
MediaStoreMetadataRequest.typeName = "norsk.api.media.MediaStoreMetadataRequest";
|
|
17423
|
+
MediaStoreMetadataRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17424
|
+
{ no: 1, name: "media_store_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17425
|
+
]);
|
|
17426
|
+
/**
|
|
17427
|
+
* @generated from message norsk.api.media.MediaStoreMetadataResponse
|
|
17428
|
+
*/
|
|
17429
|
+
class MediaStoreMetadataResponse extends protobuf_1.Message {
|
|
17430
|
+
constructor(data) {
|
|
17431
|
+
super();
|
|
17432
|
+
/**
|
|
17433
|
+
* @generated from field: repeated norsk.api.media.MediaStoreSession sessions = 1;
|
|
17434
|
+
*/
|
|
17435
|
+
this.sessions = [];
|
|
17436
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
17437
|
+
}
|
|
17438
|
+
static fromBinary(bytes, options) {
|
|
17439
|
+
return new MediaStoreMetadataResponse().fromBinary(bytes, options);
|
|
17440
|
+
}
|
|
17441
|
+
static fromJson(jsonValue, options) {
|
|
17442
|
+
return new MediaStoreMetadataResponse().fromJson(jsonValue, options);
|
|
17443
|
+
}
|
|
17444
|
+
static fromJsonString(jsonString, options) {
|
|
17445
|
+
return new MediaStoreMetadataResponse().fromJsonString(jsonString, options);
|
|
17446
|
+
}
|
|
17447
|
+
static equals(a, b) {
|
|
17448
|
+
return protobuf_1.proto3.util.equals(MediaStoreMetadataResponse, a, b);
|
|
17449
|
+
}
|
|
17450
|
+
}
|
|
17451
|
+
exports.MediaStoreMetadataResponse = MediaStoreMetadataResponse;
|
|
17452
|
+
MediaStoreMetadataResponse.runtime = protobuf_1.proto3;
|
|
17453
|
+
MediaStoreMetadataResponse.typeName = "norsk.api.media.MediaStoreMetadataResponse";
|
|
17454
|
+
MediaStoreMetadataResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17455
|
+
{ no: 1, name: "sessions", kind: "message", T: MediaStoreSession, repeated: true },
|
|
17456
|
+
]);
|
|
17457
|
+
/**
|
|
17458
|
+
* @generated from message norsk.api.media.MediaStoreExpiry
|
|
17459
|
+
*/
|
|
17460
|
+
class MediaStoreExpiry extends protobuf_1.Message {
|
|
17461
|
+
constructor(data) {
|
|
17462
|
+
super();
|
|
17463
|
+
/**
|
|
17464
|
+
* @generated from oneof norsk.api.media.MediaStoreExpiry.message
|
|
17141
17465
|
*/
|
|
17142
17466
|
this.message = { case: undefined };
|
|
17143
17467
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17144
17468
|
}
|
|
17145
17469
|
static fromBinary(bytes, options) {
|
|
17146
|
-
return new
|
|
17470
|
+
return new MediaStoreExpiry().fromBinary(bytes, options);
|
|
17147
17471
|
}
|
|
17148
17472
|
static fromJson(jsonValue, options) {
|
|
17149
|
-
return new
|
|
17473
|
+
return new MediaStoreExpiry().fromJson(jsonValue, options);
|
|
17150
17474
|
}
|
|
17151
17475
|
static fromJsonString(jsonString, options) {
|
|
17152
|
-
return new
|
|
17476
|
+
return new MediaStoreExpiry().fromJsonString(jsonString, options);
|
|
17153
17477
|
}
|
|
17154
17478
|
static equals(a, b) {
|
|
17155
|
-
return protobuf_1.proto3.util.equals(
|
|
17479
|
+
return protobuf_1.proto3.util.equals(MediaStoreExpiry, a, b);
|
|
17156
17480
|
}
|
|
17157
17481
|
}
|
|
17158
|
-
exports.
|
|
17159
|
-
|
|
17160
|
-
|
|
17161
|
-
|
|
17482
|
+
exports.MediaStoreExpiry = MediaStoreExpiry;
|
|
17483
|
+
MediaStoreExpiry.runtime = protobuf_1.proto3;
|
|
17484
|
+
MediaStoreExpiry.typeName = "norsk.api.media.MediaStoreExpiry";
|
|
17485
|
+
MediaStoreExpiry.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17162
17486
|
{ no: 1, name: "by_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
|
|
17163
17487
|
{ no: 2, name: "by_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "message" },
|
|
17164
17488
|
]);
|
|
17165
17489
|
/**
|
|
17166
|
-
* @generated from message norsk.api.media.
|
|
17490
|
+
* @generated from message norsk.api.media.MediaStoreRecorderConfiguration
|
|
17167
17491
|
*/
|
|
17168
|
-
class
|
|
17492
|
+
class MediaStoreRecorderConfiguration extends protobuf_1.Message {
|
|
17169
17493
|
constructor(data) {
|
|
17170
17494
|
super();
|
|
17171
17495
|
/**
|
|
@@ -17183,465 +17507,531 @@ class FrameStoreRecorderConfiguration extends protobuf_1.Message {
|
|
|
17183
17507
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17184
17508
|
}
|
|
17185
17509
|
static fromBinary(bytes, options) {
|
|
17186
|
-
return new
|
|
17510
|
+
return new MediaStoreRecorderConfiguration().fromBinary(bytes, options);
|
|
17187
17511
|
}
|
|
17188
17512
|
static fromJson(jsonValue, options) {
|
|
17189
|
-
return new
|
|
17513
|
+
return new MediaStoreRecorderConfiguration().fromJson(jsonValue, options);
|
|
17190
17514
|
}
|
|
17191
17515
|
static fromJsonString(jsonString, options) {
|
|
17192
|
-
return new
|
|
17516
|
+
return new MediaStoreRecorderConfiguration().fromJsonString(jsonString, options);
|
|
17193
17517
|
}
|
|
17194
17518
|
static equals(a, b) {
|
|
17195
|
-
return protobuf_1.proto3.util.equals(
|
|
17519
|
+
return protobuf_1.proto3.util.equals(MediaStoreRecorderConfiguration, a, b);
|
|
17196
17520
|
}
|
|
17197
17521
|
}
|
|
17198
|
-
exports.
|
|
17199
|
-
|
|
17200
|
-
|
|
17201
|
-
|
|
17522
|
+
exports.MediaStoreRecorderConfiguration = MediaStoreRecorderConfiguration;
|
|
17523
|
+
MediaStoreRecorderConfiguration.runtime = protobuf_1.proto3;
|
|
17524
|
+
MediaStoreRecorderConfiguration.typeName = "norsk.api.media.MediaStoreRecorderConfiguration";
|
|
17525
|
+
MediaStoreRecorderConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17202
17526
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
17203
17527
|
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17204
17528
|
{ no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17205
17529
|
{ no: 4, name: "chunk_file_duration_seconds", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
17206
|
-
{ no: 5, name: "expiry", kind: "message", T:
|
|
17530
|
+
{ no: 5, name: "expiry", kind: "message", T: MediaStoreExpiry },
|
|
17531
|
+
]);
|
|
17532
|
+
/**
|
|
17533
|
+
* @generated from message norsk.api.media.StreamSelection
|
|
17534
|
+
*/
|
|
17535
|
+
class StreamSelection extends protobuf_1.Message {
|
|
17536
|
+
constructor(data) {
|
|
17537
|
+
super();
|
|
17538
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
17539
|
+
}
|
|
17540
|
+
static fromBinary(bytes, options) {
|
|
17541
|
+
return new StreamSelection().fromBinary(bytes, options);
|
|
17542
|
+
}
|
|
17543
|
+
static fromJson(jsonValue, options) {
|
|
17544
|
+
return new StreamSelection().fromJson(jsonValue, options);
|
|
17545
|
+
}
|
|
17546
|
+
static fromJsonString(jsonString, options) {
|
|
17547
|
+
return new StreamSelection().fromJsonString(jsonString, options);
|
|
17548
|
+
}
|
|
17549
|
+
static equals(a, b) {
|
|
17550
|
+
return protobuf_1.proto3.util.equals(StreamSelection, a, b);
|
|
17551
|
+
}
|
|
17552
|
+
}
|
|
17553
|
+
exports.StreamSelection = StreamSelection;
|
|
17554
|
+
StreamSelection.runtime = protobuf_1.proto3;
|
|
17555
|
+
StreamSelection.typeName = "norsk.api.media.StreamSelection";
|
|
17556
|
+
StreamSelection.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17557
|
+
{ no: 1, name: "source_stream_key", kind: "message", T: StreamKey },
|
|
17558
|
+
{ no: 2, name: "output_stream_key", kind: "message", T: StreamKey },
|
|
17207
17559
|
]);
|
|
17208
17560
|
/**
|
|
17209
|
-
* @generated from message norsk.api.media.
|
|
17561
|
+
* @generated from message norsk.api.media.SingleCut
|
|
17210
17562
|
*/
|
|
17211
|
-
class
|
|
17563
|
+
class SingleCut extends protobuf_1.Message {
|
|
17212
17564
|
constructor(data) {
|
|
17213
17565
|
super();
|
|
17214
17566
|
/**
|
|
17215
|
-
* @generated from field: string
|
|
17567
|
+
* @generated from field: string media_store_name = 1;
|
|
17216
17568
|
*/
|
|
17217
|
-
this.
|
|
17569
|
+
this.mediaStoreName = "";
|
|
17218
17570
|
/**
|
|
17219
|
-
* @generated from field: repeated norsk.api.media.
|
|
17571
|
+
* @generated from field: repeated norsk.api.media.StreamSelection stream_selection = 2;
|
|
17220
17572
|
*/
|
|
17221
|
-
this.
|
|
17573
|
+
this.streamSelection = [];
|
|
17222
17574
|
/**
|
|
17223
|
-
* @generated from field:
|
|
17575
|
+
* @generated from field: uint32 duration_ms = 4;
|
|
17576
|
+
*/
|
|
17577
|
+
this.durationMs = 0;
|
|
17578
|
+
/**
|
|
17579
|
+
* @generated from field: bool trim_partial_segments = 5;
|
|
17224
17580
|
*/
|
|
17225
17581
|
this.trimPartialSegments = false;
|
|
17582
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
17583
|
+
}
|
|
17584
|
+
static fromBinary(bytes, options) {
|
|
17585
|
+
return new SingleCut().fromBinary(bytes, options);
|
|
17586
|
+
}
|
|
17587
|
+
static fromJson(jsonValue, options) {
|
|
17588
|
+
return new SingleCut().fromJson(jsonValue, options);
|
|
17589
|
+
}
|
|
17590
|
+
static fromJsonString(jsonString, options) {
|
|
17591
|
+
return new SingleCut().fromJsonString(jsonString, options);
|
|
17592
|
+
}
|
|
17593
|
+
static equals(a, b) {
|
|
17594
|
+
return protobuf_1.proto3.util.equals(SingleCut, a, b);
|
|
17595
|
+
}
|
|
17596
|
+
}
|
|
17597
|
+
exports.SingleCut = SingleCut;
|
|
17598
|
+
SingleCut.runtime = protobuf_1.proto3;
|
|
17599
|
+
SingleCut.typeName = "norsk.api.media.SingleCut";
|
|
17600
|
+
SingleCut.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17601
|
+
{ no: 1, name: "media_store_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17602
|
+
{ no: 2, name: "stream_selection", kind: "message", T: StreamSelection, repeated: true },
|
|
17603
|
+
{ no: 3, name: "start_date_time", kind: "message", T: protobuf_1.Timestamp },
|
|
17604
|
+
{ no: 4, name: "duration_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
17605
|
+
{ no: 5, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
17606
|
+
{ no: 6, name: "session_num", kind: "message", T: common_pb_js_1.OptionalInt },
|
|
17607
|
+
]);
|
|
17608
|
+
/**
|
|
17609
|
+
* @generated from message norsk.api.media.MediaStoreCutRequest
|
|
17610
|
+
*/
|
|
17611
|
+
class MediaStoreCutRequest extends protobuf_1.Message {
|
|
17612
|
+
constructor(data) {
|
|
17613
|
+
super();
|
|
17226
17614
|
/**
|
|
17227
|
-
* @generated from field: string
|
|
17615
|
+
* @generated from field: string id = 1;
|
|
17616
|
+
*/
|
|
17617
|
+
this.id = "";
|
|
17618
|
+
/**
|
|
17619
|
+
* @generated from field: repeated norsk.api.media.SingleCut cuts = 2;
|
|
17620
|
+
*/
|
|
17621
|
+
this.cuts = [];
|
|
17622
|
+
/**
|
|
17623
|
+
* @generated from field: string file_name = 3;
|
|
17228
17624
|
*/
|
|
17229
17625
|
this.fileName = "";
|
|
17230
17626
|
/**
|
|
17231
|
-
* @generated from field: norsk.api.media.
|
|
17627
|
+
* @generated from field: norsk.api.media.MediaStoreCutRequest.FileFormat file_format = 4;
|
|
17232
17628
|
*/
|
|
17233
|
-
this.fileFormat =
|
|
17629
|
+
this.fileFormat = MediaStoreCutRequest_FileFormat.CUT_MP4;
|
|
17234
17630
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17235
17631
|
}
|
|
17236
17632
|
static fromBinary(bytes, options) {
|
|
17237
|
-
return new
|
|
17633
|
+
return new MediaStoreCutRequest().fromBinary(bytes, options);
|
|
17238
17634
|
}
|
|
17239
17635
|
static fromJson(jsonValue, options) {
|
|
17240
|
-
return new
|
|
17636
|
+
return new MediaStoreCutRequest().fromJson(jsonValue, options);
|
|
17241
17637
|
}
|
|
17242
17638
|
static fromJsonString(jsonString, options) {
|
|
17243
|
-
return new
|
|
17639
|
+
return new MediaStoreCutRequest().fromJsonString(jsonString, options);
|
|
17244
17640
|
}
|
|
17245
17641
|
static equals(a, b) {
|
|
17246
|
-
return protobuf_1.proto3.util.equals(
|
|
17642
|
+
return protobuf_1.proto3.util.equals(MediaStoreCutRequest, a, b);
|
|
17247
17643
|
}
|
|
17248
17644
|
}
|
|
17249
|
-
exports.
|
|
17250
|
-
|
|
17251
|
-
|
|
17252
|
-
|
|
17645
|
+
exports.MediaStoreCutRequest = MediaStoreCutRequest;
|
|
17646
|
+
MediaStoreCutRequest.runtime = protobuf_1.proto3;
|
|
17647
|
+
MediaStoreCutRequest.typeName = "norsk.api.media.MediaStoreCutRequest";
|
|
17648
|
+
MediaStoreCutRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17253
17649
|
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17254
|
-
{ no: 2, name: "
|
|
17255
|
-
{ no: 3, name: "
|
|
17256
|
-
{ no: 4, name: "
|
|
17257
|
-
{ no: 5, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17258
|
-
{ no: 6, name: "file_format", kind: "enum", T: protobuf_1.proto3.getEnumType(FrameStoreCutRequest_FileFormat) },
|
|
17650
|
+
{ no: 2, name: "cuts", kind: "message", T: SingleCut, repeated: true },
|
|
17651
|
+
{ no: 3, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17652
|
+
{ no: 4, name: "file_format", kind: "enum", T: protobuf_1.proto3.getEnumType(MediaStoreCutRequest_FileFormat) },
|
|
17259
17653
|
]);
|
|
17260
17654
|
/**
|
|
17261
|
-
* @generated from enum norsk.api.media.
|
|
17655
|
+
* @generated from enum norsk.api.media.MediaStoreCutRequest.FileFormat
|
|
17262
17656
|
*/
|
|
17263
|
-
var
|
|
17264
|
-
(function (
|
|
17657
|
+
var MediaStoreCutRequest_FileFormat;
|
|
17658
|
+
(function (MediaStoreCutRequest_FileFormat) {
|
|
17265
17659
|
/**
|
|
17266
17660
|
* @generated from enum value: CUT_MP4 = 0;
|
|
17267
17661
|
*/
|
|
17268
|
-
|
|
17269
|
-
})(
|
|
17270
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
17271
|
-
protobuf_1.proto3.util.setEnumType(
|
|
17662
|
+
MediaStoreCutRequest_FileFormat[MediaStoreCutRequest_FileFormat["CUT_MP4"] = 0] = "CUT_MP4";
|
|
17663
|
+
})(MediaStoreCutRequest_FileFormat = exports.MediaStoreCutRequest_FileFormat || (exports.MediaStoreCutRequest_FileFormat = {}));
|
|
17664
|
+
// Retrieve enum metadata with: proto3.getEnumType(MediaStoreCutRequest_FileFormat)
|
|
17665
|
+
protobuf_1.proto3.util.setEnumType(MediaStoreCutRequest_FileFormat, "norsk.api.media.MediaStoreCutRequest.FileFormat", [
|
|
17272
17666
|
{ no: 0, name: "CUT_MP4" },
|
|
17273
17667
|
]);
|
|
17274
17668
|
/**
|
|
17275
|
-
* @generated from message norsk.api.media.
|
|
17669
|
+
* @generated from message norsk.api.media.Progress
|
|
17276
17670
|
*/
|
|
17277
|
-
class
|
|
17671
|
+
class Progress extends protobuf_1.Message {
|
|
17278
17672
|
constructor(data) {
|
|
17279
17673
|
super();
|
|
17280
17674
|
/**
|
|
17281
|
-
* @generated from field:
|
|
17282
|
-
*/
|
|
17283
|
-
this.id = "";
|
|
17284
|
-
/**
|
|
17285
|
-
* @generated from field: uint32 progress = 2;
|
|
17675
|
+
* @generated from field: uint32 progress = 1;
|
|
17286
17676
|
*/
|
|
17287
17677
|
this.progress = 0;
|
|
17288
17678
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17289
17679
|
}
|
|
17290
17680
|
static fromBinary(bytes, options) {
|
|
17291
|
-
return new
|
|
17681
|
+
return new Progress().fromBinary(bytes, options);
|
|
17292
17682
|
}
|
|
17293
17683
|
static fromJson(jsonValue, options) {
|
|
17294
|
-
return new
|
|
17684
|
+
return new Progress().fromJson(jsonValue, options);
|
|
17295
17685
|
}
|
|
17296
17686
|
static fromJsonString(jsonString, options) {
|
|
17297
|
-
return new
|
|
17687
|
+
return new Progress().fromJsonString(jsonString, options);
|
|
17298
17688
|
}
|
|
17299
17689
|
static equals(a, b) {
|
|
17300
|
-
return protobuf_1.proto3.util.equals(
|
|
17690
|
+
return protobuf_1.proto3.util.equals(Progress, a, b);
|
|
17301
17691
|
}
|
|
17302
17692
|
}
|
|
17303
|
-
exports.
|
|
17304
|
-
|
|
17305
|
-
|
|
17306
|
-
|
|
17307
|
-
{ no: 1, name: "
|
|
17308
|
-
{ no: 2, name: "progress", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
17693
|
+
exports.Progress = Progress;
|
|
17694
|
+
Progress.runtime = protobuf_1.proto3;
|
|
17695
|
+
Progress.typeName = "norsk.api.media.Progress";
|
|
17696
|
+
Progress.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17697
|
+
{ no: 1, name: "progress", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
17309
17698
|
]);
|
|
17310
17699
|
/**
|
|
17311
|
-
* @generated from message norsk.api.media.
|
|
17700
|
+
* @generated from message norsk.api.media.MediaStoreCutComplete
|
|
17312
17701
|
*/
|
|
17313
|
-
class
|
|
17702
|
+
class MediaStoreCutComplete extends protobuf_1.Message {
|
|
17314
17703
|
constructor(data) {
|
|
17315
17704
|
super();
|
|
17316
17705
|
/**
|
|
17317
|
-
* @generated from field:
|
|
17318
|
-
*/
|
|
17319
|
-
this.id = "";
|
|
17320
|
-
/**
|
|
17321
|
-
* @generated from field: uint64 size = 2;
|
|
17706
|
+
* @generated from field: uint64 size = 1;
|
|
17322
17707
|
*/
|
|
17323
17708
|
this.size = protobuf_1.protoInt64.zero;
|
|
17324
17709
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17325
17710
|
}
|
|
17326
17711
|
static fromBinary(bytes, options) {
|
|
17327
|
-
return new
|
|
17712
|
+
return new MediaStoreCutComplete().fromBinary(bytes, options);
|
|
17328
17713
|
}
|
|
17329
17714
|
static fromJson(jsonValue, options) {
|
|
17330
|
-
return new
|
|
17715
|
+
return new MediaStoreCutComplete().fromJson(jsonValue, options);
|
|
17331
17716
|
}
|
|
17332
17717
|
static fromJsonString(jsonString, options) {
|
|
17333
|
-
return new
|
|
17718
|
+
return new MediaStoreCutComplete().fromJsonString(jsonString, options);
|
|
17334
17719
|
}
|
|
17335
17720
|
static equals(a, b) {
|
|
17336
|
-
return protobuf_1.proto3.util.equals(
|
|
17721
|
+
return protobuf_1.proto3.util.equals(MediaStoreCutComplete, a, b);
|
|
17337
17722
|
}
|
|
17338
17723
|
}
|
|
17339
|
-
exports.
|
|
17340
|
-
|
|
17341
|
-
|
|
17342
|
-
|
|
17343
|
-
{ no: 1, name: "
|
|
17344
|
-
{ no: 2, name: "size", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
17724
|
+
exports.MediaStoreCutComplete = MediaStoreCutComplete;
|
|
17725
|
+
MediaStoreCutComplete.runtime = protobuf_1.proto3;
|
|
17726
|
+
MediaStoreCutComplete.typeName = "norsk.api.media.MediaStoreCutComplete";
|
|
17727
|
+
MediaStoreCutComplete.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17728
|
+
{ no: 1, name: "size", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
17345
17729
|
]);
|
|
17346
17730
|
/**
|
|
17347
|
-
* @generated from message norsk.api.media.
|
|
17731
|
+
* @generated from message norsk.api.media.MediaStoreRecorderMessage
|
|
17348
17732
|
*/
|
|
17349
|
-
class
|
|
17733
|
+
class MediaStoreRecorderMessage extends protobuf_1.Message {
|
|
17350
17734
|
constructor(data) {
|
|
17351
17735
|
super();
|
|
17352
17736
|
/**
|
|
17353
|
-
* @generated from oneof norsk.api.media.
|
|
17737
|
+
* @generated from oneof norsk.api.media.MediaStoreRecorderMessage.message
|
|
17354
17738
|
*/
|
|
17355
17739
|
this.message = { case: undefined };
|
|
17356
17740
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17357
17741
|
}
|
|
17358
17742
|
static fromBinary(bytes, options) {
|
|
17359
|
-
return new
|
|
17743
|
+
return new MediaStoreRecorderMessage().fromBinary(bytes, options);
|
|
17360
17744
|
}
|
|
17361
17745
|
static fromJson(jsonValue, options) {
|
|
17362
|
-
return new
|
|
17746
|
+
return new MediaStoreRecorderMessage().fromJson(jsonValue, options);
|
|
17363
17747
|
}
|
|
17364
17748
|
static fromJsonString(jsonString, options) {
|
|
17365
|
-
return new
|
|
17749
|
+
return new MediaStoreRecorderMessage().fromJsonString(jsonString, options);
|
|
17366
17750
|
}
|
|
17367
17751
|
static equals(a, b) {
|
|
17368
|
-
return protobuf_1.proto3.util.equals(
|
|
17752
|
+
return protobuf_1.proto3.util.equals(MediaStoreRecorderMessage, a, b);
|
|
17369
17753
|
}
|
|
17370
17754
|
}
|
|
17371
|
-
exports.
|
|
17372
|
-
|
|
17373
|
-
|
|
17374
|
-
|
|
17755
|
+
exports.MediaStoreRecorderMessage = MediaStoreRecorderMessage;
|
|
17756
|
+
MediaStoreRecorderMessage.runtime = protobuf_1.proto3;
|
|
17757
|
+
MediaStoreRecorderMessage.typeName = "norsk.api.media.MediaStoreRecorderMessage";
|
|
17758
|
+
MediaStoreRecorderMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17375
17759
|
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
17376
|
-
{ no: 2, name: "configuration", kind: "message", T:
|
|
17377
|
-
{ no: 3, name: "cut_request", kind: "message", T: FrameStoreCutRequest, oneof: "message" },
|
|
17760
|
+
{ no: 2, name: "configuration", kind: "message", T: MediaStoreRecorderConfiguration, oneof: "message" },
|
|
17378
17761
|
]);
|
|
17379
17762
|
/**
|
|
17380
|
-
* @generated from message norsk.api.media.
|
|
17763
|
+
* @generated from message norsk.api.media.MediaStoreRecorderEvent
|
|
17381
17764
|
*/
|
|
17382
|
-
class
|
|
17765
|
+
class MediaStoreRecorderEvent extends protobuf_1.Message {
|
|
17383
17766
|
constructor(data) {
|
|
17384
17767
|
super();
|
|
17385
17768
|
/**
|
|
17386
|
-
* @generated from oneof norsk.api.media.
|
|
17769
|
+
* @generated from oneof norsk.api.media.MediaStoreRecorderEvent.message
|
|
17387
17770
|
*/
|
|
17388
17771
|
this.message = { case: undefined };
|
|
17389
17772
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17390
17773
|
}
|
|
17391
17774
|
static fromBinary(bytes, options) {
|
|
17392
|
-
return new
|
|
17775
|
+
return new MediaStoreRecorderEvent().fromBinary(bytes, options);
|
|
17393
17776
|
}
|
|
17394
17777
|
static fromJson(jsonValue, options) {
|
|
17395
|
-
return new
|
|
17778
|
+
return new MediaStoreRecorderEvent().fromJson(jsonValue, options);
|
|
17396
17779
|
}
|
|
17397
17780
|
static fromJsonString(jsonString, options) {
|
|
17398
|
-
return new
|
|
17781
|
+
return new MediaStoreRecorderEvent().fromJsonString(jsonString, options);
|
|
17399
17782
|
}
|
|
17400
17783
|
static equals(a, b) {
|
|
17401
|
-
return protobuf_1.proto3.util.equals(
|
|
17784
|
+
return protobuf_1.proto3.util.equals(MediaStoreRecorderEvent, a, b);
|
|
17402
17785
|
}
|
|
17403
17786
|
}
|
|
17404
|
-
exports.
|
|
17405
|
-
|
|
17406
|
-
|
|
17407
|
-
|
|
17787
|
+
exports.MediaStoreRecorderEvent = MediaStoreRecorderEvent;
|
|
17788
|
+
MediaStoreRecorderEvent.runtime = protobuf_1.proto3;
|
|
17789
|
+
MediaStoreRecorderEvent.typeName = "norsk.api.media.MediaStoreRecorderEvent";
|
|
17790
|
+
MediaStoreRecorderEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17408
17791
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
17409
17792
|
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
17410
17793
|
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17411
|
-
{ no: 4, name: "cut_progress", kind: "message", T: FrameStoreCutProgress, oneof: "message" },
|
|
17412
|
-
{ no: 5, name: "cut_complete", kind: "message", T: FrameStoreCutComplete, oneof: "message" },
|
|
17413
17794
|
]);
|
|
17414
17795
|
/**
|
|
17415
|
-
* @generated from message norsk.api.media.
|
|
17796
|
+
* @generated from message norsk.api.media.MediaStoreAssetSettings
|
|
17416
17797
|
*/
|
|
17417
|
-
class
|
|
17798
|
+
class MediaStoreAssetSettings extends protobuf_1.Message {
|
|
17418
17799
|
constructor(data) {
|
|
17419
17800
|
super();
|
|
17420
17801
|
/**
|
|
17421
|
-
* @generated from field:
|
|
17802
|
+
* @generated from field: string media_store_name = 1;
|
|
17422
17803
|
*/
|
|
17423
|
-
this.
|
|
17804
|
+
this.mediaStoreName = "";
|
|
17805
|
+
/**
|
|
17806
|
+
* @generated from field: string file_name = 2;
|
|
17807
|
+
*/
|
|
17808
|
+
this.fileName = "";
|
|
17809
|
+
/**
|
|
17810
|
+
* @generated from field: string path = 3;
|
|
17811
|
+
*/
|
|
17812
|
+
this.path = "";
|
|
17424
17813
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17425
17814
|
}
|
|
17426
17815
|
static fromBinary(bytes, options) {
|
|
17427
|
-
return new
|
|
17816
|
+
return new MediaStoreAssetSettings().fromBinary(bytes, options);
|
|
17428
17817
|
}
|
|
17429
17818
|
static fromJson(jsonValue, options) {
|
|
17430
|
-
return new
|
|
17819
|
+
return new MediaStoreAssetSettings().fromJson(jsonValue, options);
|
|
17431
17820
|
}
|
|
17432
17821
|
static fromJsonString(jsonString, options) {
|
|
17433
|
-
return new
|
|
17822
|
+
return new MediaStoreAssetSettings().fromJsonString(jsonString, options);
|
|
17434
17823
|
}
|
|
17435
17824
|
static equals(a, b) {
|
|
17436
|
-
return protobuf_1.proto3.util.equals(
|
|
17825
|
+
return protobuf_1.proto3.util.equals(MediaStoreAssetSettings, a, b);
|
|
17437
17826
|
}
|
|
17438
17827
|
}
|
|
17439
|
-
exports.
|
|
17440
|
-
|
|
17441
|
-
|
|
17442
|
-
|
|
17443
|
-
{ no: 1, name: "
|
|
17444
|
-
{ no: 2, name: "
|
|
17445
|
-
{ no: 3, name: "
|
|
17828
|
+
exports.MediaStoreAssetSettings = MediaStoreAssetSettings;
|
|
17829
|
+
MediaStoreAssetSettings.runtime = protobuf_1.proto3;
|
|
17830
|
+
MediaStoreAssetSettings.typeName = "norsk.api.media.MediaStoreAssetSettings";
|
|
17831
|
+
MediaStoreAssetSettings.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17832
|
+
{ no: 1, name: "media_store_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17833
|
+
{ no: 2, name: "file_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17834
|
+
{ no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17446
17835
|
]);
|
|
17447
17836
|
/**
|
|
17448
|
-
* @generated from message norsk.api.media.
|
|
17837
|
+
* @generated from message norsk.api.media.MediaStoreAssetImportComplete
|
|
17449
17838
|
*/
|
|
17450
|
-
class
|
|
17839
|
+
class MediaStoreAssetImportComplete extends protobuf_1.Message {
|
|
17451
17840
|
constructor(data) {
|
|
17452
17841
|
super();
|
|
17453
17842
|
/**
|
|
17454
|
-
* @generated from
|
|
17843
|
+
* @generated from field: uint64 duration_ms = 1;
|
|
17455
17844
|
*/
|
|
17456
|
-
this.
|
|
17845
|
+
this.durationMs = protobuf_1.protoInt64.zero;
|
|
17846
|
+
/**
|
|
17847
|
+
* @generated from field: uint64 size = 2;
|
|
17848
|
+
*/
|
|
17849
|
+
this.size = protobuf_1.protoInt64.zero;
|
|
17457
17850
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17458
17851
|
}
|
|
17459
17852
|
static fromBinary(bytes, options) {
|
|
17460
|
-
return new
|
|
17853
|
+
return new MediaStoreAssetImportComplete().fromBinary(bytes, options);
|
|
17461
17854
|
}
|
|
17462
17855
|
static fromJson(jsonValue, options) {
|
|
17463
|
-
return new
|
|
17856
|
+
return new MediaStoreAssetImportComplete().fromJson(jsonValue, options);
|
|
17464
17857
|
}
|
|
17465
17858
|
static fromJsonString(jsonString, options) {
|
|
17466
|
-
return new
|
|
17859
|
+
return new MediaStoreAssetImportComplete().fromJsonString(jsonString, options);
|
|
17467
17860
|
}
|
|
17468
17861
|
static equals(a, b) {
|
|
17469
|
-
return protobuf_1.proto3.util.equals(
|
|
17862
|
+
return protobuf_1.proto3.util.equals(MediaStoreAssetImportComplete, a, b);
|
|
17470
17863
|
}
|
|
17471
17864
|
}
|
|
17472
|
-
exports.
|
|
17473
|
-
|
|
17474
|
-
|
|
17475
|
-
|
|
17476
|
-
{ no: 1, name: "
|
|
17477
|
-
{ no: 2, name: "
|
|
17865
|
+
exports.MediaStoreAssetImportComplete = MediaStoreAssetImportComplete;
|
|
17866
|
+
MediaStoreAssetImportComplete.runtime = protobuf_1.proto3;
|
|
17867
|
+
MediaStoreAssetImportComplete.typeName = "norsk.api.media.MediaStoreAssetImportComplete";
|
|
17868
|
+
MediaStoreAssetImportComplete.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17869
|
+
{ no: 1, name: "duration_ms", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
17870
|
+
{ no: 2, name: "size", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
17478
17871
|
]);
|
|
17479
17872
|
/**
|
|
17480
|
-
* @generated from message norsk.api.media.
|
|
17873
|
+
* @generated from message norsk.api.media.MediaStoreAssetEvent
|
|
17481
17874
|
*/
|
|
17482
|
-
class
|
|
17875
|
+
class MediaStoreAssetEvent extends protobuf_1.Message {
|
|
17483
17876
|
constructor(data) {
|
|
17484
17877
|
super();
|
|
17878
|
+
/**
|
|
17879
|
+
* @generated from oneof norsk.api.media.MediaStoreAssetEvent.message
|
|
17880
|
+
*/
|
|
17881
|
+
this.message = { case: undefined };
|
|
17485
17882
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17486
17883
|
}
|
|
17487
17884
|
static fromBinary(bytes, options) {
|
|
17488
|
-
return new
|
|
17885
|
+
return new MediaStoreAssetEvent().fromBinary(bytes, options);
|
|
17489
17886
|
}
|
|
17490
17887
|
static fromJson(jsonValue, options) {
|
|
17491
|
-
return new
|
|
17888
|
+
return new MediaStoreAssetEvent().fromJson(jsonValue, options);
|
|
17492
17889
|
}
|
|
17493
17890
|
static fromJsonString(jsonString, options) {
|
|
17494
|
-
return new
|
|
17891
|
+
return new MediaStoreAssetEvent().fromJsonString(jsonString, options);
|
|
17495
17892
|
}
|
|
17496
17893
|
static equals(a, b) {
|
|
17497
|
-
return protobuf_1.proto3.util.equals(
|
|
17894
|
+
return protobuf_1.proto3.util.equals(MediaStoreAssetEvent, a, b);
|
|
17498
17895
|
}
|
|
17499
17896
|
}
|
|
17500
|
-
exports.
|
|
17501
|
-
|
|
17502
|
-
|
|
17503
|
-
|
|
17897
|
+
exports.MediaStoreAssetEvent = MediaStoreAssetEvent;
|
|
17898
|
+
MediaStoreAssetEvent.runtime = protobuf_1.proto3;
|
|
17899
|
+
MediaStoreAssetEvent.typeName = "norsk.api.media.MediaStoreAssetEvent";
|
|
17900
|
+
MediaStoreAssetEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17901
|
+
{ no: 1, name: "import_progress", kind: "message", T: Progress, oneof: "message" },
|
|
17902
|
+
{ no: 2, name: "import_complete", kind: "message", T: MediaStoreAssetImportComplete, oneof: "message" },
|
|
17903
|
+
]);
|
|
17504
17904
|
/**
|
|
17505
|
-
* @generated from message norsk.api.media.
|
|
17905
|
+
* @generated from message norsk.api.media.MediaStoreCutEvent
|
|
17506
17906
|
*/
|
|
17507
|
-
class
|
|
17907
|
+
class MediaStoreCutEvent extends protobuf_1.Message {
|
|
17508
17908
|
constructor(data) {
|
|
17509
17909
|
super();
|
|
17510
17910
|
/**
|
|
17511
|
-
* @generated from
|
|
17911
|
+
* @generated from oneof norsk.api.media.MediaStoreCutEvent.message
|
|
17512
17912
|
*/
|
|
17513
|
-
this.
|
|
17913
|
+
this.message = { case: undefined };
|
|
17514
17914
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17515
17915
|
}
|
|
17516
17916
|
static fromBinary(bytes, options) {
|
|
17517
|
-
return new
|
|
17917
|
+
return new MediaStoreCutEvent().fromBinary(bytes, options);
|
|
17518
17918
|
}
|
|
17519
17919
|
static fromJson(jsonValue, options) {
|
|
17520
|
-
return new
|
|
17920
|
+
return new MediaStoreCutEvent().fromJson(jsonValue, options);
|
|
17521
17921
|
}
|
|
17522
17922
|
static fromJsonString(jsonString, options) {
|
|
17523
|
-
return new
|
|
17923
|
+
return new MediaStoreCutEvent().fromJsonString(jsonString, options);
|
|
17524
17924
|
}
|
|
17525
17925
|
static equals(a, b) {
|
|
17526
|
-
return protobuf_1.proto3.util.equals(
|
|
17926
|
+
return protobuf_1.proto3.util.equals(MediaStoreCutEvent, a, b);
|
|
17527
17927
|
}
|
|
17528
17928
|
}
|
|
17529
|
-
exports.
|
|
17530
|
-
|
|
17531
|
-
|
|
17532
|
-
|
|
17533
|
-
{ no: 1, name: "
|
|
17929
|
+
exports.MediaStoreCutEvent = MediaStoreCutEvent;
|
|
17930
|
+
MediaStoreCutEvent.runtime = protobuf_1.proto3;
|
|
17931
|
+
MediaStoreCutEvent.typeName = "norsk.api.media.MediaStoreCutEvent";
|
|
17932
|
+
MediaStoreCutEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17933
|
+
{ no: 1, name: "cut_progress", kind: "message", T: Progress, oneof: "message" },
|
|
17934
|
+
{ no: 2, name: "cut_complete", kind: "message", T: MediaStoreCutComplete, oneof: "message" },
|
|
17534
17935
|
]);
|
|
17535
17936
|
/**
|
|
17536
|
-
* @generated from message norsk.api.media.
|
|
17937
|
+
* @generated from message norsk.api.media.MediaStorePlayerConfiguration
|
|
17537
17938
|
*/
|
|
17538
|
-
class
|
|
17939
|
+
class MediaStorePlayerConfiguration extends protobuf_1.Message {
|
|
17539
17940
|
constructor(data) {
|
|
17540
17941
|
super();
|
|
17541
17942
|
/**
|
|
17542
|
-
* @generated from field: string
|
|
17543
|
-
*/
|
|
17544
|
-
this.name = "";
|
|
17545
|
-
/**
|
|
17546
|
-
* @generated from field: string source_name = 3;
|
|
17943
|
+
* @generated from field: string source_name = 2;
|
|
17547
17944
|
*/
|
|
17548
17945
|
this.sourceName = "";
|
|
17549
17946
|
/**
|
|
17550
|
-
* @generated from field: repeated norsk.api.media.SingleCut cuts =
|
|
17947
|
+
* @generated from field: repeated norsk.api.media.SingleCut cuts = 4;
|
|
17551
17948
|
*/
|
|
17552
17949
|
this.cuts = [];
|
|
17553
|
-
/**
|
|
17554
|
-
* @generated from field: bool trim_partial_segments = 7;
|
|
17555
|
-
*/
|
|
17556
|
-
this.trimPartialSegments = false;
|
|
17557
17950
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17558
17951
|
}
|
|
17559
17952
|
static fromBinary(bytes, options) {
|
|
17560
|
-
return new
|
|
17953
|
+
return new MediaStorePlayerConfiguration().fromBinary(bytes, options);
|
|
17561
17954
|
}
|
|
17562
17955
|
static fromJson(jsonValue, options) {
|
|
17563
|
-
return new
|
|
17956
|
+
return new MediaStorePlayerConfiguration().fromJson(jsonValue, options);
|
|
17564
17957
|
}
|
|
17565
17958
|
static fromJsonString(jsonString, options) {
|
|
17566
|
-
return new
|
|
17959
|
+
return new MediaStorePlayerConfiguration().fromJsonString(jsonString, options);
|
|
17567
17960
|
}
|
|
17568
17961
|
static equals(a, b) {
|
|
17569
|
-
return protobuf_1.proto3.util.equals(
|
|
17962
|
+
return protobuf_1.proto3.util.equals(MediaStorePlayerConfiguration, a, b);
|
|
17570
17963
|
}
|
|
17571
17964
|
}
|
|
17572
|
-
exports.
|
|
17573
|
-
|
|
17574
|
-
|
|
17575
|
-
|
|
17965
|
+
exports.MediaStorePlayerConfiguration = MediaStorePlayerConfiguration;
|
|
17966
|
+
MediaStorePlayerConfiguration.runtime = protobuf_1.proto3;
|
|
17967
|
+
MediaStorePlayerConfiguration.typeName = "norsk.api.media.MediaStorePlayerConfiguration";
|
|
17968
|
+
MediaStorePlayerConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17576
17969
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
17577
|
-
{ no: 2, name: "
|
|
17578
|
-
{ no: 3, name: "
|
|
17579
|
-
{ no: 4, name: "
|
|
17580
|
-
{ no: 5, name: "stream_selection", kind: "message", T: StreamSelection },
|
|
17581
|
-
{ no: 6, name: "cuts", kind: "message", T: SingleCut, repeated: true },
|
|
17582
|
-
{ no: 7, name: "trim_partial_segments", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
17970
|
+
{ no: 2, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17971
|
+
{ no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
17972
|
+
{ no: 4, name: "cuts", kind: "message", T: SingleCut, repeated: true },
|
|
17583
17973
|
]);
|
|
17584
17974
|
/**
|
|
17585
|
-
* @generated from message norsk.api.media.
|
|
17975
|
+
* @generated from message norsk.api.media.MediaStorePlayerMessage
|
|
17586
17976
|
*/
|
|
17587
|
-
class
|
|
17977
|
+
class MediaStorePlayerMessage extends protobuf_1.Message {
|
|
17588
17978
|
constructor(data) {
|
|
17589
17979
|
super();
|
|
17590
17980
|
/**
|
|
17591
|
-
* @generated from oneof norsk.api.media.
|
|
17981
|
+
* @generated from oneof norsk.api.media.MediaStorePlayerMessage.message
|
|
17592
17982
|
*/
|
|
17593
17983
|
this.message = { case: undefined };
|
|
17594
17984
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17595
17985
|
}
|
|
17596
17986
|
static fromBinary(bytes, options) {
|
|
17597
|
-
return new
|
|
17987
|
+
return new MediaStorePlayerMessage().fromBinary(bytes, options);
|
|
17598
17988
|
}
|
|
17599
17989
|
static fromJson(jsonValue, options) {
|
|
17600
|
-
return new
|
|
17990
|
+
return new MediaStorePlayerMessage().fromJson(jsonValue, options);
|
|
17601
17991
|
}
|
|
17602
17992
|
static fromJsonString(jsonString, options) {
|
|
17603
|
-
return new
|
|
17993
|
+
return new MediaStorePlayerMessage().fromJsonString(jsonString, options);
|
|
17604
17994
|
}
|
|
17605
17995
|
static equals(a, b) {
|
|
17606
|
-
return protobuf_1.proto3.util.equals(
|
|
17996
|
+
return protobuf_1.proto3.util.equals(MediaStorePlayerMessage, a, b);
|
|
17607
17997
|
}
|
|
17608
17998
|
}
|
|
17609
|
-
exports.
|
|
17610
|
-
|
|
17611
|
-
|
|
17612
|
-
|
|
17613
|
-
{ no: 1, name: "initial_config", kind: "message", T:
|
|
17999
|
+
exports.MediaStorePlayerMessage = MediaStorePlayerMessage;
|
|
18000
|
+
MediaStorePlayerMessage.runtime = protobuf_1.proto3;
|
|
18001
|
+
MediaStorePlayerMessage.typeName = "norsk.api.media.MediaStorePlayerMessage";
|
|
18002
|
+
MediaStorePlayerMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
18003
|
+
{ no: 1, name: "initial_config", kind: "message", T: MediaStorePlayerConfiguration, oneof: "message" },
|
|
17614
18004
|
{ no: 2, name: "nudge", kind: "message", T: TimestampNudge, oneof: "message" },
|
|
17615
18005
|
]);
|
|
17616
18006
|
/**
|
|
17617
|
-
* @generated from message norsk.api.media.
|
|
18007
|
+
* @generated from message norsk.api.media.MediaStorePlayerEvent
|
|
17618
18008
|
*/
|
|
17619
|
-
class
|
|
18009
|
+
class MediaStorePlayerEvent extends protobuf_1.Message {
|
|
17620
18010
|
constructor(data) {
|
|
17621
18011
|
super();
|
|
17622
18012
|
/**
|
|
17623
|
-
* @generated from oneof norsk.api.media.
|
|
18013
|
+
* @generated from oneof norsk.api.media.MediaStorePlayerEvent.message
|
|
17624
18014
|
*/
|
|
17625
18015
|
this.message = { case: undefined };
|
|
17626
18016
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
17627
18017
|
}
|
|
17628
18018
|
static fromBinary(bytes, options) {
|
|
17629
|
-
return new
|
|
18019
|
+
return new MediaStorePlayerEvent().fromBinary(bytes, options);
|
|
17630
18020
|
}
|
|
17631
18021
|
static fromJson(jsonValue, options) {
|
|
17632
|
-
return new
|
|
18022
|
+
return new MediaStorePlayerEvent().fromJson(jsonValue, options);
|
|
17633
18023
|
}
|
|
17634
18024
|
static fromJsonString(jsonString, options) {
|
|
17635
|
-
return new
|
|
18025
|
+
return new MediaStorePlayerEvent().fromJsonString(jsonString, options);
|
|
17636
18026
|
}
|
|
17637
18027
|
static equals(a, b) {
|
|
17638
|
-
return protobuf_1.proto3.util.equals(
|
|
18028
|
+
return protobuf_1.proto3.util.equals(MediaStorePlayerEvent, a, b);
|
|
17639
18029
|
}
|
|
17640
18030
|
}
|
|
17641
|
-
exports.
|
|
17642
|
-
|
|
17643
|
-
|
|
17644
|
-
|
|
18031
|
+
exports.MediaStorePlayerEvent = MediaStorePlayerEvent;
|
|
18032
|
+
MediaStorePlayerEvent.runtime = protobuf_1.proto3;
|
|
18033
|
+
MediaStorePlayerEvent.typeName = "norsk.api.media.MediaStorePlayerEvent";
|
|
18034
|
+
MediaStorePlayerEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
17645
18035
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
17646
18036
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
17647
18037
|
{ no: 3, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|