WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

Echo Cancellation Port

Echo Cancellation. More...

Functions

pj_status_t pjmedia_echo_port_create (pj_pool_t *pool, pjmedia_port *dn_port, unsigned tail_ms, unsigned latency_ms, unsigned options, pjmedia_port **p_port)
 

Detailed Description

Wrapper to Accoustic Echo Cancellation API into media port interface.

Function Documentation

◆ pjmedia_echo_port_create()

pj_status_t pjmedia_echo_port_create ( pj_pool_t pool,
pjmedia_port dn_port,
unsigned  tail_ms,
unsigned  latency_ms,
unsigned  options,
pjmedia_port **  p_port 
)

Create echo canceller port.

Parameters
poolPool to allocate memory.
dn_portDownstream port.
tail_msTail length in miliseconds.
latency_msTotal lacency introduced by playback and recording device. Set to zero if the latency is not known.
optionsOptions, as in pjmedia_echo_create().
p_portPointer to receive the port instance.
Returns
PJ_SUCCESS on success.

References PJ_END_DECL.

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.