Hi all:
AV_SERVER suppot triple stream with dual MPEG4 and one JPEG stream, when we enable motion on UI, we will set the mvDataEnable to 1 on the second MPEG4 streaming, it work well.
I had update the API AVSERVER_setMotion() in avServerApi.c and set the mvDataEnable to 1 on the first MPEG4 streaming, the AV_SERVER will be blocked at the API VIDENC1_process(), I had open the VICP debug and fount it blocked at VICP_register(), here is the debug for you reference:
| Debug under general case | VICP Debug: register: resource 2, intrLine 0, intrType 0 VICP Debug: register: resource already registered, returning success... VICP Debug: wait: resource 2 VICP Debug: wait: waiting on resource... VICP Debug: wait: returning success |
| Debug under blocked case | VICP Debug: register: resource 2, intrLine 0, intrType 0 VICP Debug: register: resource already registered, returning success... VICP Debug: wait: resource 2 VICP Debug: wait: waiting on resource... |
I test this on IPNC V1.5, Anyone who can help on this?