@norskvideo/norsk-api 1.0.342 → 1.0.344
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 +13 -13
- package/lib/media_grpc_pb.js +33 -35
- package/lib/media_pb.d.ts +141 -37
- package/lib/media_pb.js +148 -47
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +198 -52
- package/package.json +1 -1
package/lib/media_pb.js
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
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.
|
|
14
|
-
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 = exports.DeckLinkDisplayMode = exports.DeckLinkCard = exports.CpuTopology = exports.NumaNode = exports.Processor = exports.Core = exports.LogicalCpuId = 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 = void 0;
|
|
7
|
+
exports.StreamStatisticsSampling = exports.MultiStreamStatistics_SingleStreamStatistics = 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.Resolution = exports.MediaNodeId = exports.NullValue = exports.Code = exports.ContextType = exports.VideoIOSupport = exports.VideoConnection = exports.VancPayloadFormat = exports.SentenceStabilizationMode = exports.SentenceBuildMode = exports.NvidiaPreset = exports.DeckLinkDisplayModeId = exports.DeckLinkPixelFormat = exports.TestCardPattern = exports.SrtMode = exports.AudioCodec = exports.SampleFormat = exports.SampleRate = exports.NamedChannelLayout = exports.ChannelName = void 0;
|
|
8
|
+
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.FileWebVttInputEvent = exports.FileWebVttInputConfiguration = exports.FileTsInputMessage = exports.FileTsInputConfigurationUpdate = 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.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 = void 0;
|
|
9
|
+
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 = 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 = exports.FileImageInputEvent = exports.FileImageInputConfiguration_ImageFormat = exports.FileImageInputConfiguration = exports.DeckLinkInputEvent = exports.DeckLinkInputMessage = exports.DeckLinkInputConfiguration = exports.DeckLinkCardIndex = exports.VideoTestCardGeneratorEvent = exports.VideoTestCardGeneratorMessage = exports.TestCardVideoConfiguration = exports.TestCardVideoSetup = exports.M3u8MediaInputEvent = exports.M3u8MediaInputMessage = exports.M3u8MediaInputConfiguration = void 0;
|
|
10
|
+
exports.HlsOutputEvent = exports.HlsTsCombinedPushMessage = exports.HlsPushDestination = exports.HlsTsCombinedPushConfiguration = exports.CmafMultiVariantMessage = exports.CmafMultiVariantConfiguration = exports.CmafWebVttMessage = exports.UpdateCredentials = exports.AwsCredentials = exports.CmafWebVttUpdateConfiguration = exports.CmafWebVttConfiguration = exports.HlsTsAudioMessage = exports.HlsTsAudioConfiguration = exports.CmafAudioMessage = exports.CmafAudioConfiguration = exports.HlsTsVideoMessage = 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.TransitionComplete = exports.VideoComposeSourceEvent = exports.VideoComposeUpdateConfiguration = void 0;
|
|
11
|
+
exports.NvidiaRateControl_NvidiaRateControlMode = exports.NvidiaRateControl = 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.OptionalString = exports.OptionalBool = exports.OptionalInt64 = exports.OptionalInt = exports.SampleAspectRatio = exports.FrameRate = exports.FileMp4OutputEvent = exports.FileMp4OutputStatus_State = exports.FileMp4OutputStatus = exports.FileMp4OutputMessage = exports.FileMp4OutputWriteMessage = exports.FileMp4OutputConfiguration = exports.FileTsOutputEvent = exports.FileTsOutputMessage = exports.FileTsOutputConfiguration = exports.RtmpOutputEvent_State = exports.RtmpOutputEvent = exports.RtmpOutputMessage = exports.RtmpOutputConfiguration = 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 = void 0;
|
|
12
|
+
exports.AudioEncodeConfiguration = exports.OpusEncodeConfiguration = exports.AacEncodeConfiguration_AacEncapsulation = 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.XilinxHevc_XilinxHevcTier = exports.XilinxHevc_XilinxHevcProfile = exports.XilinxHevc = exports.XilinxH264_XilinxH264Profile = exports.XilinxH264 = 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 = void 0;
|
|
13
|
+
exports.Scte35InsertCommandMode_InsertProgram = exports.Scte35InsertCommandMode = exports.Scte35InsertCommand = exports.Scte35TimeSignalCommand = exports.Scte35SpliceCommand = exports.Scte35SpliceInfoSection = exports.VancType2AncillaryId = exports.Smpte2038Message = exports.Scte35Event = exports.AncillaryEvent = exports.AncillaryMessage = exports.AncillaryConfiguration = exports.AudioTranscribeAwsEvent = exports.AudioTranscribeAwsMessage = 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.AudioMeasureLevelsEvent = exports.AudioMeasureLevels = exports.ChannelLevels = exports.Db = exports.Interval = 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 = exports.AudioEncodeEvent = exports.AudioEncodeMessage = void 0;
|
|
14
|
+
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 = exports.DeckLinkDisplayMode = exports.DeckLinkCard = exports.CpuTopology = exports.NumaNode = exports.Processor = exports.Core = exports.LogicalCpuId = 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 = void 0;
|
|
15
15
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
16
16
|
const common_pb_js_1 = require("./shared/common_pb.js");
|
|
17
17
|
/**
|
|
@@ -523,6 +523,10 @@ var AudioCodec;
|
|
|
523
523
|
* @generated from enum value: MULAW = 6;
|
|
524
524
|
*/
|
|
525
525
|
AudioCodec[AudioCodec["MULAW"] = 6] = "MULAW";
|
|
526
|
+
/**
|
|
527
|
+
* @generated from enum value: AC3 = 7;
|
|
528
|
+
*/
|
|
529
|
+
AudioCodec[AudioCodec["AC3"] = 7] = "AC3";
|
|
526
530
|
})(AudioCodec = exports.AudioCodec || (exports.AudioCodec = {}));
|
|
527
531
|
// Retrieve enum metadata with: proto3.getEnumType(AudioCodec)
|
|
528
532
|
protobuf_1.proto3.util.setEnumType(AudioCodec, "norsk.api.media.AudioCodec", [
|
|
@@ -533,6 +537,7 @@ protobuf_1.proto3.util.setEnumType(AudioCodec, "norsk.api.media.AudioCodec", [
|
|
|
533
537
|
{ no: 4, name: "EAC3" },
|
|
534
538
|
{ no: 5, name: "ALAW" },
|
|
535
539
|
{ no: 6, name: "MULAW" },
|
|
540
|
+
{ no: 7, name: "AC3" },
|
|
536
541
|
]);
|
|
537
542
|
/**
|
|
538
543
|
* @generated from enum norsk.api.media.SrtMode
|
|
@@ -553,6 +558,30 @@ protobuf_1.proto3.util.setEnumType(SrtMode, "norsk.api.media.SrtMode", [
|
|
|
553
558
|
{ no: 0, name: "Listener" },
|
|
554
559
|
{ no: 1, name: "Caller" },
|
|
555
560
|
]);
|
|
561
|
+
/**
|
|
562
|
+
* @generated from enum norsk.api.media.TestCardPattern
|
|
563
|
+
*/
|
|
564
|
+
var TestCardPattern;
|
|
565
|
+
(function (TestCardPattern) {
|
|
566
|
+
/**
|
|
567
|
+
* @generated from enum value: Black = 0;
|
|
568
|
+
*/
|
|
569
|
+
TestCardPattern[TestCardPattern["Black"] = 0] = "Black";
|
|
570
|
+
/**
|
|
571
|
+
* @generated from enum value: Smpte75 = 1;
|
|
572
|
+
*/
|
|
573
|
+
TestCardPattern[TestCardPattern["Smpte75"] = 1] = "Smpte75";
|
|
574
|
+
/**
|
|
575
|
+
* @generated from enum value: Smpte100 = 2;
|
|
576
|
+
*/
|
|
577
|
+
TestCardPattern[TestCardPattern["Smpte100"] = 2] = "Smpte100";
|
|
578
|
+
})(TestCardPattern = exports.TestCardPattern || (exports.TestCardPattern = {}));
|
|
579
|
+
// Retrieve enum metadata with: proto3.getEnumType(TestCardPattern)
|
|
580
|
+
protobuf_1.proto3.util.setEnumType(TestCardPattern, "norsk.api.media.TestCardPattern", [
|
|
581
|
+
{ no: 0, name: "Black" },
|
|
582
|
+
{ no: 1, name: "Smpte75" },
|
|
583
|
+
{ no: 2, name: "Smpte100" },
|
|
584
|
+
]);
|
|
556
585
|
/**
|
|
557
586
|
* ///////////////////////////////
|
|
558
587
|
* DeckLink Input
|
|
@@ -2155,6 +2184,12 @@ class StreamMetadata_AudioMetadata extends protobuf_1.Message {
|
|
|
2155
2184
|
* @generated from field: norsk.api.media.SampleRate sample_rate = 3;
|
|
2156
2185
|
*/
|
|
2157
2186
|
this.sampleRate = SampleRate.RATE_8000;
|
|
2187
|
+
/**
|
|
2188
|
+
* the bitrate in bits per second
|
|
2189
|
+
*
|
|
2190
|
+
* @generated from field: int32 bitrate = 5;
|
|
2191
|
+
*/
|
|
2192
|
+
this.bitrate = 0;
|
|
2158
2193
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
2159
2194
|
}
|
|
2160
2195
|
static fromBinary(bytes, options) {
|
|
@@ -2177,6 +2212,7 @@ StreamMetadata_AudioMetadata.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
2177
2212
|
{ no: 2, name: "codec", kind: "enum", T: protobuf_1.proto3.getEnumType(AudioCodec) },
|
|
2178
2213
|
{ no: 3, name: "sample_rate", kind: "enum", T: protobuf_1.proto3.getEnumType(SampleRate) },
|
|
2179
2214
|
{ no: 4, name: "channel_layout", kind: "message", T: ChannelLayout },
|
|
2215
|
+
{ no: 5, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2180
2216
|
]);
|
|
2181
2217
|
/**
|
|
2182
2218
|
* Metadata for a video stream
|
|
@@ -2204,6 +2240,12 @@ class StreamMetadata_VideoMetadata extends protobuf_1.Message {
|
|
|
2204
2240
|
* @generated from field: sint32 height = 4;
|
|
2205
2241
|
*/
|
|
2206
2242
|
this.height = 0;
|
|
2243
|
+
/**
|
|
2244
|
+
* the bitrate in bits per second
|
|
2245
|
+
*
|
|
2246
|
+
* @generated from field: int32 bitrate = 5;
|
|
2247
|
+
*/
|
|
2248
|
+
this.bitrate = 0;
|
|
2207
2249
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
2208
2250
|
}
|
|
2209
2251
|
static fromBinary(bytes, options) {
|
|
@@ -2226,6 +2268,8 @@ StreamMetadata_VideoMetadata.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
2226
2268
|
{ no: 2, name: "codec", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2227
2269
|
{ no: 3, name: "width", kind: "scalar", T: 17 /* ScalarType.SINT32 */ },
|
|
2228
2270
|
{ no: 4, name: "height", kind: "scalar", T: 17 /* ScalarType.SINT32 */ },
|
|
2271
|
+
{ no: 5, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2272
|
+
{ no: 6, name: "frame_rate", kind: "message", T: FrameRate },
|
|
2229
2273
|
]);
|
|
2230
2274
|
/**
|
|
2231
2275
|
* Metadata for a subtitle stream
|
|
@@ -2262,6 +2306,12 @@ StreamMetadata_SubtitleMetadata.fields = protobuf_1.proto3.util.newFieldList(()
|
|
|
2262
2306
|
class StreamMetadata_PlaylistMetadata extends protobuf_1.Message {
|
|
2263
2307
|
constructor(data) {
|
|
2264
2308
|
super();
|
|
2309
|
+
/**
|
|
2310
|
+
* the bitrate in bits per second
|
|
2311
|
+
*
|
|
2312
|
+
* @generated from field: int32 bitrate = 2;
|
|
2313
|
+
*/
|
|
2314
|
+
this.bitrate = 0;
|
|
2265
2315
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
2266
2316
|
}
|
|
2267
2317
|
static fromBinary(bytes, options) {
|
|
@@ -2280,7 +2330,9 @@ class StreamMetadata_PlaylistMetadata extends protobuf_1.Message {
|
|
|
2280
2330
|
exports.StreamMetadata_PlaylistMetadata = StreamMetadata_PlaylistMetadata;
|
|
2281
2331
|
StreamMetadata_PlaylistMetadata.runtime = protobuf_1.proto3;
|
|
2282
2332
|
StreamMetadata_PlaylistMetadata.typeName = "norsk.api.media.StreamMetadata.PlaylistMetadata";
|
|
2283
|
-
StreamMetadata_PlaylistMetadata.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2333
|
+
StreamMetadata_PlaylistMetadata.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
2334
|
+
{ no: 2, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2335
|
+
]);
|
|
2284
2336
|
/**
|
|
2285
2337
|
* Metadata for an ancillary stream
|
|
2286
2338
|
*
|
|
@@ -4702,13 +4754,21 @@ class TestCardVideoConfiguration extends protobuf_1.Message {
|
|
|
4702
4754
|
constructor(data) {
|
|
4703
4755
|
super();
|
|
4704
4756
|
/**
|
|
4705
|
-
* @generated from field: string source_name =
|
|
4757
|
+
* @generated from field: string source_name = 3;
|
|
4706
4758
|
*/
|
|
4707
4759
|
this.sourceName = "";
|
|
4708
4760
|
/**
|
|
4709
|
-
* @generated from field: int32 number_of_frames =
|
|
4761
|
+
* @generated from field: int32 number_of_frames = 4;
|
|
4710
4762
|
*/
|
|
4711
4763
|
this.numberOfFrames = 0;
|
|
4764
|
+
/**
|
|
4765
|
+
* @generated from field: bool realtime = 5;
|
|
4766
|
+
*/
|
|
4767
|
+
this.realtime = false;
|
|
4768
|
+
/**
|
|
4769
|
+
* @generated from field: norsk.api.media.TestCardPattern pattern = 6;
|
|
4770
|
+
*/
|
|
4771
|
+
this.pattern = TestCardPattern.Black;
|
|
4712
4772
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
4713
4773
|
}
|
|
4714
4774
|
static fromBinary(bytes, options) {
|
|
@@ -4729,8 +4789,11 @@ TestCardVideoConfiguration.runtime = protobuf_1.proto3;
|
|
|
4729
4789
|
TestCardVideoConfiguration.typeName = "norsk.api.media.TestCardVideoConfiguration";
|
|
4730
4790
|
TestCardVideoConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
4731
4791
|
{ no: 1, name: "resolution", kind: "message", T: Resolution },
|
|
4732
|
-
{ no: 2, name: "
|
|
4733
|
-
{ no: 3, name: "
|
|
4792
|
+
{ no: 2, name: "frame_rate", kind: "message", T: FrameRate },
|
|
4793
|
+
{ no: 3, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
4794
|
+
{ no: 4, name: "number_of_frames", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
4795
|
+
{ no: 5, name: "realtime", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
4796
|
+
{ no: 6, name: "pattern", kind: "enum", T: protobuf_1.proto3.getEnumType(TestCardPattern) },
|
|
4734
4797
|
]);
|
|
4735
4798
|
/**
|
|
4736
4799
|
* @generated from message norsk.api.media.VideoTestCardGeneratorMessage
|
|
@@ -4795,7 +4858,6 @@ VideoTestCardGeneratorEvent.typeName = "norsk.api.media.VideoTestCardGeneratorEv
|
|
|
4795
4858
|
VideoTestCardGeneratorEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
4796
4859
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
4797
4860
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
4798
|
-
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
4799
4861
|
]);
|
|
4800
4862
|
/**
|
|
4801
4863
|
* @generated from message norsk.api.media.DeckLinkCardIndex
|
|
@@ -11109,6 +11171,7 @@ StreamChaosMonkeyConfiguration.fields = protobuf_1.proto3.util.newFieldList(() =
|
|
|
11109
11171
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
11110
11172
|
{ no: 2, name: "random", kind: "scalar", T: 2 /* ScalarType.FLOAT */, oneof: "dropFramesMode" },
|
|
11111
11173
|
{ no: 3, name: "everyOther", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "dropFramesMode" },
|
|
11174
|
+
{ no: 5, name: "start", kind: "scalar", T: 13 /* ScalarType.UINT32 */, oneof: "dropFramesMode" },
|
|
11112
11175
|
{ no: 4, name: "jitter_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
11113
11176
|
]);
|
|
11114
11177
|
/**
|
|
@@ -11686,93 +11749,101 @@ StreamSyncEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
11686
11749
|
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
11687
11750
|
]);
|
|
11688
11751
|
/**
|
|
11689
|
-
* @generated from message norsk.api.media.
|
|
11752
|
+
* @generated from message norsk.api.media.StreamAlignConfiguration
|
|
11690
11753
|
*/
|
|
11691
|
-
class
|
|
11754
|
+
class StreamAlignConfiguration extends protobuf_1.Message {
|
|
11692
11755
|
constructor(data) {
|
|
11693
11756
|
super();
|
|
11757
|
+
/**
|
|
11758
|
+
* The normalisd sample rate of the audio output
|
|
11759
|
+
*
|
|
11760
|
+
* @generated from field: norsk.api.media.SampleRate sample_rate = 2;
|
|
11761
|
+
*/
|
|
11762
|
+
this.sampleRate = SampleRate.RATE_8000;
|
|
11694
11763
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
11695
11764
|
}
|
|
11696
11765
|
static fromBinary(bytes, options) {
|
|
11697
|
-
return new
|
|
11766
|
+
return new StreamAlignConfiguration().fromBinary(bytes, options);
|
|
11698
11767
|
}
|
|
11699
11768
|
static fromJson(jsonValue, options) {
|
|
11700
|
-
return new
|
|
11769
|
+
return new StreamAlignConfiguration().fromJson(jsonValue, options);
|
|
11701
11770
|
}
|
|
11702
11771
|
static fromJsonString(jsonString, options) {
|
|
11703
|
-
return new
|
|
11772
|
+
return new StreamAlignConfiguration().fromJsonString(jsonString, options);
|
|
11704
11773
|
}
|
|
11705
11774
|
static equals(a, b) {
|
|
11706
|
-
return protobuf_1.proto3.util.equals(
|
|
11775
|
+
return protobuf_1.proto3.util.equals(StreamAlignConfiguration, a, b);
|
|
11707
11776
|
}
|
|
11708
11777
|
}
|
|
11709
|
-
exports.
|
|
11710
|
-
|
|
11711
|
-
|
|
11712
|
-
|
|
11778
|
+
exports.StreamAlignConfiguration = StreamAlignConfiguration;
|
|
11779
|
+
StreamAlignConfiguration.runtime = protobuf_1.proto3;
|
|
11780
|
+
StreamAlignConfiguration.typeName = "norsk.api.media.StreamAlignConfiguration";
|
|
11781
|
+
StreamAlignConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
11713
11782
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
11783
|
+
{ no: 2, name: "sample_rate", kind: "enum", T: protobuf_1.proto3.getEnumType(SampleRate) },
|
|
11784
|
+
{ no: 3, name: "frame_rate", kind: "message", T: FrameRate },
|
|
11714
11785
|
]);
|
|
11715
11786
|
/**
|
|
11716
|
-
* @generated from message norsk.api.media.
|
|
11787
|
+
* @generated from message norsk.api.media.StreamAlignMessage
|
|
11717
11788
|
*/
|
|
11718
|
-
class
|
|
11789
|
+
class StreamAlignMessage extends protobuf_1.Message {
|
|
11719
11790
|
constructor(data) {
|
|
11720
11791
|
super();
|
|
11721
11792
|
/**
|
|
11722
|
-
* @generated from oneof norsk.api.media.
|
|
11793
|
+
* @generated from oneof norsk.api.media.StreamAlignMessage.message
|
|
11723
11794
|
*/
|
|
11724
11795
|
this.message = { case: undefined };
|
|
11725
11796
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
11726
11797
|
}
|
|
11727
11798
|
static fromBinary(bytes, options) {
|
|
11728
|
-
return new
|
|
11799
|
+
return new StreamAlignMessage().fromBinary(bytes, options);
|
|
11729
11800
|
}
|
|
11730
11801
|
static fromJson(jsonValue, options) {
|
|
11731
|
-
return new
|
|
11802
|
+
return new StreamAlignMessage().fromJson(jsonValue, options);
|
|
11732
11803
|
}
|
|
11733
11804
|
static fromJsonString(jsonString, options) {
|
|
11734
|
-
return new
|
|
11805
|
+
return new StreamAlignMessage().fromJsonString(jsonString, options);
|
|
11735
11806
|
}
|
|
11736
11807
|
static equals(a, b) {
|
|
11737
|
-
return protobuf_1.proto3.util.equals(
|
|
11808
|
+
return protobuf_1.proto3.util.equals(StreamAlignMessage, a, b);
|
|
11738
11809
|
}
|
|
11739
11810
|
}
|
|
11740
|
-
exports.
|
|
11741
|
-
|
|
11742
|
-
|
|
11743
|
-
|
|
11744
|
-
{ no: 1, name: "initial_config", kind: "message", T:
|
|
11811
|
+
exports.StreamAlignMessage = StreamAlignMessage;
|
|
11812
|
+
StreamAlignMessage.runtime = protobuf_1.proto3;
|
|
11813
|
+
StreamAlignMessage.typeName = "norsk.api.media.StreamAlignMessage";
|
|
11814
|
+
StreamAlignMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
11815
|
+
{ no: 1, name: "initial_config", kind: "message", T: StreamAlignConfiguration, oneof: "message" },
|
|
11745
11816
|
{ no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
11746
11817
|
]);
|
|
11747
11818
|
/**
|
|
11748
|
-
* @generated from message norsk.api.media.
|
|
11819
|
+
* @generated from message norsk.api.media.StreamAlignEvent
|
|
11749
11820
|
*/
|
|
11750
|
-
class
|
|
11821
|
+
class StreamAlignEvent extends protobuf_1.Message {
|
|
11751
11822
|
constructor(data) {
|
|
11752
11823
|
super();
|
|
11753
11824
|
/**
|
|
11754
|
-
* @generated from oneof norsk.api.media.
|
|
11825
|
+
* @generated from oneof norsk.api.media.StreamAlignEvent.message
|
|
11755
11826
|
*/
|
|
11756
11827
|
this.message = { case: undefined };
|
|
11757
11828
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
11758
11829
|
}
|
|
11759
11830
|
static fromBinary(bytes, options) {
|
|
11760
|
-
return new
|
|
11831
|
+
return new StreamAlignEvent().fromBinary(bytes, options);
|
|
11761
11832
|
}
|
|
11762
11833
|
static fromJson(jsonValue, options) {
|
|
11763
|
-
return new
|
|
11834
|
+
return new StreamAlignEvent().fromJson(jsonValue, options);
|
|
11764
11835
|
}
|
|
11765
11836
|
static fromJsonString(jsonString, options) {
|
|
11766
|
-
return new
|
|
11837
|
+
return new StreamAlignEvent().fromJsonString(jsonString, options);
|
|
11767
11838
|
}
|
|
11768
11839
|
static equals(a, b) {
|
|
11769
|
-
return protobuf_1.proto3.util.equals(
|
|
11840
|
+
return protobuf_1.proto3.util.equals(StreamAlignEvent, a, b);
|
|
11770
11841
|
}
|
|
11771
11842
|
}
|
|
11772
|
-
exports.
|
|
11773
|
-
|
|
11774
|
-
|
|
11775
|
-
|
|
11843
|
+
exports.StreamAlignEvent = StreamAlignEvent;
|
|
11844
|
+
StreamAlignEvent.runtime = protobuf_1.proto3;
|
|
11845
|
+
StreamAlignEvent.typeName = "norsk.api.media.StreamAlignEvent";
|
|
11846
|
+
StreamAlignEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
11776
11847
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
11777
11848
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
11778
11849
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
@@ -12024,6 +12095,12 @@ class StreamSwitchSmoothConfiguration extends protobuf_1.Message {
|
|
|
12024
12095
|
* @generated from field: norsk.api.media.SampleRate sample_rate = 6;
|
|
12025
12096
|
*/
|
|
12026
12097
|
this.sampleRate = SampleRate.RATE_8000;
|
|
12098
|
+
/**
|
|
12099
|
+
* Align all timestamps to minimise timestamp jitter on mixed streams
|
|
12100
|
+
*
|
|
12101
|
+
* @generated from field: norsk.api.media.StreamSwitchSmoothConfiguration.Alignment alignment = 9;
|
|
12102
|
+
*/
|
|
12103
|
+
this.alignment = StreamSwitchSmoothConfiguration_Alignment.ALIGNED;
|
|
12027
12104
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
12028
12105
|
}
|
|
12029
12106
|
static fromBinary(bytes, options) {
|
|
@@ -12049,6 +12126,30 @@ StreamSwitchSmoothConfiguration.fields = protobuf_1.proto3.util.newFieldList(()
|
|
|
12049
12126
|
{ no: 4, name: "transition_duration_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
12050
12127
|
{ no: 5, name: "output_resolution", kind: "message", T: Resolution },
|
|
12051
12128
|
{ no: 6, name: "sample_rate", kind: "enum", T: protobuf_1.proto3.getEnumType(SampleRate) },
|
|
12129
|
+
{ no: 7, name: "frame_rate", kind: "message", T: FrameRate },
|
|
12130
|
+
{ no: 8, name: "channel_layout", kind: "message", T: ChannelLayout },
|
|
12131
|
+
{ no: 9, name: "alignment", kind: "enum", T: protobuf_1.proto3.getEnumType(StreamSwitchSmoothConfiguration_Alignment) },
|
|
12132
|
+
]);
|
|
12133
|
+
/**
|
|
12134
|
+
* Whether to align all the incoming timestamps
|
|
12135
|
+
*
|
|
12136
|
+
* @generated from enum norsk.api.media.StreamSwitchSmoothConfiguration.Alignment
|
|
12137
|
+
*/
|
|
12138
|
+
var StreamSwitchSmoothConfiguration_Alignment;
|
|
12139
|
+
(function (StreamSwitchSmoothConfiguration_Alignment) {
|
|
12140
|
+
/**
|
|
12141
|
+
* @generated from enum value: ALIGNED = 0;
|
|
12142
|
+
*/
|
|
12143
|
+
StreamSwitchSmoothConfiguration_Alignment[StreamSwitchSmoothConfiguration_Alignment["ALIGNED"] = 0] = "ALIGNED";
|
|
12144
|
+
/**
|
|
12145
|
+
* @generated from enum value: NO_ALIGNMENT = 1;
|
|
12146
|
+
*/
|
|
12147
|
+
StreamSwitchSmoothConfiguration_Alignment[StreamSwitchSmoothConfiguration_Alignment["NO_ALIGNMENT"] = 1] = "NO_ALIGNMENT";
|
|
12148
|
+
})(StreamSwitchSmoothConfiguration_Alignment = exports.StreamSwitchSmoothConfiguration_Alignment || (exports.StreamSwitchSmoothConfiguration_Alignment = {}));
|
|
12149
|
+
// Retrieve enum metadata with: proto3.getEnumType(StreamSwitchSmoothConfiguration_Alignment)
|
|
12150
|
+
protobuf_1.proto3.util.setEnumType(StreamSwitchSmoothConfiguration_Alignment, "norsk.api.media.StreamSwitchSmoothConfiguration.Alignment", [
|
|
12151
|
+
{ no: 0, name: "ALIGNED" },
|
|
12152
|
+
{ no: 1, name: "NO_ALIGNMENT" },
|
|
12052
12153
|
]);
|
|
12053
12154
|
/**
|
|
12054
12155
|
* @generated from message norsk.api.media.StreamSwitchSmoothSwitch
|