rohc_comp_set_periodic_refreshes

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
STRUCTURES
RETURN VALUE
NOTES
SEE ALSO

NAME

rohc_comp_set_periodic_refreshes − Set the timeouts in packets for IR and FO periodic refreshes.

SYNOPSIS

#include <rohc/rohc_comp.h>

bool rohc_comp_set_periodic_refreshes(
struct rohc_comp *const comp
,
const size_t ir_timeout
,
const size_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 number of compressed packets.

The IR timeout is set to CHANGE_TO_IR_COUNT by default. The FO timeout is set to CHANGE_TO_FO_COUNT by default.

PARAMETERS

comp

The ROHC compressor

ir_timeout

The number of packets to compress before going back to IR state to force a context refresh

fo_timeout

The number of packets to compress 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_COUNT(3), CHANGE_TO_FO_COUNT(3)