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

Merge pull request #30851 from TheDevelo/webrtc-buffer

Allow setting buffer size of WebRTCDataChannel
This commit is contained in:
Rémi Verschelde
2019-08-21 21:17:48 +02:00
committed by GitHub
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() {