[WebRTC] Static extension registration.

This commit is contained in:
Fabio Alessandrelli 2022-06-09 06:56:06 +02:00
parent 7e0c54e292
commit 31d7e22466
5 changed files with 12 additions and 16 deletions

View file

@ -95,6 +95,13 @@
Call this method frequently (e.g. in [method Node._process] or [method Node._physics_process]) to properly receive signals.
</description>
</method>
<method name="set_default_extension" qualifiers="static">
<return type="void" />
<argument index="0" name="extension_class" type="StringName" />
<description>
Sets the [code]extension_class[/code] as the default [WebRTCPeerConnectionExtension] returned when creating a new [WebRTCPeerConnection].
</description>
</method>
<method name="set_local_description">
<return type="int" enum="Error" />
<argument index="0" name="type" type="String" />

View file

@ -62,10 +62,5 @@
<description>
</description>
</method>
<method name="make_default">
<return type="void" />
<description>
</description>
</method>
</methods>
</class>