godot/modules/webrtc
Fabio Alessandrelli 84112d9610 [Net] Fix WebRTC returning packets from peers too early.
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`.
2021-12-15 11:07:46 +01:00
..
doc_classes doc: Fix style inconsistencies for `[b]Note:[/b]` paragraphs 2021-10-05 19:13:20 +02:00
SCsub [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00
config.py [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00
library_godot_webrtc.js Add get_buffered_amount() to WebRTCDataChannel 2021-07-20 12:58:39 -05:00
register_types.cpp [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00
register_types.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
webrtc_data_channel.cpp Add get_buffered_amount() to WebRTCDataChannel 2021-07-20 12:58:39 -05:00
webrtc_data_channel.h Add get_buffered_amount() to WebRTCDataChannel 2021-07-20 12:58:39 -05:00
webrtc_data_channel_extension.cpp [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00
webrtc_data_channel_extension.h [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00
webrtc_data_channel_js.cpp Add get_buffered_amount() to WebRTCDataChannel 2021-07-20 12:58:39 -05:00
webrtc_data_channel_js.h Add get_buffered_amount() to WebRTCDataChannel 2021-07-20 12:58:39 -05:00
webrtc_multiplayer_peer.cpp [Net] Fix WebRTC returning packets from peers too early. 2021-12-15 11:07:46 +01:00
webrtc_multiplayer_peer.h [Net] MultiplayerPeer cleanup, defaults. 2021-09-24 18:40:39 +02:00
webrtc_peer_connection.cpp [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00
webrtc_peer_connection.h [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00
webrtc_peer_connection_extension.cpp [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00
webrtc_peer_connection_extension.h [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00
webrtc_peer_connection_js.cpp Optimize StringName usage 2021-07-18 21:20:02 -03:00
webrtc_peer_connection_js.h [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00