File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ API.prototype.start = function(callback) {
105105
106106 self . emit ( "starting" ) ;
107107
108+ self . upnpServer = upnpServer ;
109+
108110 var descURL = upnpServer . descriptionPath ;
109111 if ( descURL . charAt ( 0 ) == "/" ) {
110112 descURL = descURL . substring ( 1 ) ;
@@ -113,14 +115,13 @@ API.prototype.start = function(callback) {
113115 var locationURL = 'http://' + ip . address ( ) + ':' +
114116 self . configuration . httpPort + "/" + descURL ;
115117
116- debugger ;
117118 var ssdpServer = new SSDP . Server ( {
118119 logLevel : self . configuration . ssdpLogLevel , // 'trace',
119120 log : self . configuration . ssdpLog ,
120121 udn : upnpServer . uuid ,
121122 description : descURL ,
122123 location : locationURL
123- // ssdpPort: upnpServer.port
124+ // ssdpPort: upnpServer.port
124125 } ) ;
125126 self . ssdpServer = ssdpServer ;
126127
@@ -186,8 +187,6 @@ API.prototype.start = function(callback) {
186187
187188 callback ( null ) ;
188189 } ) ;
189-
190- self . upnpServer = upnpServer ;
191190 } ) ;
192191} ;
193192
You can’t perform that action at this time.
0 commit comments