googlevr / gvr-ios-sdk

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

Green screen after update to iOS SDK version 1.0.0 #135

Closed anubha-kiwitech closed 8 years ago

anubha-kiwitech commented 8 years ago

When loading video in GVRVideoView, the screen appears green until the video is loaded. att00001

kansujiya commented 8 years ago

same here is there way to change green colour to black colour.

nathanmartz commented 8 years ago

Are you loading video via a URL or is it bundled with the app? What format is the video in question?

sanjayc77 commented 8 years ago

This most likely is due to the memory leak issue, and should be fixed in the next release (imminent).

justsomeguy-google-com commented 8 years ago

I believe what you are seeing is the default background of our internal view. Until the video loads we don't have anything else to show. I don't think we expose any way to get that view. There is a memory leak we fixed that would also show it, but downloading a video taking time will likely keep showing that.

I'll enter a task for us to let you set a load image. That sounds like a good idea.

kansujiya commented 8 years ago

@nathanmartz , thanks for reply. When I am loading video through URL the player shows green screen till player get first frame. And when we pass video locally from bundle then it's show blink only before playing. Formate of video is .mp4. please suggest any way to stop seeing green color or any way to change green color with black color. Thanks !

kansujiya commented 8 years ago

@justsomeguy-google-com. It seems like the default GLView color buffer is green. I would suggest to use black. Though it would be nice to have custom image while loading.

It would be great, if you can help us out with estimated next update release date. Thanks

sanjayc77 commented 8 years ago

Can you update to the new 1.0.1 GVRSDK and verify that the issue has been fixed? Thanks.

https://github.com/CocoaPods/Specs/blob/master/Specs/GVRSDK/1.0.1/GVRSDK.podspec.json

sureshkansujiya commented 8 years ago

@sanjayc77 Now Green issue (Memory Leak)has been resolved, But now we are facing weird hanging issue while playing Video.

sanjayc77 commented 8 years ago

Can you provide more details? Is the GVRVideoView unresponsive to touch?

sanjayc77 commented 8 years ago

Please open another Github issue for the hanging while playing Video problem. Thanks.

anubha-kiwitech commented 8 years ago

Issue added : https://github.com/googlevr/gvr-ios-sdk/issues/140