|
@@ -1,3 +1,4 @@
|
|
|
+using Agora.Util;
|
|
|
using LitJson;
|
|
|
using ShadowStudio.UI;
|
|
|
using System;
|
|
@@ -28,6 +29,8 @@ public class RemoteRtc : SCRtcManager
|
|
|
void Start()
|
|
|
{
|
|
|
|
|
|
+ PermissionHelper.RequestMicrophontPermission();
|
|
|
+ PermissionHelper.RequestCameraPermission();
|
|
|
if (DeviceType.type == "DreamGlass")
|
|
|
{
|
|
|
CustomInfo.mWidth = 640;
|
|
@@ -37,7 +40,7 @@ public class RemoteRtc : SCRtcManager
|
|
|
DontDestroyOnLoad(this.gameObject);
|
|
|
Instance = this;
|
|
|
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
|
|
|
public void InitCamera()
|