<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Sorry for the
delay, I'm only working 2 days/week on this project
now....<BR><BR>><BR>>> Whenever I set my client to connect
to my server using TCP ( <BR>>> rtsp->setupMediaSubsession( *sub,
False, d->useTCP ); ), if the client is <BR>>> killed or closed on the
X button from Windows, the server starts using <BR>>> all avaliable CPU
and becames mostly unresponsive....<BR>><BR>> Can you reproduce this with
the supplied RTSP server <BR>> ("testOnDemandRTSPServer") and RTSP client
("openRTSP -t") applications? <BR>> I wasn't able to.<BR><BR>Yes, I was able
to reproduce with current ( 07.12.2004 ) version.<BR>Just compiled the two, and
used <BR>rtsp://192.168.0.2:7070/mpeg1or2AudioVideoTest on openRTSP -t<BR>Then I
used the Task Manager to kill openRTSP process and testOnDemandRTSP <BR>process
is now consuming 98-99% of the CPU at all
times.<BR><BR>>> I'm guessing it could be related to the
abbrupt disconnection ( recv() <BR>>> would return 0 ). Where does LIVE
handle abbrupt disconnection of TCP <BR>>> sockets? Can't seam to find it
:(<BR>><BR>> The code that handles reading of RTP (or RTCP) data over TCP
is <BR>> "RTPInterface::handleRead()" (in
"liveMedia/RTPInterface.cpp").<BR>><BR><BR>Thanks, I'm trying to figure out
how should I disconnect someone now :)<BR>There is something strange that I
found already: RTPOverTCP_OK is set but <BR>never tested.<BR>Whatever value it
holds is never used thru all of the Live code ( did a <BR>quick grep for it.
)<BR><BR>Thanks in advance,<BR> Thiago A.
Corrêa</FONT><BR><BR></FONT></DIV></BODY></HTML>