[Live-devel] a single application with RTSP client and server

srimugunthan dhandapani srimugunthan.dhandapani at gmail.com
Thu Aug 22 02:23:39 PDT 2013


Hi,
I want to develop a application that receives multiple streams from
 cameras and
transcode it and re-export the transcoded streams to to different URLs .

The transcode operation happens asynchronously. So the client and server
run in different threads
Before starting the RTSP client and server i need to initialise my
transcoder.


I think i will just make it work for single stream first by combining code
from testRTSPClient.cpp and testOnDemandRTSPServer.cpp.

The rough skeleton for what i need to accomplish is below:

main()
{
InitialiseTxcoder();
startRTSPClient(URL1,URL2....);
startRTSPServer();

}

RTSPClient
{
afterGettingFrame()
{
InputTranscode(channelNum,fReceiveBuffer);

}
}

RTSPServer
{

 ReceiveSingleTranscodedFrame(&TxFrame, &channelNUM)
 ExportStream(TxFrame, channelNum)

}

1. How do i run the Client and server as different threads from one single
application?
2. Are there any example programs for this?

Thanks in advance for the help,
mugunthan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130822/6425c39f/attachment.html>


More information about the live-devel mailing list