[mythtv-users] Mythweb asx streaming
Bobby Gill
bobbygill at rogers.com
Thu Dec 11 20:16:12 UTC 2008
On Thu, Dec 11, 2008 at 3:05 PM, John H <arizonamythtv at gmail.com> wrote:
> I had the same problem so I just ended up hard coding the port. To fix
> your problem, in /modules/stream edit the handler.pl file on line 112
> I changed it to ':'.portnumber where portnumber is the actual port
> number.
>
I have never gotten streaming to work, I am trying to follow this, here's an
excerpt from the handler.pl I have:
# ASX mode?
if ($ENV{'REQUEST_URI'} =~ /\.asx$/i) {
# URI back to this file? We just need to take the current URI and strip
# off the .asx suffix.
my $uri = ($ENV{'HTTPS'} || $ENV{'SERVER_PORT'} == 443)
? 'https'
: 'http';
my $serverAddr = $ENV{'HTTP_X_FORWARDED_HOST'} ||
$ENV{'SERVER_NAME'} || $ENV{'SERVER_ADDR'};
$uri .= '://'.$serverAddr.':'.$ENV{'SERVER_PORT'}
.$ENV{'REQUEST_URI'};
The second last line is line 112. What exactly should it look like? I have
replaced "SERVER_PORT" with my port, and it still looked at port 80. Then I
changed SERVER_PORT to 'SERVER_PORT'.port# but no go. I also tried replacing
the 443 on the fifth line above to my port #, it still looked for port 80.
Thanks
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081211/518a7c94/attachment.htm
More information about the mythtv-users
mailing list