Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unable to connect through media player
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Lmannyr
Guest





PostPosted: Fri Aug 05, 2005 4:31 am    Post subject: Unable to connect through media player Reply with quote

Ok. Server is up and running locally untill I can get it running properly.

To test the oddcast stream /stream.ogg I put the following into the web browser:

http://192.168.0.101:8000/stream.ogg.m3u

Windows Media opens up and says connecting...and never leaves that status. Oddcast has the password from the icecast source password sectionin config file. /stream.ogg shows up in icecast. I'm able to get the stats page on a webbrowers from the same comp with the server and another comp on the lan.

All running on xp Pro

What could be causing the connection status?

Luis
Back to top
Anonymous
Guest





PostPosted: Fri Aug 05, 2005 10:56 am    Post subject: Reply with quote

you could try this ... and i havent got access to an Icecast server where I am at the moment to test it .... so can not be sure

save the following into a file called test.asx on your desktop, double click it ... does the stream open up and play ?

I know it works for Shoutcasting, so I am assuming something similar should work for Icecast ... but it may not, as I know Windows Media player is a little odd in relation to these things.

<ASX VERSION = "3.0">
<ENTRY>
<REF HREF = "http://192.168.0.101:8000/stream.ogg.m3u" />
</ENTRY>
</ASX>

Andrew.

<edit> do let us know either way, as others may have similar issues </edit>
Back to top
Guest






PostPosted: Fri Aug 05, 2005 11:47 am    Post subject: Reply with quote

andrew,

Same deal, windows media just doesn't come out "connecting" Only way to get it out of connecting is through the task manager or dissconnecting icecast.

I havn't tried it with any other media player. Any other ideas?

Thnaks!!!!
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Aug 05, 2005 2:16 pm    Post subject: Reply with quote

It's not clear on what the current state is. you could be just blocked by a firewall or you may not have the ogg codecs installed in WMP. There are 2 things you could do to check.

1. start wmp like you have been doing, and while that is 'connecting' check the /status.xsl page or the error/access log for connections.
2. try against latest winamp, having a second player for reference will help localise the issue.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lmannyr
Guest





PostPosted: Sat Aug 06, 2005 4:36 am    Post subject: good on winamp Reply with quote

Ok. I know for a fact now that it works. Ran winamp on a different computer on the lan and connected successfully.

So what seems to be the problem with WMP. How could I set it so when someone clicks the a link to the stream from my webpage, it will play without getting the WMP connecting forever deal?

THANK YOU VERY MUCH. so far so good.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Aug 06, 2005 12:36 pm    Post subject: Reply with quote

ok, now you know the stream is actually available, you now have to determine if wmp is actually requesting the stream. you should see entries appear in the access/error log if it does get to the server (btw you have to stop the playback before an access log will appear). The other way is to monitor the network packets.

If that appears ok, and stream datat is being sent to wmp then it must be the ogg codec installation for your wmp

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lmannyr
Guest





PostPosted: Sat Aug 06, 2005 6:26 pm    Post subject: log files Reply with quote

I can't seem to find the log files. Where would they be located. I did a search for *.log in the winamp dir.
Back to top
lmannyr
Guest





PostPosted: Sat Aug 06, 2005 6:34 pm    Post subject: logs Reply with quote

ok found it. I deleted it then tried to run a session of WMP.


Here are the result:

Error Log
----------------------------------------------------------------------------
[2005-08-06 14:30:56] INFO main/main.c Icecast 2.2.0 server started
[2005-08-06 14:30:56] INFO yp/yp.c Adding new YP server "http://dir.xiph.org/cgi-bin/yp-cgi" (timeout 15s, default interval 30s)
[2005-08-06 14:30:56] INFO yp/yp.c YP update thread started
[2005-08-06 14:31:01] INFO connection/connection.c Source logging in at mountpoint "/stream.ogg"
[2005-08-06 14:31:01] INFO format-vorbis/format_vorbis.c seen initial vorbis header
-----------------------------------------------------------------------------

Access log
-----------------------------------------------------------------------------
192.168.0.101 - - [06/Aug/2005:14:31:47 -0400] "GET /stream.m3u HTTP/1.1" 200 80 "(null)" "-" 12517152
127.0.0.1 - - [06/Aug/2005:14:31:49 -0400] "GET /stream HTTP/1.1" 404 109 "(null)" "-" 12510304
-----------------------------------------------------------------------------

What do you think.


Thanks for the consistant help!!
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Aug 07, 2005 12:46 am    Post subject: Re: logs Reply with quote

lmannyr wrote:

[2005-08-06 14:31:01] INFO connection/connection.c Source logging in at mountpoint "/stream.ogg"
[2005-08-06 14:31:01] INFO format-vorbis/format_vorbis.c seen initial vorbis header
-----------------------------------------------------------------------------

Access log
-----------------------------------------------------------------------------
192.168.0.101 - - [06/Aug/2005:14:31:47 -0400] "GET /stream.m3u HTTP/1.1" 200 80 "(null)" "-" 12517152
127.0.0.1 - - [06/Aug/2005:14:31:49 -0400] "GET /stream HTTP/1.1" 404 109 "(null)" "-" 12510304
-----------------------------------------------------------------------------


if the mountpoint is /stream.ogg then you should use /stream.ogg.m3u as the reference not /stream.m3u
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lmannyr
Guest





PostPosted: Sun Aug 07, 2005 10:45 pm    Post subject: ogg or m3u same Reply with quote

ogg ext also stays in the "connecing" status.

Here is more logs with ogg.

Error Log
--------------------------------------------
[2005-08-07 18:35:17] INFO fserve/fserve.c file serving thread started
[2005-08-07 18:35:17] INFO main/main.c Icecast 2.2.0 server started
[2005-08-07 18:35:17] INFO yp/yp.c Adding new YP server "http://dir.xiph.org/cgi-bin/yp-cgi" (timeout 15s, default interval 30s)
[2005-08-07 18:35:17] INFO yp/yp.c YP update thread started
[2005-08-07 18:35:29] INFO connection/connection.c Source logging in at mountpoint "/stream.ogg"
[2005-08-07 18:35:29] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2005-08-07 18:38:01] INFO source/source.c listener count on /stream.ogg now 1
[2005-08-07 18:38:02] INFO source/source.c listener count on /stream.ogg now 0
[2005-08-07 18:38:02] INFO source/source.c listener count on /stream.ogg now 1
[2005-08-07 18:38:36] INFO source/source.c listener count on /stream.ogg now 2
[2005-08-07 18:38:37] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2005-08-07 18:38:37] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2005-08-07 18:38:41] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2005-08-07 18:38:42] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2005-08-07 18:38:46] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2005-08-07 18:38:47] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2005-08-07 18:38:52] INFO source/source.c listener count on /stream.ogg now 1
[2005-08-07 18:38:53] INFO source/source.c listener count on /stream.ogg now 2
[2005-08-07 18:38:53] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2005-08-07 18:38:54] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2005-08-07 18:38:56] INFO source/source.c listener count on /stream.ogg now 1
[2005-08-07 18:39:09] INFO source/source.c listener count on /stream.ogg now 2
[2005-08-07 18:39:09] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2005-08-07 18:39:10] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2005-08-07 18:39:15] INFO source/source.c listener count on /stream.ogg now 1
[2005-08-07 18:39:37] INFO source/source.c listener count on /stream.ogg now 0
----------------------------------------------------------------------------------


Access log
---------------------------------------------------------------------------------
192.168.0.103 - - [07/Aug/2005:18:38:02 -0400] "GET /stream.ogg HTTP/1.1" 200 12482 "(null)" "-" 12486640
127.0.0.1 - - [07/Aug/2005:18:38:36 -0400] "GET /stream HTTP/1.0" 404 109 "(null)" "-" 12485072
192.168.0.101 - - [07/Aug/2005:18:38:52 -0400] "GET /stream.ogg HTTP/1.0" 200 242571 "(null)" "-" 12485152
192.168.0.101 - - [07/Aug/2005:18:38:56 -0400] "GET /stream.ogg HTTP/1.0" 200 115911 "(null)" "-" 12489872
192.168.0.101 - - [07/Aug/2005:18:39:15 -0400] "GET /stream.ogg HTTP/1.0" 200 143473 "(null)" "-" 12502496
192.168.0.103 - - [07/Aug/2005:18:39:37 -0400] "GET /stream.ogg HTTP/1.1" 200 1056045 "(null)" "-" 12486528
------------------------------------------------------------------------------

FYI, when wmp is "connecting" the server stats says it has a listener. When I close out wmp because it hasn't connected, the listener count drops to "0".

What do you think?

Thanks!!
Back to top
lmannyr
Guest





PostPosted: Sun Aug 07, 2005 10:54 pm    Post subject: winamp works Reply with quote

PS it works in winamp though

luis
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Aug 08, 2005 1:30 am    Post subject: Re: winamp works Reply with quote

lmannyr wrote:
PS it works in winamp though

luis


well it's obviously done more than just connecting, as it has been accepted onto the specified stream. With winamp working as it should and the log indicating a connection working, I can only think that the ogg codecs are not installed for you WMP, make sure you have a recent version (http://www.illiminable.com/ogg/)

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lmanny
Guest





PostPosted: Mon Aug 08, 2005 1:52 am    Post subject: Source Client Reply with quote

is there another source client that codecs will be installed on all desktops. What I'm trying to get at is to make the listening process uncomplicated (without DL codecs).

Or

Is there a script that will force wmp to install the codec?

Luis
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Aug 08, 2005 2:09 pm    Post subject: Reply with quote

A correction for the term source client, that is not a listener but an app that creates the stream and sends to icecast for streaming.

WMP needs the plugins to work as MS do not ship them as part of their product (I have no idea how easy/hard it is to get them installed) but players like winamp (non-lite) and VLC should work without problem, realplyer may but I don't know if the win32 version ships the codecs like the linux one does.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lmanny
Guest





PostPosted: Mon Aug 08, 2005 6:08 pm    Post subject: Frustrating Reply with quote

How can I set the stream to 16 kbits
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber