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 

Icecast2 + Edcast, Broadcasting Problem

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
DJCoyote



Joined: 16 Mar 2009
Posts: 6

PostPosted: Mon Mar 16, 2009 11:54 pm    Post subject: Icecast2 + Edcast, Broadcasting Problem Reply with quote

Hey all.

Long story short, i have the Icecast Server running with my own configuration, and i have the Edcast WinAMP DSP.
When i ran this thing roughly a month ago, everything was fine, ran great.


After a month i tried booting it up again, this time somethings off. I dont see the stream that Edcast is making, communicating with the Icecast server.
ive tried rebooting the applications in different orders and still to no avail.
The encoder in Edcast is "connected" and seems to be running fine, in and out of live broadcast mode
The server for Icecast is "Running" and has no problems.

But they arent working with eachother like they ought to.


Any suggestions?
_________________
-DV signing out!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Mar 17, 2009 12:20 am    Post subject: Reply with quote

have you tried to look at the log files, if icecast isn't seeing an attempt then it is probably down to something else like a firewall or an IP change.

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



Joined: 16 Mar 2009
Posts: 6

PostPosted: Tue Mar 17, 2009 1:17 am    Post subject: Reply with quote

I checke dout the log files, i edited the config file to make an error2.log file, this is what it says:

Quote:
[2009-03-16 18:11:52] INFO main/main.c Icecast 2.3.2 server started
[2009-03-16 18:11:52] DBUG yp/yp.c Updating YP configuration
[2009-03-16 18:11:52] INFO yp/yp.c YP update thread started
[2009-03-16 18:11:52] INFO connection/connection.c No SSL capability
[2009-03-16 18:11:53] DBUG slave/slave.c checking master stream list
[2009-03-16 18:13:19] DBUG connection/connection.c Connection thread done
[2009-03-16 18:13:19] INFO main/main.c Shutting down
[2009-03-16 18:13:19] INFO fserve/fserve.c file serving thread stopped
[2009-03-16 18:13:19] DBUG slave/slave.c waiting for slave thread
[2009-03-16 18:13:20] INFO slave/slave.c shutting down current relays
[2009-03-16 18:13:20] INFO slave/slave.c Slave thread shutdown complete
[2009-03-16 18:13:20] INFO auth/auth.c Auth shutdown
[2009-03-16 18:13:20] INFO yp/yp.c YP thread down
[2009-03-16 18:13:20] INFO stats/stats.c stats thread finished
[2009-03-16 18:13:48] INFO main/main.c Icecast 2.3.2 server started
[2009-03-16 18:13:48] DBUG yp/yp.c Updating YP configuration
[2009-03-16 18:13:48] INFO yp/yp.c YP update thread started
[2009-03-16 18:13:48] INFO connection/connection.c No SSL capability
[2009-03-16 18:13:49] DBUG slave/slave.c checking master stream list

EDIT: checked again after a while of running:
Quote:
[2009-03-16 18:15:49] DBUG slave/slave.c checking master stream list
[2009-03-16 18:17:49] DBUG slave/slave.c checking master stream list
[2009-03-16 18:19:49] DBUG slave/slave.c checking master stream list
[2009-03-16 18:21:49] DBUG slave/slave.c checking master stream list
[2009-03-16 18:23:49] DBUG slave/slave.c checking master stream list
[2009-03-16 18:25:49] DBUG slave/slave.c checking master stream list
[2009-03-16 18:27:49] DBUG slave/slave.c checking master stream list
[2009-03-16 18:29:49] DBUG slave/slave.c checking master stream list
[2009-03-16 18:31:49] DBUG slave/slave.c checking master stream list


Noting that i also notice its STILL writing to error.log

Quote:
[2009-03-16 18:11:41] INFO source/source.c End of Stream /jagstream.mp3
[2009-03-16 18:11:41] INFO source/source.c Source "/jagstream.mp3" exiting
[2009-03-16 18:11:56] INFO connection/connection.c Source logging in at mountpoint "/jagstream.mp3"
[2009-03-16 18:11:56] INFO admin/admin.c Received admin command metadata on mount "/jagstream.mp3"
[2009-03-16 18:11:56] INFO admin/admin.c Metadata on mountpoint /jagstream.mp3 changed to "Dog Fashion Disco - Sweet Insanity "
[2009-03-16 18:11:56] INFO source/source.c listener count on /jagstream.mp3 now 0
[2009-03-16 18:12:38] INFO admin/admin.c Received admin command metadata on mount "/jagstream.mp3"
[2009-03-16 18:12:38] INFO admin/admin.c Metadata on mountpoint /jagstream.mp3 changed to "Dog Fashion Disco - Desert Grave "
[2009-03-16 18:12:41] INFO admin/admin.c Received admin command metadata on mount "/jagstream.mp3"
[2009-03-16 18:12:41] INFO admin/admin.c Metadata on mountpoint /jagstream.mp3 changed to "Dog Fashion Disco - Moonlight City Drive "



And heres the access.log

Quote:
127.0.0.1 - - [16/Mar/2009:18:11:41 -0700] "SOURCE /jagstream.mp3 ICE/1.0" 200 19 "-" "-" 287
127.0.0.1 - - [16/Mar/2009:18:11:56 -0700] "GET /admin/metadata HTTP/1.0" 200 177 "-" "(Mozilla Compatible)" 0
127.0.0.1 - - [16/Mar/2009:18:12:38 -0700] "GET /admin/metadata HTTP/1.0" 200 177 "-" "(Mozilla Compatible)" 0
127.0.0.1 - - [16/Mar/2009:18:12:41 -0700] "GET /admin/metadata HTTP/1.0" 200 177 "-" "(Mozilla Compatible)" 0




I dont honestly know what to do next... i at least know Edcast and Icecast are communicating with eachother.
Also, when people connect to the stream, itll let them connect, but they hear absolutely nothing.
_________________
-DV signing out!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Mar 17, 2009 2:50 am    Post subject: Reply with quote

[2009-03-16 18:11:41] INFO source/source.c End of Stream /jagstream.mp3

If there was no timeout message before the above message then the source client just closed the connection.

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



Joined: 16 Mar 2009
Posts: 6

PostPosted: Tue Mar 17, 2009 3:33 am    Post subject: Reply with quote

Sorry i probably should have mentioned that i manually hit "Disconnect" and hit "Start Server" again for demonstration purposes in case it was something along the lines of it sinitialization
_________________
-DV signing out!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Mar 17, 2009 4:00 am    Post subject: Reply with quote

so as far as the information provided indicates, there is nothing wrong with edcast talking to icecast. There is a stream for listeners to connect on, if you are saying the listeners are decoding and getting silence then the problem has to be how you are capturing the content which edcast (eg mixer)

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



Joined: 16 Mar 2009
Posts: 6

PostPosted: Tue Mar 17, 2009 6:30 pm    Post subject: Reply with quote

karlH wrote:
so as far as the information provided indicates, there is nothing wrong with edcast talking to icecast. There is a stream for listeners to connect on, if you are saying the listeners are decoding and getting silence then the problem has to be how you are capturing the content which edcast (eg mixer)

karl.


So i should go over to the Edcast forum then and ask there? Or can i post what my edcast settings and stuff look like over here? (im at work currently)
_________________
-DV signing out!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Mar 17, 2009 10:36 pm    Post subject: Reply with quote

I doubt the edcast settings will matter, as those will be the encoding and the server details and we've lready determined that that aspect is working. If the problem is down to the mixer then it's the mixer settings you will need to check, eg which input is being captured and at what level. Obviously the edcast forum should be best to cover that aspect.

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



Joined: 16 Mar 2009
Posts: 6

PostPosted: Wed Mar 18, 2009 2:35 pm    Post subject: Reply with quote

Ok so after giving up i uninstalled everything, right down to WinAmp, restarted my computer and reinstalled and restarted again.

It seems Edcast wants to connect but it cant. Where before itd connect and id get nothing, now it just Disconnects immediately and tries again a few more times.
I dont get it, like, i havent changed ANY of my network settings. my firewalls are off, the ports are forwarded, EVERYTHING is in check...


this probably isn't the place for it, but this is what Edcast is doing according to the logs:

Quote:
03/18/09 00:14:37 Info(MainWindow.cpp:706): Connecting in 4 seconds
03/18/09 00:14:38 Info(MainWindow.cpp:706): Connecting in 3 seconds
03/18/09 00:14:39 Info(MainWindow.cpp:706): Connecting in 2 seconds
03/18/09 00:14:40 Info(MainWindow.cpp:706): Connecting in 1 seconds
03/18/09 00:14:41 Info(MainWindow.cpp:706): Connecting in 0 seconds
03/18/09 00:14:42 Debug(libedcast.cpp:1350): Connecting encoder 1
03/18/09 00:14:42 Info(MainWindow.cpp:706): Connecting
03/18/09 00:14:42 Info(MainWindow.cpp:706): Socket connected
03/18/09 00:14:42 Info(MainWindow.cpp:706): 0 Kbps (/stream.mp3)
03/18/09 00:14:42 Info(MainWindow.cpp:706): Success
03/18/09 00:14:42 Info(MainWindow.cpp:706): Connected
03/18/09 00:14:42 Debug(libedcast.cpp:3459): In samplerate = 44100, Out = 22050
03/18/09 00:14:42 Debug(libedcast.cpp:3467): Initializing resampler
03/18/09 00:14:42 Debug(libedcast.cpp:3474): calling ocConvertAudio
03/18/09 00:14:42 Debug(libedcast.cpp:3484): ready to do encoding
03/18/09 00:14:42 Debug(libedcast.cpp:3490): do_encoding start
03/18/09 00:14:42 Debug(libedcast.cpp:2503): determining left/right max...
03/18/09 00:14:42 Debug(libedcast.cpp:3492): do_encoding end (1)
03/18/09 00:14:42 Debug(libedcast.cpp:3515): 1 Calling handle output - Ret = 1
03/18/09 00:14:42 Debug(libedcast.cpp:3459): In samplerate = 44100, Out = 22050
03/18/09 00:14:42 Debug(libedcast.cpp:3467): Initializing resampler
03/18/09 00:14:42 Debug(libedcast.cpp:3474): calling ocConvertAudio
03/18/09 00:14:42 Debug(libedcast.cpp:3484): ready to do encoding
03/18/09 00:14:42 Debug(libedcast.cpp:3490): do_encoding start
03/18/09 00:14:42 Debug(libedcast.cpp:2503): determining left/right max...
03/18/09 00:14:42 Debug(libedcast.cpp:3492): do_encoding end (1)
03/18/09 00:14:42 Debug(libedcast.cpp:3515): 1 Calling handle output - Ret = 1
03/18/09 00:14:42 Debug(libedcast.cpp:3459): In samplerate = 44100, Out = 22050
03/18/09 00:14:42 Debug(libedcast.cpp:3467): Initializing resampler
03/18/09 00:14:42 Debug(libedcast.cpp:3474): calling ocConvertAudio
03/18/09 00:14:42 Debug(libedcast.cpp:3484): ready to do encoding
03/18/09 00:14:42 Debug(libedcast.cpp:3490): do_encoding start
03/18/09 00:14:42 Debug(libedcast.cpp:2503): determining left/right max...
03/18/09 00:14:42 Debug(libedcast.cpp:3492): do_encoding end (1)
03/18/09 00:14:42 Debug(libedcast.cpp:3515): 1 Calling handle output - Ret = 1
03/18/09 00:14:42 Debug(libedcast.cpp:3459): In samplerate = 44100, Out = 22050
03/18/09 00:14:42 Debug(libedcast.cpp:3467): Initializing resampler
03/18/09 00:14:42 Debug(libedcast.cpp:3474): calling ocConvertAudio
03/18/09 00:14:42 Debug(libedcast.cpp:3484): ready to do encoding
03/18/09 00:14:42 Debug(libedcast.cpp:3490): do_encoding start
03/18/09 00:14:42 Debug(libedcast.cpp:2503): determining left/right max...
03/18/09 00:14:42 Debug(libedcast.cpp:3492): do_encoding end (1)
03/18/09 00:14:42 Debug(libedcast.cpp:3515): 1 Calling handle output - Ret = 1
03/18/09 00:14:42 Debug(libedcast.cpp:3459): In samplerate = 44100, Out = 22050
03/18/09 00:14:42 Debug(libedcast.cpp:3467): Initializing resampler
03/18/09 00:14:42 Debug(libedcast.cpp:3474): calling ocConvertAudio
03/18/09 00:14:42 Debug(libedcast.cpp:3484): ready to do encoding
03/18/09 00:14:42 Debug(libedcast.cpp:3490): do_encoding start
03/18/09 00:14:42 Debug(libedcast.cpp:2503): determining left/right max...
03/18/09 00:14:42 Debug(libedcast.cpp:3492): do_encoding end (1)
03/18/09 00:14:42 Debug(libedcast.cpp:3515): 1 Calling handle output - Ret = 1
03/18/09 00:14:42 Debug(libedcast.cpp:3459): In samplerate = 44100, Out = 22050
03/18/09 00:14:42 Debug(libedcast.cpp:3467): Initializing resampler
03/18/09 00:14:42 Debug(libedcast.cpp:3474): calling ocConvertAudio
03/18/09 00:14:42 Debug(libedcast.cpp:3484): ready to do encoding
03/18/09 00:14:42 Debug(libedcast.cpp:3490): do_encoding start
03/18/09 00:14:42 Debug(libedcast.cpp:2503): determining left/right max...
03/18/09 00:14:42 Info(MainWindow.cpp:706): Disconnecting
03/18/09 00:14:43 Info(MainWindow.cpp:706): Disconnected
03/18/09 00:14:43 Info(MainWindow.cpp:706): Disconnected from server
03/18/09 00:14:43 Debug(libedcast.cpp:3492): do_encoding end (1)
03/18/09 00:14:43 Debug(libedcast.cpp:3515): 1 Calling handle output - Ret = 1
03/18/09 00:14:44 Info(MainWindow.cpp:706): Connecting in 4 seconds
03/18/09 00:14:45 Info(MainWindow.cpp:706): Connecting in 3 seconds
03/18/09 00:14:46 Info(MainWindow.cpp:706): Connecting in 2 seconds
03/18/09 00:14:47 Info(MainWindow.cpp:706): Connecting in 1 seconds
03/18/09 00:14:48 Info(MainWindow.cpp:706): Connecting in 0 seconds

_________________
-DV signing out!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Mar 18, 2009 2:53 pm    Post subject: Reply with quote

well this is not really a question about icecast and you are best off talking to the developers or edcast but from the messages the keys things I see are

03/18/09 00:14:42 Info(MainWindow.cpp:706): Connected
...
03/18/09 00:14:42 Info(MainWindow.cpp:706): Disconnecting

so it's the source client causing your issues but I don't see the cause.

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



Joined: 16 Mar 2009
Posts: 6

PostPosted: Thu Mar 19, 2009 2:23 am    Post subject: Reply with quote

I just happened to notice that when following this tutorial: http://www.poromenos.org/tutorials/icecast (the tutorial i originally used to do this) my window looked almost identical to his when hitting the "Start Server" button,




but instead, mine looks like this:








Am i supposed to have all 0's for "source"'s?


Also, maybe the whole thing is based on this ONE fact;


If im NOT playing any music, Edcast remains connected, but still does not appear in the Source Level Stats. The moment i try playing anything (even if its my own created music and sound files, or even my voice using the broadcaster) it immediately disconnected itself.
_________________
-DV signing out!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Mar 19, 2009 3:48 am    Post subject: Reply with quote

if you have a stream running at all then sources will increase with each stream and so will clients. The fact that they are zero means that the stream is not active. The log file will show this quite easily.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
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