1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Allow setting buffer size of WebRTCDataChannel

This commit is contained in:
Robert Fuchs
2019-07-26 15:14:44 -04:00
parent e4ec59b6ae
commit 5f9ed1979d
4 changed files with 14 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ EMSCRIPTEN_KEEPALIVE void _emrtc_on_ch_message(void *obj, uint8_t *p_data, uint3
}
void WebRTCDataChannelJS::_on_open() {
in_buffer.resize(16);
in_buffer.resize(_in_buffer_shift);
}
void WebRTCDataChannelJS::_on_close() {