@vonage/client-sdk 2.6.3 → 2.7.1
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/api_docs/ts/assets/search.js +1 -1
- package/api_docs/ts/classes/ClientConfig.html +1 -1
- package/api_docs/ts/classes/VonageClient.html +8 -8
- package/api_docs/ts/interfaces/RtcStats.html +42 -34
- package/dist/client/index.cjs +29192 -44729
- package/dist/client/index.mjs +29192 -44729
- package/dist/kotlin/JsUnions.d.ts +17 -17
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +59 -50
- package/dist/vonageClientSDK.js +28940 -44912
- package/dist/vonageClientSDK.min.js +1 -143
- package/dist/vonageClientSDK.min.mjs +1 -143
- package/dist/vonageClientSDK.mjs +28940 -44912
- package/package.json +5 -13
- package/rollup.config.js +5 -4
|
@@ -396,19 +396,6 @@ export type CSErrorCodesJS = 'CONVERSATION_DUPLICATE_NAME' | 'MEMBER_ALREADY_JOI
|
|
|
396
396
|
* A SessionErrorCodesJS is a union of 'EMPTY_TOKEN', 'FORCED_DISCONNECT', 'TIMEOUT', 'INTERNAL_FAILURE', 'NO_ACTIVE_SESSION', 'ALREADY_ACTIVE_SESSION', 'INVALID_TOKEN', 'EXPIRED_TOKEN', 'INVALID_USER', 'AUTHORIZATION_ERROR', 'INVALID_SESSION', 'MAX_OPEN_SESSIONS', 'INVALID_SOCKET_TRANSPORT', 'CLIENT_DISCONNECT', 'PING_TIMEOUT_DISCONNECT', 'TRANSPORT_CLOSED_DISCONNECT'
|
|
397
397
|
*/
|
|
398
398
|
export type SessionErrorCodesJS = 'EMPTY_TOKEN' | 'FORCED_DISCONNECT' | 'TIMEOUT' | 'INTERNAL_FAILURE' | 'NO_ACTIVE_SESSION' | 'ALREADY_ACTIVE_SESSION' | 'INVALID_TOKEN' | 'EXPIRED_TOKEN' | 'INVALID_USER' | 'AUTHORIZATION_ERROR' | 'INVALID_SESSION' | 'MAX_OPEN_SESSIONS' | 'INVALID_SOCKET_TRANSPORT' | 'CLIENT_DISCONNECT' | 'PING_TIMEOUT_DISCONNECT' | 'TRANSPORT_CLOSED_DISCONNECT';
|
|
399
|
-
/**
|
|
400
|
-
* A VoiceChannelTypeJS is a union of 'app', 'phone', 'sip', 'websocket'
|
|
401
|
-
*/
|
|
402
|
-
export type VoiceChannelTypeJS = 'app' | 'phone' | 'sip' | 'websocket';
|
|
403
|
-
/**
|
|
404
|
-
* A ConversationEvent is a union of {@link NonPersistentConversationEvent}, {@link PersistentConversationEvent}
|
|
405
|
-
* @group Chat
|
|
406
|
-
*/
|
|
407
|
-
export type ConversationEvent = NonPersistentConversationEvent | PersistentConversationEvent;
|
|
408
|
-
/**
|
|
409
|
-
* A CancelReasonJS is a union of 'RemoteCancel', 'AnsweredElsewhere', 'RejectedElsewhere', 'RemoteTimeout'
|
|
410
|
-
*/
|
|
411
|
-
export type CancelReasonJS = 'RemoteCancel' | 'AnsweredElsewhere' | 'RejectedElsewhere' | 'RemoteTimeout';
|
|
412
399
|
/**
|
|
413
400
|
* A ConversationState is a union of 'ACTIVE', 'INACTIVE', 'DELETED'
|
|
414
401
|
*/
|
|
@@ -421,14 +408,22 @@ export type MemberState = 'INVITED' | 'JOINED' | 'LEFT' | 'UNKNOWN';
|
|
|
421
408
|
* A ConversationChannelType is a union of 'APP', 'PHONE', 'PSTN', 'sip', 'VBC', 'WEBSOCKET', 'SMS', 'MMS', 'WHATSAPP', 'VIBER', 'MESSENGER'
|
|
422
409
|
*/
|
|
423
410
|
export type ConversationChannelType = 'APP' | 'PHONE' | 'PSTN' | 'sip' | 'VBC' | 'WEBSOCKET' | 'SMS' | 'MMS' | 'WHATSAPP' | 'VIBER' | 'MESSENGER';
|
|
424
|
-
/**
|
|
425
|
-
* A SessionErrorReasonJS is a union of 'EXPIRED_TOKEN', 'TRANSPORT_CLOSED', 'PING_TIMEOUT'
|
|
426
|
-
*/
|
|
427
|
-
export type SessionErrorReasonJS = 'EXPIRED_TOKEN' | 'TRANSPORT_CLOSED' | 'PING_TIMEOUT';
|
|
428
411
|
/**
|
|
429
412
|
* A VonageErrorTypeJS is a union of 'CS_ERROR', 'NETWORK_ERROR', 'SESSION_ERROR', 'INTERNAL_ERROR', 'UNKNOWN_ERROR'
|
|
430
413
|
*/
|
|
431
414
|
export type VonageErrorTypeJS = 'CS_ERROR' | 'NETWORK_ERROR' | 'SESSION_ERROR' | 'INTERNAL_ERROR' | 'UNKNOWN_ERROR';
|
|
415
|
+
/**
|
|
416
|
+
* A VoiceChannelTypeJS is a union of 'app', 'phone', 'sip', 'websocket'
|
|
417
|
+
*/
|
|
418
|
+
export type VoiceChannelTypeJS = 'app' | 'phone' | 'sip' | 'websocket';
|
|
419
|
+
/**
|
|
420
|
+
* A CancelReasonJS is a union of 'RemoteCancel', 'AnsweredElsewhere', 'RejectedElsewhere', 'RemoteTimeout'
|
|
421
|
+
*/
|
|
422
|
+
export type CancelReasonJS = 'RemoteCancel' | 'AnsweredElsewhere' | 'RejectedElsewhere' | 'RemoteTimeout';
|
|
423
|
+
/**
|
|
424
|
+
* A SessionErrorReasonJS is a union of 'EXPIRED_TOKEN', 'TRANSPORT_CLOSED', 'PING_TIMEOUT'
|
|
425
|
+
*/
|
|
426
|
+
export type SessionErrorReasonJS = 'EXPIRED_TOKEN' | 'TRANSPORT_CLOSED' | 'PING_TIMEOUT';
|
|
432
427
|
/**
|
|
433
428
|
* A LegStatusJS is a union of 'RINGING', 'ANSWERED', 'COMPLETED'
|
|
434
429
|
*/
|
|
@@ -441,3 +436,8 @@ export type CallDisconnectReasonJS = 'networkChange';
|
|
|
441
436
|
* A HangupReasonJS is a union of 'REMOTE_HANGUP', 'REMOTE_REJECT', 'REMOTE_NO_ANSWER_TIMEOUT', 'LOCAL_HANGUP', 'MEDIA_TIMEOUT'
|
|
442
437
|
*/
|
|
443
438
|
export type HangupReasonJS = 'REMOTE_HANGUP' | 'REMOTE_REJECT' | 'REMOTE_NO_ANSWER_TIMEOUT' | 'LOCAL_HANGUP' | 'MEDIA_TIMEOUT';
|
|
439
|
+
/**
|
|
440
|
+
* A ConversationEvent is a union of {@link NonPersistentConversationEvent}, {@link PersistentConversationEvent}
|
|
441
|
+
* @group Chat
|
|
442
|
+
*/
|
|
443
|
+
export type ConversationEvent = NonPersistentConversationEvent | PersistentConversationEvent;
|
|
@@ -122,10 +122,10 @@ export declare namespace vonage {
|
|
|
122
122
|
get name(): "NONE";
|
|
123
123
|
get ordinal(): 5;
|
|
124
124
|
};
|
|
125
|
+
static values(): [typeof vonage.EventStateTypeJS.SEEN, typeof vonage.EventStateTypeJS.DELIVERED, typeof vonage.EventStateTypeJS.SUBMITTED, typeof vonage.EventStateTypeJS.REJECTED, typeof vonage.EventStateTypeJS.UNDELIVERABLE, typeof vonage.EventStateTypeJS.NONE];
|
|
126
|
+
static valueOf(value: string): vonage.EventStateTypeJS;
|
|
125
127
|
get name(): "SEEN" | "DELIVERED" | "SUBMITTED" | "REJECTED" | "UNDELIVERABLE" | "NONE";
|
|
126
128
|
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
127
|
-
static values(): Array<vonage.EventStateTypeJS>;
|
|
128
|
-
static valueOf(value: string): vonage.EventStateTypeJS;
|
|
129
129
|
}
|
|
130
130
|
namespace EventStateTypeJS {
|
|
131
131
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -702,11 +702,11 @@ export declare namespace vonage {
|
|
|
702
702
|
get name(): "DESC";
|
|
703
703
|
get ordinal(): 1;
|
|
704
704
|
};
|
|
705
|
+
static values(): [typeof vonage.PresentingOrderJS.ASC, typeof vonage.PresentingOrderJS.DESC];
|
|
706
|
+
static valueOf(value: string): vonage.PresentingOrderJS;
|
|
705
707
|
get name(): "ASC" | "DESC";
|
|
706
708
|
get ordinal(): 0 | 1;
|
|
707
709
|
get corePresentingOrder(): any/* com.vonage.clientcore.core.api.models.PresentingOrder */;
|
|
708
|
-
static values(): Array<vonage.PresentingOrderJS>;
|
|
709
|
-
static valueOf(value: string): vonage.PresentingOrderJS;
|
|
710
710
|
}
|
|
711
711
|
namespace PresentingOrderJS {
|
|
712
712
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -724,11 +724,11 @@ export declare namespace vonage {
|
|
|
724
724
|
get name(): "CUSTOM_SORT_KEY";
|
|
725
725
|
get ordinal(): 1;
|
|
726
726
|
};
|
|
727
|
+
static values(): [typeof vonage.OrderByJS.CREATED, typeof vonage.OrderByJS.CUSTOM_SORT_KEY];
|
|
728
|
+
static valueOf(value: string): vonage.OrderByJS;
|
|
727
729
|
get name(): "CREATED" | "CUSTOM_SORT_KEY";
|
|
728
730
|
get ordinal(): 0 | 1;
|
|
729
731
|
get coreOrderBy(): any/* com.vonage.clientcore.core.api.models.OrderBy */;
|
|
730
|
-
static values(): Array<vonage.OrderByJS>;
|
|
731
|
-
static valueOf(value: string): vonage.OrderByJS;
|
|
732
732
|
}
|
|
733
733
|
namespace OrderByJS {
|
|
734
734
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1104,7 +1104,7 @@ export declare namespace vonage {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
}
|
|
1106
1106
|
abstract class MediaClientErrorJS extends Error {
|
|
1107
|
-
|
|
1107
|
+
private constructor();
|
|
1108
1108
|
}
|
|
1109
1109
|
namespace MediaClientErrorJS {
|
|
1110
1110
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1260,12 +1260,12 @@ export declare namespace vonage {
|
|
|
1260
1260
|
get name(): "US";
|
|
1261
1261
|
get ordinal(): 2;
|
|
1262
1262
|
};
|
|
1263
|
+
static values(): [typeof vonage.CoreClientConfigRegionJS.AP, typeof vonage.CoreClientConfigRegionJS.EU, typeof vonage.CoreClientConfigRegionJS.US];
|
|
1264
|
+
static valueOf(value: string): vonage.CoreClientConfigRegionJS;
|
|
1263
1265
|
get name(): "AP" | "EU" | "US";
|
|
1264
1266
|
get ordinal(): 0 | 1 | 2;
|
|
1265
1267
|
get coreRegion(): any/* com.vonage.clientcore.core.api.ClientConfigRegion */;
|
|
1266
1268
|
get emergencyRegion(): any/* com.vonage.client.emergency.EmergencyClientConfigRegion */;
|
|
1267
|
-
static values(): Array<vonage.CoreClientConfigRegionJS>;
|
|
1268
|
-
static valueOf(value: string): vonage.CoreClientConfigRegionJS;
|
|
1269
1269
|
}
|
|
1270
1270
|
namespace CoreClientConfigRegionJS {
|
|
1271
1271
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1345,10 +1345,10 @@ export declare namespace vonage {
|
|
|
1345
1345
|
get name(): "DEFAULT";
|
|
1346
1346
|
get ordinal(): 7;
|
|
1347
1347
|
};
|
|
1348
|
+
static values(): [typeof vonage.Topics.HTTP, typeof vonage.Topics.WS, typeof vonage.Topics.MEDIA, typeof vonage.Topics.API, typeof vonage.Topics.STORE, typeof vonage.Topics.REDUCER, typeof vonage.Topics.EMERGENCY, typeof vonage.Topics.DEFAULT];
|
|
1349
|
+
static valueOf(value: string): vonage.Topics;
|
|
1348
1350
|
get name(): "HTTP" | "WS" | "MEDIA" | "API" | "STORE" | "REDUCER" | "EMERGENCY" | "DEFAULT";
|
|
1349
1351
|
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1350
|
-
static values(): Array<vonage.Topics>;
|
|
1351
|
-
static valueOf(value: string): vonage.Topics;
|
|
1352
1352
|
}
|
|
1353
1353
|
namespace Topics {
|
|
1354
1354
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1356,7 +1356,7 @@ export declare namespace vonage {
|
|
|
1356
1356
|
const constructor: abstract new () => Topics;
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
|
-
function createVonageLoggerJS(name: string, minLogLevel: vonage.LoggingLevelJS | undefined, topics: Array<vonage.Topics> | undefined, onLog: (
|
|
1359
|
+
function createVonageLoggerJS(name: string, minLogLevel: vonage.LoggingLevelJS | undefined, topics: Array<vonage.Topics> | undefined, onLog: (logLevel: string, topic: vonage.TopicJS, message: string) => void): vonage.VonageLoggerJS;
|
|
1360
1360
|
abstract class LoggingLevelJS {
|
|
1361
1361
|
private constructor();
|
|
1362
1362
|
static get Verbose(): vonage.LoggingLevelJS & {
|
|
@@ -1383,10 +1383,10 @@ export declare namespace vonage {
|
|
|
1383
1383
|
get name(): "Assert";
|
|
1384
1384
|
get ordinal(): 5;
|
|
1385
1385
|
};
|
|
1386
|
+
static values(): [typeof vonage.LoggingLevelJS.Verbose, typeof vonage.LoggingLevelJS.Debug, typeof vonage.LoggingLevelJS.Info, typeof vonage.LoggingLevelJS.Warn, typeof vonage.LoggingLevelJS.Error, typeof vonage.LoggingLevelJS.Assert];
|
|
1387
|
+
static valueOf(value: string): vonage.LoggingLevelJS;
|
|
1386
1388
|
get name(): "Verbose" | "Debug" | "Info" | "Warn" | "Error" | "Assert";
|
|
1387
1389
|
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
1388
|
-
static values(): Array<vonage.LoggingLevelJS>;
|
|
1389
|
-
static valueOf(value: string): vonage.LoggingLevelJS;
|
|
1390
1390
|
}
|
|
1391
1391
|
namespace LoggingLevelJS {
|
|
1392
1392
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -1540,7 +1540,7 @@ export declare namespace vonage {
|
|
|
1540
1540
|
}
|
|
1541
1541
|
export declare namespace vonage {
|
|
1542
1542
|
interface HttpClientJS {
|
|
1543
|
-
request(verb: string, url: string, headers: Json, body: Nullable<string>, callback: (
|
|
1543
|
+
request(verb: string, url: string, headers: Json, body: Nullable<string>, callback: (error: Nullable<vonage.HttpClientErrorJS>, response: Nullable<vonage.HttpClientResponseJS>) => void): void;
|
|
1544
1544
|
}
|
|
1545
1545
|
interface SocketClientJS {
|
|
1546
1546
|
delegate?: Nullable<vonage.SocketClientDelegateJS>;
|
|
@@ -1556,31 +1556,39 @@ export declare namespace vonage {
|
|
|
1556
1556
|
didReceiveNewSocketEvent(body: string): void;
|
|
1557
1557
|
didReceiveNewSocketConnectionStatusEvent(type: string, reason: Nullable<string>, timestamp: any/* kotlin.Number */, retryNumber: Nullable<number>): void;
|
|
1558
1558
|
}
|
|
1559
|
+
interface RawRtcStatsEntryJS {
|
|
1560
|
+
readonly type: string;
|
|
1561
|
+
readonly kind?: Nullable<string>;
|
|
1562
|
+
readonly members?: any;
|
|
1563
|
+
}
|
|
1559
1564
|
interface MediaClientJS {
|
|
1560
1565
|
delegate?: Nullable<vonage.MediaClientDelegateJS>;
|
|
1561
|
-
enableMediaOutbound(closure: (p0: any,
|
|
1562
|
-
enableMediaInbound(rtcId: string, offerSDP: string, closure: (p0: any,
|
|
1563
|
-
processAnswer(id: string, sdp: string, closure: (
|
|
1564
|
-
disableMedia(id: string, closure: (
|
|
1565
|
-
mute(id: string, closure: (
|
|
1566
|
-
unmute(id: string, closure: (
|
|
1567
|
-
enableEarmuff(id: string, closure: (
|
|
1568
|
-
disableEarmuff(id: string, closure: (
|
|
1566
|
+
enableMediaOutbound(closure: (p0: any, sdp: Nullable<string>, callback: (legId: Nullable<string>) => void) => void): void;
|
|
1567
|
+
enableMediaInbound(rtcId: string, offerSDP: string, closure: (p0: any, sdp: Nullable<string>) => void): void;
|
|
1568
|
+
processAnswer(id: string, sdp: string, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1569
|
+
disableMedia(id: string, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1570
|
+
mute(id: string, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1571
|
+
unmute(id: string, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1572
|
+
enableEarmuff(id: string, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1573
|
+
disableEarmuff(id: string, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1569
1574
|
getPeerConnection(id: string): any;
|
|
1570
1575
|
getAudioOutputElement(): any;
|
|
1571
1576
|
getMediaConnectionState(id: string): string;
|
|
1572
|
-
enableRtcStatsCollection(id: string, interval: any/* kotlin.Number */, closure: (
|
|
1573
|
-
enableNoiseSuppression(id: string, closure: (
|
|
1574
|
-
disableNoiseSuppression(id: string, closure: (
|
|
1575
|
-
enableAutoGainControl(id: string, closure: (
|
|
1576
|
-
disableAutoGainControl(id: string, closure: (
|
|
1577
|
-
enableEchoCancellation(id: string, closure: (
|
|
1578
|
-
disableEchoCancellation(id: string, closure: (
|
|
1577
|
+
enableRtcStatsCollection(id: string, interval: any/* kotlin.Number */, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1578
|
+
enableNoiseSuppression(id: string, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1579
|
+
disableNoiseSuppression(id: string, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1580
|
+
enableAutoGainControl(id: string, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1581
|
+
disableAutoGainControl(id: string, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1582
|
+
enableEchoCancellation(id: string, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1583
|
+
disableEchoCancellation(id: string, closure: (error: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1579
1584
|
}
|
|
1580
1585
|
interface MediaClientDelegateJS {
|
|
1581
|
-
|
|
1586
|
+
onRawRtcStats(id: string, entries: Array<vonage.RawRtcStatsEntryJS>): void;
|
|
1582
1587
|
onConnectionChange(id: string, state: string): void;
|
|
1583
1588
|
onMediaError(id: string, error: vonage.MediaClientErrorJS): void;
|
|
1589
|
+
onPcSetupEvent(pcId: string, legId: Nullable<string>, event: string): void;
|
|
1590
|
+
onPcSetupCandidate(pcId: string, candidateType: string): void;
|
|
1591
|
+
onPcSetupCandidateError(pcId: string, errorCode: number, errorText: string): void;
|
|
1584
1592
|
}
|
|
1585
1593
|
}
|
|
1586
1594
|
export declare namespace vonage {
|
|
@@ -1661,24 +1669,25 @@ export declare namespace vonage {
|
|
|
1661
1669
|
}
|
|
1662
1670
|
}
|
|
1663
1671
|
class RTCStatsJS {
|
|
1664
|
-
constructor(audioRecvPackets:
|
|
1665
|
-
get audioRecvPackets():
|
|
1666
|
-
get audioRecvPacketsLost():
|
|
1667
|
-
get audioRecvBytes():
|
|
1668
|
-
get audioRecvJitter():
|
|
1669
|
-
get audioSentPackets():
|
|
1670
|
-
get audioSentBytes():
|
|
1671
|
-
get audioSentPacketsLost():
|
|
1672
|
-
get audioRtt():
|
|
1673
|
-
get audioSentJitter():
|
|
1674
|
-
get echoReturnLoss(): Nullable<
|
|
1675
|
-
get echoReturnLossEnhancement(): Nullable<
|
|
1676
|
-
get audioLevel():
|
|
1677
|
-
get totalAudioEnergy():
|
|
1678
|
-
get totalSamplesSent():
|
|
1679
|
-
get concealedSamples():
|
|
1680
|
-
get concealmentEvents():
|
|
1681
|
-
|
|
1672
|
+
constructor(audioRecvPackets: number, audioRecvPacketsLost: number, audioRecvBytes: number, audioRecvJitter: number, audioSentPackets: number, audioSentBytes: number, audioSentPacketsLost: number, audioRtt: number, audioSentJitter: number, echoReturnLoss: Nullable<number>, echoReturnLossEnhancement: Nullable<number>, audioLevel: number, totalAudioEnergy: number, totalSamplesSent: number, concealedSamples: number, concealmentEvents: number, networkMos: number);
|
|
1673
|
+
get audioRecvPackets(): number;
|
|
1674
|
+
get audioRecvPacketsLost(): number;
|
|
1675
|
+
get audioRecvBytes(): number;
|
|
1676
|
+
get audioRecvJitter(): number;
|
|
1677
|
+
get audioSentPackets(): number;
|
|
1678
|
+
get audioSentBytes(): number;
|
|
1679
|
+
get audioSentPacketsLost(): number;
|
|
1680
|
+
get audioRtt(): number;
|
|
1681
|
+
get audioSentJitter(): number;
|
|
1682
|
+
get echoReturnLoss(): Nullable<number>;
|
|
1683
|
+
get echoReturnLossEnhancement(): Nullable<number>;
|
|
1684
|
+
get audioLevel(): number;
|
|
1685
|
+
get totalAudioEnergy(): number;
|
|
1686
|
+
get totalSamplesSent(): number;
|
|
1687
|
+
get concealedSamples(): number;
|
|
1688
|
+
get concealmentEvents(): number;
|
|
1689
|
+
get networkMos(): number;
|
|
1690
|
+
copy(audioRecvPackets?: number, audioRecvPacketsLost?: number, audioRecvBytes?: number, audioRecvJitter?: number, audioSentPackets?: number, audioSentBytes?: number, audioSentPacketsLost?: number, audioRtt?: number, audioSentJitter?: number, echoReturnLoss?: Nullable<number>, echoReturnLossEnhancement?: Nullable<number>, audioLevel?: number, totalAudioEnergy?: number, totalSamplesSent?: number, concealedSamples?: number, concealmentEvents?: number, networkMos?: number): vonage.RTCStatsJS;
|
|
1682
1691
|
toString(): string;
|
|
1683
1692
|
hashCode(): number;
|
|
1684
1693
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1782,7 +1791,7 @@ export declare namespace vonage.emergency {
|
|
|
1782
1791
|
}
|
|
1783
1792
|
export declare namespace vonage.utils {
|
|
1784
1793
|
abstract class OptionJS<T> {
|
|
1785
|
-
|
|
1794
|
+
private constructor();
|
|
1786
1795
|
orNull(): Nullable<T>;
|
|
1787
1796
|
contains<R>(value: R): boolean;
|
|
1788
1797
|
map<R>(f: (p0: T) => R): vonage.utils.OptionJS<R>;
|