google-code-export / flowplayer-core

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

Error msg in console when using bwcheck plugin #500

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After we upgrade the flowplayer to 3.2.7, when playback a streaming with 
bwcheck plugin, the console will always have below error messages:

org.flowplayer.model::ClipEvent : Error in fireExternal() ArgumentError: Error 
#2154

Using flash debugger, I can find out the full message is:

org.flowplayer.model::ClipEvent : Error in fireExternal() ArgumentError: Error 
#2154: The NetStream Object is invalid. This may be due to a failed 
NetConnection.

We are a unlimited version flowplayer user, and we thought it might have 
something to do with the unlimited build. But we tried to use the 3.2.8 free 
one and also 3.2.9 free one, both will fail and have the same error message.

The message will repeat when you try jump the timeline, and after several click 
on the timeline, the whole player will crash eventually.

However, if we do nothing but let it playback alone, it will successfully reach 
the end.

Thank you!

Original issue reported on code.google.com by featheast.lee on 28 Mar 2012 at 6:00

GoogleCodeExporter commented 9 years ago
The player crashes ? Do you have an example online if possible. 

Original comment by dani...@electroteque.org on 29 Mar 2012 at 8:33

GoogleCodeExporter commented 9 years ago
Crash is happening only sometimes, when you click the timeline too many times.
Here is one example you can check. Error msgs will be in the console.
http://yudongmetacdn.appspot.com/r/m/veuscqj/Ec9zNS
Please let me know if you need any further details.
Thanks!

Original comment by featheast.lee on 30 Mar 2012 at 12:34

GoogleCodeExporter commented 9 years ago
You only have one bitrate configured with dyamic stream enabled. please enable 
two or more for this feature to work properly. 

Original comment by dani...@electroteque.org on 30 Mar 2012 at 9:22

GoogleCodeExporter commented 9 years ago
Hi, we do have another example that include two bitrates but with the same 
error msgs.
http://yudongmetacdn.appspot.com/r/m/veuscqj/FhwaPM

Also, I don't think one bitrate provided is the reason of the failure, since 
previously we have the same setting but everything is ok with the older version 
of flowplayer. Please have a look at this link: 
http://stage.metacdn.com/r/m/veuscqj/Ec78wj

Thanks

Original comment by featheast.lee on 1 Apr 2012 at 11:03

GoogleCodeExporter commented 9 years ago
OK, I have tested the playback on both Ubuntu and Windows, looks like the crash 
is only happens on Ubuntu at the moment, probably this is because of the flash 
unix version issue.

But the error msgs are in both environments.

Original comment by featheast.lee on 2 Apr 2012 at 3:45

GoogleCodeExporter commented 9 years ago
I managed to replicate the issue when debug logging is not configured, 

log: { level: 'debug', filter: 'org.flowplayer.cluster.*, 
org.flowplayer.bwcheck.*, org.osmf.*, 
org.flowplayer.controller.*,org.flowplayer.rtmp.*' },

are you able to add this and see if it resolves your propeblem, there is no 
playback issues but some javascript callback issue. 

Original comment by dani...@electroteque.org on 3 Apr 2012 at 6:18

GoogleCodeExporter commented 9 years ago
I am using version v3.2.8 and I am also having the same issue. It seems the 
onStart event is not firing properly.

Original comment by josnid...@gmail.com on 4 Apr 2012 at 2:16

GoogleCodeExporter commented 9 years ago
Hi there,
I added your suggested line to our code, and yes the error msg is no longer 
there. I tried to remove the filter, and found out that the issue should relate 
to bwcheck, as only if I remove bwcheck's filter the error msg will appear.
At the moment, I can switch the log level to error with the bwcheck in the 
filter to temporarily remove the error msgs plus all unnecessary debug logs.

Original comment by featheast.lee on 5 Apr 2012 at 4:30

GoogleCodeExporter commented 9 years ago
Hi I managed to track down the issue. Unfortunately it was hard to find. There 
was a feature to set the metrics on the clip to be used with the qosmonitor 
plugin for displaying the measurements which was causing the issue so required 
some changes. 

Please try this. 

http://dl.dropbox.com/u/3394987/flowplayer.bwcheck-3.2.8.zip

Original comment by dani...@electroteque.org on 15 Apr 2012 at 6:23