-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Godot 4.3 WebRTC插件在Android上无法加载 #158
Comments
When trying to compile and publish all versions of godot 4.0 on Windows to Android, similar errors occur. However, it can run normally on Windows, but I don't know what the reason is |
WebRTC插件在Android上无法加载: vbnet USER ERROR: Required virtual method WebRTCPeerConnectionExtension::_initialize must be overridden before calling. 我的开发环境: |
What android device are you testing on? I see:
Which seems to suggest an x86_64 android device? |
The result of running on Android phones and Windows Android emulators is the same, the program cannot load the SO file correctly, but the exe packaged under Windows can run normally |
USER ERROR: Can't open dynamic library: addons/webrtc/lib/libwebrtc_native.android.template_debug.arm64.so. Error: dlopen failed: library "libwebrtc_native.android.template_debug.arm64.so" not found. |
The file fails to load correctly both on the Android system and in the emulator. How can I resolve this issue? |
Does anyone know what the reason is? Could you please let us know?@fabio Alessandrelli |
Error OS_Android::open_dynamic_library(const String &p_path, void *&p_library_handle, GDExtensionData *p_data) {
} USER ERROR: Can't open dynamic library: webrtc/lib/libwebrtc_native.android.template_debug.arm64.so. Error: dlopen failed: library "libwebrtc_native.android.template_debug.arm64.so" not found. |
Godot version
4.0-4.3 stable
Plugin version
godot-extension-4.1-webrtc
System information
android10 ,api29
Issue description
USER ERROR: Error calling from signal 'connected' to callable: 'Control(client_ui.gd)::_connected': Method expected 0 arguments, but called with 2.
E at: emit_signalp (core/object/object.cpp:1080)
I Peer connected 1
E USER WARNING: No default WebRTC extension configured.
E at: create (modules/webrtc/webrtc_peer_connection.cpp:51)
E USER ERROR: Required virtual method WebRTCPeerConnectionExtension::_initialize must be overridden before calling.
E at: _gdvirtual__initialize_call (modules/webrtc/webrtc_peer_connection_extension.h:52)
E USER ERROR: Required virtual method WebRTCPeerConnectionExtension::_get_connection_state must be overridden before calling.
E at: _gdvirtual__get_connection_state_call (modules/webrtc/webrtc_peer_connection_extension.h:49)
E USER ERROR: Required virtual method WebRTCPeerConnectionExtension::_create_data_channel must be overridden before calling.
E at: _gdvirtual__create_data_channel_call (modules/webrtc/webrtc_peer_connection_extension.h:53)
E USER ERROR: Condition "peer->channels[CH_RELIABLE].is_null()" is true. Returning: FAILED
E at: add_peer (modules/webrtc/webrtc_multiplayer_peer.cpp:312)
E USER ERROR: Required virtual method WebRTCPeerConnectionExtension::_create_offer must be overridden before calling.
E at: _gdvirtual__create_offer_call (modules/webrtc/webrtc_peer_connection_extension.h:54)
I Peer connected 16872736
E USER ERROR: Condition "peer->channels[CH_RELIABLE].is_null()" is true. Returning: FAILED
E at: add_peer (modules/webrtc/webrtc_multiplayer_peer.cpp:312)
I Peer connected 2017475491
E USER ERROR: Condition "peer->channels[CH_RELIABLE].is_null()" is true. Returning: FAILED
E at: add_peer (modules/webrtc/webrtc_multiplayer_peer.cpp:312)
what ?
Steps to reproduce
var peer: WebRTCPeerConnection = WebRTCPeerConnection.new()
peer.initialize({
"iceServers": [ { "urls": ["stun:stun.l.google.com:19302"] } ]
})
peer.session_description_created.connect(self._offer_created.bind(id))
peer.ice_candidate_created.connect(self._new_ice_candidate.bind(id))
rtc_mp.add_peer(peer, id)
if id < rtc_mp.get_unique_id(): # So lobby creator never creates offers.
peer.create_offer()
return peer
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: