opentok-accelerator-core
Advanced tools
Comparing version 0.0.32 to 0.0.33
@@ -73,3 +73,3 @@ 'use strict'; | ||
}); | ||
return connections < connectionLimit; | ||
return connections.length < connectionLimit; | ||
}; | ||
@@ -76,0 +76,0 @@ |
{ | ||
"name": "opentok-accelerator-core", | ||
"version": "0.0.32", | ||
"version": "0.0.33", | ||
"description": "Opentok Accelerator Core", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/opentok/accelerator-core-js", |
@@ -73,3 +73,3 @@ 'use strict'; | ||
}); | ||
return connections < connectionLimit; | ||
return connections.length < connectionLimit; | ||
}; | ||
@@ -76,0 +76,0 @@ |
@@ -73,3 +73,3 @@ 'use strict'; | ||
}); | ||
return connections < connectionLimit; | ||
return connections.length < connectionLimit; | ||
}; | ||
@@ -76,0 +76,0 @@ |
@@ -52,3 +52,3 @@ /* global OT */ | ||
const connections = Object.values(state.getStreams()).filter(s => s.videoType === 'camera'); | ||
return connections < connectionLimit; | ||
return connections.length < connectionLimit; | ||
}; | ||
@@ -55,0 +55,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
675687