Not many browsers support WebRTC, but there are many interesting WebRTC applications for the game - PeerDB, etc.
Is there any padding for spoofing the WebRTC API in the browser (so that things like PeerDB just work) but that actually communicate outside the browser using something other than WebRTC?
Is it even technically possible? Why or why not?
It is absolutely doable - we do it at IceLink . It uses native support when available, and returns to Java applets if native support is not available.
Internet Explorer Microsoft CU-RTC-Web, Google WebRTC, API. ( , ...)
IE Google Frame, API, Google Chrome.
, Firefox, Chrome IE, , , Flash.
, , , Doubango Telecom webrtc4all, , WebRTC , API.
WebRTC Chrome Frame, - 2014 .