@norskvideo/norsk-api 1.0.346 → 1.0.348
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 +65 -0
- package/lib/media_grpc_pb.js +123 -3
- package/lib/media_pb.d.ts +357 -19
- package/lib/media_pb.js +342 -16
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +554 -23
- package/package.json +1 -1
package/lib/media_pb.js
CHANGED
|
@@ -7,11 +7,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
exports.CodecPictureStructure = 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.Interval = exports.Resolution = exports.MediaNodeId = 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
8
|
exports.M3u8MediaInputConfiguration = 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 = void 0;
|
|
9
9
|
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 = 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 = void 0;
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
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.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;
|
|
10
|
+
exports.HlsTsCombinedPushMessage = exports.HlsPushDestination = exports.HlsTsCombinedPushConfiguration = exports.HlsTsMultiVariantMessage = exports.HlsTsMultiVariantConfiguration = 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 = void 0;
|
|
11
|
+
exports.NvidiaHevc = exports.NvidiaH264_NvidiaH264Profile = exports.NvidiaH264 = 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.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 = exports.HlsOutputEvent = void 0;
|
|
12
|
+
exports.StreamSwitchSmoothConfiguration = exports.AudioEncodeEvent = exports.AudioEncodeMessage = 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 = void 0;
|
|
13
|
+
exports.VancType2AncillaryId = exports.Smpte2038Message = exports.Scte35Event = exports.AncillaryEvent = exports.AncillaryMessage = exports.AncillaryConfiguration = exports.AudioTranscribeWhisperEvent = exports.AudioTranscribeWhisperMessage = exports.AudioTranscribeWhisperConfiguration = exports.AudioTranscribeAzureEvent = exports.AudioTranscribeAzureMessage = exports.AudioTranscribeAzureConfiguration = 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.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 = void 0;
|
|
14
|
+
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.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 = exports.Scte35InsertCommandMode_InsertProgram = exports.Scte35InsertCommandMode = exports.Scte35InsertCommand = exports.Scte35TimeSignalCommand = exports.Scte35SpliceCommand = exports.Scte35SpliceInfoSection = void 0;
|
|
15
15
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
16
16
|
const common_pb_js_1 = require("./shared/common_pb.js");
|
|
17
17
|
/**
|
|
@@ -2672,19 +2672,22 @@ CodecPictureStructure_Mpeg2PictureStructure.fields = protobuf_1.proto3.util.newF
|
|
|
2672
2672
|
var CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo;
|
|
2673
2673
|
(function (CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo) {
|
|
2674
2674
|
/**
|
|
2675
|
-
* There is no gop information, either because it is not coded or this is
|
|
2675
|
+
* There is no gop information, either because it is not coded or this is
|
|
2676
|
+
* not the start of a gop
|
|
2676
2677
|
*
|
|
2677
2678
|
* @generated from enum value: MPEG2_GOP_UNKNOWN = 0;
|
|
2678
2679
|
*/
|
|
2679
2680
|
CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo[CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo["MPEG2_GOP_UNKNOWN"] = 0] = "MPEG2_GOP_UNKNOWN";
|
|
2680
2681
|
/**
|
|
2681
|
-
* Indicates gop information is present and this is the start of a closed
|
|
2682
|
+
* Indicates gop information is present and this is the start of a closed
|
|
2683
|
+
* gop
|
|
2682
2684
|
*
|
|
2683
2685
|
* @generated from enum value: MPEG2_GOP_CLOSED = 1;
|
|
2684
2686
|
*/
|
|
2685
2687
|
CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo[CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo["MPEG2_GOP_CLOSED"] = 1] = "MPEG2_GOP_CLOSED";
|
|
2686
2688
|
/**
|
|
2687
|
-
* Indicates gop information is present and this is the start of an open
|
|
2689
|
+
* Indicates gop information is present and this is the start of an open
|
|
2690
|
+
* gop
|
|
2688
2691
|
*
|
|
2689
2692
|
* @generated from enum value: MPEG2_GOP_OPEN = 2;
|
|
2690
2693
|
*/
|
|
@@ -7870,7 +7873,6 @@ CmafWebVttUpdateConfiguration.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
7870
7873
|
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
7871
7874
|
{ no: 2, name: "retention_period_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
|
|
7872
7875
|
{ no: 3, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
7873
|
-
{ no: 4, name: "pts_adjustment", kind: "message", T: Interval },
|
|
7874
7876
|
{ no: 5, name: "update_credentials", kind: "message", T: UpdateCredentials },
|
|
7875
7877
|
]);
|
|
7876
7878
|
/**
|
|
@@ -8065,6 +8067,84 @@ CmafMultiVariantMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
8065
8067
|
{ no: 2, name: "configuration", kind: "message", T: CmafMultiVariantConfiguration, oneof: "message" },
|
|
8066
8068
|
{ no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
|
|
8067
8069
|
]);
|
|
8070
|
+
/**
|
|
8071
|
+
* @generated from message norsk.api.media.HlsTsMultiVariantConfiguration
|
|
8072
|
+
*/
|
|
8073
|
+
class HlsTsMultiVariantConfiguration extends protobuf_1.Message {
|
|
8074
|
+
constructor(data) {
|
|
8075
|
+
super();
|
|
8076
|
+
/**
|
|
8077
|
+
* @generated from field: string playlist_name = 2;
|
|
8078
|
+
*/
|
|
8079
|
+
this.playlistName = "";
|
|
8080
|
+
/**
|
|
8081
|
+
* @generated from field: repeated norsk.api.media.CMAFDestination destinations = 4;
|
|
8082
|
+
*/
|
|
8083
|
+
this.destinations = [];
|
|
8084
|
+
/**
|
|
8085
|
+
* Directives to add to the m3u multi variant playlist
|
|
8086
|
+
*
|
|
8087
|
+
* @generated from field: string m3u_additions = 5;
|
|
8088
|
+
*/
|
|
8089
|
+
this.m3uAdditions = "";
|
|
8090
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
8091
|
+
}
|
|
8092
|
+
static fromBinary(bytes, options) {
|
|
8093
|
+
return new HlsTsMultiVariantConfiguration().fromBinary(bytes, options);
|
|
8094
|
+
}
|
|
8095
|
+
static fromJson(jsonValue, options) {
|
|
8096
|
+
return new HlsTsMultiVariantConfiguration().fromJson(jsonValue, options);
|
|
8097
|
+
}
|
|
8098
|
+
static fromJsonString(jsonString, options) {
|
|
8099
|
+
return new HlsTsMultiVariantConfiguration().fromJsonString(jsonString, options);
|
|
8100
|
+
}
|
|
8101
|
+
static equals(a, b) {
|
|
8102
|
+
return protobuf_1.proto3.util.equals(HlsTsMultiVariantConfiguration, a, b);
|
|
8103
|
+
}
|
|
8104
|
+
}
|
|
8105
|
+
exports.HlsTsMultiVariantConfiguration = HlsTsMultiVariantConfiguration;
|
|
8106
|
+
HlsTsMultiVariantConfiguration.runtime = protobuf_1.proto3;
|
|
8107
|
+
HlsTsMultiVariantConfiguration.typeName = "norsk.api.media.HlsTsMultiVariantConfiguration";
|
|
8108
|
+
HlsTsMultiVariantConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
8109
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
8110
|
+
{ no: 2, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
8111
|
+
{ no: 3, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
8112
|
+
{ no: 4, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
|
|
8113
|
+
{ no: 5, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
8114
|
+
]);
|
|
8115
|
+
/**
|
|
8116
|
+
* @generated from message norsk.api.media.HlsTsMultiVariantMessage
|
|
8117
|
+
*/
|
|
8118
|
+
class HlsTsMultiVariantMessage extends protobuf_1.Message {
|
|
8119
|
+
constructor(data) {
|
|
8120
|
+
super();
|
|
8121
|
+
/**
|
|
8122
|
+
* @generated from oneof norsk.api.media.HlsTsMultiVariantMessage.message
|
|
8123
|
+
*/
|
|
8124
|
+
this.message = { case: undefined };
|
|
8125
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
8126
|
+
}
|
|
8127
|
+
static fromBinary(bytes, options) {
|
|
8128
|
+
return new HlsTsMultiVariantMessage().fromBinary(bytes, options);
|
|
8129
|
+
}
|
|
8130
|
+
static fromJson(jsonValue, options) {
|
|
8131
|
+
return new HlsTsMultiVariantMessage().fromJson(jsonValue, options);
|
|
8132
|
+
}
|
|
8133
|
+
static fromJsonString(jsonString, options) {
|
|
8134
|
+
return new HlsTsMultiVariantMessage().fromJsonString(jsonString, options);
|
|
8135
|
+
}
|
|
8136
|
+
static equals(a, b) {
|
|
8137
|
+
return protobuf_1.proto3.util.equals(HlsTsMultiVariantMessage, a, b);
|
|
8138
|
+
}
|
|
8139
|
+
}
|
|
8140
|
+
exports.HlsTsMultiVariantMessage = HlsTsMultiVariantMessage;
|
|
8141
|
+
HlsTsMultiVariantMessage.runtime = protobuf_1.proto3;
|
|
8142
|
+
HlsTsMultiVariantMessage.typeName = "norsk.api.media.HlsTsMultiVariantMessage";
|
|
8143
|
+
HlsTsMultiVariantMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
8144
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
8145
|
+
{ no: 2, name: "configuration", kind: "message", T: HlsTsMultiVariantConfiguration, oneof: "message" },
|
|
8146
|
+
{ no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
|
|
8147
|
+
]);
|
|
8068
8148
|
/**
|
|
8069
8149
|
* @generated from message norsk.api.media.HlsTsCombinedPushConfiguration
|
|
8070
8150
|
*/
|
|
@@ -8089,12 +8169,6 @@ class HlsTsCombinedPushConfiguration extends protobuf_1.Message {
|
|
|
8089
8169
|
* @generated from field: string m3u_additions = 7;
|
|
8090
8170
|
*/
|
|
8091
8171
|
this.m3uAdditions = "";
|
|
8092
|
-
/**
|
|
8093
|
-
* XML fragment to add to the mpd Representation elements
|
|
8094
|
-
*
|
|
8095
|
-
* @generated from field: string mpd_additions = 8;
|
|
8096
|
-
*/
|
|
8097
|
-
this.mpdAdditions = "";
|
|
8098
8172
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
8099
8173
|
}
|
|
8100
8174
|
static fromBinary(bytes, options) {
|
|
@@ -8121,7 +8195,6 @@ HlsTsCombinedPushConfiguration.fields = protobuf_1.proto3.util.newFieldList(() =
|
|
|
8121
8195
|
{ no: 5, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
8122
8196
|
{ no: 6, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
8123
8197
|
{ no: 7, name: "m3u_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
8124
|
-
{ no: 8, name: "mpd_additions", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
8125
8198
|
]);
|
|
8126
8199
|
/**
|
|
8127
8200
|
* @generated from message norsk.api.media.HlsPushDestination
|
|
@@ -12624,6 +12697,8 @@ class RtpEac3 extends protobuf_1.Message {
|
|
|
12624
12697
|
*/
|
|
12625
12698
|
this.clockRate = 0;
|
|
12626
12699
|
/**
|
|
12700
|
+
* RFC5646 language tag
|
|
12701
|
+
*
|
|
12627
12702
|
* @generated from field: string language_code = 2;
|
|
12628
12703
|
*/
|
|
12629
12704
|
this.languageCode = "";
|
|
@@ -13035,6 +13110,257 @@ AudioTranscribeAwsEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
13035
13110
|
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
13036
13111
|
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
13037
13112
|
]);
|
|
13113
|
+
/**
|
|
13114
|
+
* @generated from message norsk.api.media.AudioTranscribeAzureConfiguration
|
|
13115
|
+
*/
|
|
13116
|
+
class AudioTranscribeAzureConfiguration extends protobuf_1.Message {
|
|
13117
|
+
constructor(data) {
|
|
13118
|
+
super();
|
|
13119
|
+
/**
|
|
13120
|
+
* @generated from field: uint32 output_stream_id = 2;
|
|
13121
|
+
*/
|
|
13122
|
+
this.outputStreamId = 0;
|
|
13123
|
+
/**
|
|
13124
|
+
* The source language to recognise - an RFC 5646/ IETF BCP 47 language tag, eg en-US,
|
|
13125
|
+
* en-GB, de-DE. Supported languages are found at
|
|
13126
|
+
* https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt
|
|
13127
|
+
*
|
|
13128
|
+
* @generated from field: string source_language = 3;
|
|
13129
|
+
*/
|
|
13130
|
+
this.sourceLanguage = "";
|
|
13131
|
+
/**
|
|
13132
|
+
* The target output languages for translation - technically a RFC 5646 language
|
|
13133
|
+
* tag but but in most cases omitting region, e.g. en, de, zh-Hant.
|
|
13134
|
+
*
|
|
13135
|
+
* Leave this field absent/empty to use the transcription service without
|
|
13136
|
+
* translation, while if any target languages are present the translation
|
|
13137
|
+
* service will be used even if this is the same as the
|
|
13138
|
+
* source language.
|
|
13139
|
+
*
|
|
13140
|
+
* @generated from field: repeated string target_languages = 4;
|
|
13141
|
+
*/
|
|
13142
|
+
this.targetLanguages = [];
|
|
13143
|
+
/**
|
|
13144
|
+
* * Key for the Azure Speech Service endpoint
|
|
13145
|
+
*
|
|
13146
|
+
* @generated from field: string azure_key = 5;
|
|
13147
|
+
*/
|
|
13148
|
+
this.azureKey = "";
|
|
13149
|
+
/**
|
|
13150
|
+
* * Region for the Azure Speech Service endpoint
|
|
13151
|
+
*
|
|
13152
|
+
* @generated from field: string azure_region = 6;
|
|
13153
|
+
*/
|
|
13154
|
+
this.azureRegion = "";
|
|
13155
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
13156
|
+
}
|
|
13157
|
+
static fromBinary(bytes, options) {
|
|
13158
|
+
return new AudioTranscribeAzureConfiguration().fromBinary(bytes, options);
|
|
13159
|
+
}
|
|
13160
|
+
static fromJson(jsonValue, options) {
|
|
13161
|
+
return new AudioTranscribeAzureConfiguration().fromJson(jsonValue, options);
|
|
13162
|
+
}
|
|
13163
|
+
static fromJsonString(jsonString, options) {
|
|
13164
|
+
return new AudioTranscribeAzureConfiguration().fromJsonString(jsonString, options);
|
|
13165
|
+
}
|
|
13166
|
+
static equals(a, b) {
|
|
13167
|
+
return protobuf_1.proto3.util.equals(AudioTranscribeAzureConfiguration, a, b);
|
|
13168
|
+
}
|
|
13169
|
+
}
|
|
13170
|
+
exports.AudioTranscribeAzureConfiguration = AudioTranscribeAzureConfiguration;
|
|
13171
|
+
AudioTranscribeAzureConfiguration.runtime = protobuf_1.proto3;
|
|
13172
|
+
AudioTranscribeAzureConfiguration.typeName = "norsk.api.media.AudioTranscribeAzureConfiguration";
|
|
13173
|
+
AudioTranscribeAzureConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
13174
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
13175
|
+
{ no: 2, name: "output_stream_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
13176
|
+
{ no: 3, name: "source_language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13177
|
+
{ no: 4, name: "target_languages", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
13178
|
+
{ no: 5, name: "azure_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13179
|
+
{ no: 6, name: "azure_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13180
|
+
{ no: 7, name: "maximum_line_length", kind: "message", T: common_pb_js_1.OptionalInt },
|
|
13181
|
+
]);
|
|
13182
|
+
/**
|
|
13183
|
+
* @generated from message norsk.api.media.AudioTranscribeAzureMessage
|
|
13184
|
+
*/
|
|
13185
|
+
class AudioTranscribeAzureMessage extends protobuf_1.Message {
|
|
13186
|
+
constructor(data) {
|
|
13187
|
+
super();
|
|
13188
|
+
/**
|
|
13189
|
+
* @generated from oneof norsk.api.media.AudioTranscribeAzureMessage.message
|
|
13190
|
+
*/
|
|
13191
|
+
this.message = { case: undefined };
|
|
13192
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
13193
|
+
}
|
|
13194
|
+
static fromBinary(bytes, options) {
|
|
13195
|
+
return new AudioTranscribeAzureMessage().fromBinary(bytes, options);
|
|
13196
|
+
}
|
|
13197
|
+
static fromJson(jsonValue, options) {
|
|
13198
|
+
return new AudioTranscribeAzureMessage().fromJson(jsonValue, options);
|
|
13199
|
+
}
|
|
13200
|
+
static fromJsonString(jsonString, options) {
|
|
13201
|
+
return new AudioTranscribeAzureMessage().fromJsonString(jsonString, options);
|
|
13202
|
+
}
|
|
13203
|
+
static equals(a, b) {
|
|
13204
|
+
return protobuf_1.proto3.util.equals(AudioTranscribeAzureMessage, a, b);
|
|
13205
|
+
}
|
|
13206
|
+
}
|
|
13207
|
+
exports.AudioTranscribeAzureMessage = AudioTranscribeAzureMessage;
|
|
13208
|
+
AudioTranscribeAzureMessage.runtime = protobuf_1.proto3;
|
|
13209
|
+
AudioTranscribeAzureMessage.typeName = "norsk.api.media.AudioTranscribeAzureMessage";
|
|
13210
|
+
AudioTranscribeAzureMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
13211
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
13212
|
+
{ no: 2, name: "configuration", kind: "message", T: AudioTranscribeAzureConfiguration, oneof: "message" },
|
|
13213
|
+
]);
|
|
13214
|
+
/**
|
|
13215
|
+
* @generated from message norsk.api.media.AudioTranscribeAzureEvent
|
|
13216
|
+
*/
|
|
13217
|
+
class AudioTranscribeAzureEvent extends protobuf_1.Message {
|
|
13218
|
+
constructor(data) {
|
|
13219
|
+
super();
|
|
13220
|
+
/**
|
|
13221
|
+
* @generated from oneof norsk.api.media.AudioTranscribeAzureEvent.message
|
|
13222
|
+
*/
|
|
13223
|
+
this.message = { case: undefined };
|
|
13224
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
13225
|
+
}
|
|
13226
|
+
static fromBinary(bytes, options) {
|
|
13227
|
+
return new AudioTranscribeAzureEvent().fromBinary(bytes, options);
|
|
13228
|
+
}
|
|
13229
|
+
static fromJson(jsonValue, options) {
|
|
13230
|
+
return new AudioTranscribeAzureEvent().fromJson(jsonValue, options);
|
|
13231
|
+
}
|
|
13232
|
+
static fromJsonString(jsonString, options) {
|
|
13233
|
+
return new AudioTranscribeAzureEvent().fromJsonString(jsonString, options);
|
|
13234
|
+
}
|
|
13235
|
+
static equals(a, b) {
|
|
13236
|
+
return protobuf_1.proto3.util.equals(AudioTranscribeAzureEvent, a, b);
|
|
13237
|
+
}
|
|
13238
|
+
}
|
|
13239
|
+
exports.AudioTranscribeAzureEvent = AudioTranscribeAzureEvent;
|
|
13240
|
+
AudioTranscribeAzureEvent.runtime = protobuf_1.proto3;
|
|
13241
|
+
AudioTranscribeAzureEvent.typeName = "norsk.api.media.AudioTranscribeAzureEvent";
|
|
13242
|
+
AudioTranscribeAzureEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
13243
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
13244
|
+
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
13245
|
+
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
13246
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
13247
|
+
]);
|
|
13248
|
+
/**
|
|
13249
|
+
* @generated from message norsk.api.media.AudioTranscribeWhisperConfiguration
|
|
13250
|
+
*/
|
|
13251
|
+
class AudioTranscribeWhisperConfiguration extends protobuf_1.Message {
|
|
13252
|
+
constructor(data) {
|
|
13253
|
+
super();
|
|
13254
|
+
/**
|
|
13255
|
+
* @generated from field: uint32 output_stream_id = 2;
|
|
13256
|
+
*/
|
|
13257
|
+
this.outputStreamId = 0;
|
|
13258
|
+
/**
|
|
13259
|
+
* @generated from field: string language = 11;
|
|
13260
|
+
*/
|
|
13261
|
+
this.language = "";
|
|
13262
|
+
/**
|
|
13263
|
+
* @generated from field: string model = 12;
|
|
13264
|
+
*/
|
|
13265
|
+
this.model = "";
|
|
13266
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
13267
|
+
}
|
|
13268
|
+
static fromBinary(bytes, options) {
|
|
13269
|
+
return new AudioTranscribeWhisperConfiguration().fromBinary(bytes, options);
|
|
13270
|
+
}
|
|
13271
|
+
static fromJson(jsonValue, options) {
|
|
13272
|
+
return new AudioTranscribeWhisperConfiguration().fromJson(jsonValue, options);
|
|
13273
|
+
}
|
|
13274
|
+
static fromJsonString(jsonString, options) {
|
|
13275
|
+
return new AudioTranscribeWhisperConfiguration().fromJsonString(jsonString, options);
|
|
13276
|
+
}
|
|
13277
|
+
static equals(a, b) {
|
|
13278
|
+
return protobuf_1.proto3.util.equals(AudioTranscribeWhisperConfiguration, a, b);
|
|
13279
|
+
}
|
|
13280
|
+
}
|
|
13281
|
+
exports.AudioTranscribeWhisperConfiguration = AudioTranscribeWhisperConfiguration;
|
|
13282
|
+
AudioTranscribeWhisperConfiguration.runtime = protobuf_1.proto3;
|
|
13283
|
+
AudioTranscribeWhisperConfiguration.typeName = "norsk.api.media.AudioTranscribeWhisperConfiguration";
|
|
13284
|
+
AudioTranscribeWhisperConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
13285
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
13286
|
+
{ no: 2, name: "output_stream_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
13287
|
+
{ no: 3, name: "step_ms", kind: "message", T: common_pb_js_1.OptionalInt },
|
|
13288
|
+
{ no: 4, name: "length_ms", kind: "message", T: common_pb_js_1.OptionalInt },
|
|
13289
|
+
{ no: 5, name: "keep_ms", kind: "message", T: common_pb_js_1.OptionalInt },
|
|
13290
|
+
{ no: 6, name: "max_tokens", kind: "message", T: common_pb_js_1.OptionalInt },
|
|
13291
|
+
{ no: 7, name: "speed_up", kind: "message", T: common_pb_js_1.OptionalBool },
|
|
13292
|
+
{ no: 8, name: "no_fallback", kind: "message", T: common_pb_js_1.OptionalBool },
|
|
13293
|
+
{ no: 9, name: "num_threads", kind: "message", T: common_pb_js_1.OptionalInt },
|
|
13294
|
+
{ no: 10, name: "use_gpu", kind: "message", T: common_pb_js_1.OptionalBool },
|
|
13295
|
+
{ no: 11, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13296
|
+
{ no: 12, name: "model", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
13297
|
+
]);
|
|
13298
|
+
/**
|
|
13299
|
+
* @generated from message norsk.api.media.AudioTranscribeWhisperMessage
|
|
13300
|
+
*/
|
|
13301
|
+
class AudioTranscribeWhisperMessage extends protobuf_1.Message {
|
|
13302
|
+
constructor(data) {
|
|
13303
|
+
super();
|
|
13304
|
+
/**
|
|
13305
|
+
* @generated from oneof norsk.api.media.AudioTranscribeWhisperMessage.message
|
|
13306
|
+
*/
|
|
13307
|
+
this.message = { case: undefined };
|
|
13308
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
13309
|
+
}
|
|
13310
|
+
static fromBinary(bytes, options) {
|
|
13311
|
+
return new AudioTranscribeWhisperMessage().fromBinary(bytes, options);
|
|
13312
|
+
}
|
|
13313
|
+
static fromJson(jsonValue, options) {
|
|
13314
|
+
return new AudioTranscribeWhisperMessage().fromJson(jsonValue, options);
|
|
13315
|
+
}
|
|
13316
|
+
static fromJsonString(jsonString, options) {
|
|
13317
|
+
return new AudioTranscribeWhisperMessage().fromJsonString(jsonString, options);
|
|
13318
|
+
}
|
|
13319
|
+
static equals(a, b) {
|
|
13320
|
+
return protobuf_1.proto3.util.equals(AudioTranscribeWhisperMessage, a, b);
|
|
13321
|
+
}
|
|
13322
|
+
}
|
|
13323
|
+
exports.AudioTranscribeWhisperMessage = AudioTranscribeWhisperMessage;
|
|
13324
|
+
AudioTranscribeWhisperMessage.runtime = protobuf_1.proto3;
|
|
13325
|
+
AudioTranscribeWhisperMessage.typeName = "norsk.api.media.AudioTranscribeWhisperMessage";
|
|
13326
|
+
AudioTranscribeWhisperMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
13327
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
13328
|
+
{ no: 2, name: "configuration", kind: "message", T: AudioTranscribeWhisperConfiguration, oneof: "message" },
|
|
13329
|
+
]);
|
|
13330
|
+
/**
|
|
13331
|
+
* @generated from message norsk.api.media.AudioTranscribeWhisperEvent
|
|
13332
|
+
*/
|
|
13333
|
+
class AudioTranscribeWhisperEvent extends protobuf_1.Message {
|
|
13334
|
+
constructor(data) {
|
|
13335
|
+
super();
|
|
13336
|
+
/**
|
|
13337
|
+
* @generated from oneof norsk.api.media.AudioTranscribeWhisperEvent.message
|
|
13338
|
+
*/
|
|
13339
|
+
this.message = { case: undefined };
|
|
13340
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
13341
|
+
}
|
|
13342
|
+
static fromBinary(bytes, options) {
|
|
13343
|
+
return new AudioTranscribeWhisperEvent().fromBinary(bytes, options);
|
|
13344
|
+
}
|
|
13345
|
+
static fromJson(jsonValue, options) {
|
|
13346
|
+
return new AudioTranscribeWhisperEvent().fromJson(jsonValue, options);
|
|
13347
|
+
}
|
|
13348
|
+
static fromJsonString(jsonString, options) {
|
|
13349
|
+
return new AudioTranscribeWhisperEvent().fromJsonString(jsonString, options);
|
|
13350
|
+
}
|
|
13351
|
+
static equals(a, b) {
|
|
13352
|
+
return protobuf_1.proto3.util.equals(AudioTranscribeWhisperEvent, a, b);
|
|
13353
|
+
}
|
|
13354
|
+
}
|
|
13355
|
+
exports.AudioTranscribeWhisperEvent = AudioTranscribeWhisperEvent;
|
|
13356
|
+
AudioTranscribeWhisperEvent.runtime = protobuf_1.proto3;
|
|
13357
|
+
AudioTranscribeWhisperEvent.typeName = "norsk.api.media.AudioTranscribeWhisperEvent";
|
|
13358
|
+
AudioTranscribeWhisperEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
13359
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
13360
|
+
{ no: 2, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
13361
|
+
{ no: 3, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
13362
|
+
{ no: 4, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
13363
|
+
]);
|
|
13038
13364
|
/**
|
|
13039
13365
|
* @generated from message norsk.api.media.AncillaryConfiguration
|
|
13040
13366
|
*/
|