[Live-devel] is it work?

谢永达 xieyongda at gmail.com
Thu Jun 13 20:03:48 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130614/a20c218b/attachment.html>


More information about the live-devel mailing list