godotengine / webrtc-native

The official GDNative WebRTC implementation for non-html exports.
MIT License
198 stars 27 forks source link

Update to work with Godot 4.1 #101

Closed dsnopek closed 1 year ago

dsnopek commented 1 year ago

This makes the necessary updates to work with Godot 4.1

It depends on Godot PR https://github.com/godotengine/godot/pull/78237 which removes an old workaround in WebRTCPeerConnection's API. Additionally, you'll need to run godot --dump-extension-api with that PR and replace the extension_api.json in godot-cpp to pick that change.

I tested this with the webrtc_minimal and webrtc_signaling demos in https://github.com/godotengine/godot-demo-projects - it's working great for me!

dsnopek commented 1 year ago

This is going to fail CI until extension_api.json is updated in godot-cpp for the change in https://github.com/godotengine/godot/pull/78237