<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>I am building a very lightweight RTP simulation layer to help me<br></div>trouble shoot the rtpj2k payload and depayload plugins.<br><br>You can find it here, if you're interested:<br><a href="https://github.com/GrokImageCompression/grok/tree/rtp">https://github.com/GrokImageCompression/grok/tree/rtp</a><br><br></div>My idea is this:<br><br></div>My J2K toolkit has around 1600 unit tests. For all of the decode unit tests,<br></div>I will insert code that, at the very beginning of the unit test:<br><br></div>1) opens the J2K file and stores in memory buffer<br></div>2) using simulation layer, payloads the file, then depayloads it into second buffer<br></div>3) continue on with unit test, using the second buffer as decode input<br><br></div>If a new unit test fails under this simulation, then I know that the payload/depayload code failed, and I can debug, using the codec parser as comparison.<br></div><div><div><br><div>When we add new unit tests, I can simply run the simulation to see if the gst<br></div><div>plugin is working correctly.<br><br></div><div>Yes, it sounds like overkill, but it shouldn't take more than a few days to build this.<br><br></div><div>Will keep y'all posted.<br><br></div><div>Aaron<br></div></div></div></div>