[Live-devel] It compiles, but it doesn't work... :-(
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
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'
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 to read from file...
BasicTaskScheduler::SingleStep(): select() fails: No error
In the debugger I have discovered that the error comes from this instruction
int selectResult = select(fMaxNumSockets, &readSet, NULL, NULL,
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,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the live-devel