# Jitter Filter RFD Command

Jitter filter supports a command for changing remote frame duration (RFD) in runtime along with existing commands.

RFD defines the duration of voice and data in each RTP packet received. Jitter filter needs to correctly assemble the received packets to match the frame size expected by the decoder. For example, the frame size expected by G.711 decoder is 10 ms. If the RTP endpoint connected to the jitter is receiving 5 ms packets, then jitter RFD needs to be defined as 5 ms. The jitter can then merge the two consecutive packets properly before forwarding it to the decoder.

The following table describes the jitter command:

Command ID | Description | Units | Default
MSP_CMD_JITTER_CHG_RFD | Changes jitter RFD. | ms | N/A

Use the msp_FILTER_JITTER_CMD structure to send the command to the jitter filter. For more information, refer to the Dialogic® NaturalAccess™ Media Stream Protocol Processing API Developer's Manual.

The following table defines the jitter RFD values:

Value | Description
MSP_RFD_20MS | The received packets have 20 ms frames. In this case, jitter filter forwards the frame as is.
MSP_RFD_5MS | The received packets have 5 ms frames. In this case, jitter merges frames and then forwards it to decoder.