Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-05-14 18:43:11 +00:00
parent 5c2c0f6006
commit e42f7ad1db
-3
View File
@@ -98,9 +98,6 @@ export async function startBroadcast(stream: MediaStream): Promise<BroadcasterHa
channel = joinSignalingChannel(code, handleMessage); channel = joinSignalingChannel(code, handleMessage);
// Track the active stream so we can swap it on the fly
let activeStream: MediaStream = stream;
// Stop when the underlying stream ends // Stop when the underlying stream ends
const attachEndedListeners = (s: MediaStream) => { const attachEndedListeners = (s: MediaStream) => {
s.getTracks().forEach((t) => { s.getTracks().forEach((t) => {