private void ErrorReport(string label, SotErrorType errType)
{
NLogEx.LoggerEx logEx = new NLogEx.LoggerEx(log);
logEx.Trace("ErrorReport label={0}, errType={1}.", label, errType);
if (errType == SotErrorType.InitStackErr)
{
// to do
logEx.Error("ErrorReport InitStackErr.");
}
else if (errType == SotErrorType.RtpSessionCreateErr)
{
this.monitorChannelManager.DisableChannel(label);
logEx.Error("ErrorReport create rtp session error, label={0}.", label);
}
else
{
}
}