Group PJMEDIA_NULL_PORT
- group PJMEDIA_NULL_PORT
The simplest type of media port which does nothing.
Functions
-
pj_status_t pjmedia_null_port_create(pj_pool_t *pool, unsigned sampling_rate, unsigned channel_count, unsigned samples_per_frame, unsigned bits_per_sample, pjmedia_port **p_port)
Create Null port.
- Parameters:
pool – Pool to allocate memory.
sampling_rate – Sampling rate of the port.
channel_count – Number of channels.
samples_per_frame – Number of samples per frame.
bits_per_sample – Number of bits per sample.
p_port – Pointer to receive the port instance.
- Returns:
PJ_SUCCESS on success.
-
pj_status_t pjmedia_null_port_create(pj_pool_t *pool, unsigned sampling_rate, unsigned channel_count, unsigned samples_per_frame, unsigned bits_per_sample, pjmedia_port **p_port)