<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 29-04-15 09:40, Ross Finlayson wrote:<br>
    <blockquote
      cite="mid:54DB28BF-B32A-450E-844A-BE20F8586B7B@live555.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div>
        <blockquote type="cite" class="">
          <div class="">
            <div bgcolor="#FFFFFF" text="#000000" class="">Thank you for
              your answer. I think I have to tell something more about
              the application I have to make. It is not only just a
              simple proxy server, but it has also to deal with unicast
              streams from network A which has to be forwarded as
              unicast or multicast streams at network B. Or multicast
              streams from network A which has to be forwarded as
              unicast or multicast streams at network B. So I really
              have to modify the RTSP URLs in my proxy server.</div>
          </div>
        </blockquote>
        <div><br class="">
        </div>
        Our proxy server already ‘modifies URLs’.  Or more precisely, it
        acts as a RTSP server of its own, and therefore provides its own
        RTSP URLs to ‘front-end’ clients.  These differ from the URLs
        that the proxy server uses to access the ‘back-end’ streams.</div>
      <div><br class="">
      </div>
      <div>I suggest that you begin by familiarizing yourself with the
        existing “LIVE555 Proxy Server” application, described in</div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span><a
          moz-do-not-send="true"
          href="http://www.live555.com/proxyServer/" class="">http://www.live555.com/proxyServer/</a></div>
      <div><br class="">
      </div>
      <div>This appears to already do most of what you want.  Note, in
        particular, that the proxy server’s ‘back end’ streams (i.e.,
        the streams that it receives) can be either unicast or
        multicast.  (Note, however, that the proxy server’s ‘front-end’
        streams are unicast only, which is not quite what you want; you
        noted that you want the front-end streams to be either unicast
        or multicast.  It would be possible to modify the code to
        support this, and I could assist you with this - but some of
        this assistance would likely be beyond what I can provide ‘for
        free’ on this mailing list.)</div>
      <div><br class="">
      </div>
      <div>In any case, I suggest that you first familiarize yourself
        with the existing “LIVE555 Proxy Server”.</div>
      <br class="">
      <br class="">
      <div apple-content-edited="true" class="">
        <span class="Apple-style-span" style="border-collapse: separate;
          color: rgb(0, 0, 0); font-family: Helvetica; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; orphans: 2;
          text-align: -webkit-auto; text-indent: 0px; text-transform:
          none; white-space: normal; widows: 2; word-spacing: 0px;
          -webkit-border-horizontal-spacing: 0px;
          -webkit-border-vertical-spacing: 0px;
          -webkit-text-decorations-in-effect: none;
          -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
          0px; "><span class="Apple-style-span" style="border-collapse:
            separate; color: rgb(0, 0, 0); font-family: Helvetica;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height: normal;
            orphans: 2; text-align: -webkit-auto; text-indent: 0px;
            text-transform: none; white-space: normal; widows: 2;
            word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
            -webkit-border-vertical-spacing: 0px;
            -webkit-text-decorations-in-effect: none;
            -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
            0px; ">Ross Finlayson<br class="">
            Live Networks, Inc.<br class="">
            <a moz-do-not-send="true" href="http://www.live555.com/"
              class="">http://www.live555.com/</a></span></span>
      </div>
      <br class="">
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
live-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a>
<a class="moz-txt-link-freetext" href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a>
</pre>
    </blockquote>
    <br>
    Hi Ross,<br>
    <br>
    Thank you for your patience and quick response. I will have a closer
    look at the proxy server code. However, this program (and others,
    like the testOnDemandRTSPServer) are creating ServerMediaSessions at
    startup. In my case I do not know which streams will be used at
    startup. I will receive a clients request (from network A) at
    runtime and than have to setup the connection. Furthermore, when
    nobody is interested anymore in the (unicast) stream, I have to
    close it to save bandwidth (at network B). Could you point me a
    little more in the correct direction? Do I have to make my own
    RTSPServer object (derived from the original)?<br>
    <br>
    Thanks in advace.<br>
    <div class="moz-signature">-- <br>
      <div itacorner="6,7:1,1,0,0" tabindex="1" style="direction: ltr;
        min-height: 380px;" role="textbox" g_editable="true" id=":fg"
        class="Am Al editable LW-avf" hidefocus="true"
        aria-label="Message Body" contenteditable="true"><br clear="all">
        <div>
          <div class="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <div dir="ltr">
                            <div><font color="#444444" face="arial,
                                sans-serif">Met vriendelijke groeten /
                                With kind regards,<br>
                                <br>
                              </font></div>
                            <div><font color="#444444" face="arial,
                                sans-serif"><b>Frank van Eijkelenburg</b> 
                                Lead Designer</font></div>
                            <div><font face="arial, sans-serif"><br>
                              </font></div>
                            <div><span
style="font-family:arial,sans-serif;line-height:1.5;background-color:transparent"><b><font
                                    color="#999999">T</font></b> <font
                                  color="#444444">+31(0)182594000</font>
                                <font color="#ffd966">|</font> <font
                                  color="#999999"><b>E</b></font> <font
                                  color="#444444"><a class="moz-txt-link-abbreviated" href="mailto:frank.van.eijkelenburg@technolution.nl">frank.van.eijkelenburg@technolution.nl</a></font></span></div>
                            <div><b
style="font-family:arial,sans-serif;line-height:1.5;background-color:transparent"><font
                                  color="#999999">A</font></b><span
style="font-family:arial,sans-serif;line-height:1.5;background-color:transparent">
                                <font color="#444444">Burgemeester
                                  Jamessingel 1, P.O. Box 2013, 2800 BD
                                  Gouda, The Netherlands</font> <font
                                  color="#ffd966">|</font> </span><font
style="font-family:arial,sans-serif;line-height:1.5;background-color:transparent"
                                color="#999999"><b>W</b></font><span
style="font-family:arial,sans-serif;line-height:1.5;background-color:transparent">
                                <font color="#444444">technolution.com</font></span></div>
                            <div><font face="arial, sans-serif"><br>
                              </font></div>
                            <div><font color="#444444" face="arial,
                                sans-serif" size="1">This e-mail is
                                intended exclusively for the
                                addressee(s), and may not be
                                passed on to, or made available for use
                                by any person other than the
                                addressee(s). Technolution B.V. rules
                                out any and every liability
                                resulting from any electronic
                                transmission.</font></div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>