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

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 --> PJNATH Reference

pj_ice_strans_cb Struct Reference
[ICE Stream Transport]


Detailed Description

This structure contains callbacks that will be called by the ICE stream transport.

Data Fields

void(* on_rx_data )(pj_ice_strans *ice_st, unsigned comp_id, void *pkt, pj_size_t size, const pj_sockaddr_t *src_addr, unsigned src_addr_len)
void(* on_ice_complete )(pj_ice_strans *ice_st, pj_ice_strans_op op, pj_status_t status)

Field Documentation

void(* pj_ice_strans_cb::on_rx_data)(pj_ice_strans *ice_st, unsigned comp_id, void *pkt, pj_size_t size, const pj_sockaddr_t *src_addr, unsigned src_addr_len)

This callback will be called when the ICE transport receives incoming packet from the sockets which is not related to ICE (for example, normal RTP/RTCP packet destined for application).

Parameters:
ice_st The ICE stream transport.
comp_id The component ID.
pkt The packet.
size Size of the packet.
src_addr Source address of the packet.
src_addr_len Length of the source address.

Callback to report status.

Parameters:
ice_st The ICE stream transport.
op The operation
status Operation status.


The documentation for this struct was generated from the following file:

 


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
(C)2001-2008 Benny Prijono