Skip to content
Snippets Groups Projects
Unverified Commit 5fd837db authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #11222 from mariogasparoni/v2.2.x-release

Avoid setting empty/undefined constraint
parents 86e4b447 7858ba94
No related branches found
No related tags found
No related merge requests found
......@@ -988,6 +988,8 @@ class SIPSession {
*/
async updateAudioConstraints(constraints) {
try {
if (typeof constraints !== 'object') return;
logger.info({
logCode: 'sipjs_update_audio_constraint',
extraInfo: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment