<!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] RTCP "BYE"
command</title></head><body>
<blockquote type="cite" cite><font size="-2">Hi ,</font></blockquote>
<blockquote type="cite" cite><font size="-2">Thanks for your support
!</font></blockquote>
<blockquote type="cite" cite><font size="-2">In your letter you
mentioned that Servers usually use the RTCP "BYE" command -
which we support - to inform the client of the end of the
stream.</font></blockquote>
<blockquote type="cite" cite><font size="-2">Dose Darwin Server
support it ?</font></blockquote>
<div><br></div>
<div>I don't know; you'll have to ask them. (This mailing list
is not for the "Darwin Streaming Server" - that's Apple's
software, not ours.)</div>
<div><br></div>
<div>However, *our* RTSP server implementation (e.g, as used in
the "LIVE555 Media Server") *does* send RTCP "BYE"
packets when the stream ends, but only for media types for which
'seeking' is not supported. (For those media types, the server
keeps the session open after the stream ends, in case the client wants
to replay it from an earlier time.)</div>
<div><br></div>
<blockquote type="cite" cite><font
size="-2"> </font></blockquote>
<blockquote type="cite" cite><font size="-2">In the openRTSP program,
it set
subsession->rtcpInstance()->setByeHandler(subsessionByeHandler ,
subsession) , so at the end of stream , program will close down
session and exit immediately . But, in fact it does not do it
!</font></blockquote>
<div><br></div>
<div>This code works correctly, *if* the server sends a RTCP
"BYE" packet. You can test this by running
"openRTSP" with the "-V" option (to specify
verbose output).</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>