Add get_buffered_amount() to WebRTCDataChannel

This commit is contained in:
David Snopek
2021-07-20 11:44:40 -05:00
parent 51f8247871
commit 5b2dcc5f6b
9 changed files with 36 additions and 0 deletions

View File

@@ -108,6 +108,13 @@ typedef struct {
void *next; /* For extension? */
} godot_net_webrtc_data_channel;
/* Extensions to WebRTCDataChannel */
typedef struct {
int (*get_buffered_amount)(const void *);
void *next; /* For extension? */
} godot_net_webrtc_data_channel_ext;
/* Set the default GDNative library */
godot_error GDAPI godot_net_set_webrtc_library(const godot_net_webrtc_library *);
/* Binds a WebRTCPeerConnectionGDNative to the provided interface */