googlevr / gvr-ios-sdk

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

Loading / Buffering Indicator #176

Closed allanweir closed 6 years ago

allanweir commented 7 years ago

Hi Guys, Thanks for responding to my issues on here in the past, the SDK is looking sweet.

I was wondering if there are any plans to add an indicator UI to the GVRVideoView to show buffering of video content? It doesn't seem to be possible to dynamically add UI elements to the VR stereo display from what I can tell. It would be more trivial outside of stereo mode but within it the code is a lot more complex to display UI I'm assuming (OpenGL etc.)

I've seen an old issue at https://github.com/googlevr/gvr-ios-sdk/issues/152 which talks about more than this but I feel like a loading indicator as a minimum should be included in a video playing control like the GVRVideoView for usability / helpful feedback in a VR space.

Cheers, Allan

nathanmartz commented 7 years ago

We don't have any plans to add this currently, but you never know :)

MrZeeee commented 7 years ago

hi @allanweir how you play video streamly?

sanjayc77 commented 6 years ago

You should switch to GVRKit. You provide the AVPlayer to GVRVideoRenderer and thus are in full control of its loading/buffering state. Check out the updated VideoWidgetDemo sample.