EkaLestari / xuggle

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

Xuggler 4.0-1084 IContainer network deadlock #284

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open container on a valid network host, invalid stream
2. Wait forever :)

The following piece of code produces a deadlock on container.open

// Valid host (no timeout), invalid stream (not online, not available)
String stream = "rtmp://cp45401.live.edgefcs.net/live/Live_Flash_1234@1574"; 
// the correct stream is rtmp://cp45401.live.edgefcs.net/live/Live_Flash_1@1574
IContainer readContainer = IContainer.make();
readContainer.open(stream, IContainer.Type.READ, null, true, false);

The IContainer.open never ends. It goes in a deadlock. 

Tested on Ubuntu Linux with 4.0-1084 build and OpenJDK. Tested on windows with 
3.4 build and Sun JDK.

Original issue reported on code.google.com by TTI...@gmail.com on 21 Nov 2011 at 2:28