Hi all:
I've meet an issue when use AV_SERVER on IPNC, AV_SERVER can't exit when we call av_capture_unload.sh to kill AV_SERVER, I had also add debug code in AV_SERVER and found it blocked at avServerMainThr.c:
#ifdef AVSERVER_DEBUG_MAIN_THR
OSA_printf(" AVSERVER MAIN: Delete captureTsk ...\n");
#endif
status |= OSA_tskSendMsg(&gVIDEO_ctrl.captureTsk, pTsk, AVSERVER_CMD_DELETE, NULL, OSA_MBX_WAIT_ACK);
Seem the video capture threat can't exit under some case, because we close the AEWB thread before close capture thread; is there any chance that the video capture thread will always be blocked because of the AEWB closed?
It's critical! anyone who can help me?
Any comments would be appreciate!