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

transport_ice.h File Reference

ICE capable media transport. More...

Data Structures

struct  pjmedia_ice_cb
 
struct  pjmedia_ice_transport_info
 

Enumerations

enum  pjmedia_transport_ice_options {
  PJMEDIA_ICE_NO_SRC_ADDR_CHECKING = 1 ,
  PJMEDIA_ICE_DISABLE_ICE_MISMATCH = 2
}
 

Functions

pj_status_t pjmedia_ice_create (pjmedia_endpt *endpt, const char *name, unsigned comp_cnt, const pj_ice_strans_cfg *cfg, const pjmedia_ice_cb *cb, pjmedia_transport **p_tp)
 
pj_status_t pjmedia_ice_create2 (pjmedia_endpt *endpt, const char *name, unsigned comp_cnt, const pj_ice_strans_cfg *cfg, const pjmedia_ice_cb *cb, unsigned options, pjmedia_transport **p_tp)
 
pj_status_t pjmedia_ice_create3 (pjmedia_endpt *endpt, const char *name, unsigned comp_cnt, const pj_ice_strans_cfg *cfg, const pjmedia_ice_cb *cb, unsigned options, void *user_data, pjmedia_transport **p_tp)
 
pj_grp_lock_tpjmedia_ice_get_grp_lock (pjmedia_transport *tp)
 
pj_status_t pjmedia_ice_add_ice_cb (pjmedia_transport *tp, const pjmedia_ice_cb *cb, void *user_data)
 
pj_status_t pjmedia_ice_remove_ice_cb (pjmedia_transport *tp, const pjmedia_ice_cb *cb, void *user_data)
 
pj_bool_t pjmedia_ice_sdp_has_trickle (const pjmedia_sdp_session *sdp, unsigned med_idx)
 
pj_status_t pjmedia_ice_trickle_update (pjmedia_transport *tp, const pj_str_t *rem_ufrag, const pj_str_t *rem_passwd, unsigned rcand_cnt, const pj_ice_sess_cand rcand[], pj_bool_t rcand_end)
 
pj_status_t pjmedia_ice_trickle_decode_sdp (const pjmedia_sdp_session *sdp, unsigned media_index, pj_str_t *mid, pj_str_t *ufrag, pj_str_t *passwd, unsigned *cand_cnt, pj_ice_sess_cand cand[], pj_bool_t *end_of_cand)
 
pj_status_t pjmedia_ice_trickle_encode_sdp (pj_pool_t *sdp_pool, pjmedia_sdp_session *sdp, const pj_str_t *mid, const pj_str_t *ufrag, const pj_str_t *passwd, unsigned cand_cnt, const pj_ice_sess_cand cand[], pj_bool_t end_of_cand)
 
pj_bool_t pjmedia_ice_trickle_has_new_cand (pjmedia_transport *tp)
 
pj_status_t pjmedia_ice_trickle_send_local_cand (pjmedia_transport *tp, pj_pool_t *sdp_pool, pjmedia_sdp_session *sdp, pj_bool_t *p_end_of_cand)
 

 


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