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

Android 怎样动态调整AVVideoView? #16

Open
yjjjiang opened this issue Feb 27, 2017 · 0 comments
Open

Android 怎样动态调整AVVideoView? #16

yjjjiang opened this issue Feb 27, 2017 · 0 comments

Comments

@yjjjiang
Copy link

主播默认小窗,有人上麦的时候变成大窗

@yjjjiang
Copy link
Author

AVRootView的onSubCreated里面,可以获取所有AVVideoView,支持动态修改尺寸
要锁定显示在哪个画面(大画面,小画面),可以用AVRootView的bindIdAndView接口
AVRootView的大小修改,不会影响小屏,但需要修正小屏的相对大小
调用AVVideoView的修改尺寸后,调用autoLayout刷新显示

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