Mirror of godotengine/webrtc-native
Find a file
Fabio Alessandrelli f3ca94ae0e
Merge pull request #175 from Faless/fix/mbedtls_install_dir
mbedTLS: Fix install dir on Linux
2025-05-28 18:42:01 +02:00
.github [TLS] Move from OpenSSL to mbedTLS 2025-05-15 11:24:51 +02:00
bin/thirdparty Bump godot-cpp to beta8, libdatachannel to v0.18.0 2022-12-10 17:13:59 +01:00
godot-cpp@631cd5fe37 [godot-cpp] Update versions and patches 2025-01-08 10:51:59 +01:00
godot-cpp-3.x@7c09b5484d Update to Godot 4.0-beta11, libdatachannel v0.18.1 2023-01-12 15:59:48 +01:00
misc [godot-cpp] Update versions and patches 2025-01-08 10:51:59 +01:00
src Drop Godot 4.0 support 2024-10-26 18:57:38 +02:00
thirdparty [TLS] Move from OpenSSL to mbedTLS 2025-05-15 11:24:51 +02:00
tools mbedTLS: Fix install dir on Linux 2025-05-28 18:35:26 +02:00
.clang-format [CI] Update static checks, copyright headers. 2023-05-25 04:34:31 +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
build_profile.json Update to libdatachannel 0.22.2 OpenSSL 3.4.0 2024-10-25 10:47:44 +02:00
LICENSE Initial commit 2018-08-11 16:51:13 +02:00
README.md [TLS] Move from OpenSSL to mbedTLS 2025-05-15 11:24:51 +02:00
SConstruct Merge pull request #164 from Faless/feat/mbedtls 2025-05-21 20:59:16 +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 licences. Please see thirdparty/README.md for more informations.