File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -73,17 +73,13 @@ exports.couple = require('./couple');
7373**/
7474exports . createConnection = function ( opts , constraints ) {
7575 var plugin = findPlugin ( ( opts || { } ) . plugins ) ;
76- var normalize = ( plugin ? plugin . normalizeIce : null ) || require ( 'normalice' ) ;
7776
7877 // generate the config based on options provided
7978 var config = gen . config ( opts ) ;
8079
8180 // generate appropriate connection constraints
8281 var constraints = gen . connectionConstraints ( opts , constraints ) ;
8382
84- // ensure we have valid iceServers
85- config . iceServers = ( config . iceServers || [ ] ) . map ( normalize ) ;
86-
8783 if ( plugin && typeof plugin . createConnection == 'function' ) {
8884 return plugin . createConnection ( config , constraints ) ;
8985 }
Original file line number Diff line number Diff line change 77 "async" : " ~0.9" ,
88 "cog" : " ^1.0.0" ,
99 "eventemitter3" : " ^0.1.2" ,
10- "normalice" : " ^1.0.0" ,
1110 "rtc-core" : " ^3.0.0"
1211 },
1312 "devDependencies" : {
4544 "files" : " test/all.js" ,
4645 "server" : " test/server.js"
4746 }
48- }
47+ }
You can’t perform that action at this time.
0 commit comments