Ignore:
Timestamp:
Oct 14, 2009 1:13:18 PM (15 years ago)
Author:
bennylp
Message:

Ticket #881: send UPDATE or re-INVITE after ICE negotiation, if the default candidate has changed

  • done
  • added pj_ice_strans_state (to be used for informational purposes for now)
  • added pjmedia ICE transport specific info, and display it in call dump output
  • misc fixes (changed pjmedia_transport_info.spec_info_cnt from int to unsigned)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/transport_ice.h

    r2394 r2945  
    6161 
    6262} pjmedia_ice_cb; 
     63 
     64 
     65/** 
     66 * This structure specifies ICE transport specific info. This structure 
     67 * will be filled in media transport specific info. 
     68 */ 
     69typedef struct pjmedia_ice_transport_info 
     70{ 
     71    /** 
     72     * ICE sesion state. 
     73     */ 
     74    pj_ice_strans_state sess_state; 
     75 
     76    /** 
     77     * Session role. 
     78     */ 
     79    pj_ice_sess_role role; 
     80 
     81    /** 
     82     * Number of components in the component array. Before ICE negotiation 
     83     * is complete, the number represents the number of components of the 
     84     * local agent. After ICE negotiation has been completed successfully, 
     85     * the number represents the number of common components between local 
     86     * and remote agents. 
     87     */ 
     88    unsigned comp_cnt; 
     89 
     90    /** 
     91     * Array of ICE components. Typically the first element denotes RTP and 
     92     * second element denotes RTCP. 
     93     */ 
     94    struct 
     95    { 
     96        /** 
     97         * Local candidate type. 
     98         */ 
     99        pj_ice_cand_type    lcand_type; 
     100 
     101        /** 
     102         * Remote candidate type. 
     103         */ 
     104        pj_ice_cand_type    rcand_type; 
     105 
     106    } comp[2]; 
     107 
     108} pjmedia_ice_transport_info; 
    63109 
    64110 
Note: See TracChangeset for help on using the changeset viewer.