ncsoft / Unreal.js

Unreal.js: Javascript runtime built for UnrealEngine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connect to Janus server

paolomanchisi opened this issue · 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.

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:

{
"name": "unrealjs_examples",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "NCSOFT",
"license": "ISC",
"description": "",
"dependencies": {
"convnetjs": "^0.3.0",
"springy": "^2.7.1"
}
}

And import like this example:

let Springy = require('springy')
let graph = new Springy.Graph()