You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Net] Expose WebRTC classes to extensions.
This commit is contained in:
@@ -47,11 +47,15 @@ public:
|
||||
STATE_CLOSED
|
||||
};
|
||||
|
||||
private:
|
||||
static StringName default_extension;
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
static WebRTCPeerConnection *(*_create)();
|
||||
|
||||
public:
|
||||
static void set_default_extension(const StringName &p_name);
|
||||
|
||||
virtual ConnectionState get_connection_state() const = 0;
|
||||
|
||||
virtual Error initialize(Dictionary p_config = Dictionary()) = 0;
|
||||
@@ -63,7 +67,6 @@ public:
|
||||
virtual Error poll() = 0;
|
||||
virtual void close() = 0;
|
||||
|
||||
static Ref<WebRTCPeerConnection> create_ref();
|
||||
static WebRTCPeerConnection *create();
|
||||
|
||||
WebRTCPeerConnection();
|
||||
|
||||
Reference in New Issue
Block a user