Mirror of godotengine/webrtc-native
  • C++ 65.4%
  • Python 32.8%
  • Shell 1.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Fabio Alessandrelli 269c7f2535
Merge pull request #201 from Faless/bump/godot-cpp-10-rc2
Update to godot-cpp RC2
2026-09-10 10:17:06 +02:00
.github CI: Sync pre-commit scripts and actions with Godot 2026-07-05 18:07:48 +02:00
godot-cpp@5ed72a0dc2 Update to godot-cpp RC2 2026-08-25 21:18:29 +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 Fix bogus header script sync, run it as pre-commit 2026-08-09 11:33:55 +02:00
src Fix bogus header script sync, run it as pre-commit 2026-08-09 11:33:55 +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 Fix bogus header script sync, run it as pre-commit 2026-08-09 11:33:55 +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.