gvhung / as3mp3streamplayer

Automatically exported from code.google.com/p/as3mp3streamplayer
0 stars 0 forks source link

stream crashes #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start the player.
2. wait a while.
3.

What is the expected output? What do you see instead?
The player keeps on playing, but instead the stream stops and the player
crashes. the stop / play button does nothing, not even togglin.

error:

Error: Error #2002: Operation attempted on invalid socket.
    at flash.net::Socket/internalClose()
    at flash.net::Socket/close()
    at fly.sound::MP3StreamPlayer/stopStream()
    at
player.managers::StreamSound$/stop()[C:\projects\KinkFM\src\player\managers\Stre
amSound.as:167]
    at
player.ui.windowed::Controls/_stopSoundHandler()[C:\projects\KinkFM\src\player\u
i\windowed\Controls.as:76]

What version of the product are you using? What player environment did you
test in? What version?
the latest version on a windows xp computer with an air application

Please provide any additional information below.

Original issue reported on code.google.com by johan.ha...@gmail.com on 26 Nov 2008 at 9:45

GoogleCodeExporter commented 8 years ago
The player is quite intermittent.

Original comment by natedogg...@gmail.com on 14 Feb 2010 at 10:14

GoogleCodeExporter commented 8 years ago
Just enter 
if (_socket.connected) { _socket.close(); } 
at function stopStream()
in MP3StreamPlayer.as at Line 233
and it solves the issue.
Weird enough this only happens in Windows XP.

Original comment by dimitris...@gmail.com on 22 Apr 2010 at 1:39

GoogleCodeExporter commented 8 years ago
Looks like if (_socket.connected) { _socket.close(); } is already in the latest 
release?..

When launching in browser it becomes stuttering in 3-4 minutes and then browser 
doesn't respond properly anymore. Looks like the thing is chewing local 
resources heavily, even when memory usage has already dropped, because I can't 
really switch between applications when this thing is running. Everything 
becomes slow and stuttering. 

Original comment by jaya...@gmail.com on 17 Jul 2010 at 3:23