ryanqq / aacdecoder-android

Automatically exported from code.google.com/p/aacdecoder-android
GNU Lesser General Public License v3.0
0 stars 0 forks source link

AACPlayer not disconnecting properly #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the AAC Music Player sample application to connect to an AAC stream 
through a simple passthrough proxy server
2. Press play, let it stream for a bit, then press stop

What is the expected output? What do you see instead?
The player socket is not closed as you'd expect, it's left open until it 
naturally times out

What version of the product are you using? On which device ?
The latest release version (0.5.1)

Please provide any additional information below.
I think this problem would be solved with a simple call to socket.close() at 
the end of the loop in the run() method of AACPlayer
I can provide source code for a simple pass-through proxy server if it would 
help testing.

Original issue reported on code.google.com by tehst...@gmail.com on 20 Aug 2011 at 6:59

GoogleCodeExporter commented 9 years ago
Still exists in 0.6.1!

Original comment by arvid.ge...@gmail.com on 2 Sep 2012 at 7:22

GoogleCodeExporter commented 9 years ago
Your solution doesn't work, you can't call Socket.close() at this point. I'am 
investigating where the error is produced, do you have any others idea? 

Original comment by arvid.ge...@gmail.com on 17 Oct 2012 at 10:00

GoogleCodeExporter commented 9 years ago
Commited bugfix as revision#21.

Original comment by vbarta...@gmail.com on 11 Jan 2013 at 8:05