googlevr / gvr-ios-sdk

Google VR SDK for iOS
http://developers.google.com/vr/ios/
Other
647 stars 191 forks source link

Very slow video rendering performance. #103

Closed ghost closed 8 years ago

ghost commented 8 years ago

Initially the video plays in an expected framerate, all fine so far..

-> After going in fullscreen-mode and then switching several times between fullscreen-mode and cardboard-mode, the framerate of the video downgrades dramatically ( like 3 frames every 5 seconds ).

Tested on multiple devices (iPhone 5s and iPhone 6) width different video-sources ( both in mono mode, 1080p and 720p ) Video-Files are stored locally on the device itself. No memory issues, no CPU issues.

Would be great if you guys could provide some support there.

Best, S.


Update: It turned out that disabling "enableFullscreenButton" on the videoView did the trick.

nathanmartz commented 8 years ago

S, what version of the SDK are you using?

Abhishek, please stop hijacking other people's threads and create a thread with your own issues.

On Wed, Aug 10, 2016, 1:44 AM Abhishek Shukla notifications@github.com wrote:

Can anyone please give me a working video URL for testing for some time? because i am facing issue that our video url is not working. That will be very helpful.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/googlevr/gvr-ios-sdk/issues/103#issuecomment-238790413, or mute the thread https://github.com/notifications/unsubscribe-auth/ANamfq41Bg_pczTBRY2wM3q3DQTT12Bvks5qeYFQgaJpZM4JgRx3 .

ghost commented 8 years ago

on the latest version 0.9.

ghost commented 8 years ago

Any progress here? Could you guys reproduce this issue on ios? It's still existing when the user often switches between cardboard-fullscreen-view ( _videoView.displayMode = 3; ) and back to normal view. And again and again.

Would be nice if someone could help me out.

Best, S.

nathanmartz commented 8 years ago

We haven't been able to repro this yet, but we are trying.