Unreal.js icon indicating copy to clipboard operation
Unreal.js copied to clipboard

Connect to Janus server

Open paolomanchisi opened this issue 3 years ago • 1 comments

Hi, I'm trying to connect to the janus webrtc server. Did anything change or it's impossible to connect to webrtc services with unreal.js? Thank you very much.

paolomanchisi avatar Jul 26 '21 14:07 paolomanchisi

You can use this library: https://github.com/node-webrtc/node-webrtc

I recommend using the Node.JS - 14 version

Create a package.json like this: https://github.com/ncsoft/Unreal.js/blob/33329c82871e830586e82bed09dc278135e8c80a/Examples/Content/Scripts/package.json#L1-L15

And import like this example: https://github.com/ncsoft/Unreal.js/blob/33329c82871e830586e82bed09dc278135e8c80a/Examples/Content/Scripts/helloSpringy.js#L157-L158

ViniciusFXavier avatar Aug 19 '21 16:08 ViniciusFXavier