summaryrefslogtreecommitdiff
path: root/src/WebRTCLibDataChannel.hpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-09-22 23:06:19 +0200
committerGitHub <noreply@github.com>2021-09-22 23:06:19 +0200
commit8c18112f5dcf96bf24fab14ab4470c00ab7f7f70 (patch)
tree32593cc621a8908e021d6fe044a59d8238b46524 /src/WebRTCLibDataChannel.hpp
parentc37cc530e739d58b272d78f2749d21a5c58debce (diff)
parent3bdf6cdc1320dfd7ac0f1704976a633ef3c911d8 (diff)
downloadfork-godot-webrtc-native-8c18112f5dcf96bf24fab14ab4470c00ab7f7f70.tar.gz
fork-godot-webrtc-native-8c18112f5dcf96bf24fab14ab4470c00ab7f7f70.tar.bz2
fork-godot-webrtc-native-8c18112f5dcf96bf24fab14ab4470c00ab7f7f70.zip
Merge pull request #43 from dsnopek/buffered-amount
Add get_buffered_amount() to WebRTCDataChannel (GDNative)
Diffstat (limited to 'src/WebRTCLibDataChannel.hpp')
-rw-r--r--src/WebRTCLibDataChannel.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WebRTCLibDataChannel.hpp b/src/WebRTCLibDataChannel.hpp
index 1d1ce0f..63c7fdd 100644
--- a/src/WebRTCLibDataChannel.hpp
+++ b/src/WebRTCLibDataChannel.hpp
@@ -87,6 +87,7 @@ public:
int get_max_retransmits() const;
const char *get_protocol() const;
bool is_negotiated() const;
+ int get_buffered_amount() const;
godot_error poll();
void close();