You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +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:
@@ -37,6 +37,16 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_gathering_state" qualifiers="virtual const">
|
||||
<return type="int" enum="WebRTCPeerConnection.GatheringState" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_signaling_state" qualifiers="virtual const">
|
||||
<return type="int" enum="WebRTCPeerConnection.SignalingState" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="_initialize" qualifiers="virtual">
|
||||
<return type="int" enum="Error" />
|
||||
<param index="0" name="p_config" type="Dictionary" />
|
||||
|
||||
Reference in New Issue
Block a user