I don't believe we impose a limit on the number of concurrent connections, so perhaps you are hitting a server limit. Does the same problem occur when you fetch 4+ streams from different origins?
I did a simple test application with my player (I attached it to this post, so everybody can import it in flex builder, build and test). When I connect to my local server I can see only 4 streams (expected: 6). But I also did test for URLs that I found in sample applications:
and I can see only 2 (yes, two!) streams which means that the problem can be in OSMF library or in my player implementation (you can look at this class, but I used version from samples in sprint 9 and modified it a bit, so I'm not sure if it is something wrong with this class).
Thanks for any advices...
OSMFTest.zip 282.9 K
When I add a number of different sources, I am able to get them all playing:
I've changed your getUrl routine to read:
public function getUrl(id:int):String
case 1: return "http://products.edgeboss.net/download/products/jsherry/testfiles/stream001.flv";
case 2: return "http://products.edgeboss.net/download/products/content/demo/video/oomt/elephants_dream_700 k.flv";
case 3: return "http://products.edgeboss.net/download/products/content/demo/video/oomt/big_buck_bunny_700k .flv";
case 4: return "http://mediapm.edgesuite.net/strobe/content/test/AFaerysTale_sylviaApostol_640_500_short.f lv";
case 5: return "http://dl.dropbox.com/u/2980264/OSMF/logo_animated.flv";
case 6: return "http://mediapm.edgesuite.net/strobe/content/test/elephants_dream_768x428_24_short.flv";
default: return "http://products.edgeboss.net/download/products/jsherry/testfiles/stream001.flv";
Looks like this really is a server side afair, but I'll forward the thread to our QE for further testing.
I did more tests... I thought that problem is that I load many streams from one server, but I managed to find 6 different movies on one server and I was able to display all of them.
I haven't mention it before, but this problem occurs when I use live http streaming, so maybe we should try to connect to the server that has many live streams (not a static flv or swf files)? Unfortunately we don't have such a server in our lab. Also I cannot find any live streams available on a web... Do you have an access to the server with live http streams or know any public URLs to perform such a test?
I found a workaround for this issue. My server has to have more than one IP address to connect to streams. So in my application I connect to the same server using different IP addresses (it is easily possible because we use it on our local network).
I did some tests on Linux and I found that it is possible to connect to only 2 (!) streams from the same IP address (on Windows I can display 4 streams from the same IP), so finally I need to prepare (numberOfStreams/2) IP addresses to fix the problem.
If anyone knows a better solution please let me know Thanks!