googlevr / gvr-ios-sdk

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

How to get current playback time? #65

Closed be-water-myFriend closed 6 years ago

be-water-myFriend commented 8 years ago

hello,brother. I read the demo and understand get the position with method "videoView: videoView didUpdatePosition:", but I need the time accurately to hundredths of a second, do you have good suggestions?

seankovacs commented 8 years ago

This would actually be very nice to have. That delegate seems to be updated only every second.

richexp commented 7 years ago

+1

sanjayc77 commented 7 years ago

Added to internal tracker.

sanjayc77 commented 6 years ago

GVRView API (that includes GVRVideoView) is now deprecated. Please switch to GVRKit. It is also available as a Cocoapod. Take a look at the updated VideoWidgetDemo sample app. You can do this using the AVPlayer instance you supply to GVRKit.