示例#1
0
 /// <summary>
 /// Unity start.
 /// </summary>
 private void Start()
 {
     //to trigger android permission requests
     StartCoroutine(ExampleGlobals.RequestPermissions());
     //use video and audio by default (the UI is toggled on by default as well it will change on click )
     config.Video           = true;
     config.Audio           = true;
     config.VideoDeviceName = UnityCallFactory.Instance.GetDefaultVideoDevice();
 }