From 111a5ed0a369472b445be19415610cc2ba7aba8c Mon Sep 17 00:00:00 2001 From: cnderrauber Date: Fri, 15 Dec 2023 14:52:12 +0800 Subject: [PATCH] Fix dynacast can't work after full reconnect --- .changeset/fifty-mugs-relax.md | 5 +++++ src/api/SignalClient.ts | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .changeset/fifty-mugs-relax.md diff --git a/.changeset/fifty-mugs-relax.md b/.changeset/fifty-mugs-relax.md new file mode 100644 index 0000000000..a9dd6d4716 --- /dev/null +++ b/.changeset/fifty-mugs-relax.md @@ -0,0 +1,5 @@ +--- +'livekit-client': patch +--- + +Fix dynacast can't work after full reconnect diff --git a/src/api/SignalClient.ts b/src/api/SignalClient.ts index 0de10587ae..9f7561b9a4 100644 --- a/src/api/SignalClient.ts +++ b/src/api/SignalClient.ts @@ -368,11 +368,8 @@ export class SignalClient { this.onAnswer = undefined; this.onLeave = undefined; this.onLocalTrackPublished = undefined; - this.onLocalTrackUnpublished = undefined; this.onNegotiateRequested = undefined; this.onOffer = undefined; - this.onRemoteMuteChanged = undefined; - this.onSubscribedQualityUpdate = undefined; this.onTokenRefresh = undefined; this.onTrickle = undefined; this.onClose = undefined;