[Live-devel] It compiles, but it doesn't work... :-(
wisem
1049588 at aruba.it
Thu Nov 2 03:52:58 PST 2006
Hi, I'm new to the streaming world and I would like to learn how to use this
streaming library.
I'm using Visual C++ 2005 Express Edition and I have compiled
"UsageEnvironment", "groupsock", "liveMedia", and "BasicUsageEnvironment"
each one in a separate solution to create the .lib static libraries. Until
now it's all right.
Well, then I have created a solution for the "testMPEG1or2VideoStreamer.cpp"
file, linked all the necessary libs created before and compiled. It was all
right: the exe was generated without problems, aside from this warning
message in the linking process:
1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG'
specification
Now I have the .exe file. I have inserted a test.mpg file in the same dir of
the exe and then I have executed it, but... It keeps to give me this
message, then exits:
Beginning streaming...
Beginning to read from file...
BasicTaskScheduler::SingleStep(): select() fails: No error
In the debugger I have discovered that the error comes from this instruction
in 'basictaskscheduler.cpp':
int selectResult = select(fMaxNumSockets, &readSet, NULL, NULL,
&tv_timeToDelay);
when it reach this instruction, the select returns -1 and the
WSAGetLastError gives the "WSAENOTSOCK - Error 10038" that should means:
'Socket operation on non-socket'...
What can it be? What should I do? In the test program I have not modified
nothing... I have to modify some address or some port?
Thanks in advance,
Wisem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20061102/dba30fa2/attachment.html
More information about the live-devel
mailing list