[Live-devel] RTSP/RTP Proxy
Shaswata Jash
shaswata at alumnux.com
Mon Sep 25 09:21:21 PDT 2006
Hi Claudio,
Essentially the Proxy has two sides, one side which directly communicates
with the clients and other side communicates with the real RTSP/RTP server.
So for the side which is handling the clients' RTSP request, it must act as
testOnDemandRTSPServer. So you have to probably change the code within
RTSPServer class. Just check those functions which handles DESCRIBE, SETUP,
PLAY etc. In these functions, now you have to first parse the client's RTSP
request and then further you need to forward the request to a real RTSP
Server modifying some of the parameters according to your requirement. So
you have to use implementation of openRTSP here. After getting the response
back, the proxy will further reply back to the original requesting clients.
It should be noted that multiple instance of openRTSP will be created.
Now about forwarding the RTP packets - here each of those openRTSP client
must open proper RTPSource. For your requirement, you can think of modifying
the SimpleRTPSource.
The above is absolutely my own understanding. It may not be very
appropriate. It will be better if Ross makes further clarification.
With regards,
Shaswata Jash
----- Original Message -----
From: "Cavalera Claudio" <Claudio.Cavalera at siemens.com>
To: "LIVE555 Streaming Media - development & use"
<live-devel at ns.live555.com>
Sent: Monday, September 25, 2006 12:51 PM
Subject: [Live-devel] RTSP/RTP Proxy
> Hello,
> I would like to build an RTSP/RTP Proxy using liveMedia.
>
> Concerning RTSP, I think that the proxy could forward RTSP commands with
> minor adjustments (IP Addresses, UDP Ports, Content-Length in DESCRIBE
> response).
> Concerning RTP, I think that the proxy could just forward UDP packets to
> the right ports without knowing that they are RTP.
>
> I've searched ML archives and found this message:
> http://lists.live555.com/pipermail/live-devel/2005-April/002359.html
>
> Could the proxy be a sort of merge of openRTSP and
> testOnDemandRTSPServer?
>
> Thanks for any advice,
> Claudio
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
More information about the live-devel
mailing list