# java-webrtc-screen-sharing **Repository Path**: googlewell/java-webrtc-screen-sharing ## Basic Information - **Project Name**: java-webrtc-screen-sharing - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-25 - **Last Updated**: 2024-06-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Java Remote Screen Sharing via WebRTC This example project demonstrates how to share a screen between two Java applications using WebRTC and [JxBrowser](https://www.teamdev.com/jxbrowser). ![Applications](/img/applications.png?raw=true) ## Description The project consists of two parts: a simplistic WebRTC [server](./server) and [client applications](./clients). The server is written in Node.js. The clients are written in Java and use JxBrowser. ## Requirements - Java 8+ - Node.js 16.15.0 ## Setup Open a terminal and run the following commands: ```bash cd server npm install ``` ## Run Start the server: ```bash cd server node server.js [-p 3000] ``` In different terminals, run Java clients: ```bash cd clients ./gradlew runStreamer [-Pport=3000] ``` ```bash cd clients ./gradlew runReceiver [-Pport=3000] ```