summaryrefslogtreecommitdiff
path: root/modules/webrtc/library_godot_webrtc.js
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2021-07-17 20:03:37 -0500
committerDavid Snopek <dsnopek@gmail.com>2021-07-17 20:03:37 -0500
commit756ed308ee0bf1a73539fe8074770adb1b832c40 (patch)
tree7f3befe00739b9eb84fe4caa832f5f86ec314426 /modules/webrtc/library_godot_webrtc.js
parentafc59ae84bdfdce390144af401ccf7032ce57c64 (diff)
Fix "IDHandler.get_prop is not a function" error when calling some methods on WebRTCDataChannel
Diffstat (limited to 'modules/webrtc/library_godot_webrtc.js')
-rw-r--r--modules/webrtc/library_godot_webrtc.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/webrtc/library_godot_webrtc.js b/modules/webrtc/library_godot_webrtc.js
index 404a116716..5269117686 100644
--- a/modules/webrtc/library_godot_webrtc.js
+++ b/modules/webrtc/library_godot_webrtc.js
@@ -133,12 +133,12 @@ const GodotRTCDataChannel = {
godot_js_rtc_datachannel_is_ordered__sig: 'ii',
godot_js_rtc_datachannel_is_ordered: function (p_id) {
- return IDHandler.get_prop(p_id, 'ordered', true);
+ return GodotRTCDataChannel.get_prop(p_id, 'ordered', true);
},
godot_js_rtc_datachannel_id_get__sig: 'ii',
godot_js_rtc_datachannel_id_get: function (p_id) {
- return IDHandler.get_prop(p_id, 'id', 65535);
+ return GodotRTCDataChannel.get_prop(p_id, 'id', 65535);
},
godot_js_rtc_datachannel_max_packet_lifetime_get__sig: 'ii',
@@ -158,12 +158,12 @@ const GodotRTCDataChannel = {
godot_js_rtc_datachannel_max_retransmits_get__sig: 'ii',
godot_js_rtc_datachannel_max_retransmits_get: function (p_id) {
- return IDHandler.get_prop(p_id, 'maxRetransmits', 65535);
+ return GodotRTCDataChannel.get_prop(p_id, 'maxRetransmits', 65535);
},
godot_js_rtc_datachannel_is_negotiated__sig: 'ii',
godot_js_rtc_datachannel_is_negotiated: function (p_id) {
- return IDHandler.get_prop(p_id, 'negotiated', 65535);
+ return GodotRTCDataChannel.get_prop(p_id, 'negotiated', 65535);
},
godot_js_rtc_datachannel_label_get__sig: 'ii',