Group PJMEDIA_ECHO_PORT

group PJMEDIA_ECHO_PORT

Echo Cancellation.

Wrapper to Accoustic Echo Cancellation API into media port interface.

Functions

PJ_BEGIN_DECL 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
  • pool – Pool to allocate memory.

  • dn_port – Downstream port.

  • tail_ms – Tail length in miliseconds.

  • latency_ms – Total lacency introduced by playback and recording device. Set to zero if the latency is not known.

  • options – Options, as in pjmedia_echo_create().

  • p_port – Pointer to receive the port instance.

Returns

PJ_SUCCESS on success.