You've already forked godot
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user