Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

Video pauses for around 100ms after around 500ms of playback #1042

Open
KosmoGalaxy opened this issue Jul 2, 2019 · 1 comment
Open

Video pauses for around 100ms after around 500ms of playback #1042

KosmoGalaxy opened this issue Jul 2, 2019 · 1 comment

Comments

@KosmoGalaxy
Copy link

SPECIFIC ISSUE ENCOUNTERED

While playing a video from device's storage the video stops for around 100ms at around 500ms playback time and then keeps playing normally. It doesn't matter if it's from the beginning of the video or after seek. First thought was that it was only the time that wasn't updated, but checked the video with my eyes, it actually stops. I've checked it many times, always similar values. Example log includes frames that video's time did not change:

07-02 11:55:38.975: W/Unity(15669): (time)=0 (bufferedPercentage)=19 (bufferedPosition)=1966 (state)=Buffering
07-02 11:55:38.991: W/Unity(15669): (time)=0 (bufferedPercentage)=19 (bufferedPosition)=1966 (state)=Buffering
07-02 11:55:39.007: W/Unity(15669): (time)=0 (bufferedPercentage)=36 (bufferedPosition)=3666 (state)=Buffering
07-02 11:55:39.024: W/Unity(15669): (time)=0 (bufferedPercentage)=100 (bufferedPosition)=10000 (state)=Buffering
07-02 11:55:39.560: W/Unity(15669): (time)=501 (bufferedPercentage)=100 (bufferedPosition)=10000 (state)=Ready
07-02 11:55:39.577: W/Unity(15669): (time)=501 (bufferedPercentage)=100 (bufferedPosition)=10000 (state)=Ready
07-02 11:55:39.594: W/Unity(15669): (time)=501 (bufferedPercentage)=100 (bufferedPosition)=10000 (state)=Ready
07-02 11:55:39.611: W/Unity(15669): (time)=501 (bufferedPercentage)=100 (bufferedPosition)=10000 (state)=Ready
07-02 11:55:39.627: W/Unity(15669): (time)=501 (bufferedPercentage)=100 (bufferedPosition)=10000 (state)=Ready
07-02 11:55:39.645: W/Unity(15669): (time)=501 (bufferedPercentage)=100 (bufferedPosition)=10000 (state)=Ready
07-02 11:55:39.662: W/Unity(15669): (time)=501 (bufferedPercentage)=100 (bufferedPosition)=10000 (state)=Ready
07-02 11:55:39.678: W/Unity(15669): (time)=501 (bufferedPercentage)=100 (bufferedPosition)=10000 (state)=Ready

HARDWARE/SOFTWARE VERSIONS

  • Unity: 2018.3.7f1
  • Google VR SDK for Unity: 1.200
  • Device manufacturer, model, and O/S: Samsung Galaxy S7, PicoVR G2

STEPS TO REPRODUCE THE ISSUE

  1. Create new GvrVideoPlayerTexture component
  2. Set video url to file:///storage/emulated/0/test-video.mp4
  3. Set video type to Other
  4. Call Init, wait for VideoReady flag and call Play
  5. Observe the video stopping for around 100ms after around 500ms of playback
@rusmaxham
Copy link
Contributor

Does this issue occur with the Big Buck Bunny video included in the SDK? Does this issue occur with the ExoPlayer sample player app?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants