@vonage/client-sdk 1.5.0 → 1.5.1-beta.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/dist/client/index.cjs +1288 -1306
- package/dist/client/index.mjs +1288 -1306
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +2 -1
- package/dist/lib/MediaClient.d.ts +1 -0
- package/dist/vonageClientSDK.js +1285 -1306
- package/dist/vonageClientSDK.min.js +17 -17
- package/dist/vonageClientSDK.min.mjs +15 -15
- package/dist/vonageClientSDK.mjs +1285 -1306
- package/package.json +1 -1
|
@@ -1158,13 +1158,14 @@ export declare namespace vonage {
|
|
|
1158
1158
|
mute(id: string, closure: (p0: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1159
1159
|
unmute(id: string, closure: (p0: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1160
1160
|
getPeerConnection(id: string): any;
|
|
1161
|
+
getMediaConnectionState(id: string): string;
|
|
1161
1162
|
enableRtcStatsCollection(id: string, interval: any/* kotlin.Number */, closure: (p0: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1162
1163
|
enableNoiseSuppression(id: string, closure: (p0: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1163
1164
|
disableNoiseSuppression(id: string, closure: (p0: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1164
1165
|
}
|
|
1165
1166
|
interface MediaClientDelegateJS {
|
|
1166
1167
|
onRtcStats(id: string, rtcStats: vonage.RTCStatsJS): void;
|
|
1167
|
-
onConnectionChange(id: string,
|
|
1168
|
+
onConnectionChange(id: string, state: string): void;
|
|
1168
1169
|
onMediaError(id: string, error: vonage.MediaClientErrorJS): void;
|
|
1169
1170
|
}
|
|
1170
1171
|
}
|
|
@@ -15,6 +15,7 @@ declare class MediaClient implements vonage.MediaClientJS {
|
|
|
15
15
|
mute(id: string, closure: MediaResultClosure): Promise<void>;
|
|
16
16
|
unmute(id: string, closure: MediaResultClosure): Promise<void>;
|
|
17
17
|
getPeerConnection(id: string): RTCPeerConnection | undefined;
|
|
18
|
+
getMediaConnectionState(id: string): string;
|
|
18
19
|
processAnswer(id: string, sdp: string, closure: MediaResultClosure): void;
|
|
19
20
|
disableMedia(id: string, closure: MediaResultClosure): void;
|
|
20
21
|
disableNoiseSuppression(id: string, closure: MediaResultClosure): void;
|