← Back to team overview

rohc team mailing list archive

Re: [Question #229518]: about feedback (2)

 

Question #229518 on rohc changed:
https://answers.launchpad.net/rohc/+question/229518

    Status: Open => Answered

Didier Barvaux proposed the following answer:
Hello,

The c_piggyback_feedback() function is used by one ROHC decompressor to
give feedback data to its associated ROHC compressor.  You don't have to
use it in your application. Instead use the rohc_feedback_flush() to
extract the feedbacks from the ROHC compressor.

You can call rohc_feedback_flush() at any rate you want. The more you
wait, the more feedback data you will get: sending every feedback chunk
separately may have a cost (more link layer overhead for example). The
more you wait, the more delay you add to the transmission of the
feedback: negative feedbacks are only useful if they reach quickly the
other endpoint. So, you need to do some tradeoffs according to your own
use case ;-)

When you call the rohc_feedback_flush() function, the ROHC library with
glue together as many available feedback chunks as possible (the limit
is the length of the buffer given to the function).

Regards,
Didier

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.