I am sending frames in udp packets across the network from one dm635 to another and am having issues getting the latency down. I have a circular buffer that receives data from the ethernet port and gets read using the decode example program. The problem seems to be that the decoder will do large reads at start up and occasionally after that. The reads are around 690,00 bytes at start up then occasionally 300,000 bytes thereafter. The problem is that at 30 fps at 2,000,000 bps encoding rate, a 300,000 byte read takes at least a second to buffer up that much data.
Also, sometimes even when the decoder is only reading one frame at a time from the buffer, It just stops decoding and I get the standard: Error: Failed to decode video buffer. I get the following error if I run CE_DEBUG=1, but I don't know what the extended error means???
@7,322,674us: [+7 T:0x419b6490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() failed with error (-1 ext: 0x8802)