[mythtv-users] Flash streaming through a non-standard HTTP port?

Nate Bargmann n0nb at n0nb.us
Tue Jul 21 21:28:11 UTC 2009


* Marc Tousignant <drayson at net1plus.com> [2009 Jul 21 06:41 -0500]:
> 
> Using apache to serve on a non standard port causes issues. I used to do
> this as something else was on port 80 from a different machine.
> In order to get nonstandard ports to work with mythweb AND the flash player
> you have to modify the web code.
> 
> In your mythweb folder file includes/utils.php change this line
>                  ? 'http://' . http_host
> .':'._or($_SESSION['stream']['force_http_port'], '80')
> 
> What I usually did was remove the 80
>                  ? 'http://' . http_host
> .':'._or($_SESSION['stream']['force_http_port'], '')

Thanks for the tip.  I tried that and still no streaming.  :(

> What would happen is if I setup apache to use port 82 the line above would
> still attempt to force over port 80 so nothing ever got streamed.
> Changing this allowed apache to control which port was used. There was
> supposed to be a way to change this using the mythweb settings > streaming
> page but it never worked for me. What that would do is try to force
> streaming over site.com:82:82 or something like that.
> 
> What William mentioned however might work, If you don't have something else
> already on port 80 on that machine. Change apache back to using port 80, and
> set your firewall/router to rout the outside port to the inside port. So,
> for outside connections you connect to port 82 and internally that gets sent
> to 80, your ISP won't know.

My router won't translate ports, but the ISP doesn't seem to be
blocking port 80 either.  I may try everything on 80 and see how that
goes.

- Nate >>

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://n0nb.us/index.html


More information about the mythtv-users mailing list