# webrtc-java **Repository Path**: rocl/webrtc-java ## Basic Information - **Project Name**: webrtc-java - **Description**: No description available - **Primary Language**: Java - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2020-12-31 - **Last Updated**: 2024-10-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![](https://github.com/devopvoid/webrtc-java/workflows/Maven%20CI/badge.svg)](https://github.com/devopvoid/webrtc-java/actions) [![](https://img.shields.io/maven-central/v/dev.onvoid.webrtc/webrtc-java.svg?label=Maven%20Central&logo=apache-maven)](https://search.maven.org/search?q=g:%22dev.onvoid.webrtc%22%20AND%20a:%22webrtc-java%22) ## webrtc-java Java native interface implementation based on the free, open [WebRTC](https://webrtc.org) 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](https://w3c.github.io/webrtc-pc). ```xml dev.onvoid.webrtc webrtc-java 0.2.0 ``` ### 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](https://github.com/webrtc/apprtc) signaling protocol which allows the JavaFX demo application to communicate with the reference [AppRTC video chat app](https://appr.tc) in a browser. ### Build Notes In order to build the native code, be sure to install the prerequisite software (follow the links):
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 `//webrtc` directory. This will take a while and require about 8 GB of disk space. #### Build Parameters | Parameter | Description | Default Value | | ------------------ | ------------------------------------------------------ | --------------------------- | | webrtc.branch | The WebRTC branch to checkout. | branch-heads/3987 | | webrtc.src.dir | The absolute checkout path for the WebRTC source tree. | /\/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. | /\/webrtc/build |