|
@@ -373,6 +373,15 @@ public class AVEngineKitModule extends UniModule implements ComponentObserver, O
|
|
|
return JSONObject.toJSONString(JSCallSession.fromCallSession(callSession), ClientUniAppHookProxy.serializeConfig);
|
|
|
}
|
|
|
|
|
|
+ @UniJSMethod(uiThread = false)
|
|
|
+ public boolean isScreenSharing() {
|
|
|
+ AVEngineKit.CallSession callSession = AVEngineKit.Instance().getCurrentSession();
|
|
|
+ if (callSession == null) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ return callSession.isScreenSharing();
|
|
|
+ }
|
|
|
+
|
|
|
@UniJSMethod(uiThread = false)
|
|
|
public boolean canSwitchAudience(String callId) {
|
|
|
if (AVEngineKit.isSupportConference()) {
|