I'm trying to test a WebRTC application. Right now the best I can do is to open several private browser windows and let them talk to each other, but this clearly doesn't scale.
I'm looking for a way to create a large number of peers on a single machine. I was looking into Phantom.js but it didn't seem to support WebRTC yet. Any suggestions?
WebRTC testing is part web part VoIP in nature. On the one hand, you need to test a web-based application. On the other hand, you need to test a VoIP service.
In order to test a WebRTC application effectively, an integrated GUI and API testing solution is required. Biasing your tests just on the GUI is bound to fail as the video, file, or even audio returned by the API call is bound to change based on the request and response.
The problem is that PhantomJS currently is based on QtWebKit, and WebRTC needs components from Chromium as well as WebKit.
It would be a lot of work for Phantom.js to re-implement all this -- and there are also issues with codec support, etc. Also occurs to me that in a headless environment it would be hard to test getUserMedia(), which is fundamental to WebRTC, but requires user interaction and can't be scripted.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With