AgoraIO-Extensions / react-native-agora

React Native around the Agora RTC SDKs for Android and iOS agora
https://www.agora.io
MIT License
625 stars 227 forks source link

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

Open Khoa69 opened 5 days ago

Khoa69 commented 5 days ago

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 commented 5 days ago

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

Khoa69 commented 5 days ago

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

guoxianzhe commented 5 days ago

@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 commented 5 days ago

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

guoxianzhe commented 5 days ago

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

Khoa69 commented 5 days ago

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

guoxianzhe commented 5 days ago

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

Khoa69 commented 5 days ago

@guoxianzhe, react-native version: 0.64.4