We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前自己的解决方案是重写部分代码,但很粗糙,作为demo参考
MyStandardVideoController.txt MyTextureRenderViewFactory.txt MyZoomableTextureView.txt 复制上面三个文件,后缀记得改成java: 1.设置自定义的TextureRenderView: MyTextureRenderViewFactory myTextureRenderViewFactory=new MyTextureRenderViewFactory(); videoPlayView.setRenderViewFactory(myTextureRenderViewFactory); 2.设置控制器 MyStandardVideoController controller = new MyStandardVideoController(myViewBinding.getRoot().getContext()); controller.setMyTextureRenderViewFactory(myTextureRenderViewFactory);//放大操作 videoPlayView.setVideoController(controller); //设置控制器
Originally posted by @mynameispp in #843 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
MyStandardVideoController.txt
MyTextureRenderViewFactory.txt
MyZoomableTextureView.txt
复制上面三个文件,后缀记得改成java:
1.设置自定义的TextureRenderView:
MyTextureRenderViewFactory myTextureRenderViewFactory=new MyTextureRenderViewFactory();
videoPlayView.setRenderViewFactory(myTextureRenderViewFactory);
2.设置控制器
MyStandardVideoController controller = new MyStandardVideoController(myViewBinding.getRoot().getContext());
controller.setMyTextureRenderViewFactory(myTextureRenderViewFactory);//放大操作
videoPlayView.setVideoController(controller); //设置控制器
Originally posted by @mynameispp in #843 (comment)
The text was updated successfully, but these errors were encountered: