|
@@ -343,11 +343,9 @@ public class AVEngineKitModule extends UniModule implements ComponentObserver, O
|
|
|
Toast.makeText(mUniSDKInstance.getContext(), "当前设备不支持屏幕共享", Toast.LENGTH_SHORT).show();
|
|
|
return;
|
|
|
}
|
|
|
+
|
|
|
if (callSession.isAudience()) {
|
|
|
- callSession.muteVideo(false);
|
|
|
callSession.switchAudience(false);
|
|
|
- } else if (AVEngineKit.SCREEN_SHARING_REPLACE_MODE) {
|
|
|
- callSession.muteVideo(false);
|
|
|
}
|
|
|
MediaProjectionManager mediaProjectionManager = (MediaProjectionManager) uniSDKInstance.getContext().getApplicationContext().getSystemService(Context.MEDIA_PROJECTION_SERVICE);
|
|
|
Activity activity = (Activity) mUniSDKInstance.getContext();
|