<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: [Live-devel] RTSPClient::fBaseURL and RTSPClient::sess</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE type=text/css>BLOCKQUOTE {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
DL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
UL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
OL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
LI {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
</STYLE>
<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Ross,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Using separate RTSPClient objects - that's exacty
I'm going to do. Ok, seems I have found a solution: RTSPClient class
is derived from Medium class and there is Medium::name() available which returns
unique value.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have another question. Do I need to delete
RTSPClient objects myself (as well as UsageEnvironment and TaskScheduler)? The
openRTSP application does not show how </FONT><FONT face=Arial
size=2>to do this properly. The best way would be deleting them in
after-"TEARDOWN" handler. But the problem is that this handler might be called
from RTSPClient object, thus this is not a good option.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Kind regard,</FONT></DIV>
<DIV><FONT face=Arial size=2>Dmitriy</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=finlayson@live555.com href="mailto:finlayson@live555.com">Ross
Finlayson</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=live-devel@ns.live555.com
href="mailto:live-devel@ns.live555.com">LIVE555 Streaming Media - development
& use</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, December 02, 2010 1:38
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Live-devel]
RTSPClient::fBaseURL and RTSPClient::sessionURL()</DIV>
<DIV><BR></DIV>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>I'm trying to write
RTSP client which will be able to read from multiple URLs
simultaneously using the single event loop.</FONT></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Note that a single "RTSPClient" object is used for controlling *one*
stream (i.e., one "rtsp://" URL) only. Your RTSP client *application*
can, of course, open and play multiple RTSP streams concurrently (using a
single event loop), but to do so, you will need to create a separate
"RTSPClient" object for each.</DIV><X-SIGSEP><PRE>--
</PRE></X-SIGSEP>
<DIV><BR>Ross Finlayson<BR>Live Networks,
Inc.<BR>http://www.live555.com/</DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>live-devel mailing
list<BR>live-devel@lists.live555.com<BR>http://lists.live555.com/mailman/listinfo/live-devel<BR></BLOCKQUOTE></BODY></HTML>