billions-optician-54352
12/11/2025, 9:04 AMtall-airline-16756
12/11/2025, 9:04 AMtall-airline-16756
12/11/2025, 9:05 AMprint('Track enabled: ${localAudioTrack.isEnabled}');
If false, re-enable:
localAudioTrack.setEnabled(true);
1. Search your code for any logic that mutes/disables the track on unsubscribe or when participant count drops (e.g., setEnabled(false), muteTrack(), or handlers on `trackUnsubscribed`/participant leave). Don’t tie track enablement to subscription state.
2. Keep the capture pipeline alive on Windows:
◦ Ensure the microphone capture isn’t suspended by the OS or by your app when no sinks exist.
◦ As a test, play the local published track back locally (echo loop) to confirm the pipeline stays active.
1. Inspect logs/events for state changes:
◦ Watch for TrackMuted / TrackUnpublished / encoder shutdown messages and Room events like TrackPublished / TrackSubscribed.
◦ Confirm the publication still exists and publication.subscribed updates correctly when a subscriber joins.
1. Codec / encoder considerations:
◦ Audio should not be dynacast or paused by LiveKit. If you use DTX/low-bitrate settings, try disabling them while debugging.
If you want, share:
• A short code snippet of how you create/publish the audio track and any unsubscribe handlers.
• Relevant console logs when the problem occurs.
I can then point to the exact lines that may be disabling the track or suggest a small repro to isolate Windows-specific behavior. Would you like to share that?
Sources: Bringing Zoom's end-to-end optimizations to WebRTC | Codecs and more | LiveKit docs | Subscribing to tracks | LiveKit docs | Managing Video Quality During Network Congestion | Flutter quickstart | LiveKit docsbillions-optician-54352
12/11/2025, 8:21 PMtall-airline-16756
12/11/2025, 8:21 PMsetEnabled(false) / muteTrack() / stop() on the track.
• SDK and environment versions:
◦ LiveKit Flutter SDK version
◦ Flutter version (including channel: stable/beta/dev)
◦ Windows OS build
• Exact sequence of events and reproduction steps (e.g., start publisher -> wait X minutes with 0 subscribers -> subscribe from client B -> audio missing).
• Relevant console/log output from both publisher and subscriber around the time it stops and when a new subscriber joins (include Room/Track events).
• Whether you can reproduce if you immediately play the published track locally (echo loop test).
Send those and I’ll examine the code/logs and suggest targeted fixes or a minimal repro to isolate a Windows-specific issue.