Ignore:
Timestamp:
Jun 19, 2010 12:35:33 PM (12 years ago)
Author:
bennylp
Message:

Fixed #1077: In ICE stream transport (ice_strans.c), automaticaly retry allocation once if TURN allocation fails. If this allocation retry also fails, notify the TURN user via on_ice_complete() callback. Details:

  • added new PJ_ICE_STRANS_OP_KEEP_ALIVE operation
  • also added new on_ice_transport_error() pjsua callback to allow application to react to the failure.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/ice_strans.h

    r3028 r3212  
    124124 
    125125    /** Negotiation */ 
    126     PJ_ICE_STRANS_OP_NEGOTIATION 
     126    PJ_ICE_STRANS_OP_NEGOTIATION, 
     127 
     128    /** This operatino is used to report failure in keep-alive operation. 
     129     *  Currently it is only used to report TURN Refresh failure. 
     130     */ 
     131    PJ_ICE_STRANS_OP_KEEP_ALIVE 
    127132 
    128133} pj_ice_strans_op; 
     
    153158 
    154159    /** 
    155      * Callback to report status. 
     160     * Callback to report status of various ICE operations. 
    156161     *  
    157162     * @param ice_st        The ICE stream transport. 
    158      * @param op            The operation 
     163     * @param op            The operation which status is being reported. 
    159164     * @param status        Operation status. 
    160165     */ 
Note: See TracChangeset for help on using the changeset viewer.