Merge pull request #331 from mserve/patch-1

Add return to avoid double-consent
This commit is contained in:
Pablo Fuente Pérez 2019-10-22 11:22:50 +02:00 committed by GitHub
commit 34cda28405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -566,6 +566,7 @@ export class OpenVidu {
reject(new OpenViduError(errorName, errorMessage));
});
}
return;
}
}
const constraintsAux = mustAskForAudioTrackLater ? { video: constraints.video } : constraints;