<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 28-04-15 20:37, Ross Finlayson wrote:<br>
    <blockquote
      cite="mid:DD613605-B2C3-4275-99B7-3A2E79093666@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="">I am new to
              the live555 library and have some questions. I want to
              make a proxy server which receives incoming RTSP message
              from network interface A and route them to network
              interface B after modifying the RTSP URL.<br class="">
            </div>
          </div>
        </blockquote>
        <div><br class="">
        </div>
        <div>I’m not 100% sure that I understand your question, but I
          assume that you want to do this:</div>
        <div><br class="">
        </div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>‘back-end’
          RTSP server  <—network A—  proxy server <—network B—
          ‘front-end’ client(s)</div>
        <div><br class="">
        </div>
        <div>You may be able to use the existing proxy server (without
          modification) for this, provided that:</div>
        <div>1/ Your ‘back-end’ RTSP server is naturally accessible via
          network interface A.  I.e., if you were to try to contact the
          ‘back-end’ RTSP server from the proxy server using the
          'back-end' server’s IP address and port, this would use
          network interface A, and</div>
        <div>2/ Your proxy server is naturally accessible via network
          interface B.  I.e., if ‘front-end’ client(s) were to try to
          contact the proxy server using the proxy server’s IP address
          and port, then this would use network interface B.</div>
        <div><br class="">
        </div>
        <div>You should be able to get this to work just by configuring
          your (i.e., the proxy server host’s) routing tables
          appropriately.</div>
      </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>
    </blockquote>
    Hi Ross,<br>
    <br>
    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. There is a little
    more functionallity which make it necessary to build my own proxy
    server, but this is not important here.<br>
    <br>
    So my main questions remain:<br>
    <br>
    - In which way can I receive the RTSP messages?<br>
    - Which classes do I have to use?<br>
    - Can I install a callback method when RTSP messages are received?<br>
    - Which test programs can I use to test this locally?<br>
    <br>
    Thanks in advance.<br>
    <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>