WebRTC (https://webrtc.org/) helps with audio/video/data streams from one browser to another. It would be great to be able to test these connections through a headless browser like jsdom. Because it's supported by most modern browsers, I'm wondering if there is support for it in jsdom.
Nope! Pull request implementing those specs certainly welcome.
Thanks for the reply! I'm side-eyeing this project as a possible solution... https://github.com/vmolsa/webrtc-native
This would not only allow for testing. It also would enable the server to serve as a peer. So you can catch video streams from the browser and do stuff with it. Would make a great feature!
Most helpful comment
This would not only allow for testing. It also would enable the server to serve as a peer. So you can catch video streams from the browser and do stuff with it. Would make a great feature!