How to Handle le_avdata_PushRecord Handler Failure

I posted here in the Legato forum and I’m still ocasionally getting a le_avdata_PushRecord handler with a value of LE_AVDATA_PUSH_FAILED.

The Legato documentation doesn’t really talk about how a le_avdata_PushRecord handler failure should be dealt with. What should be done in this situation?


Have you attempted to retry the call tole_avdata_PushRecord() with the same record reference? I have only skimmed the code, but it seems that the reference is only cleared when the data is successfully pushed.