summaryrefslogtreecommitdiffstats
path: root/modules/webrtc/webrtc_peer_connection_js.h
diff options
context:
space:
mode:
authormj.Jernigan <mj_jernigan@yahoo.com>2021-11-16 21:05:59 -0700
committerRémi Verschelde <rverschelde@gmail.com>2022-07-03 01:21:17 +0200
commita413656e07eaf55a3b164b3fbe22abb9b7aca473 (patch)
tree9894ffc1ed138d776372bd166955056c9a4a199b /modules/webrtc/webrtc_peer_connection_js.h
parentc818e3dfc2c9da41b8e1ebeffdafd58582d6e11f (diff)
downloadredot-engine-a413656e07eaf55a3b164b3fbe22abb9b7aca473.tar.gz
Register missing WebRTCDataChannelJS type
Diffstat (limited to 'modules/webrtc/webrtc_peer_connection_js.h')
-rw-r--r--modules/webrtc/webrtc_peer_connection_js.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/webrtc/webrtc_peer_connection_js.h b/modules/webrtc/webrtc_peer_connection_js.h
index 8fa5ea7779..76b8c7fff8 100644
--- a/modules/webrtc/webrtc_peer_connection_js.h
+++ b/modules/webrtc/webrtc_peer_connection_js.h
@@ -52,6 +52,8 @@ extern int godot_js_rtc_pc_datachannel_create(int p_id, const char *p_label, con
}
class WebRTCPeerConnectionJS : public WebRTCPeerConnection {
+ GDCLASS(WebRTCPeerConnectionJS, WebRTCPeerConnection);
+
private:
int _js_id;
ConnectionState _conn_state;