@norskvideo/norsk-api 1.0.368 → 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.
- 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_grpc_pb.d.ts
CHANGED
|
@@ -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>;
|
package/lib/media_grpc_pb.js
CHANGED
|
@@ -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
|
@@ -8636,6 +8636,315 @@ export declare enum WhepOutputEvent_State {
|
|
|
8636
8636
|
*/
|
|
8637
8637
|
WHEP_OUTPUT_STATUS_READY = 1
|
|
8638
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
|
+
}
|
|
8639
8948
|
/**
|
|
8640
8949
|
* @generated from message norsk.api.media.RtmpOutputConfiguration
|
|
8641
8950
|
*/
|