Compare commits
7 Commits
develop
...
LINXD-2180
Author | SHA1 | Date | |
---|---|---|---|
13829c5e6c | |||
9047e6c47d | |||
77da298944 | |||
c25e34bc37 | |||
9a25f16924 | |||
473f94fcbb | |||
9245373625 |
2
app.js
2
app.js
@ -154,7 +154,7 @@ peers.on('connection', async socket => {
|
|||||||
try {
|
try {
|
||||||
// We can continue with the room creation process only if we have a callId
|
// We can continue with the room creation process only if we have a callId
|
||||||
if (callId) {
|
if (callId) {
|
||||||
console.log(`[createRoom] socket.id ${socket.id} callId ${callId}`);
|
console.log(`[createRoom] --🟥-- socket.id ${socket.id} callId ${callId}`);
|
||||||
if (!videoCalls[callId]) {
|
if (!videoCalls[callId]) {
|
||||||
console.log('[createRoom] callId', callId);
|
console.log('[createRoom] callId', callId);
|
||||||
videoCalls[callId] = { router: await worker.createRouter({ mediaCodecs }) }
|
videoCalls[callId] = { router: await worker.createRouter({ mediaCodecs }) }
|
||||||
|
4
build.sh
4
build.sh
@ -15,6 +15,7 @@ fi
|
|||||||
## PROJECT NEEDS
|
## PROJECT NEEDS
|
||||||
echo "Building app... from $(git rev-parse --abbrev-ref HEAD)"
|
echo "Building app... from $(git rev-parse --abbrev-ref HEAD)"
|
||||||
#npm run-script build
|
#npm run-script build
|
||||||
|
cp .env.example .env
|
||||||
cp -r {.env,app.js,package.json,server,public} dist/
|
cp -r {.env,app.js,package.json,server,public} dist/
|
||||||
|
|
||||||
#Add version control for pm2
|
#Add version control for pm2
|
||||||
@ -44,5 +45,4 @@ fi
|
|||||||
## POST BUILD
|
## POST BUILD
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
|
rm .env
|
||||||
|
|
Loading…
Reference in New Issue
Block a user