Sfoglia il codice sorgente

#IQRV #comment [Module] 更改 SurveillanceRecorder 的WARNING告警的High等级为Middle等级

gifur 4 anni fa
parent
commit
74711bac9c
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      Module/mod_SurveillanceRecorder/ews_capture.cpp

+ 0 - 3
Module/mod_SurveillanceRecorder/ews_capture.cpp

@@ -179,8 +179,6 @@ static int ews_audio_capture_start(ews_audio_capture_t *audio_cap)
 	int nId = ews_capture_get_audio_device_id(true, cap->config.strAudioIn);
 	if (nId == -1) 
 	{
-		//需要立即处理的告警使用Severity_High
-		//LogWarn(Severity_High,Error_DevMedia,ERROR_MOD_MEDIACONTROLLER_HANDFREEIN_INITFAIL,"handfree in device config error,please check");
 		return Error_AudioIN;
 	}
 	int in_dev_id = translate_id(TRUE, nId);
@@ -586,7 +584,6 @@ ErrorCodeEnum ews_capture_start( ews_capture_t *cap )
 			if (rslt == Error_AudioIN)
 			{
 				Dbg("start audio In object failed! rc:%d", rc);
-				//LogWarn(Severity_High,Error_NotInit,ERROR_MOD_MEDIACONTROLLER_HANDFREE_OPENFAIL,"open audio device fail,please check device");	
 			}
 			return rslt;
 		}