61 Commits

Author SHA1 Message Date
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
Fabio Alessandrelli
5769d8b2de Merge observers 2020-01-03 19:35:20 +01:00
Fabio Alessandrelli
423454086e Merge pull request #3 from Faless/channels_pr
Update to new DataChannel API, singleton load.
0.3
2019-05-21 14:08:30 +02:00
Fabio Alessandrelli
599ed98f6c Small build system improvement 2019-05-16 12:08:39 +02:00
Fabio Alessandrelli
f5ebac4519 Working singleton load 2019-05-16 10:32:51 +02:00
Fabio Alessandrelli
3e64a42b14 Update to new DataChannel API.
New WebRTCLibDataChannel class act as PacketPeer.
Old WebRTCPeer (now WebRTCPeerConnection) now allows you to set
configuration (STUN/TURN) and creating multiple data channels.
Fixed many bugs and implemented most of the missing API.
2019-05-16 10:32:51 +02:00
Fabio Alessandrelli
f2cf2e5340 Merge pull request #2 from Faless/build/refactor
Refactor Scons build script
0.2
2019-04-17 16:46:17 +02:00
Fabio Alessandrelli
1763d278e0 Better flags 2019-04-17 16:41:45 +02:00
Fabio Alessandrelli
8e46eed9e8 Better gitignores 2019-04-17 16:41:45 +02:00
Fabio Alessandrelli
6c0831b6c6 Refactor SCons build script 2019-04-17 15:47:51 +02:00
Fabio Alessandrelli
c30ddd9b22 Update GDNative bind.
The GDNative bind was moved to the "next" version of the extention for
compatibility reasons.
2019-04-12 01:34:33 +02:00
Fabio Alessandrelli
c2028103f1 Better output library name 0.1 2019-04-09 20:38:11 +02:00
Fabio Alessandrelli
13643f9c0c Fix windows build 2019-04-09 19:54:59 +02:00
Fabio Alessandrelli
31821b094b Merge pull request #1 from godotengine/bmakin_import
Import GSoC 2018 work
2019-03-08 15:20:53 +01:00
Fabio Alessandrelli
f2799fdbb2 Fix name collision, scons file, final touches 2019-03-08 15:11:34 +01:00
Brandon Makin
34fd1f8caa Import GSoC work to WebRTC GDNative implementation 2019-03-08 15:10:08 +01:00
Fabio Alessandrelli
a44a5af115 Add namespace to avoid name collision and crash 2018-08-12 19:50:31 +02:00
Fabio Alessandrelli
169252bf60 Update binding to latest version 2018-08-12 19:50:09 +02:00