private ESDK_RTP_SetIsNeedAudioFrame ( bool bIsNeedAudioFrame, uint uiChannel ) : int | ||
bIsNeedAudioFrame | bool | |
uiChannel | uint | |
return | int |
/// <summary> /// 设置音频数据 /// </summary> /// <param name="bIsNeedAudioFrame"></param> /// <param name="uiChannel"></param> public void ESDK_RTP_SetIsNeedAudioFrame(bool bIsNeedAudioFrame, uint uiChannel) { NLogEx.LoggerEx logEx = new NLogEx.LoggerEx(log); logEx.Trace("Enter: RtpAdapter.ESDK_RTP_SetIsNeedAudioFrame()."); try { int iRet = SdkRtpInterface.ESDK_RTP_SetIsNeedAudioFrame(bIsNeedAudioFrame, uiChannel); if (iRet != 0) { logEx.Error("RtpAdapter.ESDK_RTP_SetIsNeedAudioFrame ,error:{0}", iRet); } } catch (System.Exception ex) { logEx.Error("RtpAdapter.ESDK_RTP_SetIsNeedAudioFrame ,Exception:{0}", ex.ToString()); } }