GearVRf icon indicating copy to clipboard operation
GearVRf copied to clipboard

GVRVideoSceneObject instance is not fully ready for use immediately after the ctor returns

Open liaxim opened this issue 8 years ago • 1 comments

A GVRVideoSceneObject can be created on any thread but its ctor creates an object on the GL thread. Between completion of the ctor call and this helper object being created, certain APIs would return null or have no effect. There is no way to know when the instance is fully ready and in any case it should be all transparent to end users.

liaxim avatar Oct 14 '16 17:10 liaxim

@liaxim How about adding a callback function like setOnPreparedListener(OnPreparedListener) Just like android media player does

deepak-rawat avatar Oct 26 '16 18:10 deepak-rawat