fix: clean up pending screen share starts

This commit is contained in:
illusia committed 2026-09-21 05:52:22 +08:00
1 parent 3d0b8a5c97
commit 7ea63c525e
3 files changed
+45 -6

No files matched your search

+1 -1
View File
@@ -1085,7 +1085,7 @@ export class VoiceBridge {
viewerEntryIds: new Set(),
};
this.screenStreams.set(screenStreamKey(stream.targetKey, stream.streamId), stream);
sendJson({ type: "screenShareStarted", stream: this.describeScreenStream(stream), owner: true });
sendJson({ type: "screenShareStarted", requestId: message.requestId, stream: this.describeScreenStream(stream), owner: true });
this.broadcastScreenMessage(stream, {
type: "screenShareStarted",
stream: this.describeScreenStream(stream),