From 3c1d7a0119c101897c3b4f58de6712e6e23b2583 Mon Sep 17 00:00:00 2001 From: "Timo K." Date: Tue, 7 Jul 2026 17:17:54 +0200 Subject: [PATCH] Update Publisher.ts --- src/state/CallViewModel/localMember/Publisher.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/state/CallViewModel/localMember/Publisher.ts b/src/state/CallViewModel/localMember/Publisher.ts index cf6fb9fe8..8e31c938d 100644 --- a/src/state/CallViewModel/localMember/Publisher.ts +++ b/src/state/CallViewModel/localMember/Publisher.ts @@ -126,11 +126,9 @@ export class Publisher { // resumeUpstreams() call found no track and did nothing. Resume here so // that a track published after startPublishing() actually sends media. // This is a no-op if the upstream is not paused. - this.resumeUpstreams(lkRoom, [localTrackPublication.source]).catch( - (e) => { - this.logger.error(`Failed to resume upstreams`, e); - }, - ); + localTrackPublication.resumeUpstream().catch((e) => { + this.logger.error(`Failed to resume upstreams`, e); + }); } if (localTrackPublication.source === Track.Source.Microphone) { const muteState = this.muteStates.audio; @@ -171,7 +169,7 @@ export class Publisher { } } } - } + }; /** * Create and setup local audio and video tracks based on the current mute states. * It creates the tracks only if audio and/or video is enabled, to avoid unnecessary