Skip to content

fix: reject a second desktop capture start and normalize encoded rotation - #542

Merged
devopvoid merged 1 commit into
mainfrom
fix/desktop-capturer-start-and-encoded-rotation
Nov 5, 2026
Merged

devopvoid merged 1 commit into
mainfrom
fix/desktop-capturer-start-and-encoded-rotation

Conversation

@devopvoid

Copy link
Copy Markdown
Owner
  • A second DesktopCapturer.start() throws IllegalStateException instead of leaking the previous callback. The native capturer now owns its one callback.
  • captureFrame() reports ERROR_PERMANENT without a capture backend and throws IllegalStateException before start().
  • EncodedImage.Builder normalizes the rotation to 0, 90, 180 or 270, like VideoFrame.

…tion

A capturer owns its one callback, captureFrame reports ERROR_PERMANENT without a backend and throws before start.
@devopvoid
devopvoid merged commit 64cf799 into main Nov 5, 2026
26 checks passed
@devopvoid
devopvoid deleted the fix/desktop-capturer-start-and-encoded-rotation branch November 5, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant