mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
84112d9610
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`. |
||
---|---|---|
.. | ||
doc_classes | ||
config.py | ||
library_godot_webrtc.js | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
webrtc_data_channel_extension.cpp | ||
webrtc_data_channel_extension.h | ||
webrtc_data_channel_js.cpp | ||
webrtc_data_channel_js.h | ||
webrtc_data_channel.cpp | ||
webrtc_data_channel.h | ||
webrtc_multiplayer_peer.cpp | ||
webrtc_multiplayer_peer.h | ||
webrtc_peer_connection_extension.cpp | ||
webrtc_peer_connection_extension.h | ||
webrtc_peer_connection_js.cpp | ||
webrtc_peer_connection_js.h | ||
webrtc_peer_connection.cpp | ||
webrtc_peer_connection.h |