mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
createLocalScreenTracks injects a default 1080p30 resolution when none is set and mutates the passed options object, so (a) a 'source' share was captured at 30 fps regardless of the FPS setting, with only a best-effort applyConstraints afterwards, and (b) the shared 'source' preset object was permanently mutated after the first share. Capture options are now always copies; 'source' with an explicit 60/120 override passes a zero-size resolution sentinel (uncapped in livekit's constraint translation) with the frame rate in the raw video constraints, so the fps applies at getDisplayMedia time. Follow-up to #115. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LwtnpHAoSFr1ZibQgQkNQK