godot/modules/webrtc
Fabio Alessandrelli 7536d15fe3 [MP] Let MultiplayerAPI handle packet relaying and peer signaling.
MultiplayerPeer changes:

- Adds is_server_relay_supported virtual method

Informs the upper MultiplayerAPI layer if it can signal peers connected
to the server to other clients, and perform packet relaying among them.

- Adds get_packet_channel and get_packet_mode virtual methods

Allows the MultiplayerAPI to retrieve the channel and transfer modes to
use when relaying the last received packet.

SceneMultiplayerPeer changes:

- Implement peer signaling and packet relaying when the MultiplayerPeer
  advertise they are supported.

ENet, WebRTC, WebSocket changes:

- Removed custom code for relaying from WebSocket and ENet, and let it
  be handled by the upper layer.
- Update WebRTC to split create_client, create_server, and create_mesh,
  with the latter behaving like the old initialize with
  "server_compatibility = false", and the first two supporting the upper
  layer relaying protocol.
2022-10-27 18:08:58 +02:00
..
doc_classes [MP] Let MultiplayerAPI handle packet relaying and peer signaling. 2022-10-27 18:08:58 +02:00
SCsub [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
config.py [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00
library_godot_webrtc.js [WebRTC] Expose more of the WebRTC API. 2022-09-13 14:46:58 +02:00
register_types.cpp Refactor module initialization 2022-05-04 17:34:51 +02:00
register_types.h Refactor module initialization 2022-05-04 17:34:51 +02:00
webrtc_data_channel.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
webrtc_data_channel.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
webrtc_data_channel_extension.cpp Simplify network GDExtension bindings using EXBIND macros. 2022-09-01 19:10:22 +02:00
webrtc_data_channel_extension.h Simplify network GDExtension bindings using EXBIND macros. 2022-09-01 19:10:22 +02:00
webrtc_data_channel_js.cpp [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
webrtc_data_channel_js.h [Web] Rename JavaScript platform to Web. 2022-08-29 11:52:00 +02:00
webrtc_multiplayer_peer.cpp [MP] Let MultiplayerAPI handle packet relaying and peer signaling. 2022-10-27 18:08:58 +02:00
webrtc_multiplayer_peer.h [MP] Let MultiplayerAPI handle packet relaying and peer signaling. 2022-10-27 18:08:58 +02:00
webrtc_peer_connection.cpp [WebRTC] Expose more of the WebRTC API. 2022-09-13 14:46:58 +02:00
webrtc_peer_connection.h [WebRTC] Expose more of the WebRTC API. 2022-09-13 14:46:58 +02:00
webrtc_peer_connection_extension.cpp [WebRTC] Expose more of the WebRTC API. 2022-09-13 14:46:58 +02:00
webrtc_peer_connection_extension.h [WebRTC] Expose more of the WebRTC API. 2022-09-13 14:46:58 +02:00
webrtc_peer_connection_js.cpp [WebRTC] Expose more of the WebRTC API. 2022-09-13 14:46:58 +02:00
webrtc_peer_connection_js.h [WebRTC] Expose more of the WebRTC API. 2022-09-13 14:46:58 +02:00