-
Notifications
You must be signed in to change notification settings - Fork 101
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
New player 1.6.1 breaking seek #528
Comments
When we do We are getting the error:
It's referenced here in the ogv.js: I think the issue comes from audio-tempo-changer.js on line 112. While setting Pause on caught exceptions on, I was able to see that ci = -1 for some reason. I suspect that if we change that line to: |
Hmm, I'm not able to reproduce this so far. Do you have a sample file and a reliable way to reproduce it in code or through UI? For instance this does not present any problems for me, entered as one line in console (using an audio webm file):
It seeks and plays without error. |
@velochy I haven't been able to repro this issue yet but I think it's caused when the AudioFeeder is initialized inside OGVPlayer but has nothing queued up yet when we flush things out for a seek. Does the suggested fix in above comments sound right to you (changing order to short-circuit the |
(I think the 0 entry in |
@samfoucart can you make it into a PR (and bump the minor version with it)? Im on a holiday without my work laptop, but i should be able to approve and merge the PR and update npm from my phone |
@samfoucart Thank you for the fix. |
Can this update get published in 1.6.2 or something? Or will 1.7.x be released soon? |
Sorry, forgot about this -- I have a 1.7 release coming up, just got caught up on some last-minute threading issues. |
After pulling in the new player I am receiving the following error which breaks seek.
TypeError: B[r] is undefined
TypeError: B[t] is undefined
flush
http://localhost:81/Scripts/Lib/ogvjs-uptivity/ogv.js:56:12911
AudioFeeder.prototype.flush
http://localhost:81/Scripts/Lib/ogvjs-uptivity/ogv.js:41:35794
prepForSeek
http://localhost:81/Scripts/Lib/ogvjs-uptivity/ogv.js:18:30985
_seek
http://localhost:81/Scripts/Lib/ogvjs-uptivity/ogv.js:18:31093
setCurrentTime
http://localhost:81/Scripts/Lib/ogvjs-uptivity/ogv.js:18:19523
private.player.currentTime seems to now be causing some issue.
Last release the media source was changed to except a stream of media.
Not sure if this is the reason for the break here or not yet.
Still looking into this.
Second issue that I believe also has to do with Audio Feeder Flush:
Uncaught TypeError: Cannot read property 'out_time' of undefined
at Object.flush (ogv.js:56)
at AudioFeeder.flush (ogv.js:41)
The text was updated successfully, but these errors were encountered: