-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
executable file
·40 lines (36 loc) · 1.68 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
let socket = require('./src/websocket');
let Camera = require('./src/kast_modules/camera');
let Editing = require('./src/kast_modules/editing');
let Mixer = require('./src/kast_modules/mixer');
let Audio = require('./src/kast_modules/audioManagement');
let Usb = require('./src/kast_modules/usbManagement');
let Logo = require('./src/kast_modules/logo');
let Background = require('./src/kast_modules/background');
let Watermark = require('./src/kast_modules/watermark');
let Video = require('./src/kast_modules/video');
let Publication = require('./src/kast_modules/publication');
let Network = require('./src/kast_modules/network');
let Update = require('./src/kast_modules/update');
let Context = require('./src/kast_modules/context');
let System = require('./src/kast_modules/system');
let Connection = require('./src/kast_modules/connection');
let Webkit = require('./src/kast_modules/webkit');
module.exports = function (url, websocket) {
this.socket = new socket.KastWebSocket(url, websocket);
this.camera = new Camera(this.socket);
this.editing = new Editing(this.socket);
this.mixer = new Mixer(this.socket);
this.audio = new Audio(this.socket);
this.usb = new Usb(this.socket);
this.logo = new Logo(this.socket);
this.background = new Background(this.socket);
this.watermark = new Watermark(this.socket);
this.video = new Video(this.socket);
this.publication = new Publication(this.socket);
this.network = new Network(this.socket);
this.update = new Update(this.socket);
this.context = new Context(this.socket);
this.system = new System(this.socket);
this.connection = new Connection(this.socket);
this.webkit = new Webkit(this.socket);
};