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

Bidirectional Port

A bidirectional port combines two unidirectional ports into one bidirectional port. More...

Functions

pj_status_t pjmedia_bidirectional_port_create (pj_pool_t *pool, pjmedia_port *get_port, pjmedia_port *put_port, pjmedia_port **p_port)
 

Detailed Description

Function Documentation

◆ pjmedia_bidirectional_port_create()

pj_status_t pjmedia_bidirectional_port_create ( pj_pool_t pool,
pjmedia_port get_port,
pjmedia_port put_port,
pjmedia_port **  p_port 
)

Create bidirectional port from two unidirectional ports

Parameters
poolPool to allocate memory.
get_portPort where get_frame() will be directed to.
put_portPort where put_frame() will be directed to.
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.