On 28-04-15 20:37, Ross Finlayson wrote:
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.
I’m not 100% sure that I understand your question, but I assume that
you want to do this:
‘back-end’ RTSP server <—network A— proxy server <—network B—
‘front-end’ client(s)
You may be able to use the existing proxy server (without
modification) for this, provided that:
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
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.
You should be able to get this to work just by configuring your (i.e.,
the proxy server host’s) routing tables appropriately.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
Hi Ross,
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.
So my main questions remain:
- In which way can I receive the RTSP messages?
- Which classes do I have to use?
- Can I install a callback method when RTSP messages are received?
- Which test programs can I use to test this locally?
Thanks in advance.
--
Met vriendelijke groeten / With kind regards,
*Frank van Eijkelenburg* Lead Designer
*T* +31(0)182594000 | *E* frank.van.eijkelenb...@technolution.nl
*A*Burgemeester Jamessingel 1, P.O. Box 2013, 2800 BD Gouda, The
Netherlands | *W*technolution.com
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.
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel