You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
[WebRTC] Expose more of the WebRTC API.
Add get_gathering_state() returning the iceGatheringState of the connection. Add get_signaling_state() returning the signalingState of the connection. Improve JS library.
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
|
||||
void WebRTCPeerConnectionExtension::_bind_methods() {
|
||||
GDVIRTUAL_BIND(_get_connection_state);
|
||||
GDVIRTUAL_BIND(_get_gathering_state);
|
||||
GDVIRTUAL_BIND(_get_signaling_state);
|
||||
GDVIRTUAL_BIND(_initialize, "p_config");
|
||||
GDVIRTUAL_BIND(_create_data_channel, "p_label", "p_config");
|
||||
GDVIRTUAL_BIND(_create_offer);
|
||||
|
||||
Reference in New Issue
Block a user