google-code-export / flowplayer-core

Automatically exported from code.google.com/p/flowplayer-core
2 stars 0 forks source link

bwcheck checkOnStart fails with serverType wowza #599

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. http://flowplayer.blacktrash.org/test/bwcheck-onstart.html#player2
2. uses bwcheck.checkOnStart: true

What is the expected output? What do you see instead?
Expected: bitrate chosen on start.
Instead:
[LOG] time 14:56:23.187 :: org.flowplayer.bwcheck.detect::BandwidthDetector : 
detect()
[LOG] time 14:56:23.204 :: org.flowplayer.bwcheck.detect::BandwidthDetector : 
detect(), connecting to rtmp://rtmp01.hddn.com/play, using strategy [object 
BandwidthDetectorWowza]
[INFO] time 14:56:25.243 :: org.flowplayer.bwcheck.detect::BandwidthDetector : 
onRTMPReconnect(), Attempting reconnection
[LOG] time 14:56:25.244 :: org.flowplayer.bwcheck.detect::BandwidthDetector : 
detect()
[INFO] time 14:56:25.258 :: org.flowplayer.bwcheck.detect::BandwidthDetector : 
Connections failed
[ERROR] time 14:56:25.265 :: org.flowplayer.bwcheck.detect::BandwidthDetector : 
no live hosts to connect to
[ERROR] time 14:56:25.266 :: org.flowplayer.bwcheck::BwCheckProvider : 
onClusterFailed(), will use default bitrate

(there's also a documentation issue regarding the onBwDone callback arguments, 
that's why the content plugin might display bogus stuff while I'm investigating)

Original issue reported on code.google.com by blacktrashproduct on 19 Jun 2012 at 2:06

GoogleCodeExporter commented 9 years ago
documentation issue it requires the bwcheck application, those people never 
responded in terms of having the app available on hddn. it should be /bwcheck 
not /play. 

Original comment by electrot...@gmail.com on 19 Jun 2012 at 3:06

GoogleCodeExporter commented 9 years ago
perhaps it is there can you check ?

Original comment by electrot...@gmail.com on 19 Jun 2012 at 3:06

GoogleCodeExporter commented 9 years ago
Aha - netConnectionUrl: "rtmp://rtmp01.hddn.com/bwcheck" seems to give some 
results.

So with Wowza rtmp the netConnectionUrl must be the location of the Wowza 
bwcheck application? Is it always named `bwcheck'? Or is that just hddn? 
Asking, so I can improve the docs.

And should/can "rtmp://rtmp01.hddn.com/bwcheck" also be chosen as 
bwcheck.netConnectionUrl when dynamic is true? Then we can use this in all the 
Wowza bwcheck demos.

Original comment by blacktrashproduct on 19 Jun 2012 at 3:47

GoogleCodeExporter commented 9 years ago
on wowza it's always been bwcheck on fms there is now a remote method ,the old 
way was a connection argument on the default app itself. 

if checkOnStart is set it will use whatever is set to the netConnectionUrl with 
dynamic (rtmp) its probably quicker to choose the default and let it switch and 
not use checkOnStart,on rtmp anyway it does a few packet load requests up and 
down before it determines the final values. I ported a really old fms app 
example to red5 in 2006 and wowza copied my code ;)

Original comment by electrot...@gmail.com on 19 Jun 2012 at 5:22

GoogleCodeExporter commented 9 years ago
can we close this ? 

Original comment by electrot...@gmail.com on 20 Jun 2012 at 7:21

GoogleCodeExporter commented 9 years ago
Yes. Sort of migrated to here:
https://github.com/flowplayer/site/issues/527

Original comment by blacktrashproduct on 20 Jun 2012 at 9:38