Hi, I managed to compile WebRTC under Windows 7 and Visual Studio 2013. My goal is to stream the desktop from a native program.
So far I get to this point:
cricket::VideoCapturer* videoCapturer = 0;
videoCapturer = deviceManager->CreateDesktopCapturer(primaryDesktop.id());
if (videoCapturer == 0)
{
cerr << "No video capturer" << endl;
return -1;
}
CreateDesktopCapturer will always return NULL because the macro DESKTOP_CAPTURER_NAME is not defined in my build.
How do I get this macro defined?
Do I have to do it my self or there is compile option for it?