-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RTMP logging error #53
Comments
@sarat1669 can you check if the progress bar is working fine? can you send me a link where this bug is reproducible? |
That is a live stream and the progress bar is at 100%. Here is the code that i am using. I removed the rtmp stream intentionally.
|
That's weird, because the getBytesLoaded exists: https://github.com/flavioribeiro/clappr-rtmp-plugin/blob/master/src/RTMP.as#L128 Is there any chance you have the RTMP.swf cached in your browser (the previous version of RTMP.swf didn't have that function). |
This is the only version that i have used. I think getBytesTotal is not valid for live streams. I made the following changes that fixed this error. I chose 100 so that the progress bar is always to the right end.
If its the wrong thing to do, please let me know how to fix that. |
@sarat1669 I tested here, calling el.getBytesLoaded in a live stream it returns 0. To go any further we'll need a link of your "app" where this problem can be reproduced. |
Same as #23 The missing functions (getBytesLoaded and getBytesTotal) were added in 6 July: e4d053b However the url http://cdn.jsdelivr.net/clappr.rtmp/latest/rtmp.min.js is still pointing to an old version of the plugin. So either you have to build the plugin yourself, or wait for someone to build and update the latest version. EDIT: I actually tried to rebuild from source and I in fact found the same file found in the "latest" link, without the two missing functions. So either I did something wrong recompiling, or there is something else that is missing in order to include those two functions. |
Clapper player : 0.2.58
rtmp version : 0.13
log.js:67[error][t] error on event o13:progress trigger - TypeError: this.el.getBytesLoaded is not a function(…)
log.js:67[error][t] error on event o13:progress trigger - TypeError: this.el.getBytesLoaded is not a function(…)
log.js:67[error][t] error on event o13:progress trigger - TypeError: this.el.getBytesLoaded is not a function(…)
log.js:67[error][t] error on event o13:progress trigger - TypeError: this.el.getBytesLoaded is not a function(…)
log.js:67[error][t] error on event o13:progress trigger - TypeError: this.el.getBytesLoaded is not a function(…)
log.js:67[error][t] error on event o13:progress trigger - TypeError: this.el.getBytesLoaded is not a function(…)
...
The video is playing fine but i keep getting these logs
The text was updated successfully, but these errors were encountered: