@estuary-ai/sdk 0.1.15 → 0.1.17
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/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9253,10 +9253,14 @@ var AudioPlayer = class {
|
|
|
9253
9253
|
try {
|
|
9254
9254
|
this.currentSource.onended = null;
|
|
9255
9255
|
this.currentSource.stop();
|
|
9256
|
+
this.currentSource.disconnect();
|
|
9256
9257
|
} catch {
|
|
9257
9258
|
}
|
|
9258
9259
|
this.currentSource = null;
|
|
9259
9260
|
}
|
|
9261
|
+
if (this.audioElement && this.mediaStreamDest) {
|
|
9262
|
+
this.audioElement.srcObject = this.mediaStreamDest.stream;
|
|
9263
|
+
}
|
|
9260
9264
|
this.isPlaying = false;
|
|
9261
9265
|
this.currentMessageId = null;
|
|
9262
9266
|
}
|