[Live-devel] How to program a server by using a rstp address

Warren Young warren at etr-usa.com
Thu Jul 26 22:39:51 PDT 2012


On 7/26/2012 12:57 AM, sofia Mora wrote:
>
> I have been studying testOnDemandRTSPServer code and I want to do
> streaming by taking input from a live source by using a rtsp address.

It sounds like you're trying to reinvent the Live555 proxy server:

	http://www.live555.com/proxyServer/

> have read that I have to modify OnDemandServerMediaSubsession and
> createNewStreamSource() and createNewRTPSink() functions. I don't know
> how to do this.

If it turns out that you really do need to create a custom server, 
because the proxy server doesn't do what you want, I'd suggest grepping 
the examples' source tree for these functions and seeing how they 
implement these methods.


More information about the live-devel mailing list