Closed jgongo closed 4 years ago
FYI, I have tried seeking forward and it does not work (it immediately freezes). Is this the correct way to seek? I see no other way to do it with the exposed interface, am I missing anything?
I've successfully run the sample app, and this problem doesn't seem to happen in it, although the code seems to be doing the same as I do, this is, setting the currentTime property of the ShakaPlayerView. Any idea why this is happening?
Are you trying with the latest from master
? I'm in the process of rewriting the media pipeline and have made major changes in the last month or so. I cannot reproduce this error with your code. It seems to work fine for me.
You can also pass GLOG_v=1
as an environment variable to get more verbose logging from C++; or you can set player.logLevel = .V1
to get more verbose logging from the JavaScript player.
I was using the version from January 7th. After updating to the latest from master the video no longer freezes, but the audio consistently stops playing using the Angel One asset (#97).
I'm doing preliminary tests of the player to integrate it in our application. During those tests I tried to find out how to seek to a given point and tried to update the currentTime property. I found that after updating it the player would seek to the requested point, but after reaching the point where the seek was requested, the video would freeze. To be clear, with the code below:
I'm using the framework with the default configuration (configure --ios) running in the simulator, with one of the Shaka demo assets (the Star Trek one).
This is the code I used to test the seek functionality:
And here is the resulting log:
The last lines (stall detected/seeking forward) seem to be repeated until presentationTime reaches the end of the video