[Live-devel] OpenRTSP
Subbu
subbu at etisbew.com
Wed Apr 26 06:48:01 PDT 2006
Dear Ross,
Here is my close details I found from my observation:
Reference: -
----------
void BasicTaskScheduler::SingleStep(unsigned maxDelayTime)
Code Snip:-
----------
if (selectResult < 0) {
#if defined(__WIN32__) || defined(_WIN32)
int err = WSAGetLastError();
// For some unknown reason, select() in Windoze sometimes fails with
WSAEINVAL if
// it was called with no entries set in "readSet". If this happens,
ignore it:
if (err == WSAEINVAL && readSet.fd_count == 0) {
err = 0;
// To stop this from happening again, create a dummy readable socket:
int dummySocketNum = socket(AF_INET, SOCK_DGRAM, 0);
FD_SET((unsigned)dummySocketNum, &fReadSet);
}
if (err != 0) {
#else
if (errno != EINTR && errno != EAGAIN) {
#endif
// Unexpected error - treat this as fatal:
#if !defined(_WIN32_WCE)
perror("BasicTaskScheduler::SingleStep(): select() fails");
#endif
exit(0);
}
}
Console Output:-
----------------
selectResult 1
selectResult 1
selectResult 1
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult 0
selectResult -1
err 10038
BasicTaskScheduler::SingleStep(): select() fails: Unknown error
[ I am using windows, then I am not sure how it is falling into "_WIN32_WCE"
block.]
Please suggest how can we stop this exit call.
Thank you.
Regards,
Subbu
----- Original Message -----
From: "Ross Finlayson" <finlayson at live555.com>
To: "LIVE555 Streaming Media - development & use"
<live-devel at ns.live555.com>
Sent: Wednesday, April 26, 2006 12:03 AM
Subject: Re: [Live-devel] OpenRTSP
>
> >I am able to use openRTSP to save RTSP stream to QuickTime mov file. But
> >immideately after saving the file, I am getting an exception.
>
> Does this happen with the original, unmodified source code? (If you
> have modified the code, then I won't be able to help you.)
>
> What is the complete set of parameters that are you giving "openRTSP"?
>
>
> Ross Finlayson
> Live Networks, Inc. (LIVE555.COM)
> <http://www.live555.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
More information about the live-devel
mailing list