Mirror of godotengine/webrtc-native
  • C++ 65.9%
  • Python 32.3%
  • Shell 1.8%
Find a file
Fabio Alessandrelli 0d6718ba8d
Merge pull request #192 from BenLubar/patch-1
use Android NDK version from godot-cpp
2026-08-02 11:02:23 +02:00
.github CI: Sync pre-commit scripts and actions with Godot 2026-07-05 18:07:48 +02:00
godot-cpp@58d1de720b Update godot-cpps to 3.6-stable, 10.0.0-rc1 2026-07-01 10:18:39 +02:00
godot-cpp-3.x@f974dc28d1 Update godot-cpps to 3.6-stable, 10.0.0-rc1 2026-07-01 10:18:39 +02:00
misc Package releases according to new store guidelines 2026-07-07 19:31:14 +02:00
src Wait for cleanup during deinitialization 2026-08-02 10:24:16 +02:00
thirdparty mbedTLS: Update to 3.6.7 2026-07-07 19:46:01 +02:00
tools use Android NDK version from godot-cpp 2026-07-20 08:05:57 -05:00
.clang-format Update clang-format, apply style 2026-07-06 10:15:54 +02:00
.gitignore [SCons] Refactor build tools. 2022-12-30 14:34:15 +01:00
.gitmodules [TLS] Move from OpenSSL to mbedTLS 2025-05-15 11:24:51 +02:00
.pre-commit-config.yaml CI: Sync pre-commit scripts and actions with Godot 2026-07-05 18:07:48 +02:00
build_profile.json Update godot-cpps to 3.6-stable, 10.0.0-rc1 2026-07-01 10:18:39 +02:00
LICENSE Initial commit 2018-08-11 16:51:13 +02:00
pyproject.toml CI: Sync pre-commit scripts and actions with Godot 2026-07-05 18:07:48 +02:00
README.md CI: Sync pre-commit scripts and actions with Godot 2026-07-05 18:07:48 +02:00
SConstruct Package releases according to new store guidelines 2026-07-07 19:31:14 +02:00

GDNative WebRTC plugin for Godot

Getting Started

Download latest binary version GitHub

Compiling

Clone this repository with the following command to checkout all the dependencies: godot-cpp, mbedTLS and libdatachannel (and sub-dependencies).

$ git clone --recurse-submodules https://github.com/godotengine/webrtc-native.git

If you already checked out the branch use the following commands to update the dependencies:

$ git submodule update --init --recursive

Compiling the extension.

To build the GDExtension version of the plugin (Godot 4.1+) run the following command from the webrtc-native folder:

$ scons platform=<your platform>

This will build all the required dependencies into a single shared library.

To build the "legacy" GDExtension version of the plugin (Godot 4.0) run the following command instead:

$ scons platform=<your platform> godot_version=4.0

To build the GDNative version of the plugin (Godot 3.x) run the following command instead:

$ scons platform=<your platform> godot_version=3

Replace <your platform> with either windows, linux, osx, android, or ios.

Include target=release or target=debug for release or debug build (default is debug).

The resulting library and associated tres or gdextension will be created in bin/[extension|gdnative]/webrtc[_debug] depending on the target and godot_version.

You simply need to copy that folder to the root folder of your project. Note that you will have to build the library for all the desired export platforms.

License

The webrtc-native plugin is licensed under the MIT license (see LICENSE), while libdatachannel and its dependencies are licensed under other permissive open source licenses. Please see thirdparty/README.md for more information.