Example #1
0
int main(int argc, char** argv) {
	LOG("ARGC=%d\n", argc);
	VcManager::init(IP, 4525, 2);
	VcManager::get()->addFriend(1, IP, 4523);

	XThread *xt = new XThread();
	xt->setRunnable(&pushFrame);
	xt->start();

	Callback cb;
	VcManager::get()->setCallback(&cb);
	sleep(1);
	VcManager::get()->makeCall(1);
	sleep(1000);
	VcManager::get()->deinit();
	return 0;
}
bool theremax_cv_thread_start( )
{
    theremaxCV.process();
    thread.start(threadfunc);
    return 1;
};