Compare commits
7 Commits
LH-265-ena
...
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 {
|
||||
// We can continue with the room creation process only if we have a callId
|
||||
if (callId) {
|
||||
console.log(`[createRoom] socket.id ${socket.id} callId ${callId}`);
|
||||
console.log(`[createRoom] --🟥-- socket.id ${socket.id} callId ${callId}`);
|
||||
if (!videoCalls[callId]) {
|
||||
console.log('[createRoom] callId', callId);
|
||||
videoCalls[callId] = { router: await worker.createRouter({ mediaCodecs }) }
|
||||
|
4
build.sh
4
build.sh
@ -15,6 +15,7 @@ fi
|
||||
## PROJECT NEEDS
|
||||
echo "Building app... from $(git rev-parse --abbrev-ref HEAD)"
|
||||
#npm run-script build
|
||||
cp .env.example .env
|
||||
cp -r {.env,app.js,package.json,server,public} dist/
|
||||
|
||||
#Add version control for pm2
|
||||
@ -44,5 +45,4 @@ fi
|
||||
## POST BUILD
|
||||
|
||||
cd -
|
||||
|
||||
|
||||
rm .env
|
@ -135,7 +135,7 @@ const streamSuccess = (stream) => {
|
||||
const getLocalStream = () => {
|
||||
console.log('[getLocalStream]');
|
||||
navigator.mediaDevices.getUserMedia({
|
||||
audio: true,
|
||||
audio: false,
|
||||
video: {
|
||||
width: {
|
||||
min: 640,
|
||||
|
Reference in New Issue
Block a user