This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Failed to send udp over streaming with encode1080p application Sample

Hi Ti,

I was following sample of encode1080p udp streaming. My own video analysis codec was added into codec server.

If I don't specify the videobit rate in command line, only first 2 or 3 frames were sent over udp streaming. all the following were missing. through network analyzer, I found those frames were never sent out.

then I go to arm side, in tsfilewrite_thread at tsfilewrite.c

        retVal = IRIO_acquire(rioHandle, (void*)&acqPtr, &acqSize, &rioAttrPendingFlag);
        
        AVCLOG(AVC_MOD_MAIN, AVC_LVL_TRACE, ("IRIO_acquire(%d,%d) returned %x",
            acqSize,rioAttrPendingFlag,retVal));

after two or three frames, IRIO_acquire always failed. (retVal != AVC_SUCCESS).

if I specify bitrate at 800k, the udp packets were sent out in the first 5 or 6 minutes. During this period, retVal != AVC_SUCCESS happened as well, but not always.

Can someone help explain why this happens?

is this related to buffer setting? if so, how can I adjust it?

or is there any other solution?

thanks.