rohc_comp_set_periodic_refreshes_time − Set the timeouts in ms for IR and FO periodic refreshes.
#include <rohc/rohc_comp.h>
bool
rohc_comp_set_periodic_refreshes_time(
struct rohc_comp *const comp,
const uint64_t ir_timeout,
const uint64_t fo_timeout
);
Set the timeout values for IR and FO periodic refreshes. The IR timeout shall be greater than the FO timeout. Both timeouts are expressed in milliseconds.
The IR timeout is set to CHANGE_TO_IR_TIME by default. The FO timeout is set to CHANGE_TO_FO_TIME by default.
comp |
The ROHC compressor |
ir_timeout
The delay (in ms) before going back to IR state to force a context refresh
fo_timeout
The delay (in ms) before going back to FO state to force a context refresh
true in case of success, false in case of failure
The values can not be modified after library initialization
rohc_comp.h(3), CHANGE_TO_IR_TIME(3), CHANGE_TO_FO_TIME(3)