jsdom icon indicating copy to clipboard operation
jsdom copied to clipboard

Does jsdom support WebRTC?

Open kentmw opened this issue 8 years ago • 5 comments

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.

kentmw avatar Feb 24 '17 17:02 kentmw

Nope! Pull request implementing those specs certainly welcome.

domenic avatar Feb 24 '17 17:02 domenic

Thanks for the reply! I'm side-eyeing this project as a possible solution... https://github.com/vmolsa/webrtc-native

kentmw avatar Feb 24 '17 17:02 kentmw

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!

Fuzzyma avatar Jun 09 '17 18:06 Fuzzyma

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?

nickreynolds avatar Oct 05 '22 18:10 nickreynolds

I know this is such a hard work but this discussion was started years ago, any updates on this?

gnugomez avatar Dec 12 '23 19:12 gnugomez