<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19328"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana>Thanks for your reply.</FONT></DIV>
<DIV>Your have replied :</DIV>
<DIV><FONT size=1>That's true, but irrelevant to "kingaceck"s question. He
was asking how to write a RTSP proxy that relays from a (unicast or multicast)
'back-end' RTSP stream to a multicast 'front-end' RTSP stream. This
front-end RTSP stream would be accessed via unicast (because RTSP is a TCP-based
protocol), but the stream itself would be multicast. (Note, for example,
that our "test*Streamer" demo applications also send multicast streams that can
be (and in some cases, must be) accessed via RTSP.)<BR><BR>In contrast, our
"LIVE555 Proxy Server" relays from a (unicast or multicast) 'back-end' RTSP
stream to a (actually, one or more) *unicast* 'front-end' streams.<BR><BR>The
"Subject:" line of this thread is wrong, because neither the "LIVE555 Proxy
Server" (nor the "ProxyServerMediaSession" class in particular) can be
'modified' to get what "kingaceck" wants. They're just too
different. Instead, he would need to write his own
"PassiveServerMediaSubsession" subclass, combined with a "ServerMediaSession"
(subclass), and a "RTSPServer" (as illustrated by the "test*Streamer" demo
applications). These would implement the multicast 'front-end'
stream. He would then need to use a "RTSPClient" (perhaps a "RTSPClient"
subclass) to implement the reception of the 'back-end' stream.<BR><BR>However,
this is sufficiently complicated that I'm certainly not going to "show (him) the
details step by step" as he requested (especially since he uses an
unprofessional email address). He's going to have to work out the (many)
details himself.<BR><BR></FONT><BR>Now I want to modify
ProxyServerMediaSubsession to <STRONG>inherit</STRONG>
PassiveServerMediaSubsession(not OnDemandServerMediaSubsession ). Using
createNewRTPSink to create a "sink" before "doEventLoop ".Is it p<SPAN space
rightZone="0|6" leftZone="0|6">robably to support multicast using this
way?</SPAN></DIV>
<DIV><SPAN space rightZone="0|6" leftZone="0|6"></SPAN> </DIV>
<DIV><SPAN space rightZone="0|6" leftZone="0|6">Thank you very
much!</SPAN></DIV>
<DIV><SPAN space rightZone="0|6" leftZone="0|6"></SPAN> </DIV>
<DIV><SPAN space rightZone="0|6" leftZone="0|6"></SPAN> </DIV>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana>2012-10-10 </FONT></DIV><FONT
size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>kingaceck</SPAN>
</FONT></DIV></FONT></BODY></HTML>