PJSIP在线程中调用出现提示注册线程pj_thread_register的解决方案

// PJSIP在线程中调用出现提示注册线程pj_thread_register的解决方案
pj_status_t pjcall_thread_register(void)
{
	pj_thread_desc	desc;
	pj_thread_t*	thread = 0;
	
	if (!pj_thread_is_registered())
	{
		return pj_thread_register(NULL, desc, &thread);
	}

	return PJ_SUCCESS;
}

你可能感兴趣的:(PJSIP在线程中调用出现提示注册线程pj_thread_register的解决方案)