Is it possible to use RPCs for WebRTC clients?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By netimu

I’m trying to implement a WebRTC solution to sync the position of given nodes on web clients.
I’ve just been able to finally wrap my head around the confusions of deployment of said “signaling” server and have the clients connect to it etc…
But my question now is: Is it possible to have clients send remote calls to each other once the lobby is sealed?

I guess you are refering to webrtc.html which links to Godot demos projects in this case /networking/webrtc_signaling

clemens.tolboom | 2021-02-08 17:57

Thank you for your answer, indeed I am referring to webrtc, but the part I am referring to precisely is data transfer (and not signaling).
I’m particularly interested in using RPCs.

netimu | 2021-02-08 18:25

:bust_in_silhouette: Reply From: RedPilled

Yes you can. Here is an example project if you want to explore: GitHub - Faless/bomber-rtc: The Godot multiplayer bomber demo, using WebRTC.

Note: The project might be outdated.