I add a public member function fro RTSPClient, so that I can create the
connection outside and setup TCP socket for it;

void RTSPClient::setSocketNum(int ioSocket)
{
    resetTCPSockets();

    fInputSocketNum=fOutputSocketNum=ioSocket;
    if(ioSocket>=0){
        envir().taskScheduler().setBackgroundHandling(fInputSocketNum,
SOCKET_READABLE|SOCKET_EXCEPTION,
            (TaskScheduler::BackgroundHandlerProc*)&incomingDataHandler,
this);
    }
}


-- 
by:crazyevent
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to