Skip to content

feat: add a JavaFX camera example - #405

Merged
devopvoid merged 1 commit into
mainfrom
feat/javafx-example
Oct 21, 2026
Merged

devopvoid merged 1 commit into
mainfrom
feat/javafx-example

Conversation

@devopvoid

Copy link
Copy Markdown
Owner
  • JavaFxCameraExample sends the camera from one peer to another in the same process, and shows the mirrored preview beside the received video in two JavaFX VideoViews.
  • Handlers run on the JavaFX Application Thread via Platform::runLater. A dropdown switches the camera while it's being sent, and the window shows the connection state and the encoded resolution and frame rate.
  • It starts with Platform.startup rather than an Application subclass, so it also runs from the class path with mvn exec:java.
  • webrtc-examples now depends on webrtc-java-javafx and javafx-controls 17.0.20.
  • The examples page, the client API guide and the design doc mention the example.

@devopvoid
devopvoid merged commit 89df84d into main Oct 21, 2026
25 checks passed
@devopvoid
devopvoid deleted the feat/javafx-example branch October 21, 2026 22:38
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