rohc_comp_set_periodic_refreshes_time

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
STRUCTURES
RETURN VALUE
NOTES
SEE ALSO

NAME

rohc_comp_set_periodic_refreshes_time − Set the timeouts in ms for IR and FO periodic refreshes.

SYNOPSIS

#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

);

DESCRIPTION

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.

PARAMETERS

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

STRUCTURES

RETURN VALUE

true in case of success, false in case of failure

NOTES

The values can not be modified after library initialization

SEE ALSO

rohc_comp.h(3), CHANGE_TO_IR_TIME(3), CHANGE_TO_FO_TIME(3)