pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication
Loading

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJMEDIA Reference

Bidirectional Port
[Media Ports Framework]

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

Functions

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

Function Documentation

PJ_BEGIN_DECL 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:
pool Pool to allocate memory.
get_port Port where get_frame() will be directed to.
put_port Port where put_frame() will be directed to.
p_port Pointer to receive the port instance.
Returns:
PJ_SUCCESS on success.

 


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