Ignore:
Timestamp:
Dec 28, 2016 3:40:07 AM (7 years ago)
Author:
nanang
Message:

Re #1900: More merged from trunk (r5512 mistakenly contains merged changes in third-party dir only).

Location:
pjproject/branches/projects/uwp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/uwp

  • pjproject/branches/projects/uwp/pjsip/include/pjsua2/endpoint.hpp

    r5185 r5513  
    903903     */ 
    904904    pj_stun_nat_type natGetType() throw(Error); 
     905 
     906    /** 
     907     * Update the STUN servers list. The libInit() must have been called 
     908     * before calling this function. 
     909     * 
     910     * @param prmServers        Array of STUN servers to try. The endpoint 
     911     *                          will try to resolve and contact each of the 
     912     *                          STUN server entry until it finds one that is 
     913     *                          usable. Each entry may be a domain name, host 
     914     *                          name, IP address, and it may contain an 
     915     *                          optional port number. For example: 
     916     *                          - "pjsip.org" (domain name) 
     917     *                          - "sip.pjsip.org" (host name) 
     918     *                          - "pjsip.org:33478" (domain name and a non- 
     919     *                             standard port number) 
     920     *                          - "10.0.0.1:3478" (IP address and port number) 
     921     * @param prmWait           Specify if the function should block until 
     922     *                          it gets the result. In this case, the 
     923     *                          function will block while the resolution 
     924     *                          is being done, and the callback 
     925     *                          onNatCheckStunServersComplete() will be called 
     926     *                          before this function returns. 
     927     * 
     928     */ 
     929    void natUpdateStunServers(const StringVector &prmServers, 
     930                              bool prmWait) throw(Error); 
    905931 
    906932    /** 
     
    11901216     * Callback when the Endpoint has finished performing STUN server 
    11911217     * checking that is initiated when calling libInit(), or by 
    1192      * calling natCheckStunServers(). 
     1218     * calling natCheckStunServers() or natUpdateStunServers(). 
    11931219     * 
    11941220     * @param prm       Callback parameters. 
     
    13111337    static void on_mwi_info(pjsua_acc_id acc_id, 
    13121338                            pjsua_mwi_info *mwi_info); 
    1313  
     1339    static void on_acc_find_for_incoming(const pjsip_rx_data *rdata, 
     1340                                         pjsua_acc_id* acc_id); 
    13141341    static void on_buddy_state(pjsua_buddy_id buddy_id); 
    13151342    // Call callbacks 
     
    13761403                              pjmedia_transport *base_tp, 
    13771404                              unsigned flags); 
     1405    static void 
     1406    on_create_media_transport_srtp(pjsua_call_id call_id, 
     1407                                   unsigned media_idx, 
     1408                                   pjmedia_srtp_setting *srtp_opt); 
    13781409 
    13791410private: 
Note: See TracChangeset for help on using the changeset viewer.