hanc-webrtc-widgets 2.7.2 → 2.7.3

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.
@@ -72,6 +72,7 @@ export declare class InlineCall extends LitElement {
72
72
  private handlePrivacyDecline;
73
73
  private attachCallManagerListeners;
74
74
  private detachCallManagerListeners;
75
+ private handleAudioPlaybackStatusChanged;
75
76
  private resetCallManager;
76
77
  private getButtonIcon;
77
78
  private get buttonText();
@@ -117,7 +117,11 @@ export declare class LiveKitCallManager extends EventTarget {
117
117
  * - Errors are logged but never surfaced: a failed filter must not break an active call.
118
118
  */
119
119
  private attachNoiseFilter;
120
- /** Route an agent HTMLAudioElement through a GainNode for smooth fade. */
120
+ /** Route an agent HTMLAudioElement through a GainNode for smooth fade.
121
+ * When `this.fadeContext` is pre-warmed in makeCall (the common case),
122
+ * this runs SYNCHRONOUSLY in the same tick as track.attach() — preventing
123
+ * the AudioContext cold-start race that silenced the first call after page load.
124
+ */
121
125
  private setupAgentAudioFade;
122
126
  /** Smoothly ramp all agent GainNodes to target using exponential decay.
123
127
  * @param target — 0 (mute) or 1 (unmute)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanc-webrtc-widgets",
3
- "version": "2.7.2",
3
+ "version": "2.7.3",
4
4
  "type": "module",
5
5
  "main": "dist/hanc-webrtc-widgets.umd.js",
6
6
  "module": "dist/hanc-webrtc-widgets.es.js",