Skip to content

feat: move the Swing video view into its own module - #523

Merged
devopvoid merged 2 commits into
mainfrom
feat/swing-module
Nov 3, 2026
Merged

devopvoid merged 2 commits into
mainfrom
feat/swing-module

Conversation

@devopvoid

Copy link
Copy Markdown
Owner
  • dev.onvoid.webrtc.client.swing.VideoView moves into the new module webrtc-swing (artifact webrtc-java-swing, JPMS webrtc.java.swing), set up like webrtc-javafx. The package name stays, so imports don't change.
  • webrtc.java no longer requires java.desktop: it needs only java.base and java.net.http, so headless and jlink images leave AWT/Swing out.
  • DesktopFrame is removed. Desktop capture delivers VideoFrames, and nothing created it anymore; its native conversion and JavaRectangle/JavaDimension go with it.
  • The new artifact is deployed with snapshots and releases, and its tests run in test-natives.

Breaking changes:

  • VideoView needs the dependency dev.onvoid.webrtc:webrtc-java-swing, and modular applications requires webrtc.java.swing.
  • dev.onvoid.webrtc.media.video.desktop.DesktopFrame is gone.
  • Modular applications that use AWT or Swing themselves have to require java.desktop on their own. Classpath applications are not affected.

The Swing VideoView moves to the new webrtc-java-swing module, in the same
package, so webrtc.java no longer requires java.desktop. DesktopFrame, which
nothing has created since desktop capture delivers VideoFrames, is removed
together with its AWT conversion helpers.
@devopvoid
devopvoid merged commit 1fb9805 into main Nov 3, 2026
23 of 25 checks passed
@devopvoid
devopvoid deleted the feat/swing-module branch November 3, 2026 09:14
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