@norskvideo/norsk-api 1.0.343 → 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 +112 -36
- package/lib/media_pb.js +119 -46
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +161 -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
|
/**
|
|
@@ -558,6 +558,30 @@ protobuf_1.proto3.util.setEnumType(SrtMode, "norsk.api.media.SrtMode", [
|
|
|
558
558
|
{ no: 0, name: "Listener" },
|
|
559
559
|
{ no: 1, name: "Caller" },
|
|
560
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
|
+
]);
|
|
561
585
|
/**
|
|
562
586
|
* ///////////////////////////////
|
|
563
587
|
* DeckLink Input
|
|
@@ -2245,6 +2269,7 @@ StreamMetadata_VideoMetadata.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
2245
2269
|
{ no: 3, name: "width", kind: "scalar", T: 17 /* ScalarType.SINT32 */ },
|
|
2246
2270
|
{ no: 4, name: "height", kind: "scalar", T: 17 /* ScalarType.SINT32 */ },
|
|
2247
2271
|
{ no: 5, name: "bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2272
|
+
{ no: 6, name: "frame_rate", kind: "message", T: FrameRate },
|
|
2248
2273
|
]);
|
|
2249
2274
|
/**
|
|
2250
2275
|
* Metadata for a subtitle stream
|
|
@@ -4729,13 +4754,21 @@ class TestCardVideoConfiguration extends protobuf_1.Message {
|
|
|
4729
4754
|
constructor(data) {
|
|
4730
4755
|
super();
|
|
4731
4756
|
/**
|
|
4732
|
-
* @generated from field: string source_name =
|
|
4757
|
+
* @generated from field: string source_name = 3;
|
|
4733
4758
|
*/
|
|
4734
4759
|
this.sourceName = "";
|
|
4735
4760
|
/**
|
|
4736
|
-
* @generated from field: int32 number_of_frames =
|
|
4761
|
+
* @generated from field: int32 number_of_frames = 4;
|
|
4737
4762
|
*/
|
|
4738
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;
|
|
4739
4772
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
4740
4773
|
}
|
|
4741
4774
|
static fromBinary(bytes, options) {
|
|
@@ -4756,8 +4789,11 @@ TestCardVideoConfiguration.runtime = protobuf_1.proto3;
|
|
|
4756
4789
|
TestCardVideoConfiguration.typeName = "norsk.api.media.TestCardVideoConfiguration";
|
|
4757
4790
|
TestCardVideoConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
4758
4791
|
{ no: 1, name: "resolution", kind: "message", T: Resolution },
|
|
4759
|
-
{ no: 2, name: "
|
|
4760
|
-
{ 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) },
|
|
4761
4797
|
]);
|
|
4762
4798
|
/**
|
|
4763
4799
|
* @generated from message norsk.api.media.VideoTestCardGeneratorMessage
|
|
@@ -4822,7 +4858,6 @@ VideoTestCardGeneratorEvent.typeName = "norsk.api.media.VideoTestCardGeneratorEv
|
|
|
4822
4858
|
VideoTestCardGeneratorEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
4823
4859
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
4824
4860
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
4825
|
-
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
4826
4861
|
]);
|
|
4827
4862
|
/**
|
|
4828
4863
|
* @generated from message norsk.api.media.DeckLinkCardIndex
|
|
@@ -11714,93 +11749,101 @@ StreamSyncEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
11714
11749
|
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
11715
11750
|
]);
|
|
11716
11751
|
/**
|
|
11717
|
-
* @generated from message norsk.api.media.
|
|
11752
|
+
* @generated from message norsk.api.media.StreamAlignConfiguration
|
|
11718
11753
|
*/
|
|
11719
|
-
class
|
|
11754
|
+
class StreamAlignConfiguration extends protobuf_1.Message {
|
|
11720
11755
|
constructor(data) {
|
|
11721
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;
|
|
11722
11763
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
11723
11764
|
}
|
|
11724
11765
|
static fromBinary(bytes, options) {
|
|
11725
|
-
return new
|
|
11766
|
+
return new StreamAlignConfiguration().fromBinary(bytes, options);
|
|
11726
11767
|
}
|
|
11727
11768
|
static fromJson(jsonValue, options) {
|
|
11728
|
-
return new
|
|
11769
|
+
return new StreamAlignConfiguration().fromJson(jsonValue, options);
|
|
11729
11770
|
}
|
|
11730
11771
|
static fromJsonString(jsonString, options) {
|
|
11731
|
-
return new
|
|
11772
|
+
return new StreamAlignConfiguration().fromJsonString(jsonString, options);
|
|
11732
11773
|
}
|
|
11733
11774
|
static equals(a, b) {
|
|
11734
|
-
return protobuf_1.proto3.util.equals(
|
|
11775
|
+
return protobuf_1.proto3.util.equals(StreamAlignConfiguration, a, b);
|
|
11735
11776
|
}
|
|
11736
11777
|
}
|
|
11737
|
-
exports.
|
|
11738
|
-
|
|
11739
|
-
|
|
11740
|
-
|
|
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(() => [
|
|
11741
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 },
|
|
11742
11785
|
]);
|
|
11743
11786
|
/**
|
|
11744
|
-
* @generated from message norsk.api.media.
|
|
11787
|
+
* @generated from message norsk.api.media.StreamAlignMessage
|
|
11745
11788
|
*/
|
|
11746
|
-
class
|
|
11789
|
+
class StreamAlignMessage extends protobuf_1.Message {
|
|
11747
11790
|
constructor(data) {
|
|
11748
11791
|
super();
|
|
11749
11792
|
/**
|
|
11750
|
-
* @generated from oneof norsk.api.media.
|
|
11793
|
+
* @generated from oneof norsk.api.media.StreamAlignMessage.message
|
|
11751
11794
|
*/
|
|
11752
11795
|
this.message = { case: undefined };
|
|
11753
11796
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
11754
11797
|
}
|
|
11755
11798
|
static fromBinary(bytes, options) {
|
|
11756
|
-
return new
|
|
11799
|
+
return new StreamAlignMessage().fromBinary(bytes, options);
|
|
11757
11800
|
}
|
|
11758
11801
|
static fromJson(jsonValue, options) {
|
|
11759
|
-
return new
|
|
11802
|
+
return new StreamAlignMessage().fromJson(jsonValue, options);
|
|
11760
11803
|
}
|
|
11761
11804
|
static fromJsonString(jsonString, options) {
|
|
11762
|
-
return new
|
|
11805
|
+
return new StreamAlignMessage().fromJsonString(jsonString, options);
|
|
11763
11806
|
}
|
|
11764
11807
|
static equals(a, b) {
|
|
11765
|
-
return protobuf_1.proto3.util.equals(
|
|
11808
|
+
return protobuf_1.proto3.util.equals(StreamAlignMessage, a, b);
|
|
11766
11809
|
}
|
|
11767
11810
|
}
|
|
11768
|
-
exports.
|
|
11769
|
-
|
|
11770
|
-
|
|
11771
|
-
|
|
11772
|
-
{ 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" },
|
|
11773
11816
|
{ no: 2, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
11774
11817
|
]);
|
|
11775
11818
|
/**
|
|
11776
|
-
* @generated from message norsk.api.media.
|
|
11819
|
+
* @generated from message norsk.api.media.StreamAlignEvent
|
|
11777
11820
|
*/
|
|
11778
|
-
class
|
|
11821
|
+
class StreamAlignEvent extends protobuf_1.Message {
|
|
11779
11822
|
constructor(data) {
|
|
11780
11823
|
super();
|
|
11781
11824
|
/**
|
|
11782
|
-
* @generated from oneof norsk.api.media.
|
|
11825
|
+
* @generated from oneof norsk.api.media.StreamAlignEvent.message
|
|
11783
11826
|
*/
|
|
11784
11827
|
this.message = { case: undefined };
|
|
11785
11828
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
11786
11829
|
}
|
|
11787
11830
|
static fromBinary(bytes, options) {
|
|
11788
|
-
return new
|
|
11831
|
+
return new StreamAlignEvent().fromBinary(bytes, options);
|
|
11789
11832
|
}
|
|
11790
11833
|
static fromJson(jsonValue, options) {
|
|
11791
|
-
return new
|
|
11834
|
+
return new StreamAlignEvent().fromJson(jsonValue, options);
|
|
11792
11835
|
}
|
|
11793
11836
|
static fromJsonString(jsonString, options) {
|
|
11794
|
-
return new
|
|
11837
|
+
return new StreamAlignEvent().fromJsonString(jsonString, options);
|
|
11795
11838
|
}
|
|
11796
11839
|
static equals(a, b) {
|
|
11797
|
-
return protobuf_1.proto3.util.equals(
|
|
11840
|
+
return protobuf_1.proto3.util.equals(StreamAlignEvent, a, b);
|
|
11798
11841
|
}
|
|
11799
11842
|
}
|
|
11800
|
-
exports.
|
|
11801
|
-
|
|
11802
|
-
|
|
11803
|
-
|
|
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(() => [
|
|
11804
11847
|
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
11805
11848
|
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
11806
11849
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
@@ -12052,6 +12095,12 @@ class StreamSwitchSmoothConfiguration extends protobuf_1.Message {
|
|
|
12052
12095
|
* @generated from field: norsk.api.media.SampleRate sample_rate = 6;
|
|
12053
12096
|
*/
|
|
12054
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;
|
|
12055
12104
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
12056
12105
|
}
|
|
12057
12106
|
static fromBinary(bytes, options) {
|
|
@@ -12077,6 +12126,30 @@ StreamSwitchSmoothConfiguration.fields = protobuf_1.proto3.util.newFieldList(()
|
|
|
12077
12126
|
{ no: 4, name: "transition_duration_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
12078
12127
|
{ no: 5, name: "output_resolution", kind: "message", T: Resolution },
|
|
12079
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" },
|
|
12080
12153
|
]);
|
|
12081
12154
|
/**
|
|
12082
12155
|
* @generated from message norsk.api.media.StreamSwitchSmoothSwitch
|