[Live-devel] Q:connection time
Ross Finlayson
finlayson at live555.com
Mon Dec 3 14:43:45 PST 2007
> What do you think it takes about 1 sec to execute these line ?
>
>In playCommon.cpp
[...]
> char* optionsResponse = getOptionsResponse(ourClient, url);
[...]
> char* sdpDescription = getSDPDescriptionFromURL(ourClient,
>url, username, password, proxyServerName,
>proxyServerPortNum,desiredPortNum);
[...]
> setupStreams();
These statements each involve round-trip communication with the
server, to send the RTSP "OPTIONS", "DESCRIBE", and "SETUP" commands,
respectively, and get back a response.
Almost all of the elapsed time for these commands comes from the
communication with the server.
>Please tell me why it does take so long.
>
>And if there is a way to reduce time, please give me an advice.
Yes, communicate with a faster, more responsive server :-)
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20071203/66a869ea/attachment.html
More information about the live-devel
mailing list