Fabio Alessandrelli
e41d2903ad
Merge pull request #54 from Faless/fix/win32_mingw
...
[Windows] Fix windows build with mingw.
1.0.0-alpha2
2022-06-18 16:46:06 +02:00
Fabio Alessandrelli
f315912d85
[Windows] Fix windows build with mingw.
...
Forces ".dll" extension for library when building with mingw.
Override GDN_EXPORT which is incorrectly defined in the upstream
gdnative headers (3.x) and godot-cpp include (4.0) when building for
windows with mingw.
2022-06-18 14:35:51 +02:00
Fabio Alessandrelli
62ab2e59f8
Merge pull request #53 from Faless/fix/build_deps_target
...
[SCons] Apply "target" to dependencies.
2022-06-18 03:00:48 +02:00
Fabio Alessandrelli
a2fc27f646
[SCons] Apply "target" to dependencies.
...
Dependencies used to be built with the default option (release for
OpenSSL, debug for libdachannel).
They now follow the desired target (producing smaller binaries in
release, and bigger in debug).
2022-06-18 02:00:18 +02:00
Fabio Alessandrelli
b2654cc2bd
Merge pull request #51 from Faless/libdatachannel_pr
...
Switch to libdatachannel as RTC library. Add GDExtension support.
1.0.0-alpha1
2022-06-16 11:32:10 +02:00
Fabio Alessandrelli
e19b370126
Use libdatachannel library, add Godot 4 support.
2022-06-15 21:38:12 +02:00
Fabio Alessandrelli
8c18112f5d
Merge pull request #43 from dsnopek/buffered-amount
...
Add get_buffered_amount() to WebRTCDataChannel (GDNative)
2021-09-22 23:06:19 +02:00
Fabio Alessandrelli
c37cc530e7
Merge pull request #46 from Faless/issue_template
...
Add issue templates for reporting bugs.
2021-07-26 15:39:53 +02:00
Fabio Alessandrelli
13ab33af36
Add issue templates for reporting bugs.
2021-07-26 13:19:29 +02:00
David Snopek
3bdf6cdc13
Add get_buffered_amount() to WebRTCDataChannel
2021-07-21 10:48:09 -05:00
Fabio Alessandrelli
072ba5c1d0
Merge pull request #40 from Faless/osx/arm64
...
Add OSX arm64 build.
2021-07-11 10:51:37 +02:00
Fabio Alessandrelli
7cb6d6c846
Add OSX arm64 build.
...
Needs a more recent revision of godot-cpp, but can still use
godot-headers from 3.2 . See CI script update for details.
2021-07-11 10:01:55 +02:00
Fabio Alessandrelli
c0b31562f5
Merge pull request #39 from Faless/style/clang_black
...
Add static checks
2021-07-09 19:43:04 +02:00
Fabio Alessandrelli
69f92fa26c
Run clang-format on src/*
2021-07-09 18:55:32 +02:00
Fabio Alessandrelli
d06e536d12
Add copyright headers
2021-07-09 18:55:32 +02:00
Fabio Alessandrelli
68a892d9f3
run black -l 120 on SConstruct.
2021-07-09 18:55:32 +02:00
Fabio Alessandrelli
72b337e32c
static checks.
2021-07-09 18:55:32 +02:00
Fabio Alessandrelli
eeabf0a844
Merge pull request #38 from Faless/refactor/signals
...
Refactor signals and obeserver, fixes answer creation.
2021-07-09 16:24:35 +02:00
Fabio Alessandrelli
04fbae6ce3
Properly wait success callback before creating answers.
2021-07-09 03:46:25 +02:00
Fabio Alessandrelli
ce3f086ec4
Move observers implementations into PeerConnection.
2021-07-09 03:45:45 +02:00
Fabio Alessandrelli
00ac03c8e7
Use a class instead of lambdas for signals.
2021-07-09 00:53:15 +02:00
Fabio Alessandrelli
fa5296a4e4
Merge pull request #37 from Faless/ci/auto
...
[CI] Use organization's repository for automated builds.
2021-07-08 23:56:42 +02:00
Fabio Alessandrelli
189c353264
[CI] Use organization's repository for automated builds.
...
Update README.md to reflect new build sources.
2021-07-08 23:04:16 +02:00
Fabio Alessandrelli
e44c42fde8
Merge pull request #36 from Faless/ci/single
...
Setup CI for Android, iOS, Linux, macOS, Windows.
2021-07-06 16:27:59 +02:00
Fabio Alessandrelli
524fdde8f2
Setup CI for Android, iOS, Linux, macOS, Windows.
...
Includes all supported architectures:
* Android:
- arm (neon)
- arm64
- x86
- x64
* iOS:
- arm
- arm64
- x64 (simulator)
* Linux
- x86
- x64
* macOS
- x64
* windows
- x86
- x64
Use a single matrix for builds, then an extra step will package for
release.
Artefacts are generated for each platform/arch combination, along for
the 2 zip containing the full `webrtc` and `webrtc_debug` plugin.
2021-07-06 15:57:55 +02:00
Fabio Alessandrelli
673a4c1a1c
Merge pull request #34 from Faless/build/optimization_flags
...
Fix osx, android optimization flags.
2021-07-05 03:17:27 +02:00
Fabio Alessandrelli
cf98eb2e7a
Fix osx, android optimization flags.
...
Will need to be also fixed in upstream godot-cpp.
2021-07-02 21:58:44 +02:00
Fabio Alessandrelli
7b92ab2a7b
Add missing iOS armv7 entry.
0.5
2021-07-02 18:11:35 +02:00
Fabio Alessandrelli
e120cc7ed6
Merge pull request #33 from Faless/bump/webrtc_4472
...
Bump webrtc to branch-heads/4472. Fixes signalling.
2021-07-02 15:50:08 +02:00
Fabio Alessandrelli
da20ebf397
Unified signalling thread.
2021-07-02 15:12:41 +02:00
Fabio Alessandrelli
3711ad23f6
Bump webrtc to branch-heads/4472.
2021-07-02 15:12:41 +02:00
Fabio Alessandrelli
001be78500
Merge pull request #32 from Faless/release/3.2_fix
...
Fix API breakage after godot cpp 3.2 bump.
2021-07-02 00:39:52 +02:00
Fabio Alessandrelli
416ea27305
Fix API breakage after godot cpp 3.2 bump.
2021-07-02 00:36:41 +02:00
Fabio Alessandrelli
65bb4cb9ae
Merge pull request #31 from Faless/release/3.2
...
Update godot-cpp to tip of 3.2 branch.
2021-07-02 00:29:11 +02:00
Fabio Alessandrelli
3014c3099f
Update godot-cpp to tip of 3.2 branch.
2021-07-02 00:26:10 +02:00
Fabio Alessandrelli
c1c7ae5081
Merge pull request #30 from Faless/scons/mac_ios
...
Add mac and ios platforms. Fix GDNLibrary.
2021-07-02 00:13:48 +02:00
Fabio Alessandrelli
9e287f7cee
Add mac and ios platforms. Fix GDNLibrary.
2021-07-01 23:58:01 +02:00
Fabio Alessandrelli
a374cf4510
Merge pull request #24 from rondao/add_android_build_support
...
Add build support for Android
2021-07-01 07:34:03 +02:00
Fabio Alessandrelli
9ee98ff0e9
Merge pull request #28 from Faless/fix/python3
...
Fix gdns generation with python3.
2021-05-05 16:42:21 +02:00
Fabio Alessandrelli
f26a1d8e83
Fix gdns generation with python3.
...
Python2 has reached end-of-life.
2021-05-05 16:40:22 +02:00
Rafael Rondao
7a62fe467b
Add build support for Android
...
To build for Android, use platform=android.
ANDROID_NDK_ROOT env variable needs to be defined.
By default, it builds for armv7 with Api 18.
To build for arm64v8 (or x86, x86_64), use android_arch=arm64v8.
64 bits requires at least Api level 21.
If needed, you can change it with android_api_level=XX.
Signed-off-by: Rafael Rondao <rafael.rondao@gmail.com >
2020-11-07 23:01:34 -03:00
Fabio Alessandrelli
74f2c78db5
Merge pull request #18 from MarkSort/support-server-platform
...
set library paths for Server platform
2020-08-02 12:07:13 +02:00
Mark Achée
db6d416eba
set library paths for Server platform
2020-06-20 12:22:29 -05:00
Fabio Alessandrelli
5f9e74f2fb
Merge pull request #11 from Faless/fix/close_crash
...
Fix crash when closing an invalid peerconnection.
2020-01-13 18:18:20 +01:00
Fabio Alessandrelli
bd8e139ccc
Fix crash when closing an invalid peerconnection.
2020-01-03 19:50:48 +01:00
Fabio Alessandrelli
61e45cb083
Merge pull request #10 from Faless/refactor/better-scons
...
Better build script, readme
2020-01-03 19:43:01 +01:00
Fabio Alessandrelli
6983019cab
Initial README
2020-01-03 19:41:21 +01:00
Fabio Alessandrelli
54cbe83c56
Simplify webrtc lib folder structure
2020-01-03 19:41:21 +01:00
Fabio Alessandrelli
20f8f89c2c
Use submodule for godot-cpp
2020-01-03 19:41:21 +01:00
Fabio Alessandrelli
4b22741255
Build script also create gdnlib
2020-01-03 19:41:07 +01:00