This function is under development. It could be changed or withdrawn, and may not be implemented in this release.
int sm_vmptx_generate_jitter(struct sm_vmptx_generate_jitter_parms *jitterp)
typedef struct sm_vmptx_generate_jitter_parms { tSMVMPtxId vmptx; /* in */ tSM_INT external_jitter_threshold; /* in */ tSM_INT inter_jitter_gap; /* in */ tSM_INT added_jitter; /* in */ tSM_INT max_packet_age; /* in */ } SM_VMPTX_GENERATE_JITTER_PARMS;
Configures a VMP[tx] to add jitter to the outgoing RTP stream by occasionally buffering packets.
This requires the module vmptx to have been downloaded.
0
disables the addition of
jitter.
0
will allow all packets to be sent, regardless of their age.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody RTP processing API.