1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-02 16:48:55 +00:00

[Net] Expose WebRTC classes to extensions.

This commit is contained in:
Fabio Alessandrelli
2021-09-08 01:00:47 +02:00
parent 25226329be
commit 6cb81543d4
12 changed files with 437 additions and 340 deletions

View File

@@ -63,9 +63,6 @@ private:
static void _on_error(void *p_obj);
public:
static WebRTCPeerConnection *_create() { return memnew(WebRTCPeerConnectionJS); }
static void make_default() { WebRTCPeerConnection::_create = WebRTCPeerConnectionJS::_create; }
virtual ConnectionState get_connection_state() const;
virtual Error initialize(Dictionary configuration = Dictionary());