Can't get streaming to work...
Can't get streaming to work...
I've got everything setup. HTTPQ works, I can play files on my computer at home remote controlled from my computer at work (does me no good as it's playing them at home, lol!), I can download songs, etc. but I simply cannot stream. It opens the M3U but I get an HTTP 400 error (bad request). All I can figure is that it's a firewall issue. What ports do I need to open up on my firewall at home to be able to stream the music elsewhere? Thanks!
- wbartels
- netjukebox developer
- Posts: 884
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: Can't get streaming to work...
Ok, That is what it intend to do.dyelton wrote:I've got everything setup. HTTPQ works, I can play files on my computer at home remote controlled from my computer at work (does me no good as it's playing them at home, lol!)
Do you get the same error when you try to stream from your local network and/or the server itself?dyelton wrote:It opens the M3U but I get an HTTP 400 error (bad request). All I can figure is that it's a firewall issue.
(use a local IP address, not your domain name or internet IP address)
That is the same port to access the website, so if you can access the website (without web server authentication) then streaming should work.dyelton wrote:All I can figure is that it's a firewall issue. What ports do I need to open up on my firewall at home to be able to stream the music elsewhere? Thanks!
Re: Can't get streaming to work...
Ok, just got home and decided to try it locally to see if it was indeed a firewall issue (which doesn't matter now as you said it uses the www port). It doesn't work locally either, still an HTTP 400 bad request.wbartels wrote:Do you get the same error when you try to stream from your local network and/or the server itself?
(use a local IP address, not your domain name or internet IP address)
- wbartels
- netjukebox developer
- Posts: 884
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: Can't get streaming to work...
Maybe I can find out what it is, if you answer some questionsAnonymous wrote:Ok, just got home and decided to try it locally to see if it was indeed a firewall issue (which doesn't matter now as you said it uses the www port). It doesn't work locally either, still an HTTP 400 bad request.wbartels wrote:Do you get the same error when you try to stream from your local network and/or the server itself?
(use a local IP address, not your domain name or internet IP address)

Have you installed the required codec files?
Does recording extract the files to the netjukebox\temp\xxxx directory?
What media player do you use for streaming?
What web server do you use?
What version of netjukebox do you use?
Does streaming work for very low bitrate mp3 files (below $cfg['stream_transcode_treshold'] from config.inc.php) ?
Have your mp3 or other files lower case extensions?
Re: Can't get streaming to work...
All required codec files are installed.wbartels wrote: Maybe I can find out what it is, if you answer some questions![]()
Have you installed the required codec files?
Does recording extract the files to the netjukebox\temp\xxxx directory?
What media player do you use for streaming?
What web server do you use?
What version of netjukebox do you use?
Does streaming work for very low bitrate mp3 files (below $cfg['stream_transcode_treshold'] from config.inc.php) ?
Have your mp3 or other files lower case extensions?
Recording does extract the files to that location.
I use Winamp 5.08
I use Apache 2.0.53
I use Netjukebox 3.67
Streaming does not work for very small files, even those below that threshold.
MP3's have lower case extensions.
- wbartels
- netjukebox developer
- Posts: 884
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
This makes it difficult.
Everything looks fine except from streaming below threshold.
Does Winamp give the "HTTP 400 bad request" or the web browser?
Save the playlist to your harddisk with left mouse click > Save Target As…
And check with notepad if the url before the question mark is correct.
Double click the saved playlist and see if streaming than works.
Can you post a short playlist, than I check if anything looks strange?
Everything looks fine except from streaming below threshold.
Does Winamp give the "HTTP 400 bad request" or the web browser?
Save the playlist to your harddisk with left mouse click > Save Target As…
And check with notepad if the url before the question mark is correct.
Double click the saved playlist and see if streaming than works.
Can you post a short playlist, than I check if anything looks strange?
Ok, I figured out what that problem was. PHP.INI didn't have the REDIRECT_STATUS set to 0, it was set to 1. But now I have another problem, LOL! When I try to load to playlist in Winamp it says "Error Syncing to MPEG"wbartels wrote:This makes it difficult.
Everything looks fine except from streaming below threshold.
Does Winamp give the "HTTP 400 bad request" or the web browser?
Save the playlist to your harddisk with left mouse click > Save Target As…
And check with notepad if the url before the question mark is correct.
Double click the saved playlist and see if streaming than works.
Can you post a short playlist, than I check if anything looks strange?
I pasted the URL into the browser and tried opening the stream with Realplayer and got the following results displayed:
MZ
- wbartels
- netjukebox developer
- Posts: 884
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
I'm also running Apache 2 with PHP 4.3.10, and have no problems with streaming.dyelton wrote:I'm most certain this is an issue with the php.ini file. Does anyone have one setup for Apache 2.0 on a Windows machine running the latest PHP (4.3.10) using all the defaults?
I installed PHP as an apache module:
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
DirectoryIndex index.php index.htm index.html index.html.var
I use php.ini-dist as basis for the php.ini.
Only removed the ; for the required extensions and changed extension dir to: extension_dir = "C:/PHP/extensions"
I hope this will help
