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

Get blank view when using two view of RtcLocalView,SurfaceView #831

Open
Khoa69 opened this issue Oct 22, 2024 · 8 comments
Open

Get blank view when using two view of RtcLocalView,SurfaceView #831

Khoa69 opened this issue Oct 22, 2024 · 8 comments

Comments

@Khoa69
Copy link

Khoa69 commented Oct 22, 2024

Get blank screen when using two view of RtcLocalView,SurfaceView() in one screen. Only one of that show and the other one shows blank.
react-native-agora: 3.7.1

@guoxianzhe
Copy link
Contributor

@Khoa69 v3.x can not shows multi view at the same time, you can use 4.x with setupMode: VideoViewSetupMode.VideoViewSetupAdd

@Khoa69
Copy link
Author

Khoa69 commented Oct 23, 2024

@guoxianzhe version 4.x how can I manually link in android guys.

@guoxianzhe
Copy link
Contributor

@Khoa69 check this:

https://docs.agora.io/en/video-calling/overview/migration-guide?platform=react-native
https://docs.agora.io/en/video-calling/get-started/get-started-sdk?platform=react-native#integrate-the-sdk

And React Native 0.60.0 and later support automatic linking of native modules. Manual linking is not recommended. See Autolinking for details

@Khoa69
Copy link
Author

Khoa69 commented Oct 23, 2024

@guoxianzhe, sorry, my project accept manually for build, can't use automatic link, the manually link in android is possible for v4.x

@guoxianzhe
Copy link
Contributor

@Khoa69 Sorry, I didn't test manual link in v4

@Khoa69
Copy link
Author

Khoa69 commented Oct 23, 2024

@guoxianzhe, oh I tested manually link in android with v4.x but didn't work, Can you fix manually link error, please.

@guoxianzhe
Copy link
Contributor

@Khoa69 can you tell me react-native verion that you used?

@Khoa69
Copy link
Author

Khoa69 commented Oct 23, 2024

@guoxianzhe, react-native version: 0.64.4

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

2 participants