LINXD-2222: Update
This commit is contained in:
parent
07be8af9ae
commit
52b922825f
8
app.js
8
app.js
@ -7,9 +7,9 @@ import 'dotenv/config'
|
|||||||
/* Please follow mediasoup installation requirements */
|
/* Please follow mediasoup installation requirements */
|
||||||
/* https://mediasoup.org/documentation/v3/mediasoup/installation/ */
|
/* https://mediasoup.org/documentation/v3/mediasoup/installation/ */
|
||||||
// import express from 'express'
|
// import express from 'express'
|
||||||
// const app = express()
|
const app = express()
|
||||||
// const app = require('express')();
|
// const app = require('express')();
|
||||||
// import https from 'httpolyglot'
|
import https from 'httpolyglot'
|
||||||
import fs from 'fs'
|
import fs from 'fs'
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
const __dirname = path.resolve()
|
const __dirname = path.resolve()
|
||||||
@ -17,10 +17,10 @@ const __dirname = path.resolve()
|
|||||||
// import Server from 'socket.io'
|
// import Server from 'socket.io'
|
||||||
import mediasoup from 'mediasoup'
|
import mediasoup from 'mediasoup'
|
||||||
import * as express from "express";
|
import * as express from "express";
|
||||||
import * as https from "http";
|
// import * as https from "http";
|
||||||
import Server from "socket.io";
|
import Server from "socket.io";
|
||||||
// import middleware from 'socketio-wildcard'
|
// import middleware from 'socketio-wildcard'
|
||||||
const app = express.default();
|
// const app = express.default();
|
||||||
|
|
||||||
let worker
|
let worker
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user