android - SurfaceView doesn't work with Video 360 used Panframe library -
i have 2 videos, first video suferfaceview, use mediaplayer library, , video 360 video, use panframe library. problem can't show these videos same time. when load 360 video , after add surface. in screen app show video 360.
this code i'm using:
public void loadvideo(string filename) {      mpfview = pfobjectfactory.view(mainactivity.this);     mpfasset = pfobjectfactory.assetfromuri(this, uri.parse(filename), this);      mpfview.displayasset(mpfasset);     mpfview.setnavigationmode(mcurrentnavigationmode);      //mviewsurfacelibrary     mframecontainer.addview(mpfview.getview(), 0);      mvidsurface = (videoview) findviewbyid(r.id.surfview);     mvidholder = mvidsurface.getholder();     mvidholder.addcallback(this);  }   does know how use panframe library , add overlay surfaceview?
both videos seem playing can hear sound of 1 playing in surfaceview, panframe library overlaying everything.
 
 
Comments
Post a Comment