jsdom
jsdom copied to clipboard
Does jsdom support WebRTC?
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!
I know this issue is 5+ years old but just in case anyone is still getting notifs on this, is this still the case? It's still not possible to run WebRTC in jsdom?
I know this is such a hard work but this discussion was started years ago, any updates on this?