hanc-webrtc-widgets 2.4.1 → 2.4.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.
@@ -56,6 +56,7 @@ export declare class LiveKitCallManager extends EventTarget {
56
56
  private readonly isAppleDevice;
57
57
  private krispFilter;
58
58
  private krispSupported;
59
+ private pendingAudioTrack;
59
60
  set serviceUrl(url: string | undefined);
60
61
  get serviceUrl(): string;
61
62
  get status(): CallStatus;
@@ -70,6 +71,15 @@ export declare class LiveKitCallManager extends EventTarget {
70
71
  private updateStatus;
71
72
  makeCall({ agentId }: MakeCallOptions): Promise<void>;
72
73
  private setupRoomEventListeners;
74
+ /**
75
+ * Setup listener for greeting_done signal from backend
76
+ * When received, publish the pending audio track
77
+ */
78
+ private setupGreetingDoneListener;
79
+ /**
80
+ * Publish the pending audio track (after AEC has trained)
81
+ */
82
+ private publishPendingAudioTrack;
73
83
  /**
74
84
  * Apply Krisp noise filter to local audio track
75
85
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanc-webrtc-widgets",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "type": "module",
5
5
  "main": "dist/hanc-webrtc-widgets.umd.js",
6
6
  "module": "dist/hanc-webrtc-widgets.es.js",