WebRTC is just the exfiltration mechanism. The attack could have used a JSON/AJAX call, or even an img tag.
Or DNS lookups.
Or DNS lookups.