On Thu, Dec 11, 2008 at 3:05 PM, John H <span dir="ltr">&lt;<a href="mailto:arizonamythtv@gmail.com">arizonamythtv@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I had the same problem so I just ended up hard coding the port. To fix<br>
your problem, in /modules/stream edit the handler.pl file on line 112<br>
I changed it to &#39;:&#39;.portnumber where portnumber is the actual port<br>
number.<br>
</blockquote></div><br>I have never gotten streaming to work, I am trying to follow this, here&#39;s an excerpt from the handler.pl I have:<br><br># ASX mode?<br>&nbsp;&nbsp;&nbsp; if ($ENV{&#39;REQUEST_URI&#39;} =~ /\.asx$/i) {<br>&nbsp;&nbsp;&nbsp; # URI back to this file?&nbsp; We just need to take the current URI and strip<br>
&nbsp;&nbsp;&nbsp; # off the .asx suffix.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my $uri = ($ENV{&#39;HTTPS&#39;} || $ENV{&#39;SERVER_PORT&#39;} == 443)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? &#39;https&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : &#39;http&#39;;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my $serverAddr = $ENV{&#39;HTTP_X_FORWARDED_HOST&#39;} || $ENV{&#39;SERVER_NAME&#39;} || $ENV{&#39;SERVER_ADDR&#39;};<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $uri .= &#39;://&#39;.$serverAddr.&#39;:&#39;.$ENV{&#39;SERVER_PORT&#39;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .$ENV{&#39;REQUEST_URI&#39;};<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br><br>The second last line is line 112. What exactly should it look like? I have replaced &quot;SERVER_PORT&quot; with my port, and it still looked at port 80. Then I changed SERVER_PORT to &#39;SERVER_PORT&#39;.port# but no go. I also tried replacing the 443 on the fifth line above to my port #, it still looked for port 80.<br>
<br><br>Thanks<br>Bob<br>