Giter Site home page Giter Site logo

tanfeng1987 / webrtc-java Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devopvoid/webrtc-java

0.0 0.0 0.0 640 KB

WebRTC for desktop platforms running Java

License: Apache License 2.0

Java 47.37% CSS 1.50% CMake 0.86% C++ 49.94% C 0.25% Objective-C 0.08%

webrtc-java's Introduction

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.5.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 M95/4638.

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/4638
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

webrtc-java's People

Contributors

devopvoid avatar tanfeng1987 avatar rmberne avatar averyzhong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.