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
config.py
library_godot_webrtc.js [WebRTC] Expose more of the WebRTC API. 2022-09-13 14:46:58 +02:00
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 [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_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
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