Android: Best way to play video in Opengl application -
i'm trying figure out best way play tutorial video in opengl android application.
i tried this , works fine.
now problem how merge opengl application. if launch activity destroy opengl context , have recreate it. best idea @ moment add existing xml layout videoview component , use relative layout overlap on top of opengl view.
i know if option or there better solution.
as far remember context isn't destroyed when glsurfaceview isn't being used, swap videoview till video's done playing switch back. problem relativelayout idea if glsurfaceview have lot on @ time, might bit lower end devices have them both active.
Comments
Post a Comment