OK, I see what you're saying now.  Yes, you're correct: There is a problem if 
the RTCP "BYE" handler  - called from within 
"RTCPInstance::incomingReportHandler1()" - happens to delete the "RTCPInstance" 
object, because we'll continue to execute the rest of the 
"incomingReportHandler1()" member function afterwards.

Because having the "BYE" handler routine delete the "RTCPInstance" object is 
something that will typically happen (e.g., it happens in both "openRTSP" and 
in your application), this is a bug in the LIVE555 code.  The fix will be to 
delay the call to the "BYE" handler routine until the very end of the 
"incomingReportHandler1()" member function.

Very shortly, I'll be releasing a new version of the LIVE555 code that fixes 
this.

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

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to