@norskvideo/norsk-api 1.0.368 → 1.0.372
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 +16 -0
- package/lib/media_grpc_pb.js +33 -0
- package/lib/media_pb.d.ts +309 -0
- package/lib/media_pb.js +362 -7
- package/lib/media_pb.js.map +1 -1
- package/lib/media_pb.ts +529 -0
- package/package.json +1 -1
package/lib/media_pb.js
CHANGED
|
@@ -8,13 +8,13 @@ exports.TimestampSourceProgramNudge = exports.TimestampProgramNudge = exports.Ti
|
|
|
8
8
|
exports.SrtTsContext = exports.SrtInputMessage = exports.SrtInputConfiguration = exports.StreamWebVttInputEvent = exports.StreamWebVttError = exports.StreamWebVttInputConfiguration = exports.StreamWebVttInputMessage = exports.FileWebVttInputEvent = exports.FileWebVttInputConfiguration = exports.FileTsInputMessage = exports.FileTsInputConfigurationUpdate = exports.FileTsInputConfiguration_StartMode = exports.FileTsInputConfiguration = exports.TsInputEvent = exports.TsInputStatus_State = exports.TsInputStatus = exports.TsContext = exports.TsProgram_TsPid = exports.TsProgram_TsStreamType = exports.TsProgram = exports.RtmpServerInputEvent = exports.RtmpBytesRead = exports.RtmpError_UnsupportedAudio = exports.RtmpError_UnsupportedVideo = exports.RtmpError = exports.RtmpOnStream = exports.RtmpServerInputStatus_State = exports.RtmpServerInputStatus = exports.RtmpConnection = exports.RtmpServerInputMessage = exports.RtmpStreamReject = exports.RtmpStreamAccept = exports.RtmpConnectionReject = exports.RtmpConnectionAccept = exports.SslServerOptions = exports.RtmpServerInputConfiguration = exports.ConnectionId = exports.GopStructure_SinglePictureStructure = exports.GopStructure_PictureType = exports.GopStructure = exports.CodecPictureStructure_HEVCPictureStructure_HEVCSliceType = exports.CodecPictureStructure_HEVCPictureStructure = exports.CodecPictureStructure_H264PictureStructure_H264SliceType = exports.CodecPictureStructure_H264PictureStructure = exports.CodecPictureStructure_Mpeg2PictureStructure_Mpeg2GopInfo = exports.CodecPictureStructure_Mpeg2PictureStructure = exports.CodecPictureStructure = exports.StreamStatisticsSampling = exports.MultiStreamStatistics_SingleStreamStatistics = exports.MultiStreamStatistics = void 0;
|
|
9
9
|
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.FileMp4InputPlayUntil = exports.FileMp4InputSeek = exports.FileMp4InputMessage = exports.FileMp4InputConfigurationUpdate = exports.FileMp4InputConfiguration_StartMode = exports.FileMp4InputConfiguration = exports.FileImageInputEvent = exports.FileImageInputConfiguration_ImageFormat = exports.FileImageInputConfiguration_FileImageHardwareAcceleration = exports.FileImageInputConfiguration = exports.DeltacastInputEvent = exports.DeltacastInputMessage = exports.DeltacastInputConfiguration = exports.DeckLinkInputEvent = exports.DeckLinkInputMessage = exports.DeckLinkInputConfiguration = exports.DeckLinkCardIndex = exports.VideoTestCardGeneratorEvent = exports.VideoTestCardGeneratorMessage = exports.TestCardVideoConfiguration = exports.TestCardVideoSetup = exports.M3u8MediaInputEvent = exports.M3u8MediaInputMessage = exports.M3u8MediaInputConfiguration = exports.UdpTsInputMessage = exports.UdpTsInputConfiguration = exports.SrtInputEvent = exports.SrtInputStatus_State = exports.SrtInputStatus = exports.SrtConnectionClose = exports.SrtConnectionReject = exports.SrtConnectionAccept = exports.SrtConnectMessage = void 0;
|
|
10
10
|
exports.CMAFDestination = exports.LocalPullDestination = exports.AwsS3PushDestination = exports.Mp4Encryption_Mp4EncryptionScheme = exports.Mp4Encryption = exports.AudioSplitMultichannelEvent = exports.AudioSplitMultichannelConfiguration = exports.AudioSplitMultichannelMessage = exports.AudioSplitMultichannelSource = exports.AudioBuildMultichannelEvent = exports.AudioBuildMultichannelConfiguration = exports.AudioBuildMultichannelUpdateChannels = exports.AudioBuildMultichannelMessage = exports.AudioBuildMultichannelSource = exports.AudioGainEvent = exports.AudioGainUpdateConfiguration = exports.AudioGainConfiguration = exports.AudioGainMessage = exports.AudioMixMatrixEvent = exports.AudioMixMatrixUpdateConfiguration = exports.AudioMixMatrixConfiguration = exports.ChannelGainMapping = exports.AudioMixMatrixMessage = exports.AudioMixEvent = exports.AudioMixUpdateConfiguration = exports.AudioMixConfiguration = exports.AudioMixMessage = exports.AudioMixSource = exports.MetadataCombineEvent = exports.MetadataCombineConfiguration = exports.MetadataCombineMessage = exports.TransitionComplete = exports.VideoComposeSourceEvent = exports.VideoComposeUpdateConfiguration = exports.VideoComposeConfiguration_MissingStreamBehaviour = exports.VideoComposeConfiguration_PixelFormat = exports.VideoComposeConfiguration_ComposeHardwareAcceleration = exports.VideoComposeConfiguration = exports.VideoComposeMessage = exports.PartId = exports.Easing_SimpleEasing = exports.Easing = exports.Transition = exports.ComposePart = exports.OffsetRectangle = exports.WhipInputEvent = exports.WhipInputMessage = exports.WhipInputConfiguration = exports.WebRtcIceServer = exports.WebRtcConfiguration = void 0;
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.SubscriptionChannelResponse = exports.SubscriptionChannelMessage = exports.NorskStatusEvent = exports.Hello = exports.SourceSubscriptionError_UnsupportedConversion = exports.SourceSubscriptionError_NoSubscriberPin = exports.SourceSubscriptionError_SourceStream = exports.SourceSubscriptionError = exports.SubscriptionError_SourceSubscriptionErrors = exports.SubscriptionError_MultipleStreams = exports.SubscriptionError = exports.SubscriptionResponse = exports.Subscription = exports.SubscribeSource = void 0;
|
|
11
|
+
exports.SipCredentials = exports.SipAccount = exports.SipConfiguration = exports.WhepOutputEvent_State = exports.WhepOutputEvent = exports.WhepOutputMessage = exports.WhepOutputConfiguration = exports.WebRTCBrowserDuplexEvent = exports.WebRTCBrowserDuplexMessage = exports.WebRTCBrowserDuplexConfiguration = exports.WhipOutputEvent = exports.WhipOutputMessage = exports.WhipOutputConfiguration = exports.SrtOutputEvent = exports.SrtOutputMessage = exports.SrtOutputConfiguration = exports.UdpTsOutputEvent = exports.UdpTsOutputMessage = exports.UdpTsOutputConfiguration = exports.HlsOutputEvent = exports.HlsTsCombinedPushMessage = exports.HlsPushDestination = exports.HlsTsCombinedPushConfiguration = exports.HlsTsMultiVariantMessage = exports.HlsTsMultiVariantConfiguration = exports.CmafMultiVariantMessage = exports.CmafMultiVariantConfiguration = exports.CmafWebVttMessage = exports.MultiVariantPlaylistData = exports.TsMediaPlaylistData = exports.CmafMediaPlaylistData = exports.PlaylistPart = exports.ProgramDateTime = exports.HlsTag = exports.MediaSegment = exports.AdMarker = exports.UpdatePlaylist = exports.UpdateDestinationPlaylist = exports.UpdateCredentials = exports.AwsCredentials = exports.CmafWebVttUpdateConfiguration = exports.CmafWebVttConfiguration = exports.HlsTsAudioMessage = exports.HlsTsAudioConfiguration = exports.CmafAudioMessage = exports.CmafAudioConfiguration = exports.HlsTsVideoMessage = exports.HlsTsVideoConfiguration = exports.CmafVideoMessage = exports.CmafVideoConfiguration = void 0;
|
|
12
|
+
exports.NvidiaHevc_NvidiaHevcProfile = exports.NvidiaHevc = exports.NvidiaH264_NvidiaH264Profile = exports.NvidiaH264 = exports.NvidiaRateControl_NvidiaRateControlMode = exports.NvidiaRateControl = exports.VideoDecodeEvent = exports.VideoDecodeMessage = exports.VideoDecodeConfiguration_VideoDecoder = exports.VideoDecodeConfiguration = exports.VideoEncodeEvent = exports.VideoEncodeMessage = exports.VideoEncodeConfiguration = exports.VideoEncodeStream = exports.X265Codec_X265Tier = exports.X265Codec_X265Tune = exports.X265Codec_X265Preset = exports.X265Codec_X265Profile = exports.X265Codec = exports.X264Codec_X264NalHrd = exports.X264Codec_X264Tune = exports.X264Codec_X264Preset = exports.X264Codec_X264Profile = exports.X264Codec = exports.SampleAspectRatio = exports.FrameRate = exports.FileWebVttOutputEvent = exports.FileWebVttOutputMessage = exports.FileWebVttOutputConfiguration = exports.FileMp4OutputEvent = exports.FileMp4OutputStatus_State = exports.FileMp4OutputStatus = exports.FileMp4OutputMessage = exports.FileMp4OutputWriteMessage = exports.FileMp4OutputConfiguration = exports.FileTsOutputEvent = exports.FileTsOutputMessage = exports.FileTsOutputConfiguration = exports.RtmpOutputEvent_State = exports.RtmpOutputEvent = exports.RtmpOutputMessage = exports.SslClientOptions = exports.RtmpOutputConfiguration = exports.SipEvent_Status = exports.SipEvent = exports.SipConnectionStatistics = exports.SipStreamStatistics = exports.SipMessage = exports.SipCall = exports.SipCredentialData = void 0;
|
|
13
|
+
exports.StreamMetadataOverrideUpdateConfiguration = exports.StreamMetadataOverrideConfiguration = exports.StreamKeyOverrideEvent = exports.StreamKeyOverrideMessage = exports.StreamKeyOverrideConfiguration = exports.StreamTimestampNudgeEvent = exports.StreamTimestampNudgeMessage = exports.StreamTimestampNudgeConfiguration = exports.StreamChaosMonkeyEvent = exports.StreamChaosMonkeyMessage = exports.StreamChaosMonkeyConfiguration = exports.VideoTransformEvent = exports.VideoTransformMessage = exports.VideoTransformConfiguration = exports.SoftwareDeinterlace_SoftwareDeinterlaceAlgorithm = exports.SoftwareDeinterlace = exports.NoDeinterlace = exports.AmdMA35DHevc_AmdMA35DHevcTier = exports.AmdMA35DHevc_AmdMA35DHevcProfile = exports.AmdMA35DHevc = exports.AmdMA35DH264_AmdMA35DH264Profile = exports.AmdMA35DH264 = exports.AmdMA35DEncodeCommon_ContentAdaptive = exports.AmdMA35DEncodeCommon_ConstrainedVBR = exports.AmdMA35DEncodeCommon_VBR = exports.AmdMA35DEncodeCommon_CBR = exports.AmdMA35DEncodeCommon_ConstQp = exports.AmdMA35DEncodeCommon_TrinaryFlag = exports.AmdMA35DEncodeCommon_TuneMetrics = exports.AmdMA35DEncodeCommon_QpMode = exports.AmdMA35DEncodeCommon_Preset = exports.AmdMA35DEncodeCommon = exports.AmdMA35DLoad_ComputeUnitLoad = exports.AmdMA35DLoad = exports.AmdU30Hevc_AmdU30HevcTier = exports.AmdU30Hevc_AmdU30HevcProfile = exports.AmdU30Hevc = exports.AmdU30H264_AmdU30H264Profile = exports.AmdU30H264 = exports.LoganHevc_LoganHevcTier = exports.LoganHevc_LoganHevcProfile = exports.LoganHevc = exports.LoganH264_LoganH264Profile = exports.LoganH264 = exports.QuadraHevc_QuadraHevcTier = exports.QuadraHevc_QuadraHevcProfile = exports.QuadraHevc = exports.QuadraH264_QuadraH264Profile = exports.QuadraH264 = exports.NvidiaHevc_NvidiaHevcTier = void 0;
|
|
14
|
+
exports.StreamTimestampReportEvent = exports.StreamTimestampReport = exports.StreamTimestampReportMessage = exports.StreamTimestampReportConfiguration = exports.AudioMeasureLevelsEvent = exports.AudioMeasureLevels = exports.ChannelLevels = exports.Db = exports.AudioMeasureLevelsMessage = exports.AudioMeasureLevelsConfiguration = exports.StreamStatisticsEvent = exports.StreamStatisticsMessage = exports.StreamStatisticsConfiguration = exports.StreamSwitchHardEvent = exports.StreamSwitchHardMessage = exports.StreamSwitchHardSwitch = exports.StreamSwitchHardConfiguration = exports.StreamSwitchSmoothEvent = exports.StreamSwitchTransitionComplete = exports.StreamSwitchSmoothSwitchError = exports.StreamSwitchSmoothMessage = exports.StreamSwitchSmoothSwitch = exports.StreamSwitchSmoothConfiguration_Alignment = exports.StreamSwitchSmoothConfiguration_StreamSwitchSmoothHardwareAcceleration = exports.StreamSwitchSmoothConfiguration = exports.SubtitleConvertEvent = exports.SubtitleConvertMessage = exports.SubtitleConvertConfiguration = exports.Cta708EncodeConfiguration = exports.Cta608EncodeConfiguration_Cta608EncodeStyle = exports.Cta608EncodeConfiguration = exports.WebVttEncodeConfiguration = exports.AudioEncodeEvent = exports.AudioEncodeMessage = exports.AudioEncodeConfiguration = exports.OpusEncodeConfiguration = exports.AacEncodeConfiguration_AacEncapsulation = 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 = void 0;
|
|
15
|
+
exports.Scte35ScheduleCommand = exports.Scte35PrivateCommand = exports.Scte35BreakDuration = exports.Scte35SpliceTime = exports.Scte35InsertCommandComponent = exports.Scte35InsertCommandMode_InsertComponent = exports.Scte35InsertCommandMode_InsertProgram = exports.Scte35InsertCommandMode = exports.Scte35InsertCommand = exports.Scte35TimeSignalCommand = exports.Scte35SpliceCommand = exports.Scte35SpliceInfoSection = exports.StreamConditionEvent = exports.StreamConditionMessage = exports.StreamConditionSpliceIn = exports.StreamConditionSpliceOut = exports.StreamConditionConfiguration = exports.VancType2AncillaryId = exports.Smpte2038Message = exports.Scte35Event = exports.AncillaryEvent = exports.MetadataMessage = exports.AncillaryMessage = exports.AncillaryConfiguration = exports.SubtitleTranslateAwsEvent = exports.SubtitleTranslateAwsMessage = exports.SubtitleTranslateAwsConfiguration = exports.AudioTranscribeWhisperEvent = exports.AudioTranscribeWhisperMessage = exports.AudioTranscribeWhisperConfiguration_SamplingStrategy = exports.AudioTranscribeWhisperConfiguration = exports.AudioTranscribeAzureEvent = exports.AudioTranscribeAzureMessage = exports.AudioTranscribeAzureConfiguration_ProfanityOption = exports.AudioTranscribeAzureConfiguration = exports.AudioTranscribeAwsEvent = exports.AudioTranscribeAwsMessage = 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 = void 0;
|
|
16
|
+
exports.Core = exports.LogicalCpuId = exports.MoqOutputEvent = exports.MoqOutputMessage = exports.MoqOutputConfiguration = exports.MediaStorePlayerEvent = exports.MediaStorePlayerMessage = exports.MediaStorePlayerConfiguration = exports.MediaStoreCutEvent = exports.MediaStoreAssetEvent = exports.MediaStoreAssetImportComplete = exports.MediaStoreAssetSettings = exports.MediaStoreAssetSource = exports.MediaStoreAssetFile = exports.MediaStoreAssetFileWithHash = exports.MediaStoreSnapshotEvent = exports.MediaStoreSnapshotMessage = exports.MediaStoreRecorderEvent = exports.MediaStoreRecorderMessage = exports.MediaStoreCutComplete = exports.Progress = exports.MediaStoreCutRequest = exports.CancelMediaStoreCut = exports.StartMediaStoreCut_FileFormat = exports.StartMediaStoreCut = exports.SingleCut = exports.StreamSelection = exports.MediaStoreSnapshotConfiguration = exports.MediaStoreRecorderConfiguration = exports.MediaStoreExpiry = exports.MediaStoreMetadataResponse = exports.MediaStoreMetadataRequest = exports.MediaStoreSession = exports.MediaStoreStream = exports.MediaStoreStreamVersion = 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 = void 0;
|
|
17
|
+
exports.SubscriptionChannelResponse = exports.SubscriptionChannelMessage = exports.NorskStatusEvent = exports.Hello = exports.SourceSubscriptionError_UnsupportedConversion = exports.SourceSubscriptionError_NoSubscriberPin = exports.SourceSubscriptionError_SourceStream = exports.SourceSubscriptionError = exports.SubscriptionError_SourceSubscriptionErrors = exports.SubscriptionError_MultipleStreams = exports.SubscriptionError = exports.SubscriptionResponse = exports.Subscription = exports.SubscribeSource = exports.Hardware = exports.MA35DCard = exports.MA35DVersionInfo = exports.MA35DDeviceInfo = exports.DeckLinkDisplayModes = exports.DeckLinkDisplayMode = exports.DeckLinkCard = exports.CpuTopology = exports.NumaNode = exports.Processor = void 0;
|
|
18
18
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
19
19
|
const common_pb_js_1 = require("./shared/common_pb.js");
|
|
20
20
|
/**
|
|
@@ -10066,6 +10066,361 @@ protobuf_1.proto3.util.setEnumType(WhepOutputEvent_State, "norsk.api.media.WhepO
|
|
|
10066
10066
|
{ no: 0, name: "WHEP_OUTPUT_STATUS_UNKNOWN" },
|
|
10067
10067
|
{ no: 1, name: "WHEP_OUTPUT_STATUS_READY" },
|
|
10068
10068
|
]);
|
|
10069
|
+
/**
|
|
10070
|
+
* @generated from message norsk.api.media.SipConfiguration
|
|
10071
|
+
*/
|
|
10072
|
+
class SipConfiguration extends protobuf_1.Message {
|
|
10073
|
+
constructor(data) {
|
|
10074
|
+
super();
|
|
10075
|
+
/**
|
|
10076
|
+
* @generated from field: string source_name = 6;
|
|
10077
|
+
*/
|
|
10078
|
+
this.sourceName = "";
|
|
10079
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
10080
|
+
}
|
|
10081
|
+
static fromBinary(bytes, options) {
|
|
10082
|
+
return new SipConfiguration().fromBinary(bytes, options);
|
|
10083
|
+
}
|
|
10084
|
+
static fromJson(jsonValue, options) {
|
|
10085
|
+
return new SipConfiguration().fromJson(jsonValue, options);
|
|
10086
|
+
}
|
|
10087
|
+
static fromJsonString(jsonString, options) {
|
|
10088
|
+
return new SipConfiguration().fromJsonString(jsonString, options);
|
|
10089
|
+
}
|
|
10090
|
+
static equals(a, b) {
|
|
10091
|
+
return protobuf_1.proto3.util.equals(SipConfiguration, a, b);
|
|
10092
|
+
}
|
|
10093
|
+
}
|
|
10094
|
+
exports.SipConfiguration = SipConfiguration;
|
|
10095
|
+
SipConfiguration.runtime = protobuf_1.proto3;
|
|
10096
|
+
SipConfiguration.typeName = "norsk.api.media.SipConfiguration";
|
|
10097
|
+
SipConfiguration.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
10098
|
+
{ no: 1, name: "id", kind: "message", T: MediaNodeId },
|
|
10099
|
+
{ no: 2, name: "stats_sampling", kind: "message", T: StreamStatisticsSampling },
|
|
10100
|
+
{ no: 3, name: "account", kind: "message", T: SipAccount },
|
|
10101
|
+
{ no: 4, name: "buffer_delay_ms", kind: "message", T: common_pb_js_1.OptionalInt },
|
|
10102
|
+
{ no: 5, name: "call", kind: "message", T: SipCall },
|
|
10103
|
+
{ no: 6, name: "source_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10104
|
+
]);
|
|
10105
|
+
/**
|
|
10106
|
+
* @generated from message norsk.api.media.SipAccount
|
|
10107
|
+
*/
|
|
10108
|
+
class SipAccount extends protobuf_1.Message {
|
|
10109
|
+
constructor(data) {
|
|
10110
|
+
super();
|
|
10111
|
+
/**
|
|
10112
|
+
* @generated from field: string id = 1;
|
|
10113
|
+
*/
|
|
10114
|
+
this.id = "";
|
|
10115
|
+
/**
|
|
10116
|
+
* @generated from field: string reg_uri = 3;
|
|
10117
|
+
*/
|
|
10118
|
+
this.regUri = "";
|
|
10119
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
10120
|
+
}
|
|
10121
|
+
static fromBinary(bytes, options) {
|
|
10122
|
+
return new SipAccount().fromBinary(bytes, options);
|
|
10123
|
+
}
|
|
10124
|
+
static fromJson(jsonValue, options) {
|
|
10125
|
+
return new SipAccount().fromJson(jsonValue, options);
|
|
10126
|
+
}
|
|
10127
|
+
static fromJsonString(jsonString, options) {
|
|
10128
|
+
return new SipAccount().fromJsonString(jsonString, options);
|
|
10129
|
+
}
|
|
10130
|
+
static equals(a, b) {
|
|
10131
|
+
return protobuf_1.proto3.util.equals(SipAccount, a, b);
|
|
10132
|
+
}
|
|
10133
|
+
}
|
|
10134
|
+
exports.SipAccount = SipAccount;
|
|
10135
|
+
SipAccount.runtime = protobuf_1.proto3;
|
|
10136
|
+
SipAccount.typeName = "norsk.api.media.SipAccount";
|
|
10137
|
+
SipAccount.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
10138
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10139
|
+
{ no: 2, name: "credentials", kind: "message", T: SipCredentials },
|
|
10140
|
+
{ no: 3, name: "reg_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10141
|
+
]);
|
|
10142
|
+
/**
|
|
10143
|
+
* @generated from message norsk.api.media.SipCredentials
|
|
10144
|
+
*/
|
|
10145
|
+
class SipCredentials extends protobuf_1.Message {
|
|
10146
|
+
constructor(data) {
|
|
10147
|
+
super();
|
|
10148
|
+
/**
|
|
10149
|
+
* @generated from field: string realm = 1;
|
|
10150
|
+
*/
|
|
10151
|
+
this.realm = "";
|
|
10152
|
+
/**
|
|
10153
|
+
* @generated from field: string username = 2;
|
|
10154
|
+
*/
|
|
10155
|
+
this.username = "";
|
|
10156
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
10157
|
+
}
|
|
10158
|
+
static fromBinary(bytes, options) {
|
|
10159
|
+
return new SipCredentials().fromBinary(bytes, options);
|
|
10160
|
+
}
|
|
10161
|
+
static fromJson(jsonValue, options) {
|
|
10162
|
+
return new SipCredentials().fromJson(jsonValue, options);
|
|
10163
|
+
}
|
|
10164
|
+
static fromJsonString(jsonString, options) {
|
|
10165
|
+
return new SipCredentials().fromJsonString(jsonString, options);
|
|
10166
|
+
}
|
|
10167
|
+
static equals(a, b) {
|
|
10168
|
+
return protobuf_1.proto3.util.equals(SipCredentials, a, b);
|
|
10169
|
+
}
|
|
10170
|
+
}
|
|
10171
|
+
exports.SipCredentials = SipCredentials;
|
|
10172
|
+
SipCredentials.runtime = protobuf_1.proto3;
|
|
10173
|
+
SipCredentials.typeName = "norsk.api.media.SipCredentials";
|
|
10174
|
+
SipCredentials.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
10175
|
+
{ no: 1, name: "realm", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10176
|
+
{ no: 2, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10177
|
+
{ no: 3, name: "credential", kind: "message", T: SipCredentialData },
|
|
10178
|
+
]);
|
|
10179
|
+
/**
|
|
10180
|
+
* @generated from message norsk.api.media.SipCredentialData
|
|
10181
|
+
*/
|
|
10182
|
+
class SipCredentialData extends protobuf_1.Message {
|
|
10183
|
+
constructor(data) {
|
|
10184
|
+
super();
|
|
10185
|
+
/**
|
|
10186
|
+
* @generated from oneof norsk.api.media.SipCredentialData.message
|
|
10187
|
+
*/
|
|
10188
|
+
this.message = { case: undefined };
|
|
10189
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
10190
|
+
}
|
|
10191
|
+
static fromBinary(bytes, options) {
|
|
10192
|
+
return new SipCredentialData().fromBinary(bytes, options);
|
|
10193
|
+
}
|
|
10194
|
+
static fromJson(jsonValue, options) {
|
|
10195
|
+
return new SipCredentialData().fromJson(jsonValue, options);
|
|
10196
|
+
}
|
|
10197
|
+
static fromJsonString(jsonString, options) {
|
|
10198
|
+
return new SipCredentialData().fromJsonString(jsonString, options);
|
|
10199
|
+
}
|
|
10200
|
+
static equals(a, b) {
|
|
10201
|
+
return protobuf_1.proto3.util.equals(SipCredentialData, a, b);
|
|
10202
|
+
}
|
|
10203
|
+
}
|
|
10204
|
+
exports.SipCredentialData = SipCredentialData;
|
|
10205
|
+
SipCredentialData.runtime = protobuf_1.proto3;
|
|
10206
|
+
SipCredentialData.typeName = "norsk.api.media.SipCredentialData";
|
|
10207
|
+
SipCredentialData.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
10208
|
+
{ no: 1, name: "plain", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "message" },
|
|
10209
|
+
{ no: 2, name: "digest", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "message" },
|
|
10210
|
+
]);
|
|
10211
|
+
/**
|
|
10212
|
+
* @generated from message norsk.api.media.SipCall
|
|
10213
|
+
*/
|
|
10214
|
+
class SipCall extends protobuf_1.Message {
|
|
10215
|
+
constructor(data) {
|
|
10216
|
+
super();
|
|
10217
|
+
/**
|
|
10218
|
+
* @generated from field: string address = 1;
|
|
10219
|
+
*/
|
|
10220
|
+
this.address = "";
|
|
10221
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
10222
|
+
}
|
|
10223
|
+
static fromBinary(bytes, options) {
|
|
10224
|
+
return new SipCall().fromBinary(bytes, options);
|
|
10225
|
+
}
|
|
10226
|
+
static fromJson(jsonValue, options) {
|
|
10227
|
+
return new SipCall().fromJson(jsonValue, options);
|
|
10228
|
+
}
|
|
10229
|
+
static fromJsonString(jsonString, options) {
|
|
10230
|
+
return new SipCall().fromJsonString(jsonString, options);
|
|
10231
|
+
}
|
|
10232
|
+
static equals(a, b) {
|
|
10233
|
+
return protobuf_1.proto3.util.equals(SipCall, a, b);
|
|
10234
|
+
}
|
|
10235
|
+
}
|
|
10236
|
+
exports.SipCall = SipCall;
|
|
10237
|
+
SipCall.runtime = protobuf_1.proto3;
|
|
10238
|
+
SipCall.typeName = "norsk.api.media.SipCall";
|
|
10239
|
+
SipCall.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
10240
|
+
{ no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
10241
|
+
]);
|
|
10242
|
+
/**
|
|
10243
|
+
* @generated from message norsk.api.media.SipMessage
|
|
10244
|
+
*/
|
|
10245
|
+
class SipMessage extends protobuf_1.Message {
|
|
10246
|
+
constructor(data) {
|
|
10247
|
+
super();
|
|
10248
|
+
/**
|
|
10249
|
+
* @generated from oneof norsk.api.media.SipMessage.message
|
|
10250
|
+
*/
|
|
10251
|
+
this.message = { case: undefined };
|
|
10252
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
10253
|
+
}
|
|
10254
|
+
static fromBinary(bytes, options) {
|
|
10255
|
+
return new SipMessage().fromBinary(bytes, options);
|
|
10256
|
+
}
|
|
10257
|
+
static fromJson(jsonValue, options) {
|
|
10258
|
+
return new SipMessage().fromJson(jsonValue, options);
|
|
10259
|
+
}
|
|
10260
|
+
static fromJsonString(jsonString, options) {
|
|
10261
|
+
return new SipMessage().fromJsonString(jsonString, options);
|
|
10262
|
+
}
|
|
10263
|
+
static equals(a, b) {
|
|
10264
|
+
return protobuf_1.proto3.util.equals(SipMessage, a, b);
|
|
10265
|
+
}
|
|
10266
|
+
}
|
|
10267
|
+
exports.SipMessage = SipMessage;
|
|
10268
|
+
SipMessage.runtime = protobuf_1.proto3;
|
|
10269
|
+
SipMessage.typeName = "norsk.api.media.SipMessage";
|
|
10270
|
+
SipMessage.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
10271
|
+
{ no: 1, name: "subscription", kind: "message", T: Subscription, oneof: "message" },
|
|
10272
|
+
{ no: 2, name: "configuration", kind: "message", T: SipConfiguration, oneof: "message" },
|
|
10273
|
+
]);
|
|
10274
|
+
/**
|
|
10275
|
+
* @generated from message norsk.api.media.SipStreamStatistics
|
|
10276
|
+
*/
|
|
10277
|
+
class SipStreamStatistics extends protobuf_1.Message {
|
|
10278
|
+
constructor(data) {
|
|
10279
|
+
super();
|
|
10280
|
+
/**
|
|
10281
|
+
* @generated from field: uint32 num_bytes = 1;
|
|
10282
|
+
*/
|
|
10283
|
+
this.numBytes = 0;
|
|
10284
|
+
/**
|
|
10285
|
+
* @generated from field: uint32 num_packets = 2;
|
|
10286
|
+
*/
|
|
10287
|
+
this.numPackets = 0;
|
|
10288
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
10289
|
+
}
|
|
10290
|
+
static fromBinary(bytes, options) {
|
|
10291
|
+
return new SipStreamStatistics().fromBinary(bytes, options);
|
|
10292
|
+
}
|
|
10293
|
+
static fromJson(jsonValue, options) {
|
|
10294
|
+
return new SipStreamStatistics().fromJson(jsonValue, options);
|
|
10295
|
+
}
|
|
10296
|
+
static fromJsonString(jsonString, options) {
|
|
10297
|
+
return new SipStreamStatistics().fromJsonString(jsonString, options);
|
|
10298
|
+
}
|
|
10299
|
+
static equals(a, b) {
|
|
10300
|
+
return protobuf_1.proto3.util.equals(SipStreamStatistics, a, b);
|
|
10301
|
+
}
|
|
10302
|
+
}
|
|
10303
|
+
exports.SipStreamStatistics = SipStreamStatistics;
|
|
10304
|
+
SipStreamStatistics.runtime = protobuf_1.proto3;
|
|
10305
|
+
SipStreamStatistics.typeName = "norsk.api.media.SipStreamStatistics";
|
|
10306
|
+
SipStreamStatistics.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
10307
|
+
{ no: 1, name: "num_bytes", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
10308
|
+
{ no: 2, name: "num_packets", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
10309
|
+
]);
|
|
10310
|
+
/**
|
|
10311
|
+
* @generated from message norsk.api.media.SipConnectionStatistics
|
|
10312
|
+
*/
|
|
10313
|
+
class SipConnectionStatistics extends protobuf_1.Message {
|
|
10314
|
+
constructor(data) {
|
|
10315
|
+
super();
|
|
10316
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
10317
|
+
}
|
|
10318
|
+
static fromBinary(bytes, options) {
|
|
10319
|
+
return new SipConnectionStatistics().fromBinary(bytes, options);
|
|
10320
|
+
}
|
|
10321
|
+
static fromJson(jsonValue, options) {
|
|
10322
|
+
return new SipConnectionStatistics().fromJson(jsonValue, options);
|
|
10323
|
+
}
|
|
10324
|
+
static fromJsonString(jsonString, options) {
|
|
10325
|
+
return new SipConnectionStatistics().fromJsonString(jsonString, options);
|
|
10326
|
+
}
|
|
10327
|
+
static equals(a, b) {
|
|
10328
|
+
return protobuf_1.proto3.util.equals(SipConnectionStatistics, a, b);
|
|
10329
|
+
}
|
|
10330
|
+
}
|
|
10331
|
+
exports.SipConnectionStatistics = SipConnectionStatistics;
|
|
10332
|
+
SipConnectionStatistics.runtime = protobuf_1.proto3;
|
|
10333
|
+
SipConnectionStatistics.typeName = "norsk.api.media.SipConnectionStatistics";
|
|
10334
|
+
SipConnectionStatistics.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
10335
|
+
{ no: 1, name: "send", kind: "message", T: SipStreamStatistics },
|
|
10336
|
+
{ no: 2, name: "recv", kind: "message", T: SipStreamStatistics },
|
|
10337
|
+
]);
|
|
10338
|
+
/**
|
|
10339
|
+
* @generated from message norsk.api.media.SipEvent
|
|
10340
|
+
*/
|
|
10341
|
+
class SipEvent extends protobuf_1.Message {
|
|
10342
|
+
constructor(data) {
|
|
10343
|
+
super();
|
|
10344
|
+
/**
|
|
10345
|
+
* @generated from oneof norsk.api.media.SipEvent.message
|
|
10346
|
+
*/
|
|
10347
|
+
this.message = { case: undefined };
|
|
10348
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
10349
|
+
}
|
|
10350
|
+
static fromBinary(bytes, options) {
|
|
10351
|
+
return new SipEvent().fromBinary(bytes, options);
|
|
10352
|
+
}
|
|
10353
|
+
static fromJson(jsonValue, options) {
|
|
10354
|
+
return new SipEvent().fromJson(jsonValue, options);
|
|
10355
|
+
}
|
|
10356
|
+
static fromJsonString(jsonString, options) {
|
|
10357
|
+
return new SipEvent().fromJsonString(jsonString, options);
|
|
10358
|
+
}
|
|
10359
|
+
static equals(a, b) {
|
|
10360
|
+
return protobuf_1.proto3.util.equals(SipEvent, a, b);
|
|
10361
|
+
}
|
|
10362
|
+
}
|
|
10363
|
+
exports.SipEvent = SipEvent;
|
|
10364
|
+
SipEvent.runtime = protobuf_1.proto3;
|
|
10365
|
+
SipEvent.typeName = "norsk.api.media.SipEvent";
|
|
10366
|
+
SipEvent.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
10367
|
+
{ no: 1, name: "node_id", kind: "message", T: MediaNodeId, oneof: "message" },
|
|
10368
|
+
{ no: 2, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
10369
|
+
{ no: 3, name: "inbound_context", kind: "message", T: Context, oneof: "message" },
|
|
10370
|
+
{ no: 4, name: "outbound_context", kind: "message", T: Context, oneof: "message" },
|
|
10371
|
+
{ no: 5, name: "stream_statistics", kind: "message", T: MultiStreamStatistics, oneof: "message" },
|
|
10372
|
+
{ no: 6, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(SipEvent_Status), oneof: "message" },
|
|
10373
|
+
{ no: 7, name: "connection_statistics", kind: "message", T: SipConnectionStatistics, oneof: "message" },
|
|
10374
|
+
]);
|
|
10375
|
+
/**
|
|
10376
|
+
* @generated from enum norsk.api.media.SipEvent.Status
|
|
10377
|
+
*/
|
|
10378
|
+
var SipEvent_Status;
|
|
10379
|
+
(function (SipEvent_Status) {
|
|
10380
|
+
/**
|
|
10381
|
+
* @generated from enum value: SIP_STATE_UNKNOWN = 0;
|
|
10382
|
+
*/
|
|
10383
|
+
SipEvent_Status[SipEvent_Status["SIP_STATE_UNKNOWN"] = 0] = "SIP_STATE_UNKNOWN";
|
|
10384
|
+
/**
|
|
10385
|
+
* @generated from enum value: SIP_STATE_INITIAL = 1;
|
|
10386
|
+
*/
|
|
10387
|
+
SipEvent_Status[SipEvent_Status["SIP_STATE_INITIAL"] = 1] = "SIP_STATE_INITIAL";
|
|
10388
|
+
/**
|
|
10389
|
+
* @generated from enum value: SIP_STATE_CALLING = 2;
|
|
10390
|
+
*/
|
|
10391
|
+
SipEvent_Status[SipEvent_Status["SIP_STATE_CALLING"] = 2] = "SIP_STATE_CALLING";
|
|
10392
|
+
/**
|
|
10393
|
+
* @generated from enum value: SIP_STATE_INCOMING = 3;
|
|
10394
|
+
*/
|
|
10395
|
+
SipEvent_Status[SipEvent_Status["SIP_STATE_INCOMING"] = 3] = "SIP_STATE_INCOMING";
|
|
10396
|
+
/**
|
|
10397
|
+
* @generated from enum value: SIP_STATE_EARLY = 4;
|
|
10398
|
+
*/
|
|
10399
|
+
SipEvent_Status[SipEvent_Status["SIP_STATE_EARLY"] = 4] = "SIP_STATE_EARLY";
|
|
10400
|
+
/**
|
|
10401
|
+
* @generated from enum value: SIP_STATE_CONNECTING = 5;
|
|
10402
|
+
*/
|
|
10403
|
+
SipEvent_Status[SipEvent_Status["SIP_STATE_CONNECTING"] = 5] = "SIP_STATE_CONNECTING";
|
|
10404
|
+
/**
|
|
10405
|
+
* @generated from enum value: SIP_STATE_CONFIRMED = 6;
|
|
10406
|
+
*/
|
|
10407
|
+
SipEvent_Status[SipEvent_Status["SIP_STATE_CONFIRMED"] = 6] = "SIP_STATE_CONFIRMED";
|
|
10408
|
+
/**
|
|
10409
|
+
* @generated from enum value: SIP_STATE_DISCONNECTED = 7;
|
|
10410
|
+
*/
|
|
10411
|
+
SipEvent_Status[SipEvent_Status["SIP_STATE_DISCONNECTED"] = 7] = "SIP_STATE_DISCONNECTED";
|
|
10412
|
+
})(SipEvent_Status = exports.SipEvent_Status || (exports.SipEvent_Status = {}));
|
|
10413
|
+
// Retrieve enum metadata with: proto3.getEnumType(SipEvent_Status)
|
|
10414
|
+
protobuf_1.proto3.util.setEnumType(SipEvent_Status, "norsk.api.media.SipEvent.Status", [
|
|
10415
|
+
{ no: 0, name: "SIP_STATE_UNKNOWN" },
|
|
10416
|
+
{ no: 1, name: "SIP_STATE_INITIAL" },
|
|
10417
|
+
{ no: 2, name: "SIP_STATE_CALLING" },
|
|
10418
|
+
{ no: 3, name: "SIP_STATE_INCOMING" },
|
|
10419
|
+
{ no: 4, name: "SIP_STATE_EARLY" },
|
|
10420
|
+
{ no: 5, name: "SIP_STATE_CONNECTING" },
|
|
10421
|
+
{ no: 6, name: "SIP_STATE_CONFIRMED" },
|
|
10422
|
+
{ no: 7, name: "SIP_STATE_DISCONNECTED" },
|
|
10423
|
+
]);
|
|
10069
10424
|
/**
|
|
10070
10425
|
* @generated from message norsk.api.media.RtmpOutputConfiguration
|
|
10071
10426
|
*/
|