Improve some signal bindings to use specific Object subtypes

This commit is contained in:
Rémi Verschelde
2022-01-28 15:35:25 +01:00
parent 38c6611b91
commit 7c3003fcbe
6 changed files with 10 additions and 7 deletions
@@ -117,7 +117,7 @@
</methods>
<signals>
<signal name="data_channel_received">
<argument index="0" name="channel" type="Object" />
<argument index="0" name="channel" type="WebRTCDataChannel" />
<description>
Emitted when a new in-band channel is received, i.e. when the channel was created with [code]negotiated: false[/code] (default).
The object will be an instance of [WebRTCDataChannel]. You must keep a reference of it or it will be closed automatically. See [method create_data_channel].