[Live-devel] Race condition bug fix

Ross Finlayson finlayson at live555.com
Fri Sep 14 07:49:26 PDT 2007


First, there is non't really a "race condition" going on here, 
because our server code is single-threaded.

Also, you are using an old version of the "LIVE555 Streaming Media" 
code.  You will need to upgrade to the latest version of the code. 
(No support is given for old versions of the code.)

Also, your trace shows that you have modified the server code 
(because the "PLAY" responses include a header "Range: npt=now-", 
which our server code does not generate.  In general, we don't 
support the code once it has been modified.

But anyway, your real problem simply seems to be that you have given 
your client incorrect "rtsp://" URLs.  You should not include the 
"/trackID=1".  Instead, just use
	rtsp://192.168.50.163:554/mpeg1
and
	rtsp://192.168.50.163:554/mpeg2
You are getting away with this with "DESCRIBE", "SETUP" and "PLAY" 
(although for "PLAY" I'm not sure how), but you are finally tripping 
up when you get to "TEARDOWN".

 From what I can tell, the problem has nothing to do with 'two 
requests coming in one after the other'.

Try again, using the latest (unmodified) version of the code, and 
giving your client a correct "rtsp://" URL.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list