@norskvideo/norsk-api 1.0.332 → 1.0.334

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/media_pb.js CHANGED
@@ -5,12 +5,12 @@
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.RtmpServerInputMessage = exports.RtmpStreamReject = exports.RtmpStreamAccept = exports.RtmpConnectionReject = exports.RtmpConnectionAccept = exports.RtmpServerInputConfiguration = exports.ConnectionId = exports.StreamStatisticsSampling = exports.MultiStreamStatistics_SingleStreamStatistics = exports.MultiStreamStatistics = exports.TimestampSourceProgramNudge = exports.TimestampProgramNudge = exports.TimestampNudge = exports.ValidationResponseAck = exports.ValidationResponse = exports.BlockingCallRef = exports.Context = exports.StreamMetadata_SubtitleMetadata = exports.StreamMetadata_VideoMetadata = exports.StreamMetadata_AudioMetadata = exports.StreamMetadata = exports.ChannelLayout = exports.MultiChannelLayout = exports.SingleChannelLayout = exports.Channel = exports.ExplicitChannel = exports.StreamKey = exports.InputPin = exports.RenditionName = exports.StreamId = exports.ProgramNumber = exports.SourceName = exports.Resolution = exports.MediaNodeId = exports.NullValue = exports.Code = exports.ContextType = exports.VideoIOSupport = exports.VideoConnection = exports.SentenceStabilizationMode = exports.SentenceBuildMode = exports.NvidiaPreset = exports.DeckLinkDisplayModeId = exports.DeckLinkPixelFormat = exports.SrtMode = exports.AudioCodec = exports.SampleFormat = exports.SampleRate = exports.NamedChannelLayout = exports.ChannelName = void 0;
8
- exports.FileMp4InputEvent = exports.FileMp4InputInfo = exports.FileMp4InputStatus_State = exports.FileMp4InputStatus = exports.FileMp4InputMessage = 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 = exports.UdpTsInputEvent = exports.UdpTsInputMessage = exports.UdpTsInputConfiguration = exports.SrtInputEvent = exports.SrtInputStatus_State = exports.SrtInputStatus = exports.SrtConnectionClose = exports.SrtConnectionReject = exports.SrtConnectionAccept = exports.SrtConnectMessage = exports.SrtTsContext = exports.SrtInputMessage = exports.SrtInputConfiguration = exports.FileWebVttInputEvent = exports.FileWebVttInputConfiguration = exports.FileTsInputEvent = exports.FileTsInputMessage = exports.FileTsInputConfiguration = exports.TsInputEvent = exports.TsInputStatus_State = exports.TsInputStatus = exports.TsContext = exports.TsProgram_TsPid = exports.TsProgram_TsStreamType = exports.TsProgram = exports.RtmpServerInputEvent = exports.RtmpOnStream = exports.RtmpServerInputStatus_State = exports.RtmpServerInputStatus = exports.RtmpConnection = void 0;
9
- exports.AudioSplitMultichannelConfiguration = exports.AudioSplitMultichannelMessage = exports.AudioSplitMultichannelSource = exports.AudioBuildMultichannelEvent = exports.AudioBuildMultichannelConfiguration = exports.AudioBuildMultichannelMessage = exports.AudioBuildMultichannelSource = exports.AudioGainEvent = exports.AudioGainUpdateConfiguration = exports.AudioGainConfiguration = exports.AudioGainMessage = exports.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 = exports.VideoComposeConfiguration_MissingStreamBehaviour = exports.VideoComposeConfiguration_PixelFormat = exports.VideoComposeConfiguration = exports.VideoComposeMessage = exports.PartId = exports.Easing_SimpleEasing = exports.Easing = exports.Transition = exports.ComposePart = exports.OffsetRectangle = exports.WhipInputEvent = exports.WhipInputMessage = exports.WhipInputConfiguration = exports.BrowserInputEvent = exports.BrowserEvent = exports.BrowserOnLoadError = exports.BrowserOnLoadEnd = exports.BrowserOnLoadStart = exports.BrowserOnLoaded = exports.BrowserInputMessage = exports.BrowserInputUpdateConfiguration = exports.BrowserInputConfiguration = exports.AudioSignalGeneratorEvent = exports.AudioSignalGeneratorConfiguration = exports.Wave = exports.SineWave = void 0;
10
- exports.FileTsOutputEvent = exports.FileTsOutputMessage = exports.FileTsOutputConfiguration = exports.RtmpOutputEvent = exports.RtmpOutputMessage = exports.RtmpOutputConfiguration = exports.WebRTCBrowserDuplexEvent = exports.WhipOutputEvent = exports.WebRTCBrowserDuplexMessage = exports.WebRTCBrowserDuplexConfiguration = exports.WhipOutputMessage = exports.WhipOutputConfiguration = exports.SrtOutputEvent = exports.SrtOutputMessage = exports.SrtOutputConfiguration = exports.UdpTsOutputEvent = exports.UdpTsOutputMessage = exports.UdpTsOutputConfiguration = exports.HlsOutputEvent = exports.HlsTsCombinedPushMessage = exports.HlsPushDestination = exports.HlsTsCombinedPushConfiguration = exports.HlsTsAudioPushMessage = exports.HlsTsAudioPushConfiguration = exports.HlsTsVideoPushMessage = exports.HlsTsVideoPushConfiguration = exports.HlsMasterPushMessage = exports.HlsMasterPushConfiguration = exports.CmafMasterMessage = exports.CmafMasterConfiguration = exports.HlsWebVttPushMessage = exports.CmafWebVttMessage = exports.HlsWebVttPushUpdateConfiguration = exports.HlsWebVttPushConfiguration = exports.UpdateCredentials = exports.AwsCredentials = 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 = exports.AudioSplitMultichannelEvent = void 0;
11
- 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.NetintHevc_NetintHevcTier = exports.NetintHevc_NetintHevcProfile = exports.NetintHevc = exports.NetintH264_NetintH264Profile = exports.NetintH264 = exports.NvidiaHevc_NvidiaHevcTier = exports.NvidiaHevc_NvidiaHevcProfile = exports.NvidiaHevc = exports.NvidiaH264_NvidiaH264Profile = exports.NvidiaH264 = exports.NvidiaRateControl_NvidiaRateControlMode = exports.NvidiaRateControl = exports.VideoEncodeEvent = exports.VideoEncodeMessage = exports.VideoEncodeConfiguration = exports.VideoEncodeStream = exports.X265Codec_X265Tune = exports.X265Codec_X265Preset = exports.X265Codec_X265Profile = exports.X265Codec = exports.X264Codec_X264NalHrd = exports.X264Codec_X264Tune = exports.X264Codec_X264Preset = exports.X264Codec_X264Profile = exports.X264Codec = exports.OptionalString = exports.OptionalBool = exports.OptionalInt = exports.SampleAspectRatio = exports.FrameRate = exports.FileMp4OutputEvent = exports.FileMp4OutputMessage = exports.FileMp4OutputWriteMessage = exports.FileMp4OutputConfiguration = void 0;
12
- exports.DeckLinkDisplayMode = exports.DeckLinkCard = exports.CpuTopology = exports.NumaNode = exports.Processor = exports.Core = exports.LogicalCpuId = 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.StreamSwitchSmoothMessage = exports.StreamSwitchSmoothSwitch = exports.StreamSwitchSmoothConfiguration = exports.AudioEncodeEvent = exports.AudioEncodeMessage = exports.AudioEncodeConfiguration = exports.OpusEncodeConfiguration = exports.AacEncodeConfiguration_AacEncapsulation = exports.AacEncodeConfiguration_AacProfile = exports.AacEncodeConfiguration = exports.StreamSyncEvent = exports.StreamSyncMessage = exports.StreamSyncConfiguration = void 0;
13
- exports.NorskStatusEvent = exports.Hello = exports.Status = exports.ListValue = exports.Value = exports.Struct = exports.SourceSubscriptionError_UnsupportedConversion = exports.SourceSubscriptionError_NoSubscriberPin = exports.SourceSubscriptionError_SourceStream = exports.SourceSubscriptionError = exports.SubscriptionError_SourceSubscriptionErrors = exports.SubscriptionError_MultipleStreams = exports.SubscriptionError = exports.SubscriptionResponse = exports.Subscription = exports.SubscribeSource = exports.Hardware = exports.DeckLinkDisplayModes = void 0;
8
+ exports.FileMp4InputMessage = 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 = exports.UdpTsInputEvent = exports.UdpTsInputMessage = exports.UdpTsInputConfiguration = exports.SrtInputEvent = exports.SrtInputStatus_State = exports.SrtInputStatus = exports.SrtConnectionClose = exports.SrtConnectionReject = exports.SrtConnectionAccept = exports.SrtConnectMessage = exports.SrtTsContext = exports.SrtInputMessage = exports.SrtInputConfiguration = exports.FileWebVttInputEvent = exports.FileWebVttInputConfiguration = exports.FileTsInputEvent = exports.FileTsInputMessage = 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 = void 0;
9
+ exports.AudioBuildMultichannelConfiguration = 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 = exports.VideoComposeConfiguration_MissingStreamBehaviour = exports.VideoComposeConfiguration_PixelFormat = exports.VideoComposeConfiguration = exports.VideoComposeMessage = exports.PartId = exports.Easing_SimpleEasing = exports.Easing = exports.Transition = exports.ComposePart = exports.OffsetRectangle = exports.WhipInputEvent = exports.WhipInputMessage = exports.WhipInputConfiguration = exports.BrowserInputEvent = exports.BrowserEvent = exports.BrowserOnLoadError = exports.BrowserOnLoadEnd = exports.BrowserOnLoadStart = exports.BrowserOnLoaded = exports.BrowserInputMessage = exports.BrowserInputUpdateConfiguration = exports.BrowserInputConfiguration = exports.AudioSignalGeneratorEvent = exports.AudioSignalGeneratorConfiguration = exports.Wave = exports.SineWave = exports.FileMp4InputEvent = exports.FileMp4InputInfo = exports.FileMp4InputStatus_State = exports.FileMp4InputStatus = void 0;
10
+ exports.FileMp4OutputEvent = exports.FileMp4OutputMessage = exports.FileMp4OutputWriteMessage = exports.FileMp4OutputConfiguration = exports.FileTsOutputEvent = exports.FileTsOutputMessage = exports.FileTsOutputConfiguration = exports.RtmpOutputEvent = exports.RtmpOutputMessage = exports.RtmpOutputConfiguration = exports.WebRTCBrowserDuplexEvent = exports.WhipOutputEvent = exports.WebRTCBrowserDuplexMessage = exports.WebRTCBrowserDuplexConfiguration = exports.WhipOutputMessage = exports.WhipOutputConfiguration = exports.SrtOutputEvent = exports.SrtOutputMessage = exports.SrtOutputConfiguration = exports.UdpTsOutputEvent = exports.UdpTsOutputMessage = exports.UdpTsOutputConfiguration = exports.HlsOutputEvent = exports.HlsTsCombinedPushMessage = exports.HlsPushDestination = exports.HlsTsCombinedPushConfiguration = exports.CmafMasterMessage = exports.CmafMasterConfiguration = 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 = exports.AudioSplitMultichannelEvent = exports.AudioSplitMultichannelConfiguration = exports.AudioSplitMultichannelMessage = exports.AudioSplitMultichannelSource = exports.AudioBuildMultichannelEvent = void 0;
11
+ exports.AacEncodeConfiguration = exports.StreamSyncEvent = exports.StreamSyncMessage = exports.StreamSyncConfiguration = 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.NetintHevc_NetintHevcTier = exports.NetintHevc_NetintHevcProfile = exports.NetintHevc = exports.NetintH264_NetintH264Profile = exports.NetintH264 = exports.NvidiaHevc_NvidiaHevcTier = exports.NvidiaHevc_NvidiaHevcProfile = exports.NvidiaHevc = exports.NvidiaH264_NvidiaH264Profile = exports.NvidiaH264 = exports.NvidiaRateControl_NvidiaRateControlMode = exports.NvidiaRateControl = exports.VideoEncodeEvent = exports.VideoEncodeMessage = exports.VideoEncodeConfiguration = exports.VideoEncodeStream = exports.X265Codec_X265Tune = exports.X265Codec_X265Preset = exports.X265Codec_X265Profile = exports.X265Codec = exports.X264Codec_X264NalHrd = exports.X264Codec_X264Tune = exports.X264Codec_X264Preset = exports.X264Codec_X264Profile = exports.X264Codec = exports.OptionalString = exports.OptionalBool = exports.OptionalInt = exports.SampleAspectRatio = exports.FrameRate = void 0;
12
+ exports.Subscription = exports.SubscribeSource = exports.Hardware = exports.DeckLinkDisplayModes = exports.DeckLinkDisplayMode = exports.DeckLinkCard = exports.CpuTopology = exports.NumaNode = exports.Processor = exports.Core = exports.LogicalCpuId = 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.StreamSwitchSmoothMessage = exports.StreamSwitchSmoothSwitch = exports.StreamSwitchSmoothConfiguration = exports.AudioEncodeEvent = exports.AudioEncodeMessage = exports.AudioEncodeConfiguration = exports.OpusEncodeConfiguration = exports.AacEncodeConfiguration_AacEncapsulation = exports.AacEncodeConfiguration_AacProfile = void 0;
13
+ exports.NorskStatusEvent = exports.Hello = exports.Status = exports.ListValue = exports.Value = exports.Struct = exports.SourceSubscriptionError_UnsupportedConversion = exports.SourceSubscriptionError_NoSubscriberPin = exports.SourceSubscriptionError_SourceStream = exports.SourceSubscriptionError = exports.SubscriptionError_SourceSubscriptionErrors = exports.SubscriptionError_MultipleStreams = exports.SubscriptionError = exports.SubscriptionResponse = void 0;
14
14
  const protobuf_1 = require("@bufbuild/protobuf");
15
15
  const common_pb_js_1 = require("./shared/common_pb.js");
16
16
  /**
@@ -2445,6 +2445,13 @@ class MultiStreamStatistics extends protobuf_1.Message {
2445
2445
  * @generated from field: repeated norsk.api.media.MultiStreamStatistics.SingleStreamStatistics all_streams = 2;
2446
2446
  */
2447
2447
  this.allStreams = [];
2448
+ /**
2449
+ * Either `"default"`, if there is only one direction, or `"input"`/`"output"`
2450
+ * (for duplex nodes, where there are two directions)
2451
+ *
2452
+ * @generated from field: string label = 3;
2453
+ */
2454
+ this.label = "";
2448
2455
  protobuf_1.proto3.util.initPartial(data, this);
2449
2456
  }
2450
2457
  static fromBinary(bytes, options) {
@@ -2466,6 +2473,7 @@ MultiStreamStatistics.typeName = "norsk.api.media.MultiStreamStatistics";
2466
2473
  MultiStreamStatistics.fields = protobuf_1.proto3.util.newFieldList(() => [
2467
2474
  { no: 1, name: "sample_size_seconds", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2468
2475
  { no: 2, name: "all_streams", kind: "message", T: MultiStreamStatistics_SingleStreamStatistics, repeated: true },
2476
+ { no: 3, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2469
2477
  ]);
2470
2478
  /**
2471
2479
  * @generated from message norsk.api.media.MultiStreamStatistics.SingleStreamStatistics
@@ -2946,6 +2954,140 @@ RtmpOnStream.fields = protobuf_1.proto3.util.newFieldList(() => [
2946
2954
  { no: 4, name: "app", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2947
2955
  { no: 5, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2948
2956
  ]);
2957
+ /**
2958
+ * *
2959
+ * Sent to your code when an error is detected on an active connection.
2960
+ * Typically you will receive a disconnected event immediately after
2961
+ *
2962
+ * @generated from message norsk.api.media.RtmpError
2963
+ */
2964
+ class RtmpError extends protobuf_1.Message {
2965
+ constructor(data) {
2966
+ super();
2967
+ /**
2968
+ * @generated from oneof norsk.api.media.RtmpError.error
2969
+ */
2970
+ this.error = { case: undefined };
2971
+ protobuf_1.proto3.util.initPartial(data, this);
2972
+ }
2973
+ static fromBinary(bytes, options) {
2974
+ return new RtmpError().fromBinary(bytes, options);
2975
+ }
2976
+ static fromJson(jsonValue, options) {
2977
+ return new RtmpError().fromJson(jsonValue, options);
2978
+ }
2979
+ static fromJsonString(jsonString, options) {
2980
+ return new RtmpError().fromJsonString(jsonString, options);
2981
+ }
2982
+ static equals(a, b) {
2983
+ return protobuf_1.proto3.util.equals(RtmpError, a, b);
2984
+ }
2985
+ }
2986
+ exports.RtmpError = RtmpError;
2987
+ RtmpError.runtime = protobuf_1.proto3;
2988
+ RtmpError.typeName = "norsk.api.media.RtmpError";
2989
+ RtmpError.fields = protobuf_1.proto3.util.newFieldList(() => [
2990
+ { no: 1, name: "connection_id", kind: "message", T: ConnectionId },
2991
+ { no: 2, name: "unsupported_video", kind: "message", T: RtmpError_UnsupportedVideo, oneof: "error" },
2992
+ { no: 3, name: "unsupported_audio", kind: "message", T: RtmpError_UnsupportedAudio, oneof: "error" },
2993
+ ]);
2994
+ /**
2995
+ * @generated from message norsk.api.media.RtmpError.UnsupportedVideo
2996
+ */
2997
+ class RtmpError_UnsupportedVideo extends protobuf_1.Message {
2998
+ constructor(data) {
2999
+ super();
3000
+ /**
3001
+ * @generated from field: string type = 1;
3002
+ */
3003
+ this.type = "";
3004
+ protobuf_1.proto3.util.initPartial(data, this);
3005
+ }
3006
+ static fromBinary(bytes, options) {
3007
+ return new RtmpError_UnsupportedVideo().fromBinary(bytes, options);
3008
+ }
3009
+ static fromJson(jsonValue, options) {
3010
+ return new RtmpError_UnsupportedVideo().fromJson(jsonValue, options);
3011
+ }
3012
+ static fromJsonString(jsonString, options) {
3013
+ return new RtmpError_UnsupportedVideo().fromJsonString(jsonString, options);
3014
+ }
3015
+ static equals(a, b) {
3016
+ return protobuf_1.proto3.util.equals(RtmpError_UnsupportedVideo, a, b);
3017
+ }
3018
+ }
3019
+ exports.RtmpError_UnsupportedVideo = RtmpError_UnsupportedVideo;
3020
+ RtmpError_UnsupportedVideo.runtime = protobuf_1.proto3;
3021
+ RtmpError_UnsupportedVideo.typeName = "norsk.api.media.RtmpError.UnsupportedVideo";
3022
+ RtmpError_UnsupportedVideo.fields = protobuf_1.proto3.util.newFieldList(() => [
3023
+ { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3024
+ ]);
3025
+ /**
3026
+ * @generated from message norsk.api.media.RtmpError.UnsupportedAudio
3027
+ */
3028
+ class RtmpError_UnsupportedAudio extends protobuf_1.Message {
3029
+ constructor(data) {
3030
+ super();
3031
+ /**
3032
+ * @generated from field: string type = 1;
3033
+ */
3034
+ this.type = "";
3035
+ protobuf_1.proto3.util.initPartial(data, this);
3036
+ }
3037
+ static fromBinary(bytes, options) {
3038
+ return new RtmpError_UnsupportedAudio().fromBinary(bytes, options);
3039
+ }
3040
+ static fromJson(jsonValue, options) {
3041
+ return new RtmpError_UnsupportedAudio().fromJson(jsonValue, options);
3042
+ }
3043
+ static fromJsonString(jsonString, options) {
3044
+ return new RtmpError_UnsupportedAudio().fromJsonString(jsonString, options);
3045
+ }
3046
+ static equals(a, b) {
3047
+ return protobuf_1.proto3.util.equals(RtmpError_UnsupportedAudio, a, b);
3048
+ }
3049
+ }
3050
+ exports.RtmpError_UnsupportedAudio = RtmpError_UnsupportedAudio;
3051
+ RtmpError_UnsupportedAudio.runtime = protobuf_1.proto3;
3052
+ RtmpError_UnsupportedAudio.typeName = "norsk.api.media.RtmpError.UnsupportedAudio";
3053
+ RtmpError_UnsupportedAudio.fields = protobuf_1.proto3.util.newFieldList(() => [
3054
+ { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3055
+ ]);
3056
+ /**
3057
+ * *
3058
+ * Sent to your code when a bytes-read report is received from the peer
3059
+ *
3060
+ * @generated from message norsk.api.media.RtmpBytesRead
3061
+ */
3062
+ class RtmpBytesRead extends protobuf_1.Message {
3063
+ constructor(data) {
3064
+ super();
3065
+ /**
3066
+ * @generated from field: int64 bytes_read = 2;
3067
+ */
3068
+ this.bytesRead = protobuf_1.protoInt64.zero;
3069
+ protobuf_1.proto3.util.initPartial(data, this);
3070
+ }
3071
+ static fromBinary(bytes, options) {
3072
+ return new RtmpBytesRead().fromBinary(bytes, options);
3073
+ }
3074
+ static fromJson(jsonValue, options) {
3075
+ return new RtmpBytesRead().fromJson(jsonValue, options);
3076
+ }
3077
+ static fromJsonString(jsonString, options) {
3078
+ return new RtmpBytesRead().fromJsonString(jsonString, options);
3079
+ }
3080
+ static equals(a, b) {
3081
+ return protobuf_1.proto3.util.equals(RtmpBytesRead, a, b);
3082
+ }
3083
+ }
3084
+ exports.RtmpBytesRead = RtmpBytesRead;
3085
+ RtmpBytesRead.runtime = protobuf_1.proto3;
3086
+ RtmpBytesRead.typeName = "norsk.api.media.RtmpBytesRead";
3087
+ RtmpBytesRead.fields = protobuf_1.proto3.util.newFieldList(() => [
3088
+ { no: 1, name: "connection_id", kind: "message", T: ConnectionId },
3089
+ { no: 2, name: "bytes_read", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
3090
+ ]);
2949
3091
  /**
2950
3092
  * *
2951
3093
  * Messages that Norsk can send to your code in response to various RTMP
@@ -2985,6 +3127,8 @@ RtmpServerInputEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
2985
3127
  { no: 4, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
2986
3128
  { no: 5, name: "status", kind: "message", T: RtmpServerInputStatus, oneof: "message" },
2987
3129
  { no: 6, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
3130
+ { no: 7, name: "error", kind: "message", T: RtmpError, oneof: "message" },
3131
+ { no: 8, name: "bytes_read", kind: "message", T: RtmpBytesRead, oneof: "message" },
2988
3132
  ]);
2989
3133
  /**
2990
3134
  * ////////////////////////////////////////////////////////////////////////////
@@ -6701,6 +6845,10 @@ class HlsTsVideoConfiguration extends protobuf_1.Message {
6701
6845
  * @generated from field: float delay_output_ms = 3;
6702
6846
  */
6703
6847
  this.delayOutputMs = 0;
6848
+ /**
6849
+ * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
6850
+ */
6851
+ this.destinations = [];
6704
6852
  protobuf_1.proto3.util.initPartial(data, this);
6705
6853
  }
6706
6854
  static fromBinary(bytes, options) {
@@ -6724,6 +6872,7 @@ HlsTsVideoConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
6724
6872
  { no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
6725
6873
  { no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
6726
6874
  { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
6875
+ { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
6727
6876
  ]);
6728
6877
  /**
6729
6878
  * @generated from message norsk.api.media.HlsTsVideoMessage
@@ -6756,6 +6905,7 @@ HlsTsVideoMessage.typeName = "norsk.api.media.HlsTsVideoMessage";
6756
6905
  HlsTsVideoMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
6757
6906
  { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
6758
6907
  { no: 2, name: "configuration", kind: "message", T: HlsTsVideoConfiguration, oneof: "message" },
6908
+ { no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
6759
6909
  ]);
6760
6910
  /**
6761
6911
  * @generated from message norsk.api.media.CmafAudioConfiguration
@@ -6853,6 +7003,10 @@ class HlsTsAudioConfiguration extends protobuf_1.Message {
6853
7003
  * @generated from field: float delay_output_ms = 3;
6854
7004
  */
6855
7005
  this.delayOutputMs = 0;
7006
+ /**
7007
+ * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
7008
+ */
7009
+ this.destinations = [];
6856
7010
  protobuf_1.proto3.util.initPartial(data, this);
6857
7011
  }
6858
7012
  static fromBinary(bytes, options) {
@@ -6876,6 +7030,7 @@ HlsTsAudioConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
6876
7030
  { no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
6877
7031
  { no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
6878
7032
  { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
7033
+ { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
6879
7034
  ]);
6880
7035
  /**
6881
7036
  * @generated from message norsk.api.media.HlsTsAudioMessage
@@ -6908,6 +7063,7 @@ HlsTsAudioMessage.typeName = "norsk.api.media.HlsTsAudioMessage";
6908
7063
  HlsTsAudioMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
6909
7064
  { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
6910
7065
  { no: 2, name: "configuration", kind: "message", T: HlsTsAudioConfiguration, oneof: "message" },
7066
+ { no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
6911
7067
  ]);
6912
7068
  /**
6913
7069
  * @generated from message norsk.api.media.CmafWebVttConfiguration
@@ -6924,9 +7080,17 @@ class CmafWebVttConfiguration extends protobuf_1.Message {
6924
7080
  */
6925
7081
  this.delayOutputMs = 0;
6926
7082
  /**
6927
- * @generated from field: string sessionId = 4;
7083
+ * @generated from field: repeated norsk.api.media.CMAFDestination destinations = 5;
6928
7084
  */
6929
- this.sessionId = "";
7085
+ this.destinations = [];
7086
+ /**
7087
+ * @generated from field: string hls_cache_directory = 6;
7088
+ */
7089
+ this.hlsCacheDirectory = "";
7090
+ /**
7091
+ * @generated from field: uint32 maximum_playlist_segments = 7;
7092
+ */
7093
+ this.maximumPlaylistSegments = 0;
6930
7094
  protobuf_1.proto3.util.initPartial(data, this);
6931
7095
  }
6932
7096
  static fromBinary(bytes, options) {
@@ -6949,7 +7113,52 @@ CmafWebVttConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
6949
7113
  { no: 1, name: "id", kind: "message", T: MediaNodeId },
6950
7114
  { no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
6951
7115
  { no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
6952
- { no: 4, name: "sessionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7116
+ { no: 5, name: "destinations", kind: "message", T: CMAFDestination, repeated: true },
7117
+ { no: 6, name: "hls_cache_directory", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7118
+ { no: 7, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
7119
+ { no: 8, name: "pts_adjustment", kind: "message", T: Interval },
7120
+ ]);
7121
+ /**
7122
+ * TODO rethink this, not exposed to SDK yet
7123
+ * Only credentials are updateable
7124
+ *
7125
+ * @generated from message norsk.api.media.CmafWebVttUpdateConfiguration
7126
+ */
7127
+ class CmafWebVttUpdateConfiguration extends protobuf_1.Message {
7128
+ constructor(data) {
7129
+ super();
7130
+ /**
7131
+ * @generated from field: float retention_period_seconds = 2;
7132
+ */
7133
+ this.retentionPeriodSeconds = 0;
7134
+ /**
7135
+ * @generated from field: uint32 maximum_playlist_segments = 3;
7136
+ */
7137
+ this.maximumPlaylistSegments = 0;
7138
+ protobuf_1.proto3.util.initPartial(data, this);
7139
+ }
7140
+ static fromBinary(bytes, options) {
7141
+ return new CmafWebVttUpdateConfiguration().fromBinary(bytes, options);
7142
+ }
7143
+ static fromJson(jsonValue, options) {
7144
+ return new CmafWebVttUpdateConfiguration().fromJson(jsonValue, options);
7145
+ }
7146
+ static fromJsonString(jsonString, options) {
7147
+ return new CmafWebVttUpdateConfiguration().fromJsonString(jsonString, options);
7148
+ }
7149
+ static equals(a, b) {
7150
+ return protobuf_1.proto3.util.equals(CmafWebVttUpdateConfiguration, a, b);
7151
+ }
7152
+ }
7153
+ exports.CmafWebVttUpdateConfiguration = CmafWebVttUpdateConfiguration;
7154
+ CmafWebVttUpdateConfiguration.runtime = protobuf_1.proto3;
7155
+ CmafWebVttUpdateConfiguration.typeName = "norsk.api.media.CmafWebVttUpdateConfiguration";
7156
+ CmafWebVttUpdateConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
7157
+ { no: 1, name: "id", kind: "message", T: MediaNodeId },
7158
+ { no: 2, name: "retention_period_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
7159
+ { no: 3, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
7160
+ { no: 4, name: "pts_adjustment", kind: "message", T: Interval },
7161
+ { no: 5, name: "update_credentials", kind: "message", T: UpdateCredentials },
6953
7162
  ]);
6954
7163
  /**
6955
7164
  * @generated from message norsk.api.media.AwsCredentials
@@ -7024,98 +7233,6 @@ UpdateCredentials.fields = protobuf_1.proto3.util.newFieldList(() => [
7024
7233
  { no: 1, name: "destination_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7025
7234
  { no: 2, name: "aws_credentials", kind: "message", T: AwsCredentials },
7026
7235
  ]);
7027
- /**
7028
- * @generated from message norsk.api.media.HlsWebVttPushConfiguration
7029
- */
7030
- class HlsWebVttPushConfiguration extends protobuf_1.Message {
7031
- constructor(data) {
7032
- super();
7033
- /**
7034
- * @generated from field: float segment_duration_seconds = 2;
7035
- */
7036
- this.segmentDurationSeconds = 0;
7037
- /**
7038
- * @generated from field: float delay_output_ms = 3;
7039
- */
7040
- this.delayOutputMs = 0;
7041
- /**
7042
- * @generated from field: float retention_period_s = 6;
7043
- */
7044
- this.retentionPeriodS = 0;
7045
- /**
7046
- * @generated from field: string hls_cache_directory = 7;
7047
- */
7048
- this.hlsCacheDirectory = "";
7049
- /**
7050
- * @generated from field: uint32 maximum_playlist_segments = 8;
7051
- */
7052
- this.maximumPlaylistSegments = 0;
7053
- protobuf_1.proto3.util.initPartial(data, this);
7054
- }
7055
- static fromBinary(bytes, options) {
7056
- return new HlsWebVttPushConfiguration().fromBinary(bytes, options);
7057
- }
7058
- static fromJson(jsonValue, options) {
7059
- return new HlsWebVttPushConfiguration().fromJson(jsonValue, options);
7060
- }
7061
- static fromJsonString(jsonString, options) {
7062
- return new HlsWebVttPushConfiguration().fromJsonString(jsonString, options);
7063
- }
7064
- static equals(a, b) {
7065
- return protobuf_1.proto3.util.equals(HlsWebVttPushConfiguration, a, b);
7066
- }
7067
- }
7068
- exports.HlsWebVttPushConfiguration = HlsWebVttPushConfiguration;
7069
- HlsWebVttPushConfiguration.runtime = protobuf_1.proto3;
7070
- HlsWebVttPushConfiguration.typeName = "norsk.api.media.HlsWebVttPushConfiguration";
7071
- HlsWebVttPushConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
7072
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
7073
- { no: 2, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
7074
- { no: 3, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
7075
- { no: 4, name: "destination", kind: "message", T: CMAFDestination },
7076
- { no: 6, name: "retention_period_s", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
7077
- { no: 7, name: "hls_cache_directory", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7078
- { no: 8, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
7079
- { no: 9, name: "pts_adjustment", kind: "message", T: Interval },
7080
- ]);
7081
- /**
7082
- * @generated from message norsk.api.media.HlsWebVttPushUpdateConfiguration
7083
- */
7084
- class HlsWebVttPushUpdateConfiguration extends protobuf_1.Message {
7085
- constructor(data) {
7086
- super();
7087
- /**
7088
- * @generated from field: float retention_period_s = 2;
7089
- */
7090
- this.retentionPeriodS = 0;
7091
- /**
7092
- * @generated from field: uint32 maximum_playlist_segments = 3;
7093
- */
7094
- this.maximumPlaylistSegments = 0;
7095
- protobuf_1.proto3.util.initPartial(data, this);
7096
- }
7097
- static fromBinary(bytes, options) {
7098
- return new HlsWebVttPushUpdateConfiguration().fromBinary(bytes, options);
7099
- }
7100
- static fromJson(jsonValue, options) {
7101
- return new HlsWebVttPushUpdateConfiguration().fromJson(jsonValue, options);
7102
- }
7103
- static fromJsonString(jsonString, options) {
7104
- return new HlsWebVttPushUpdateConfiguration().fromJsonString(jsonString, options);
7105
- }
7106
- static equals(a, b) {
7107
- return protobuf_1.proto3.util.equals(HlsWebVttPushUpdateConfiguration, a, b);
7108
- }
7109
- }
7110
- exports.HlsWebVttPushUpdateConfiguration = HlsWebVttPushUpdateConfiguration;
7111
- HlsWebVttPushUpdateConfiguration.runtime = protobuf_1.proto3;
7112
- HlsWebVttPushUpdateConfiguration.typeName = "norsk.api.media.HlsWebVttPushUpdateConfiguration";
7113
- HlsWebVttPushUpdateConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
7114
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
7115
- { no: 2, name: "retention_period_s", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
7116
- { no: 3, name: "maximum_playlist_segments", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
7117
- { no: 4, name: "pts_adjustment", kind: "message", T: Interval },
7118
- ]);
7119
7236
  /**
7120
7237
  * @generated from message norsk.api.media.CmafWebVttMessage
7121
7238
  */
@@ -7147,39 +7264,8 @@ CmafWebVttMessage.typeName = "norsk.api.media.CmafWebVttMessage";
7147
7264
  CmafWebVttMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
7148
7265
  { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
7149
7266
  { no: 2, name: "configuration", kind: "message", T: CmafWebVttConfiguration, oneof: "message" },
7150
- ]);
7151
- /**
7152
- * @generated from message norsk.api.media.HlsWebVttPushMessage
7153
- */
7154
- class HlsWebVttPushMessage extends protobuf_1.Message {
7155
- constructor(data) {
7156
- super();
7157
- /**
7158
- * @generated from oneof norsk.api.media.HlsWebVttPushMessage.message
7159
- */
7160
- this.message = { case: undefined };
7161
- protobuf_1.proto3.util.initPartial(data, this);
7162
- }
7163
- static fromBinary(bytes, options) {
7164
- return new HlsWebVttPushMessage().fromBinary(bytes, options);
7165
- }
7166
- static fromJson(jsonValue, options) {
7167
- return new HlsWebVttPushMessage().fromJson(jsonValue, options);
7168
- }
7169
- static fromJsonString(jsonString, options) {
7170
- return new HlsWebVttPushMessage().fromJsonString(jsonString, options);
7171
- }
7172
- static equals(a, b) {
7173
- return protobuf_1.proto3.util.equals(HlsWebVttPushMessage, a, b);
7174
- }
7175
- }
7176
- exports.HlsWebVttPushMessage = HlsWebVttPushMessage;
7177
- HlsWebVttPushMessage.runtime = protobuf_1.proto3;
7178
- HlsWebVttPushMessage.typeName = "norsk.api.media.HlsWebVttPushMessage";
7179
- HlsWebVttPushMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
7180
- { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
7181
- { no: 2, name: "configuration", kind: "message", T: HlsWebVttPushConfiguration, oneof: "message" },
7182
- { no: 3, name: "update_config", kind: "message", T: HlsWebVttPushUpdateConfiguration, oneof: "message" },
7267
+ { no: 3, name: "update_config", kind: "message", T: CmafWebVttUpdateConfiguration, oneof: "message" },
7268
+ { no: 4, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
7183
7269
  ]);
7184
7270
  /**
7185
7271
  * @generated from message norsk.api.media.CmafMasterConfiguration
@@ -7252,214 +7338,6 @@ CmafMasterMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
7252
7338
  { no: 2, name: "configuration", kind: "message", T: CmafMasterConfiguration, oneof: "message" },
7253
7339
  { no: 3, name: "update_credentials", kind: "message", T: UpdateCredentials, oneof: "message" },
7254
7340
  ]);
7255
- /**
7256
- * @generated from message norsk.api.media.HlsMasterPushConfiguration
7257
- */
7258
- class HlsMasterPushConfiguration extends protobuf_1.Message {
7259
- constructor(data) {
7260
- super();
7261
- /**
7262
- * @generated from field: string playlist_name = 2;
7263
- */
7264
- this.playlistName = "";
7265
- protobuf_1.proto3.util.initPartial(data, this);
7266
- }
7267
- static fromBinary(bytes, options) {
7268
- return new HlsMasterPushConfiguration().fromBinary(bytes, options);
7269
- }
7270
- static fromJson(jsonValue, options) {
7271
- return new HlsMasterPushConfiguration().fromJson(jsonValue, options);
7272
- }
7273
- static fromJsonString(jsonString, options) {
7274
- return new HlsMasterPushConfiguration().fromJsonString(jsonString, options);
7275
- }
7276
- static equals(a, b) {
7277
- return protobuf_1.proto3.util.equals(HlsMasterPushConfiguration, a, b);
7278
- }
7279
- }
7280
- exports.HlsMasterPushConfiguration = HlsMasterPushConfiguration;
7281
- HlsMasterPushConfiguration.runtime = protobuf_1.proto3;
7282
- HlsMasterPushConfiguration.typeName = "norsk.api.media.HlsMasterPushConfiguration";
7283
- HlsMasterPushConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
7284
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
7285
- { no: 2, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
7286
- { no: 3, name: "destination", kind: "message", T: CMAFDestination },
7287
- { no: 4, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
7288
- ]);
7289
- /**
7290
- * @generated from message norsk.api.media.HlsMasterPushMessage
7291
- */
7292
- class HlsMasterPushMessage extends protobuf_1.Message {
7293
- constructor(data) {
7294
- super();
7295
- /**
7296
- * @generated from oneof norsk.api.media.HlsMasterPushMessage.message
7297
- */
7298
- this.message = { case: undefined };
7299
- protobuf_1.proto3.util.initPartial(data, this);
7300
- }
7301
- static fromBinary(bytes, options) {
7302
- return new HlsMasterPushMessage().fromBinary(bytes, options);
7303
- }
7304
- static fromJson(jsonValue, options) {
7305
- return new HlsMasterPushMessage().fromJson(jsonValue, options);
7306
- }
7307
- static fromJsonString(jsonString, options) {
7308
- return new HlsMasterPushMessage().fromJsonString(jsonString, options);
7309
- }
7310
- static equals(a, b) {
7311
- return protobuf_1.proto3.util.equals(HlsMasterPushMessage, a, b);
7312
- }
7313
- }
7314
- exports.HlsMasterPushMessage = HlsMasterPushMessage;
7315
- HlsMasterPushMessage.runtime = protobuf_1.proto3;
7316
- HlsMasterPushMessage.typeName = "norsk.api.media.HlsMasterPushMessage";
7317
- HlsMasterPushMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
7318
- { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
7319
- { no: 2, name: "configuration", kind: "message", T: HlsMasterPushConfiguration, oneof: "message" },
7320
- ]);
7321
- /**
7322
- * @generated from message norsk.api.media.HlsTsVideoPushConfiguration
7323
- */
7324
- class HlsTsVideoPushConfiguration extends protobuf_1.Message {
7325
- constructor(data) {
7326
- super();
7327
- /**
7328
- * @generated from field: float segment_duration_seconds = 3;
7329
- */
7330
- this.segmentDurationSeconds = 0;
7331
- /**
7332
- * @generated from field: float delay_output_ms = 4;
7333
- */
7334
- this.delayOutputMs = 0;
7335
- protobuf_1.proto3.util.initPartial(data, this);
7336
- }
7337
- static fromBinary(bytes, options) {
7338
- return new HlsTsVideoPushConfiguration().fromBinary(bytes, options);
7339
- }
7340
- static fromJson(jsonValue, options) {
7341
- return new HlsTsVideoPushConfiguration().fromJson(jsonValue, options);
7342
- }
7343
- static fromJsonString(jsonString, options) {
7344
- return new HlsTsVideoPushConfiguration().fromJsonString(jsonString, options);
7345
- }
7346
- static equals(a, b) {
7347
- return protobuf_1.proto3.util.equals(HlsTsVideoPushConfiguration, a, b);
7348
- }
7349
- }
7350
- exports.HlsTsVideoPushConfiguration = HlsTsVideoPushConfiguration;
7351
- HlsTsVideoPushConfiguration.runtime = protobuf_1.proto3;
7352
- HlsTsVideoPushConfiguration.typeName = "norsk.api.media.HlsTsVideoPushConfiguration";
7353
- HlsTsVideoPushConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
7354
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
7355
- { no: 2, name: "destination", kind: "message", T: CMAFDestination },
7356
- { no: 3, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
7357
- { no: 4, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
7358
- { no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
7359
- ]);
7360
- /**
7361
- * @generated from message norsk.api.media.HlsTsVideoPushMessage
7362
- */
7363
- class HlsTsVideoPushMessage extends protobuf_1.Message {
7364
- constructor(data) {
7365
- super();
7366
- /**
7367
- * @generated from oneof norsk.api.media.HlsTsVideoPushMessage.message
7368
- */
7369
- this.message = { case: undefined };
7370
- protobuf_1.proto3.util.initPartial(data, this);
7371
- }
7372
- static fromBinary(bytes, options) {
7373
- return new HlsTsVideoPushMessage().fromBinary(bytes, options);
7374
- }
7375
- static fromJson(jsonValue, options) {
7376
- return new HlsTsVideoPushMessage().fromJson(jsonValue, options);
7377
- }
7378
- static fromJsonString(jsonString, options) {
7379
- return new HlsTsVideoPushMessage().fromJsonString(jsonString, options);
7380
- }
7381
- static equals(a, b) {
7382
- return protobuf_1.proto3.util.equals(HlsTsVideoPushMessage, a, b);
7383
- }
7384
- }
7385
- exports.HlsTsVideoPushMessage = HlsTsVideoPushMessage;
7386
- HlsTsVideoPushMessage.runtime = protobuf_1.proto3;
7387
- HlsTsVideoPushMessage.typeName = "norsk.api.media.HlsTsVideoPushMessage";
7388
- HlsTsVideoPushMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
7389
- { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
7390
- { no: 2, name: "configuration", kind: "message", T: HlsTsVideoPushConfiguration, oneof: "message" },
7391
- ]);
7392
- /**
7393
- * @generated from message norsk.api.media.HlsTsAudioPushConfiguration
7394
- */
7395
- class HlsTsAudioPushConfiguration extends protobuf_1.Message {
7396
- constructor(data) {
7397
- super();
7398
- /**
7399
- * @generated from field: float segment_duration_seconds = 3;
7400
- */
7401
- this.segmentDurationSeconds = 0;
7402
- /**
7403
- * @generated from field: float delay_output_ms = 4;
7404
- */
7405
- this.delayOutputMs = 0;
7406
- protobuf_1.proto3.util.initPartial(data, this);
7407
- }
7408
- static fromBinary(bytes, options) {
7409
- return new HlsTsAudioPushConfiguration().fromBinary(bytes, options);
7410
- }
7411
- static fromJson(jsonValue, options) {
7412
- return new HlsTsAudioPushConfiguration().fromJson(jsonValue, options);
7413
- }
7414
- static fromJsonString(jsonString, options) {
7415
- return new HlsTsAudioPushConfiguration().fromJsonString(jsonString, options);
7416
- }
7417
- static equals(a, b) {
7418
- return protobuf_1.proto3.util.equals(HlsTsAudioPushConfiguration, a, b);
7419
- }
7420
- }
7421
- exports.HlsTsAudioPushConfiguration = HlsTsAudioPushConfiguration;
7422
- HlsTsAudioPushConfiguration.runtime = protobuf_1.proto3;
7423
- HlsTsAudioPushConfiguration.typeName = "norsk.api.media.HlsTsAudioPushConfiguration";
7424
- HlsTsAudioPushConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
7425
- { no: 1, name: "id", kind: "message", T: MediaNodeId },
7426
- { no: 2, name: "destination", kind: "message", T: CMAFDestination },
7427
- { no: 3, name: "segment_duration_seconds", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
7428
- { no: 4, name: "delay_output_ms", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
7429
- { no: 5, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
7430
- ]);
7431
- /**
7432
- * @generated from message norsk.api.media.HlsTsAudioPushMessage
7433
- */
7434
- class HlsTsAudioPushMessage extends protobuf_1.Message {
7435
- constructor(data) {
7436
- super();
7437
- /**
7438
- * @generated from oneof norsk.api.media.HlsTsAudioPushMessage.message
7439
- */
7440
- this.message = { case: undefined };
7441
- protobuf_1.proto3.util.initPartial(data, this);
7442
- }
7443
- static fromBinary(bytes, options) {
7444
- return new HlsTsAudioPushMessage().fromBinary(bytes, options);
7445
- }
7446
- static fromJson(jsonValue, options) {
7447
- return new HlsTsAudioPushMessage().fromJson(jsonValue, options);
7448
- }
7449
- static fromJsonString(jsonString, options) {
7450
- return new HlsTsAudioPushMessage().fromJsonString(jsonString, options);
7451
- }
7452
- static equals(a, b) {
7453
- return protobuf_1.proto3.util.equals(HlsTsAudioPushMessage, a, b);
7454
- }
7455
- }
7456
- exports.HlsTsAudioPushMessage = HlsTsAudioPushMessage;
7457
- HlsTsAudioPushMessage.runtime = protobuf_1.proto3;
7458
- HlsTsAudioPushMessage.typeName = "norsk.api.media.HlsTsAudioPushMessage";
7459
- HlsTsAudioPushMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
7460
- { no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
7461
- { no: 2, name: "configuration", kind: "message", T: HlsTsAudioPushConfiguration, oneof: "message" },
7462
- ]);
7463
7341
  /**
7464
7342
  * @generated from message norsk.api.media.HlsTsCombinedPushConfiguration
7465
7343
  */
@@ -11903,7 +11781,8 @@ class Subscription extends protobuf_1.Message {
11903
11781
  constructor(data) {
11904
11782
  super();
11905
11783
  /**
11906
- * An arbitrary id of the subscription, to enable correlating of the corresponding subscription response
11784
+ * An arbitrary id of the subscription, to enable correlating of the
11785
+ * corresponding subscription response
11907
11786
  *
11908
11787
  * @generated from field: string id = 1;
11909
11788
  */