@norskvideo/norsk-api 1.0.367 → 1.0.370

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.
@@ -65,6 +65,7 @@ interface IMediaService extends grpc.ServiceDefinition<grpc.UntypedServiceImplem
65
65
  createOutputFileMp4: IMediaService_ICreateOutputFileMp4;
66
66
  createOutputFileWebVtt: IMediaService_ICreateOutputFileWebVtt;
67
67
  createDuplexWebRTCBrowser: IMediaService_ICreateDuplexWebRTCBrowser;
68
+ createDuplexSip: IMediaService_ICreateDuplexSip;
68
69
  createControlStreamSwitchHard: IMediaService_ICreateControlStreamSwitchHard;
69
70
  createControlStreamSwitchSmooth: IMediaService_ICreateControlStreamSwitchSmooth;
70
71
  createTransformStreamKeyOverride: IMediaService_ICreateTransformStreamKeyOverride;
@@ -566,6 +567,15 @@ interface IMediaService_ICreateDuplexWebRTCBrowser extends grpc.MethodDefinition
566
567
  responseSerialize: grpc.serialize<media_pb.WebRTCBrowserDuplexEvent>;
567
568
  responseDeserialize: grpc.deserialize<media_pb.WebRTCBrowserDuplexEvent>;
568
569
  }
570
+ interface IMediaService_ICreateDuplexSip extends grpc.MethodDefinition<media_pb.SipMessage, media_pb.SipEvent> {
571
+ path: "/norsk.api.media.Media/CreateDuplexSip";
572
+ requestStream: true;
573
+ responseStream: true;
574
+ requestSerialize: grpc.serialize<media_pb.SipMessage>;
575
+ requestDeserialize: grpc.deserialize<media_pb.SipMessage>;
576
+ responseSerialize: grpc.serialize<media_pb.SipEvent>;
577
+ responseDeserialize: grpc.deserialize<media_pb.SipEvent>;
578
+ }
569
579
  interface IMediaService_ICreateControlStreamSwitchHard extends grpc.MethodDefinition<media_pb.StreamSwitchHardMessage, media_pb.StreamSwitchHardEvent> {
570
580
  path: "/norsk.api.media.Media/CreateControlStreamSwitchHard";
571
581
  requestStream: true;
@@ -821,6 +831,7 @@ export interface IMediaServer extends grpc.UntypedServiceImplementation {
821
831
  createOutputFileMp4: grpc.handleBidiStreamingCall<media_pb.FileMp4OutputMessage, media_pb.FileMp4OutputEvent>;
822
832
  createOutputFileWebVtt: grpc.handleBidiStreamingCall<media_pb.FileWebVttOutputMessage, media_pb.FileWebVttOutputEvent>;
823
833
  createDuplexWebRTCBrowser: grpc.handleBidiStreamingCall<media_pb.WebRTCBrowserDuplexMessage, media_pb.WebRTCBrowserDuplexEvent>;
834
+ createDuplexSip: grpc.handleBidiStreamingCall<media_pb.SipMessage, media_pb.SipEvent>;
824
835
  createControlStreamSwitchHard: grpc.handleBidiStreamingCall<media_pb.StreamSwitchHardMessage, media_pb.StreamSwitchHardEvent>;
825
836
  createControlStreamSwitchSmooth: grpc.handleBidiStreamingCall<media_pb.StreamSwitchSmoothMessage, media_pb.StreamSwitchSmoothEvent>;
826
837
  createTransformStreamKeyOverride: grpc.handleBidiStreamingCall<media_pb.StreamKeyOverrideMessage, media_pb.StreamKeyOverrideEvent>;
@@ -1001,6 +1012,9 @@ export interface IMediaClient {
1001
1012
  createDuplexWebRTCBrowser(): grpc.ClientDuplexStream<media_pb.WebRTCBrowserDuplexMessage, media_pb.WebRTCBrowserDuplexEvent>;
1002
1013
  createDuplexWebRTCBrowser(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WebRTCBrowserDuplexMessage, media_pb.WebRTCBrowserDuplexEvent>;
1003
1014
  createDuplexWebRTCBrowser(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WebRTCBrowserDuplexMessage, media_pb.WebRTCBrowserDuplexEvent>;
1015
+ createDuplexSip(): grpc.ClientDuplexStream<media_pb.SipMessage, media_pb.SipEvent>;
1016
+ createDuplexSip(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.SipMessage, media_pb.SipEvent>;
1017
+ createDuplexSip(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.SipMessage, media_pb.SipEvent>;
1004
1018
  createControlStreamSwitchHard(): grpc.ClientDuplexStream<media_pb.StreamSwitchHardMessage, media_pb.StreamSwitchHardEvent>;
1005
1019
  createControlStreamSwitchHard(options: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.StreamSwitchHardMessage, media_pb.StreamSwitchHardEvent>;
1006
1020
  createControlStreamSwitchHard(metadata: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.StreamSwitchHardMessage, media_pb.StreamSwitchHardEvent>;
@@ -1176,6 +1190,8 @@ export class MediaClient extends grpc.Client implements IMediaClient {
1176
1190
  public createOutputFileWebVtt(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.FileWebVttOutputMessage, media_pb.FileWebVttOutputEvent>;
1177
1191
  public createDuplexWebRTCBrowser(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WebRTCBrowserDuplexMessage, media_pb.WebRTCBrowserDuplexEvent>;
1178
1192
  public createDuplexWebRTCBrowser(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.WebRTCBrowserDuplexMessage, media_pb.WebRTCBrowserDuplexEvent>;
1193
+ public createDuplexSip(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.SipMessage, media_pb.SipEvent>;
1194
+ public createDuplexSip(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.SipMessage, media_pb.SipEvent>;
1179
1195
  public createControlStreamSwitchHard(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.StreamSwitchHardMessage, media_pb.StreamSwitchHardEvent>;
1180
1196
  public createControlStreamSwitchHard(metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.StreamSwitchHardMessage, media_pb.StreamSwitchHardEvent>;
1181
1197
  public createControlStreamSwitchSmooth(options?: Partial<grpc.CallOptions>): grpc.ClientDuplexStream<media_pb.StreamSwitchSmoothMessage, media_pb.StreamSwitchSmoothEvent>;
@@ -921,6 +921,28 @@ function deserialize_norsk_api_media_RtpInputMessage(buffer_arg) {
921
921
  return media_pb.RtpInputMessage.fromBinary(new Uint8Array(buffer_arg));
922
922
  }
923
923
 
924
+ function serialize_norsk_api_media_SipEvent(arg) {
925
+ if (!(arg instanceof media_pb.SipEvent)) {
926
+ throw new Error('Expected argument of type norsk.api.media.SipEvent');
927
+ }
928
+ return Buffer.from(arg.toBinary());
929
+ }
930
+
931
+ function deserialize_norsk_api_media_SipEvent(buffer_arg) {
932
+ return media_pb.SipEvent.fromBinary(new Uint8Array(buffer_arg));
933
+ }
934
+
935
+ function serialize_norsk_api_media_SipMessage(arg) {
936
+ if (!(arg instanceof media_pb.SipMessage)) {
937
+ throw new Error('Expected argument of type norsk.api.media.SipMessage');
938
+ }
939
+ return Buffer.from(arg.toBinary());
940
+ }
941
+
942
+ function deserialize_norsk_api_media_SipMessage(buffer_arg) {
943
+ return media_pb.SipMessage.fromBinary(new Uint8Array(buffer_arg));
944
+ }
945
+
924
946
  function serialize_norsk_api_media_SrtInputEvent(arg) {
925
947
  if (!(arg instanceof media_pb.SrtInputEvent)) {
926
948
  throw new Error('Expected argument of type norsk.api.media.SrtInputEvent');
@@ -2253,6 +2275,17 @@ createDuplexWebRTCBrowser: {
2253
2275
  responseSerialize: serialize_norsk_api_media_WebRTCBrowserDuplexEvent,
2254
2276
  responseDeserialize: deserialize_norsk_api_media_WebRTCBrowserDuplexEvent,
2255
2277
  },
2278
+ createDuplexSip: {
2279
+ path: '/norsk.api.media.Media/CreateDuplexSip',
2280
+ requestStream: true,
2281
+ responseStream: true,
2282
+ requestType: media_pb.SipMessage,
2283
+ responseType: media_pb.SipEvent,
2284
+ requestSerialize: serialize_norsk_api_media_SipMessage,
2285
+ requestDeserialize: deserialize_norsk_api_media_SipMessage,
2286
+ responseSerialize: serialize_norsk_api_media_SipEvent,
2287
+ responseDeserialize: deserialize_norsk_api_media_SipEvent,
2288
+ },
2256
2289
  // *
2257
2290
  // Switch between multiple input sources via a hard cut. May be used to switch
2258
2291
  // between sources of possibly different configurations or without decoding.
package/lib/media_pb.d.ts CHANGED
@@ -1,6 +1,23 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Empty, Message, Timestamp } from "@bufbuild/protobuf";
3
3
  import { CurrentLoad, Log, OptionalBool, OptionalInt, OptionalInt64, OptionalString, UInt32OrInfinity, Version } from "./shared/common_pb.js";
4
+ /**
5
+ * @generated from enum norsk.api.media.NodeMetricsMode
6
+ */
7
+ export declare enum NodeMetricsMode {
8
+ /**
9
+ * @generated from enum value: NODE_METRICS_ENABLE = 0;
10
+ */
11
+ NODE_METRICS_ENABLE = 0,
12
+ /**
13
+ * @generated from enum value: NODE_METRICS_MINIMAL = 1;
14
+ */
15
+ NODE_METRICS_MINIMAL = 1,
16
+ /**
17
+ * @generated from enum value: NODE_METRICS_NONE = 2;
18
+ */
19
+ NODE_METRICS_NONE = 2
20
+ }
4
21
  /**
5
22
  * Enumeration of possible channel positions.
6
23
  *
@@ -6414,6 +6431,14 @@ export declare class AudioBuildMultichannelConfiguration extends Message<AudioBu
6414
6431
  * @generated from field: norsk.api.media.SampleRate sample_rate = 8;
6415
6432
  */
6416
6433
  sampleRate: SampleRate;
6434
+ /**
6435
+ * @generated from field: norsk.api.media.NodeMetricsMode metrics = 9;
6436
+ */
6437
+ metrics: NodeMetricsMode;
6438
+ /**
6439
+ * @generated from field: norsk.api.media.SampleFormat sampleFormat = 10;
6440
+ */
6441
+ sampleFormat: SampleFormat;
6417
6442
  constructor(data?: PartialMessage<AudioBuildMultichannelConfiguration>);
6418
6443
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6419
6444
  static readonly typeName = "norsk.api.media.AudioBuildMultichannelConfiguration";
@@ -6547,6 +6572,10 @@ export declare class AudioSplitMultichannelConfiguration extends Message<AudioSp
6547
6572
  * @generated from field: norsk.api.media.RenditionName output_rendition_name = 5;
6548
6573
  */
6549
6574
  outputRenditionName?: RenditionName;
6575
+ /**
6576
+ * @generated from field: norsk.api.media.NodeMetricsMode metrics = 6;
6577
+ */
6578
+ metrics: NodeMetricsMode;
6550
6579
  constructor(data?: PartialMessage<AudioSplitMultichannelConfiguration>);
6551
6580
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6552
6581
  static readonly typeName = "norsk.api.media.AudioSplitMultichannelConfiguration";
@@ -6839,6 +6868,10 @@ export declare class CmafVideoConfiguration extends Message<CmafVideoConfigurati
6839
6868
  * @generated from field: norsk.api.common.OptionalString name = 11;
6840
6869
  */
6841
6870
  name?: OptionalString;
6871
+ /**
6872
+ * @generated from field: bool pdt_every_segment = 12;
6873
+ */
6874
+ pdtEverySegment: boolean;
6842
6875
  constructor(data?: PartialMessage<CmafVideoConfiguration>);
6843
6876
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6844
6877
  static readonly typeName = "norsk.api.media.CmafVideoConfiguration";
@@ -6932,6 +6965,10 @@ export declare class HlsTsVideoConfiguration extends Message<HlsTsVideoConfigura
6932
6965
  * @generated from field: norsk.api.common.OptionalString name = 9;
6933
6966
  */
6934
6967
  name?: OptionalString;
6968
+ /**
6969
+ * @generated from field: bool pdt_every_segment = 10;
6970
+ */
6971
+ pdtEverySegment: boolean;
6935
6972
  constructor(data?: PartialMessage<HlsTsVideoConfiguration>);
6936
6973
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
6937
6974
  static readonly typeName = "norsk.api.media.HlsTsVideoConfiguration";
@@ -7033,6 +7070,10 @@ export declare class CmafAudioConfiguration extends Message<CmafAudioConfigurati
7033
7070
  * @generated from field: norsk.api.common.OptionalString name = 12;
7034
7071
  */
7035
7072
  name?: OptionalString;
7073
+ /**
7074
+ * @generated from field: bool pdt_every_segment = 13;
7075
+ */
7076
+ pdtEverySegment: boolean;
7036
7077
  constructor(data?: PartialMessage<CmafAudioConfiguration>);
7037
7078
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
7038
7079
  static readonly typeName = "norsk.api.media.CmafAudioConfiguration";
@@ -7126,6 +7167,10 @@ export declare class HlsTsAudioConfiguration extends Message<HlsTsAudioConfigura
7126
7167
  * @generated from field: norsk.api.common.OptionalString name = 9;
7127
7168
  */
7128
7169
  name?: OptionalString;
7170
+ /**
7171
+ * @generated from field: bool pdt_every_segment = 10;
7172
+ */
7173
+ pdtEverySegment: boolean;
7129
7174
  constructor(data?: PartialMessage<HlsTsAudioConfiguration>);
7130
7175
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
7131
7176
  static readonly typeName = "norsk.api.media.HlsTsAudioConfiguration";
@@ -7199,6 +7244,10 @@ export declare class CmafWebVttConfiguration extends Message<CmafWebVttConfigura
7199
7244
  * @generated from field: norsk.api.common.OptionalString name = 9;
7200
7245
  */
7201
7246
  name?: OptionalString;
7247
+ /**
7248
+ * @generated from field: bool pdt_every_segment = 10;
7249
+ */
7250
+ pdtEverySegment: boolean;
7202
7251
  constructor(data?: PartialMessage<CmafWebVttConfiguration>);
7203
7252
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
7204
7253
  static readonly typeName = "norsk.api.media.CmafWebVttConfiguration";
@@ -7805,6 +7854,10 @@ export declare class HlsTsCombinedPushConfiguration extends Message<HlsTsCombine
7805
7854
  * @generated from field: norsk.api.common.OptionalString name = 9;
7806
7855
  */
7807
7856
  name?: OptionalString;
7857
+ /**
7858
+ * @generated from field: bool pdt_every_segment = 10;
7859
+ */
7860
+ pdtEverySegment: boolean;
7808
7861
  constructor(data?: PartialMessage<HlsTsCombinedPushConfiguration>);
7809
7862
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
7810
7863
  static readonly typeName = "norsk.api.media.HlsTsCombinedPushConfiguration";
@@ -8583,6 +8636,315 @@ export declare enum WhepOutputEvent_State {
8583
8636
  */
8584
8637
  WHEP_OUTPUT_STATUS_READY = 1
8585
8638
  }
8639
+ /**
8640
+ * @generated from message norsk.api.media.SipConfiguration
8641
+ */
8642
+ export declare class SipConfiguration extends Message<SipConfiguration> {
8643
+ /**
8644
+ * @generated from field: norsk.api.media.MediaNodeId id = 1;
8645
+ */
8646
+ id?: MediaNodeId;
8647
+ /**
8648
+ * @generated from field: norsk.api.media.StreamStatisticsSampling stats_sampling = 2;
8649
+ */
8650
+ statsSampling?: StreamStatisticsSampling;
8651
+ /**
8652
+ * @generated from field: norsk.api.media.SipAccount account = 3;
8653
+ */
8654
+ account?: SipAccount;
8655
+ /**
8656
+ * @generated from field: norsk.api.common.OptionalInt buffer_delay_ms = 4;
8657
+ */
8658
+ bufferDelayMs?: OptionalInt;
8659
+ /**
8660
+ * @generated from field: norsk.api.media.SipCall call = 5;
8661
+ */
8662
+ call?: SipCall;
8663
+ /**
8664
+ * @generated from field: string source_name = 6;
8665
+ */
8666
+ sourceName: string;
8667
+ constructor(data?: PartialMessage<SipConfiguration>);
8668
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8669
+ static readonly typeName = "norsk.api.media.SipConfiguration";
8670
+ static readonly fields: FieldList;
8671
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SipConfiguration;
8672
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SipConfiguration;
8673
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipConfiguration;
8674
+ static equals(a: SipConfiguration | PlainMessage<SipConfiguration> | undefined, b: SipConfiguration | PlainMessage<SipConfiguration> | undefined): boolean;
8675
+ }
8676
+ /**
8677
+ * @generated from message norsk.api.media.SipAccount
8678
+ */
8679
+ export declare class SipAccount extends Message<SipAccount> {
8680
+ /**
8681
+ * @generated from field: string id = 1;
8682
+ */
8683
+ id: string;
8684
+ /**
8685
+ * @generated from field: norsk.api.media.SipCredentials credentials = 2;
8686
+ */
8687
+ credentials?: SipCredentials;
8688
+ /**
8689
+ * @generated from field: string reg_uri = 3;
8690
+ */
8691
+ regUri: string;
8692
+ constructor(data?: PartialMessage<SipAccount>);
8693
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8694
+ static readonly typeName = "norsk.api.media.SipAccount";
8695
+ static readonly fields: FieldList;
8696
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SipAccount;
8697
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SipAccount;
8698
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipAccount;
8699
+ static equals(a: SipAccount | PlainMessage<SipAccount> | undefined, b: SipAccount | PlainMessage<SipAccount> | undefined): boolean;
8700
+ }
8701
+ /**
8702
+ * @generated from message norsk.api.media.SipCredentials
8703
+ */
8704
+ export declare class SipCredentials extends Message<SipCredentials> {
8705
+ /**
8706
+ * @generated from field: string realm = 1;
8707
+ */
8708
+ realm: string;
8709
+ /**
8710
+ * @generated from field: string username = 2;
8711
+ */
8712
+ username: string;
8713
+ /**
8714
+ * @generated from field: norsk.api.media.SipCredentialData credential = 3;
8715
+ */
8716
+ credential?: SipCredentialData;
8717
+ constructor(data?: PartialMessage<SipCredentials>);
8718
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8719
+ static readonly typeName = "norsk.api.media.SipCredentials";
8720
+ static readonly fields: FieldList;
8721
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SipCredentials;
8722
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SipCredentials;
8723
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipCredentials;
8724
+ static equals(a: SipCredentials | PlainMessage<SipCredentials> | undefined, b: SipCredentials | PlainMessage<SipCredentials> | undefined): boolean;
8725
+ }
8726
+ /**
8727
+ * @generated from message norsk.api.media.SipCredentialData
8728
+ */
8729
+ export declare class SipCredentialData extends Message<SipCredentialData> {
8730
+ /**
8731
+ * @generated from oneof norsk.api.media.SipCredentialData.message
8732
+ */
8733
+ message: {
8734
+ /**
8735
+ * @generated from field: string plain = 1;
8736
+ */
8737
+ value: string;
8738
+ case: "plain";
8739
+ } | {
8740
+ /**
8741
+ * @generated from field: string digest = 2;
8742
+ */
8743
+ value: string;
8744
+ case: "digest";
8745
+ } | {
8746
+ case: undefined;
8747
+ value?: undefined;
8748
+ };
8749
+ constructor(data?: PartialMessage<SipCredentialData>);
8750
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8751
+ static readonly typeName = "norsk.api.media.SipCredentialData";
8752
+ static readonly fields: FieldList;
8753
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SipCredentialData;
8754
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SipCredentialData;
8755
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipCredentialData;
8756
+ static equals(a: SipCredentialData | PlainMessage<SipCredentialData> | undefined, b: SipCredentialData | PlainMessage<SipCredentialData> | undefined): boolean;
8757
+ }
8758
+ /**
8759
+ * @generated from message norsk.api.media.SipCall
8760
+ */
8761
+ export declare class SipCall extends Message<SipCall> {
8762
+ /**
8763
+ * @generated from field: string address = 1;
8764
+ */
8765
+ address: string;
8766
+ constructor(data?: PartialMessage<SipCall>);
8767
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8768
+ static readonly typeName = "norsk.api.media.SipCall";
8769
+ static readonly fields: FieldList;
8770
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SipCall;
8771
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SipCall;
8772
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipCall;
8773
+ static equals(a: SipCall | PlainMessage<SipCall> | undefined, b: SipCall | PlainMessage<SipCall> | undefined): boolean;
8774
+ }
8775
+ /**
8776
+ * @generated from message norsk.api.media.SipMessage
8777
+ */
8778
+ export declare class SipMessage extends Message<SipMessage> {
8779
+ /**
8780
+ * @generated from oneof norsk.api.media.SipMessage.message
8781
+ */
8782
+ message: {
8783
+ /**
8784
+ * @generated from field: norsk.api.media.Subscription subscription = 1;
8785
+ */
8786
+ value: Subscription;
8787
+ case: "subscription";
8788
+ } | {
8789
+ /**
8790
+ * @generated from field: norsk.api.media.SipConfiguration configuration = 2;
8791
+ */
8792
+ value: SipConfiguration;
8793
+ case: "configuration";
8794
+ } | {
8795
+ case: undefined;
8796
+ value?: undefined;
8797
+ };
8798
+ constructor(data?: PartialMessage<SipMessage>);
8799
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8800
+ static readonly typeName = "norsk.api.media.SipMessage";
8801
+ static readonly fields: FieldList;
8802
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SipMessage;
8803
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SipMessage;
8804
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipMessage;
8805
+ static equals(a: SipMessage | PlainMessage<SipMessage> | undefined, b: SipMessage | PlainMessage<SipMessage> | undefined): boolean;
8806
+ }
8807
+ /**
8808
+ * @generated from message norsk.api.media.SipStreamStatistics
8809
+ */
8810
+ export declare class SipStreamStatistics extends Message<SipStreamStatistics> {
8811
+ /**
8812
+ * @generated from field: uint32 num_bytes = 1;
8813
+ */
8814
+ numBytes: number;
8815
+ /**
8816
+ * @generated from field: uint32 num_packets = 2;
8817
+ */
8818
+ numPackets: number;
8819
+ constructor(data?: PartialMessage<SipStreamStatistics>);
8820
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8821
+ static readonly typeName = "norsk.api.media.SipStreamStatistics";
8822
+ static readonly fields: FieldList;
8823
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SipStreamStatistics;
8824
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SipStreamStatistics;
8825
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipStreamStatistics;
8826
+ static equals(a: SipStreamStatistics | PlainMessage<SipStreamStatistics> | undefined, b: SipStreamStatistics | PlainMessage<SipStreamStatistics> | undefined): boolean;
8827
+ }
8828
+ /**
8829
+ * @generated from message norsk.api.media.SipConnectionStatistics
8830
+ */
8831
+ export declare class SipConnectionStatistics extends Message<SipConnectionStatistics> {
8832
+ /**
8833
+ * @generated from field: norsk.api.media.SipStreamStatistics send = 1;
8834
+ */
8835
+ send?: SipStreamStatistics;
8836
+ /**
8837
+ * @generated from field: norsk.api.media.SipStreamStatistics recv = 2;
8838
+ */
8839
+ recv?: SipStreamStatistics;
8840
+ constructor(data?: PartialMessage<SipConnectionStatistics>);
8841
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8842
+ static readonly typeName = "norsk.api.media.SipConnectionStatistics";
8843
+ static readonly fields: FieldList;
8844
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SipConnectionStatistics;
8845
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SipConnectionStatistics;
8846
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipConnectionStatistics;
8847
+ static equals(a: SipConnectionStatistics | PlainMessage<SipConnectionStatistics> | undefined, b: SipConnectionStatistics | PlainMessage<SipConnectionStatistics> | undefined): boolean;
8848
+ }
8849
+ /**
8850
+ * @generated from message norsk.api.media.SipEvent
8851
+ */
8852
+ export declare class SipEvent extends Message<SipEvent> {
8853
+ /**
8854
+ * @generated from oneof norsk.api.media.SipEvent.message
8855
+ */
8856
+ message: {
8857
+ /**
8858
+ * @generated from field: norsk.api.media.MediaNodeId node_id = 1;
8859
+ */
8860
+ value: MediaNodeId;
8861
+ case: "nodeId";
8862
+ } | {
8863
+ /**
8864
+ * @generated from field: norsk.api.media.SubscriptionResponse subscription_response = 2;
8865
+ */
8866
+ value: SubscriptionResponse;
8867
+ case: "subscriptionResponse";
8868
+ } | {
8869
+ /**
8870
+ * @generated from field: norsk.api.media.Context inbound_context = 3;
8871
+ */
8872
+ value: Context;
8873
+ case: "inboundContext";
8874
+ } | {
8875
+ /**
8876
+ * @generated from field: norsk.api.media.Context outbound_context = 4;
8877
+ */
8878
+ value: Context;
8879
+ case: "outboundContext";
8880
+ } | {
8881
+ /**
8882
+ * @generated from field: norsk.api.media.MultiStreamStatistics stream_statistics = 5;
8883
+ */
8884
+ value: MultiStreamStatistics;
8885
+ case: "streamStatistics";
8886
+ } | {
8887
+ /**
8888
+ * @generated from field: norsk.api.media.SipEvent.Status status = 6;
8889
+ */
8890
+ value: SipEvent_Status;
8891
+ case: "status";
8892
+ } | {
8893
+ /**
8894
+ * @generated from field: norsk.api.media.SipConnectionStatistics connection_statistics = 7;
8895
+ */
8896
+ value: SipConnectionStatistics;
8897
+ case: "connectionStatistics";
8898
+ } | {
8899
+ case: undefined;
8900
+ value?: undefined;
8901
+ };
8902
+ constructor(data?: PartialMessage<SipEvent>);
8903
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
8904
+ static readonly typeName = "norsk.api.media.SipEvent";
8905
+ static readonly fields: FieldList;
8906
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SipEvent;
8907
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SipEvent;
8908
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SipEvent;
8909
+ static equals(a: SipEvent | PlainMessage<SipEvent> | undefined, b: SipEvent | PlainMessage<SipEvent> | undefined): boolean;
8910
+ }
8911
+ /**
8912
+ * @generated from enum norsk.api.media.SipEvent.Status
8913
+ */
8914
+ export declare enum SipEvent_Status {
8915
+ /**
8916
+ * @generated from enum value: SIP_STATE_UNKNOWN = 0;
8917
+ */
8918
+ SIP_STATE_UNKNOWN = 0,
8919
+ /**
8920
+ * @generated from enum value: SIP_STATE_INITIAL = 1;
8921
+ */
8922
+ SIP_STATE_INITIAL = 1,
8923
+ /**
8924
+ * @generated from enum value: SIP_STATE_CALLING = 2;
8925
+ */
8926
+ SIP_STATE_CALLING = 2,
8927
+ /**
8928
+ * @generated from enum value: SIP_STATE_INCOMING = 3;
8929
+ */
8930
+ SIP_STATE_INCOMING = 3,
8931
+ /**
8932
+ * @generated from enum value: SIP_STATE_EARLY = 4;
8933
+ */
8934
+ SIP_STATE_EARLY = 4,
8935
+ /**
8936
+ * @generated from enum value: SIP_STATE_CONNECTING = 5;
8937
+ */
8938
+ SIP_STATE_CONNECTING = 5,
8939
+ /**
8940
+ * @generated from enum value: SIP_STATE_CONFIRMED = 6;
8941
+ */
8942
+ SIP_STATE_CONFIRMED = 6,
8943
+ /**
8944
+ * @generated from enum value: SIP_STATE_DISCONNECTED = 7;
8945
+ */
8946
+ SIP_STATE_DISCONNECTED = 7
8947
+ }
8586
8948
  /**
8587
8949
  * @generated from message norsk.api.media.RtmpOutputConfiguration
8588
8950
  */
@@ -16257,9 +16619,9 @@ export declare class MediaStoreAssetFileWithHash extends Message<MediaStoreAsset
16257
16619
  */
16258
16620
  hash: string;
16259
16621
  /**
16260
- * @generated from field: bool error_on_hash_mismatch = 3;
16622
+ * @generated from field: bool import_if_needed = 3;
16261
16623
  */
16262
- errorOnHashMismatch: boolean;
16624
+ importIfNeeded: boolean;
16263
16625
  constructor(data?: PartialMessage<MediaStoreAssetFileWithHash>);
16264
16626
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16265
16627
  static readonly typeName = "norsk.api.media.MediaStoreAssetFileWithHash";
@@ -16280,9 +16642,9 @@ export declare class MediaStoreAssetFile extends Message<MediaStoreAssetFile> {
16280
16642
  */
16281
16643
  file: string;
16282
16644
  /**
16283
- * @generated from field: bool error_on_hash_mismatch = 2;
16645
+ * @generated from field: bool import_if_needed = 2;
16284
16646
  */
16285
- errorOnHashMismatch: boolean;
16647
+ importIfNeeded: boolean;
16286
16648
  constructor(data?: PartialMessage<MediaStoreAssetFile>);
16287
16649
  static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime.js").ProtoRuntime;
16288
16650
  static readonly typeName = "norsk.api.media.MediaStoreAssetFile";