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 

Windows 2.3.3 kh6 Vorbis source disconnect, all audio 1 sec

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



Joined: 08 Sep 2012
Posts: 40
Location: Scottsdale, Arizona

PostPosted: Mon Mar 18, 2013 11:02 pm    Post subject: Windows 2.3.3 kh6 Vorbis source disconnect, all audio 1 sec Reply with quote

I have a Windows Server 2008 R2 machine that is running IceCast 2.3.3 kh6. I was formerly running IceCast 2.3.3-kh2. I have multiple sources that are using Edcast Standalone and the LAME MP3 encoder as well as the Ogg Vorbis encoder (ogg.dll and vorbis.dll with no version information available on the .dll files).

I just installed 2.3.3 kh6 and noticed two major symptoms:

    1) All Ogg Vorbis streams are unable to maintain a connection. At an Edcast source, I will start the connection, it says "connected" and for a few seconds I will see the notification that 0 to 6Kbps are streaming, and then it will disconnect. The source connection logs in Edcast look like this:

    Code:
    3/18/13 15:21:16 Info(edcastStandalone.cpp:51): Connecting
    03/18/13 15:21:17 Info(edcastStandalone.cpp:51): Socket connected
    03/18/13 15:21:17 Info(edcastStandalone.cpp:51): Success
    03/18/13 15:21:17 Info(edcastStandalone.cpp:51): Connected
    03/18/13 15:21:21 Info(edcastStandalone.cpp:51): Disconnecting
    03/18/13 15:21:21 Info(edcastStandalone.cpp:51): Disconnected
    03/18/13 15:21:21 Info(edcastStandalone.cpp:51): Disconnected from server
    03/18/13 15:21:22 Info(MainWindow.cpp:116): Connecting in 9 seconds
    03/18/13 15:21:23 Info(MainWindow.cpp:116): Connecting in 8 seconds
    03/18/13 15:21:24 Info(MainWindow.cpp:116): Connecting in 7 seconds
    03/18/13 15:21:25 Info(MainWindow.cpp:116): Connecting in 6 seconds
    03/18/13 15:21:26 Info(MainWindow.cpp:116): Connecting in 5 seconds
    03/18/13 15:21:27 Info(MainWindow.cpp:116): Connecting in 4 seconds
    03/18/13 15:21:28 Info(MainWindow.cpp:116): Connecting in 3 seconds
    03/18/13 15:21:29 Info(MainWindow.cpp:116): Connecting in 2 seconds
    03/18/13 15:21:30 Info(MainWindow.cpp:116): Connecting in 1 seconds
    03/18/13 15:21:31 Info(MainWindow.cpp:116): Connecting in 0 seconds
    03/18/13 15:21:32 Info(edcastStandalone.cpp:51): Connecting
    03/18/13 15:21:33 Info(edcastStandalone.cpp:51): Unable to connect to socket
    03/18/13 15:21:34 Info(MainWindow.cpp:116): Connecting in 9 seconds
    03/18/13 15:21:35 Info(MainWindow.cpp:116): Connecting in 8 seconds
    03/18/13 15:21:36 Info(MainWindow.cpp:116): Connecting in 7 seconds
    03/18/13 15:21:37 Info(MainWindow.cpp:116): Connecting in 6 seconds
    03/18/13 15:21:38 Info(MainWindow.cpp:116): Connecting in 5 seconds
    03/18/13 15:21:39 Info(MainWindow.cpp:116): Connecting in 4 seconds
    03/18/13 15:21:40 Info(MainWindow.cpp:116): Connecting in 3 seconds
    03/18/13 15:21:41 Info(MainWindow.cpp:116): Connecting in 2 seconds
    03/18/13 15:21:42 Info(MainWindow.cpp:116): Connecting in 1 seconds
    03/18/13 15:21:43 Info(MainWindow.cpp:116): Connecting in 0 seconds
    03/18/13 15:21:44 Info(edcastStandalone.cpp:51): Connecting
    03/18/13 15:21:45 Info(edcastStandalone.cpp:51): Unable to connect to socket


    On the server side, the connection looks like this:

    Code:
    [2013-03-18  15:09:48] INFO connection/_handle_source_request Source logging in at mountpoint "/mountogg"
    [2013-03-18  15:09:48] INFO source/source_startup sources count is now 4
    [2013-03-18  15:09:48] DBUG stats/modify_node_event update "global" sources (4)
    [2013-03-18  15:09:48] DBUG stats/stats_handle new source stat /mountogg
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "listenurl" (http://streaming402ic.FakeStreamingMediaProviderDomain.com:80/mountogg)
    [2013-03-18  15:09:48] INFO source/source_apply_mount Applying mount information for "/mountogg"
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "listener_peak" (0)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "public" (1)
    [2013-03-18  15:09:48] DBUG source/source_apply_mount YP changed to 1
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "server_name" (mount Live Sports Streaming)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "server_description" (mount Live sports streaming brought to you by FakeStreamingMediaProviderDomain.com)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "server_url" (http://streamingserver.FakeStreamingMediaProviderDomain.com/mountogg)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "genre" (Sports)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "bitrate" (48)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "server_type" (application/ogg)
    [2013-03-18  15:09:48] DBUG source/source_update_settings max listeners is not specified
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "max_listeners" (unlimited)
    [2013-03-18  15:09:48] DBUG source/source_update_settings public set to 1
    [2013-03-18  15:09:48] DBUG source/source_update_settings queue size to 737280
    [2013-03-18  15:09:48] DBUG source/source_update_settings min queue size to 65536
    [2013-03-18  15:09:48] DBUG source/source_update_settings burst size to 65536
    [2013-03-18  15:09:48] DBUG source/source_update_settings source timeout to 30
    [2013-03-18  15:09:48] INFO connection/connection_complete_source source /mountogg is ready to start
    [2013-03-18  15:09:48] DBUG stats/modify_node_event update "global" source_client_connections (24)
    [2013-03-18  15:09:48] DBUG stats/modify_node_event update "global" source_total_connections (24)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "slow_listeners" (0)
    [2013-03-18  15:09:48] DBUG stats/modify_node_event update "/mountogg" server_type (application/ogg)
    [2013-03-18  15:09:48] DBUG stats/modify_node_event update "/mountogg" listener_peak (0)
    [2013-03-18  15:09:48] DBUG stats/modify_node_event update "/mountogg" listener_peak (0)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "listener_connections" (0)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "stream_start" (18/Mar/2013:15:09:48 -0700)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "total_mbytes_sent" (0)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "total_bytes_sent" (0)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "total_bytes_read" (0)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "outgoing_kbitrate" (0)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "incoming_bitrate" (0)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "queue_size" (0)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "connected" (0)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "source_ip" (66.171.16.130)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "ice-samplerate" (44100)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "ice-bitrate" (48)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "ice-channels" (2)
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "audio_info" (ice-samplerate=44100;ice-bitrate=48;ice-channels=2)
    [2013-03-18  15:09:48] INFO source/source_init Source /mountogg initialised
    [2013-03-18  15:09:48] INFO source/source_read listener count on /mountogg now 0
    [2013-03-18  15:09:48] DBUG stats/process_source_stat new node on /mountogg "listeners" (0)
    [2013-03-18  15:09:48] DBUG stats/modify_node_event update "global" listeners (0)
    [2013-03-18  15:09:48] DBUG stats/modify_node_event update "global" clients (4)
    [2013-03-18  15:09:48] DBUG format-vorbis/initial_vorbis_page checking for vorbis codec
    [2013-03-18  15:09:48] INFO format-vorbis/initial_vorbis_page seen initial vorbis header
    [2013-03-18  15:09:48] DBUG format-ogg/process_initial_page Vorbis codec has filter mark 0
    [2013-03-18  15:09:48] DBUG client/client_read_bytes reading from connection has failed
    [2013-03-18  15:09:48] INFO source/source_read End of Stream /mountogg



    2) The MP3 streams will stay connected to the server with no problems, but listeners can only hear the stream for about 1 second before their audio stops. The stream remains on the server, but the actual audio that a listener hears will stop. I tested with a direct URL to the stream on IceCast using the latest Safari and Chrome browsers on Mac OS X 10.8.3 and the actual audio control showed a full stop. The play button re-appeared as if I had chosen the stop button. It wasn't a matter of the stream persisting in the client, but simply no audio being heard.

    I upped the logging rate to debug, but didn't see anything in the access.log or error.log files that looked out of the ordinary, so haven't copied anything here in the forums so as not to logspam everyone.



Attempted Fixes:

I quickly threw in a default icecast.xml file to rule out any options that I had chosen that might have been incompatible with a newer version. The results were still the same.

I moved the libvorbis-0.dll and libogg-0.dll files from KH2 into the program folder of KH6 and restarted the service just to see if there was any change, but there wasn't.

Current Situation:

I quickly copied my logs and config file, uninstalled KH6, installed KH2, moved logs and configs back and everything is working hunky dory. I suppose it's not a huge issue to be on KH2 since I've never hit any issues that would have been solved with a newer version.

Any ideas why this behavior might exist?
Back to top
View user's profile Send private message
Nonapeptide



Joined: 08 Sep 2012
Posts: 40
Location: Scottsdale, Arizona

PostPosted: Sun Jun 09, 2013 12:39 am    Post subject: Reply with quote

I never did get to the bottom of this, but instead had to uninstall kh6, and install kh2. Confused
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Jun 09, 2013 2:17 am    Post subject: Reply with quote

There was a problem with the kh6 release on win32 which was hard to test (didn't have the facilities at the time). The kh7 or kh8 has had no reports or issues relating to ogg streams. Is the latest not working for you?

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



Joined: 08 Sep 2012
Posts: 40
Location: Scottsdale, Arizona

PostPosted: Sun Jun 09, 2013 2:58 am    Post subject: Reply with quote

karlH wrote:
There was a problem with the kh6 release on win32 which was hard to test (didn't have the facilities at the time). The kh7 or kh8 has had no reports or issues relating to ogg streams. Is the latest not working for you?

karl.


I haven't had the chance (or clearance from the client) to update to a later version. I'll certainly do it carefully, but the client's busy season is fast approaching and they might rather stick with what they know works. C'est la guerre.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Jun 09, 2013 12:02 pm    Post subject: Reply with quote

don't you have a separate windows to test on, I can try later today but that will be with ices2 which may be different to what you are using.

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



Joined: 08 Sep 2012
Posts: 40
Location: Scottsdale, Arizona

PostPosted: Mon Jun 10, 2013 7:48 pm    Post subject: Reply with quote

karlH wrote:
don't you have a separate windows to test on, I can try later today but that will be with ices2 which may be different to what you are using.

karl.
I don't deal a ton with Windows Servers these days, and would want to test with the exact OS that the client is using, however, that reminded me that I have another client that has a new server build that I'm testing out. It involved Server 2008 R2, the exact OS that this streaming client is using. I can tweak around with that perhaps later this week. The streaming client uses Edcast Standalone as a source client, BTW.
Back to top
View user's profile Send private message
Nonapeptide



Joined: 08 Sep 2012
Posts: 40
Location: Scottsdale, Arizona

PostPosted: Sun Jul 28, 2013 2:14 am    Post subject: Reply with quote

karlH wrote:
don't you have a separate windows to test on, I can try later today but that will be with ices2 which may be different to what you are using.

karl.

FYI I just upgraded my client's streaming servers to 2.3.3 kh8 and all is well. Vorbis and MP3 streams are coming in strong and there are no mysterious cutouts after two seconds.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Jul 28, 2013 8:08 pm    Post subject: Reply with quote

glad to hear the issue is no more.

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