mirror of
https://github.com/vector-im/element-call.git
synced 2026-04-06 07:20:25 +00:00
fix disconnect of js once event
Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -135,7 +135,7 @@ async function connectAndPublish(
|
||||
const tracker = PosthogAnalytics.instance.eventCallConnectDuration;
|
||||
// Track call connect duration
|
||||
tracker.cacheConnectStart();
|
||||
livekitRoom.once(RoomEvent.SignalConnected, () => tracker.cacheWsConnect());
|
||||
livekitRoom.once(RoomEvent.SignalConnected, tracker.cacheWsConnect);
|
||||
|
||||
await livekitRoom!.connect(sfuConfig!.url, sfuConfig!.jwt, {
|
||||
// Due to stability issues on Firefox we are testing the effect of different
|
||||
|
||||
Reference in New Issue
Block a user