@vapi-ai/web 1.0.98 → 1.0.99
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/player.js +4 -5
- package/package.json +1 -1
- package/player.ts +4 -6
package/dist/player.js
CHANGED
|
@@ -78,11 +78,10 @@ class ContinuousPlayer extends events_1.default {
|
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
80
|
clear() {
|
|
81
|
-
if (!this.sourceBuffer)
|
|
82
|
-
|
|
83
|
-
this.
|
|
84
|
-
this.operationsQueue.
|
|
85
|
-
this.operationsQueue = this.createOperationQueue();
|
|
81
|
+
// if (!this.sourceBuffer) return;
|
|
82
|
+
// this.sourceBuffer.abort();
|
|
83
|
+
// this.operationsQueue.kill();
|
|
84
|
+
// this.operationsQueue = this.createOperationQueue();
|
|
86
85
|
// this.operationsQueue.push(() => this.removeBuffer());
|
|
87
86
|
// this.operationsQueue.push(() => this.resetTimestampOffset());
|
|
88
87
|
}
|
package/package.json
CHANGED
package/player.ts
CHANGED
|
@@ -101,12 +101,10 @@ export class ContinuousPlayer extends EventEmitter {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
clear() {
|
|
104
|
-
if (!this.sourceBuffer) return;
|
|
105
|
-
this.sourceBuffer.abort();
|
|
106
|
-
|
|
107
|
-
this.operationsQueue.
|
|
108
|
-
this.operationsQueue = this.createOperationQueue();
|
|
109
|
-
|
|
104
|
+
// if (!this.sourceBuffer) return;
|
|
105
|
+
// this.sourceBuffer.abort();
|
|
106
|
+
// this.operationsQueue.kill();
|
|
107
|
+
// this.operationsQueue = this.createOperationQueue();
|
|
110
108
|
// this.operationsQueue.push(() => this.removeBuffer());
|
|
111
109
|
// this.operationsQueue.push(() => this.resetTimestampOffset());
|
|
112
110
|
}
|