Skip to content

Danil-Didkovskiy/java-webrtc-screen-sharing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Remote Screen Sharing via WebRTC

This example project demonstrates how to share a screen between two Java applications using WebRTC and JxBrowser.

Applications

Description

The project consists of two parts: a simplistic WebRTC server and client applications.

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:

cd server
npm install

Run

Start the server:

cd server
node server.js [-p 3000]

In different terminals, run Java clients:

cd clients
./gradlew runStreamer [-Pport=3000]
cd clients
./gradlew runReceiver [-Pport=3000]

About

Remote screen sharing between two Java applications via WebRTC.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published