@vonage/client-sdk 0.1.3-alpha.21 → 0.1.3-alpha.22
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/dist/Client.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/kotlin/clientsdk-clientcore.js +4752 -4641
- package/dist/kotlin/clientsdk-clientcore.js.map +1 -1
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +18 -1
- package/dist/kotlin/clientsdk-clientcore_js.js +295 -172
- package/dist/kotlin/clientsdk-clientcore_js.js.map +1 -1
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ export namespace vonage {
|
|
|
11
11
|
mute(call: vonage.VoiceCallJS, legId: string, isMuted: boolean): void;
|
|
12
12
|
earmuff(call: vonage.VoiceCallJS, legId: string, earmuffStatus: boolean): void;
|
|
13
13
|
dtmf(call: vonage.VoiceCallJS, legId: string, digits: string): void;
|
|
14
|
+
rtcHangup(call: vonage.VoiceCallJS, legId: string, callQuality: vonage.RTCQualityJS): void;
|
|
14
15
|
}
|
|
15
16
|
interface CallSayParams {
|
|
16
17
|
readonly text: string;
|
|
@@ -48,7 +49,7 @@ export namespace vonage {
|
|
|
48
49
|
class VoiceCallJS {
|
|
49
50
|
private constructor();
|
|
50
51
|
get id(): string;
|
|
51
|
-
hangup(): Promise<any>;
|
|
52
|
+
hangup(reasonText?: Nullable<string>, reasonCode?: Nullable<string>): Promise<any>;
|
|
52
53
|
say(params: vonage.CallSayParams): Promise<any>;
|
|
53
54
|
mute(): Promise<any>;
|
|
54
55
|
unmute(): Promise<any>;
|
|
@@ -121,5 +122,21 @@ export namespace vonage {
|
|
|
121
122
|
const REASON_CLIENT_DISCONNECTED: string;
|
|
122
123
|
const REASON_CLIENT_NETWORK_ERROR: string;
|
|
123
124
|
const REASON_PING_TIMEOUT: string;
|
|
125
|
+
class RTCQualityJS {
|
|
126
|
+
constructor(callQuality: any/* com.vonage.clientcore.core.conversation.RTCQuality */);
|
|
127
|
+
get mos_score(): number;
|
|
128
|
+
get quality_percentage(): number;
|
|
129
|
+
get jitter_min_var(): number;
|
|
130
|
+
get jitter_max_var(): number;
|
|
131
|
+
get jitter_loss_rate(): number;
|
|
132
|
+
get jitter_burst_rate(): number;
|
|
133
|
+
get flaw_total(): number;
|
|
134
|
+
get packet_cnt(): number;
|
|
135
|
+
get packet_loss_perc(): number;
|
|
136
|
+
copy(callQuality?: any/* com.vonage.clientcore.core.conversation.RTCQuality */): vonage.RTCQualityJS;
|
|
137
|
+
toString(): string;
|
|
138
|
+
hashCode(): number;
|
|
139
|
+
equals(other: Nullable<any>): boolean;
|
|
140
|
+
}
|
|
124
141
|
}
|
|
125
142
|
export as namespace clientsdk_clientcore_js;
|