GetInputDeviceInformation
Namespace: SynicSugar.RTC
public static List<AudioInputDeviceInfo> GetInputDeviceInformation()
Description
Get Device List to input vc.
AudioInputDeviceInfo
using System.Collections.Generic;
using SynicSugar.RTC;
using UnityEngine;
public class MicSetting : MonoBehaviour {
public void Start(){
List<AudioInputDeviceInfo> inputs = RTCConfig.GetInputDeviceInformation();
List<AudioOutputDeviceInfo> outputs = RTCConfig.GetOutputDeviceInformation();
Debug.Log(inputs[0].DeviceName);
}
}