private void SendRtcpCallback(IAsyncResult ar)
{
try
{
_controlSocket.EndSend(ar);
}
catch (Exception excp)
{
if (!_closed)
{
logger.Error("Exception RTSPSession.SendRtcpCallback attempting to send to " + _rtcpRemoteEndPoint + ". " + excp);
//if (OnRTPSocketDisconnected != null)
//{
// OnRTPSocketDisconnected(_sessionID);
//}
}
}
}