Skip to content
New issue

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

大哥 群主的框架不在维护更新 要不你接盘吧 我来给你宣传点赞 #850

Open
Xxj-star opened this issue Jul 24, 2024 · 0 comments

Comments

@Xxj-star
Copy link

          目前自己的解决方案是重写部分代码,但很粗糙,作为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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant