dev.onvoid.webrtc.demo:webrtc-java-demo-javafx

Java native interface implementation based on the free, open WebRTC project. The goal of this project is to enable development of RTC applications for desktop platforms running Java.

License

License

Categories

Categories

Java Languages JavaFX User Interface
GroupId

GroupId

dev.onvoid.webrtc.demo
ArtifactId

ArtifactId

webrtc-java-demo-javafx
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Java native interface implementation based on the free, open WebRTC project. The goal of this project is to enable development of RTC applications for desktop platforms running Java.

Download webrtc-java-demo-javafx

How to add to project

<!-- https://jarcasting.com/artifacts/dev.onvoid.webrtc.demo/webrtc-java-demo-javafx/ -->
<dependency>
    <groupId>dev.onvoid.webrtc.demo</groupId>
    <artifactId>webrtc-java-demo-javafx</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/dev.onvoid.webrtc.demo/webrtc-java-demo-javafx/
implementation 'dev.onvoid.webrtc.demo:webrtc-java-demo-javafx:0.1.0'
// https://jarcasting.com/artifacts/dev.onvoid.webrtc.demo/webrtc-java-demo-javafx/
implementation ("dev.onvoid.webrtc.demo:webrtc-java-demo-javafx:0.1.0")
'dev.onvoid.webrtc.demo:webrtc-java-demo-javafx:jar:0.1.0'
<dependency org="dev.onvoid.webrtc.demo" name="webrtc-java-demo-javafx" rev="0.1.0">
  <artifact name="webrtc-java-demo-javafx" type="jar" />
</dependency>
@Grapes(
@Grab(group='dev.onvoid.webrtc.demo', module='webrtc-java-demo-javafx', version='0.1.0')
)
libraryDependencies += "dev.onvoid.webrtc.demo" % "webrtc-java-demo-javafx" % "0.1.0"
[dev.onvoid.webrtc.demo/webrtc-java-demo-javafx "0.1.0"]

Dependencies

compile (7)

Group / Artifact Type Version
dev.onvoid.webrtc : webrtc-java-linux-x86_64 jar 0.1.0
dev.onvoid.webrtc : webrtc-java-macos-x86_64 jar 0.1.0
dev.onvoid.webrtc : webrtc-java-windows-x86_64 jar 0.1.0
dev.onvoid.webrtc.demo : webrtc-java-demo-api jar 0.1.0
org.openjfx : javafx-controls jar 13
org.openjfx : javafx-fxml jar 13
dev.onvoid.webrtc : webrtc-java jar 0.1.0

test (2)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.4.2
org.junit.jupiter : junit-jupiter-engine jar 5.4.2

Project Modules

There are no modules declared in this project.

Build Status

webrtc-java

Java native interface implementation based on the free, open WebRTC project. The goal of this project is to enable development of RTC applications for desktop platforms running Java. This project wraps the WebRTC Native API and is similar to the JS API.

<dependency>
    <groupId>dev.onvoid.webrtc</groupId>
    <artifactId>webrtc-java</artifactId>
    <version>0.2.0</version>
</dependency>

Supported Platforms

Maven Central artifacts contain native libraries that can be loaded on the following platforms:

Linux x86_64 demo app
macOS x86_64 demo app
Windows x86_64 demo app

The native libraries were build with WebRTC branch M80.

Demo

The client demo implements the AppRTC signaling protocol which allows the JavaFX demo application to communicate with the reference AppRTC video chat app in a browser.

Build Notes

In order to build the native code, be sure to install the prerequisite software (follow the links):

Note: You don't have to install the Depot Tools, the build script will do that for you.

Linux Debian & Ubuntu, other distros
macOS Xcode 9 or higher
Windows Visual Studio

Assuming you have all the prerequisites installed for your OS, run:

mvn install

On the first run, the WebRTC source tree will be loaded into the /<user home>/webrtc directory. This will take a while and require about 12 GB of disk space.

Build Parameters

Parameter Description Default Value
webrtc.branch The WebRTC branch to checkout. branch-heads/4324
webrtc.src.dir The absolute checkout path for the WebRTC source tree. /<user_home>/webrtc
webrtc.install.dir The install path for the compiled WebRTC library. Is also used to link against a pre-compiled WebRTC library to reduce build time. /<user_home>/webrtc/build

Versions

Version
0.1.0