summaryrefslogtreecommitdiffstats
path: root/modules/webrtc/webrtc_data_channel.h
diff options
context:
space:
mode:
authorRobert Fuchs <robertfuchsyoshi@gmail.com>2019-07-26 15:14:44 -0400
committerRobert Fuchs <robertfuchsyoshi@gmail.com>2019-08-21 13:27:56 -0500
commit5f9ed1979d5fe1294e297cfe3e9e98cace9c1186 (patch)
treeafbb08e9444a8961cf4ca56d2924f1cc0344c1ea /modules/webrtc/webrtc_data_channel.h
parente4ec59b6ae7ba4da8a57d35a4763192fd84fa358 (diff)
downloadredot-engine-5f9ed1979d5fe1294e297cfe3e9e98cace9c1186.tar.gz
Allow setting buffer size of WebRTCDataChannel
Diffstat (limited to 'modules/webrtc/webrtc_data_channel.h')
-rw-r--r--modules/webrtc/webrtc_data_channel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/webrtc/webrtc_data_channel.h b/modules/webrtc/webrtc_data_channel.h
index 0b161da784..7e2c08d9d7 100644
--- a/modules/webrtc/webrtc_data_channel.h
+++ b/modules/webrtc/webrtc_data_channel.h
@@ -33,6 +33,8 @@
#include "core/io/packet_peer.h"
+#define WRTC_IN_BUF "network/limits/webrtc/max_channel_in_buffer_kb"
+
class WebRTCDataChannel : public PacketPeer {
GDCLASS(WebRTCDataChannel, PacketPeer);
@@ -50,6 +52,8 @@ public:
};
protected:
+ unsigned int _in_buffer_shift;
+
static void _bind_methods();
public: