mirror of
https://github.com/godotengine/godot.git
synced 2025-02-18 16:50:48 +00:00
Due to the async nature of WebRTC implementations, the multiplayer peer
could end up having queued packets from a given connection before it is
able to emit the "peer_added" signal.
This commit ensures that packets from peers which are not notified yet
are skipped by `get_packet` and `get_available_packet_count`.
(cherry picked from commit
|
||
---|---|---|
.. | ||
doc_classes | ||
config.py | ||
library_godot_webrtc.js | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
webrtc_data_channel_gdnative.cpp | ||
webrtc_data_channel_gdnative.h | ||
webrtc_data_channel_js.cpp | ||
webrtc_data_channel_js.h | ||
webrtc_data_channel.cpp | ||
webrtc_data_channel.h | ||
webrtc_multiplayer.cpp | ||
webrtc_multiplayer.h | ||
webrtc_peer_connection_gdnative.cpp | ||
webrtc_peer_connection_gdnative.h | ||
webrtc_peer_connection_js.cpp | ||
webrtc_peer_connection_js.h | ||
webrtc_peer_connection.cpp | ||
webrtc_peer_connection.h |