diff --git a/packages/client/src/rtc/Publisher.ts b/packages/client/src/rtc/Publisher.ts index cbcc8461d7..37bb36aa15 100644 --- a/packages/client/src/rtc/Publisher.ts +++ b/packages/client/src/rtc/Publisher.ts @@ -460,7 +460,8 @@ export class Publisher extends BasePeerConnection { const trackInfos: TrackInfo[] = []; for (const publishOption of this.publishOptions) { const bundle = this.transceiverCache.get(publishOption); - if (!bundle || !bundle.transceiver.sender.track) continue; + const track = bundle?.transceiver.sender.track; + if (!bundle || !track || track.readyState !== 'live') continue; trackInfos.push(this.toTrackInfo(bundle, sdp)); } return trackInfos;