hanc-webrtc-widgets 2.3.1 → 2.3.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.
- package/dist/hanc-webrtc-widgets.es.js +1863 -2313
- package/dist/hanc-webrtc-widgets.umd.js +45 -47
- package/dist/src/components/floating-call/floating-call.d.ts +0 -32
- package/dist/src/components/inline-call/inline-call.d.ts +0 -33
- package/dist/src/components/pill-call/pill-call.d.ts +0 -32
- package/dist/src/core/livekit-call-manager.d.ts +0 -59
- package/package.json +1 -1
|
@@ -9,12 +9,6 @@ export declare class FloatingCall extends LitElement {
|
|
|
9
9
|
private soundManager;
|
|
10
10
|
private orbContainerRef;
|
|
11
11
|
private animationId;
|
|
12
|
-
private pendingTimers;
|
|
13
|
-
private isPageVisible;
|
|
14
|
-
private boundHandleVisibilityChange;
|
|
15
|
-
private animationStartTime;
|
|
16
|
-
private intersectionObserver;
|
|
17
|
-
private isOrbInitialized;
|
|
18
12
|
agentId: string;
|
|
19
13
|
voiceServiceUrl?: string;
|
|
20
14
|
private callStatus;
|
|
@@ -42,35 +36,9 @@ export declare class FloatingCall extends LitElement {
|
|
|
42
36
|
soundEnabled: boolean;
|
|
43
37
|
soundVolume: number;
|
|
44
38
|
soundPreset: SoundPreset;
|
|
45
|
-
constructor();
|
|
46
39
|
connectedCallback(): void;
|
|
47
40
|
disconnectedCallback(): void;
|
|
48
|
-
/**
|
|
49
|
-
* Handle page visibility change (critical for iOS Safari)
|
|
50
|
-
*/
|
|
51
|
-
private handleVisibilityChange;
|
|
52
|
-
/**
|
|
53
|
-
* Stop animation loop (for page visibility)
|
|
54
|
-
*/
|
|
55
|
-
private stopAnimation;
|
|
56
|
-
/**
|
|
57
|
-
* Resume animation based on current state
|
|
58
|
-
*/
|
|
59
|
-
private resumeAnimation;
|
|
60
|
-
/**
|
|
61
|
-
* Schedule a timer that will be automatically cleaned up on disconnect
|
|
62
|
-
*/
|
|
63
|
-
private scheduleTimer;
|
|
64
|
-
/**
|
|
65
|
-
* Clear all pending timers
|
|
66
|
-
*/
|
|
67
|
-
private clearAllTimers;
|
|
68
41
|
firstUpdated(): void;
|
|
69
|
-
/**
|
|
70
|
-
* Setup IntersectionObserver for lazy OrbRenderer initialization
|
|
71
|
-
* This significantly improves page load time when multiple widgets are present
|
|
72
|
-
*/
|
|
73
|
-
private setupLazyInitialization;
|
|
74
42
|
updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
75
43
|
private applyTheme;
|
|
76
44
|
private initializeOrb;
|
|
@@ -9,13 +9,6 @@ export declare class InlineCall extends LitElement {
|
|
|
9
9
|
private soundManager;
|
|
10
10
|
private orbContainerRef;
|
|
11
11
|
private animationId;
|
|
12
|
-
private pendingTimers;
|
|
13
|
-
private isPageVisible;
|
|
14
|
-
private boundHandleVisibilityChange;
|
|
15
|
-
private animationStartTime;
|
|
16
|
-
private intersectionObserver;
|
|
17
|
-
private isOrbInitialized;
|
|
18
|
-
private intersectionTimeoutId;
|
|
19
12
|
agentId: string;
|
|
20
13
|
voiceServiceUrl?: string;
|
|
21
14
|
private callStatus;
|
|
@@ -43,35 +36,9 @@ export declare class InlineCall extends LitElement {
|
|
|
43
36
|
soundEnabled: boolean;
|
|
44
37
|
soundVolume: number;
|
|
45
38
|
soundPreset: SoundPreset;
|
|
46
|
-
constructor();
|
|
47
39
|
connectedCallback(): void;
|
|
48
40
|
disconnectedCallback(): void;
|
|
49
|
-
/**
|
|
50
|
-
* Handle page visibility change (critical for iOS Safari)
|
|
51
|
-
*/
|
|
52
|
-
private handleVisibilityChange;
|
|
53
|
-
/**
|
|
54
|
-
* Stop animation loop (for page visibility)
|
|
55
|
-
*/
|
|
56
|
-
private stopAnimation;
|
|
57
|
-
/**
|
|
58
|
-
* Resume animation based on current state
|
|
59
|
-
*/
|
|
60
|
-
private resumeAnimation;
|
|
61
|
-
/**
|
|
62
|
-
* Schedule a timer that will be automatically cleaned up on disconnect
|
|
63
|
-
*/
|
|
64
|
-
private scheduleTimer;
|
|
65
|
-
/**
|
|
66
|
-
* Clear all pending timers
|
|
67
|
-
*/
|
|
68
|
-
private clearAllTimers;
|
|
69
41
|
firstUpdated(): void;
|
|
70
|
-
/**
|
|
71
|
-
* Setup IntersectionObserver for lazy OrbRenderer initialization
|
|
72
|
-
* This significantly improves page load time when multiple widgets are present
|
|
73
|
-
*/
|
|
74
|
-
private setupLazyInitialization;
|
|
75
42
|
updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
76
43
|
private applyTheme;
|
|
77
44
|
private initializeOrb;
|
|
@@ -9,12 +9,6 @@ export declare class PillCall extends LitElement {
|
|
|
9
9
|
private soundManager;
|
|
10
10
|
private orbContainerRef;
|
|
11
11
|
private animationId;
|
|
12
|
-
private pendingTimers;
|
|
13
|
-
private isPageVisible;
|
|
14
|
-
private boundHandleVisibilityChange;
|
|
15
|
-
private animationStartTime;
|
|
16
|
-
private intersectionObserver;
|
|
17
|
-
private isOrbInitialized;
|
|
18
12
|
agentId: string;
|
|
19
13
|
voiceServiceUrl?: string;
|
|
20
14
|
private callStatus;
|
|
@@ -42,35 +36,9 @@ export declare class PillCall extends LitElement {
|
|
|
42
36
|
soundEnabled: boolean;
|
|
43
37
|
soundVolume: number;
|
|
44
38
|
soundPreset: SoundPreset;
|
|
45
|
-
constructor();
|
|
46
39
|
connectedCallback(): void;
|
|
47
40
|
disconnectedCallback(): void;
|
|
48
|
-
/**
|
|
49
|
-
* Handle page visibility change (critical for iOS Safari)
|
|
50
|
-
*/
|
|
51
|
-
private handleVisibilityChange;
|
|
52
|
-
/**
|
|
53
|
-
* Stop animation loop (for page visibility)
|
|
54
|
-
*/
|
|
55
|
-
private stopAnimation;
|
|
56
|
-
/**
|
|
57
|
-
* Resume animation based on current state
|
|
58
|
-
*/
|
|
59
|
-
private resumeAnimation;
|
|
60
|
-
/**
|
|
61
|
-
* Schedule a timer that will be automatically cleaned up on disconnect
|
|
62
|
-
*/
|
|
63
|
-
private scheduleTimer;
|
|
64
|
-
/**
|
|
65
|
-
* Clear all pending timers
|
|
66
|
-
*/
|
|
67
|
-
private clearAllTimers;
|
|
68
41
|
firstUpdated(): void;
|
|
69
|
-
/**
|
|
70
|
-
* Setup IntersectionObserver for lazy OrbRenderer initialization
|
|
71
|
-
* This significantly improves page load time when multiple widgets are present
|
|
72
|
-
*/
|
|
73
|
-
private setupLazyInitialization;
|
|
74
42
|
updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
75
43
|
private applyTheme;
|
|
76
44
|
private initializeOrb;
|
|
@@ -53,66 +53,7 @@ export declare class LiveKitCallManager extends EventTarget {
|
|
|
53
53
|
private userIdentity;
|
|
54
54
|
private roomName;
|
|
55
55
|
private audioPlaybackPrompt;
|
|
56
|
-
private audioElements;
|
|
57
|
-
private audioContainer;
|
|
58
|
-
private wasConnectedBeforeHidden;
|
|
59
|
-
private isPageVisible;
|
|
60
|
-
private reconnectAttempts;
|
|
61
|
-
private maxReconnectAttempts;
|
|
62
|
-
private isReconnecting;
|
|
63
|
-
private isDestroyed;
|
|
64
|
-
private pendingTimers;
|
|
65
|
-
private boundHandleVisibilityChange;
|
|
66
|
-
private boundHandlePageHide;
|
|
67
|
-
private boundHandlePageShow;
|
|
68
|
-
private boundHandleOnline;
|
|
69
|
-
private boundHandleOffline;
|
|
70
56
|
private readonly isAppleDevice;
|
|
71
|
-
constructor();
|
|
72
|
-
private createAudioContainer;
|
|
73
|
-
/**
|
|
74
|
-
* Schedule a timer that will be automatically cleaned up on destroy
|
|
75
|
-
*/
|
|
76
|
-
private scheduleTimer;
|
|
77
|
-
/**
|
|
78
|
-
* Clear all pending timers
|
|
79
|
-
*/
|
|
80
|
-
private clearAllTimers;
|
|
81
|
-
private setupLifecycleListeners;
|
|
82
|
-
private removeLifecycleListeners;
|
|
83
|
-
private handleVisibilityChange;
|
|
84
|
-
private handlePageHide;
|
|
85
|
-
private handlePageShow;
|
|
86
|
-
private handleOnline;
|
|
87
|
-
private handleOffline;
|
|
88
|
-
private pauseAllAudio;
|
|
89
|
-
private resumeAllAudio;
|
|
90
|
-
private resumeAfterVisibilityChange;
|
|
91
|
-
private attemptReconnect;
|
|
92
|
-
/**
|
|
93
|
-
* Clean up room without full destroy
|
|
94
|
-
*/
|
|
95
|
-
private cleanupRoom;
|
|
96
|
-
private cleanupBeforeUnload;
|
|
97
|
-
private cleanupAudioElements;
|
|
98
|
-
/**
|
|
99
|
-
* Remove the audio container from DOM
|
|
100
|
-
*/
|
|
101
|
-
private removeAudioContainer;
|
|
102
|
-
destroy(): void;
|
|
103
|
-
/**
|
|
104
|
-
* Attempt to play audio element with iOS Safari handling
|
|
105
|
-
* Returns true if played successfully, false if blocked
|
|
106
|
-
*/
|
|
107
|
-
private playAudioElement;
|
|
108
|
-
/**
|
|
109
|
-
* Fetch with timeout - prevents hanging on slow iOS connections
|
|
110
|
-
*/
|
|
111
|
-
private fetchWithTimeout;
|
|
112
|
-
/**
|
|
113
|
-
* Connect with timeout - prevents hanging on iOS
|
|
114
|
-
*/
|
|
115
|
-
private connectWithTimeout;
|
|
116
57
|
set serviceUrl(url: string | undefined);
|
|
117
58
|
get serviceUrl(): string;
|
|
118
59
|
get status(): CallStatus;
|