This is a minimal sample of using WebRTC connections to connect two peers to each other.
Language: GDScript
Renderer: GLES 2
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/536