|
|
|
|
|
by MagicNumber
3200 days ago
|
|
Do you know the reason causing such a fallback? Would there, in general, be any other possibility to use UDP under the circumstances causing the fallback? If I am not mistaken, it is at least possible to detect whether UDP is available using the protocol property of the RTCIceCandidate. [1] [1] https://www.w3.org/TR/webrtc/#dom-rtcicecandidate |
|
I mean fundamentally the goals of WebRTC and game engines just aren't that well aligned. All games are going to want an authoritative server to hold the master state and reconcile clients. Where as WebRTC is very much interesting in P2P. All the STUN, TURN and ICE stuff is pretty much wasted on a game server.
The spec is also way over complicated, heck it covers DTMF for crying out loud.