@formant/data-sdk 1.80.1 → 1.80.2
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/data-sdk.cjs.js +1 -1
- package/dist/data-sdk.cjs.js.map +1 -1
- package/dist/data-sdk.es.js +5 -0
- package/dist/data-sdk.es.js.map +1 -1
- package/dist/data-sdk.es6.js +5 -0
- package/dist/data-sdk.umd.js +1 -1
- package/dist/types/data-sdk/src/devices/BaseDevice.d.ts +2 -0
- package/package.json +1 -1
package/dist/data-sdk.es6.js
CHANGED
|
@@ -24039,6 +24039,11 @@ class BaseDevice extends EventEmitter {
|
|
|
24039
24039
|
return this.rtcClient.getConnectionStatus(this.remoteDevicePeerId);
|
|
24040
24040
|
throw new Error("Realtime connection hasn't been started");
|
|
24041
24041
|
}
|
|
24042
|
+
getRealtimePingInfo() {
|
|
24043
|
+
if (this.rtcClient && this.remoteDevicePeerId)
|
|
24044
|
+
return this.rtcClient.getPingInfo(this.remoteDevicePeerId);
|
|
24045
|
+
throw new Error("Realtime connection hasn't been started");
|
|
24046
|
+
}
|
|
24042
24047
|
getRealtimePing() {
|
|
24043
24048
|
if (this.rtcClient && this.remoteDevicePeerId)
|
|
24044
24049
|
return this.rtcClient.getPing(this.remoteDevicePeerId);
|