<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] Question Concerning OnExpire in
rtcp_from</title></head><body>
<blockquote type="cite" cite><font face="Arial" size="-1">I am having
some difficultly understanding why a timeout of a transmission of a
RTCP BYE packet in the OnExpire function of rtcp_from_spec.c
necessitates an exit() call? Is this condition truly a fatal
error for the RTSP server?</font></blockquote>
<div><br></div>
<div>The code in "rtcp_from_spec.c" is (deliberately) an
exact, unaltered copy of the RTCP timing code that's in the RTP/RTCP
specification: RFC 3550. That's why the call to "exit(1)"
is there - it's in the RFC 3550 pseudocode.</div>
<div><br></div>
<div>You're right, though - we really shouldn't be exiting here.
A solution - which will be in the next release of the code - is to
just redefine "exit()" as a noop in the header file
("rtcp_from_spec.h").</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>