Compare commits
1 Commits
LINXD-2180
...
LH-265-ena
Author | SHA1 | Date | |
---|---|---|---|
df3482ac15 |
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,7 +15,6 @@ 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
|
||||||
@ -45,4 +44,5 @@ fi
|
|||||||
## POST BUILD
|
## POST BUILD
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
rm .env
|
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ const streamSuccess = (stream) => {
|
|||||||
const getLocalStream = () => {
|
const getLocalStream = () => {
|
||||||
console.log('[getLocalStream]');
|
console.log('[getLocalStream]');
|
||||||
navigator.mediaDevices.getUserMedia({
|
navigator.mediaDevices.getUserMedia({
|
||||||
audio: false,
|
audio: true,
|
||||||
video: {
|
video: {
|
||||||
width: {
|
width: {
|
||||||
min: 640,
|
min: 640,
|
||||||
|
Reference in New Issue
Block a user