<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: [Live-devel] Multicast session question</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<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.2900.3268" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=135230005-02122008><FONT face=Arial color=#0000ff size=2>Thank
Ross.<EM> </EM></FONT></SPAN></DIV>
<DIV><SPAN class=135230005-02122008><EM><FONT face=Arial color=#0000ff
size=2></FONT></EM></SPAN> </DIV>
<DIV><SPAN class=135230005-02122008><FONT face=Arial color=#0000ff size=2>I was
thinking the same way but got problem with the "describe". When calling
sdpLine() no parameter is being passed ,which make it very difficult for
distiguishing between different clients.</FONT></SPAN></DIV>
<DIV><SPAN class=135230005-02122008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=135230005-02122008><FONT face=Arial color=#0000ff size=2>I'm
using multicast sessions which may cause some clients not to send
"setup". </FONT> </SPAN></DIV>
<DIV><SPAN class=135230005-02122008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=135230005-02122008><FONT face=Arial color=#0000ff size=2>any
idea?</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P dir=ltr><SPAN lang=en-us><FONT face=Arial
size=2>Regards,</FONT></SPAN></P><BR>
<P dir=ltr><SPAN lang=en-us><FONT face=Arial size=2>Amit
Yedidia</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-us><FONT face=Arial size=2>Elbit System
Ltd.</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-us><FONT face=Arial size=2>Email:
amit.yedidia@elbitsystems.com</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-us><FONT face=Arial size=2>Tel:
972-4-8318905</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-us><FONT face=Arial
size=2>----------------------------------------------------------</FONT></SPAN></P>
<P dir=ltr><SPAN lang=en-us></SPAN><SPAN lang=he></SPAN></P>
<DIV> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> live-devel-bounces@ns.live555.com
[mailto:live-devel-bounces@ns.live555.com] <B>On Behalf Of </B>Ross
Finlayson<BR><B>Sent:</B> Tuesday, December 02, 2008 2:40 AM<BR><B>To:</B>
LIVE555 Streaming Media - development & use<BR><B>Subject:</B> Re:
[Live-devel] Multicast session question<BR></FONT><BR></DIV>
<DIV></DIV>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>Following my
previous questions I want to create a situation where one source is sent to
two different multicast address.</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>For that I am using
passiveMediaSubsession where I add both destination to the
sink.</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>I want to generate
2 sessions that whoever asks "describe" for the first will receive in the
sdp the first multicast address,</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>and whoever asks
"describe" for the second session will receive in the sdp the second
multicast address.</FONT></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>It sounds like you need your own "ServerMediaSubsession" subclass,
similar to (but different from) "PassiveServerMediaSubsession".</DIV>
<DIV><BR></DIV>
<DIV>In particular, you will need to write your own implementation of the
"getStreamParameters()" virtual function. Each call to this function can
result in a different multicast address being used (if that's what you
want). You can also use the "clientSessionId" parameter to distinguish
between clients, so that your other virtual functions can know which client
was given which multicast address.</DIV><X-SIGSEP><PRE>--
</PRE></X-SIGSEP>
<DIV><BR>Ross Finlayson<BR>Live Networks,
Inc.<BR>http://www.live555.com/</DIV></BLOCKQUOTE>
<DIV><STRONG><FONT color=#000080 size=2></FONT></STRONG> </DIV>
<DIV align=left><STRONG><FONT face=Arial color=#000080 size=2>The information in
this e-mail transmission contains proprietary and business <BR>sensitive
information. Unauthorized interception of this e-mail may constitute <BR>a
violation of law. If you are not the intended recipient, you are hereby
<BR>notified that any review, dissemination, distribution or duplication of this
<BR>communication is strictly prohibited. You are also asked to contact the
sender <BR>by reply email and immediately destroy all copies of the original
message.<BR></FONT></STRONG></DIV>
</BODY></HTML>