Пример #1
0
 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();
     }
 }
Пример #3
0
 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()}");
 }