public void OnDeviceChange(string deviceId, TRTCDeviceType type, TRTCDeviceState state) { if (type == TRTCDeviceType.TRTCDeviceTypeCamera) { RefreshCameraDeviceList(); } }
public void OnDeviceChange(string deviceId, TRTCDeviceType type, TRTCDeviceState state) { if (type == TRTCDeviceType.TXMediaDeviceTypeMic) { RefreshMicDeviceList(); } else if (type == TRTCDeviceType.TXMediaDeviceTypeSpeaker) { RefreshSpeakerList(); } }
public void onDeviceChange(string deviceId, TRTCDeviceType type, TRTCDeviceState state) { }
public void onDeviceChange(string deviceId, TRTCDeviceType type, TRTCDeviceState state) { Log.I($"onDeviceChange {deviceId} {type.ToString()} {state.ToString()}"); }