Ignore:
Timestamp:
Oct 25, 2009 9:02:07 AM (14 years ago)
Author:
bennylp
Message:

Initial commit for ticket #950: QoS support:

  • implementation:
    • PJLIB (sock_qos*.*)
  • added QoS support in:
    • SIP UDP transport,
    • SIP TCP transport,
    • media UDP transport (done in pjsua-lib),
    • pjnath ICE stream transport,
    • pjnath STUN socket,
    • pjnath TURN client
  • added QoS options in pjsua-lib:
    • QoS fields in pjsua_transport_config
  • added "--set-qos" parameter in pjsua

Notes:

  • QoS in TLS transport is not yet implemented, waiting for #957
  • build ok on VS6, VS2005 (multiple targets), Carbide, and Mingw
  • no run-time testing yet
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/config.h

    r2843 r2966  
    748748#   define PJ_HAS_STRICMP_ALNUM     0 
    749749#endif 
     750 
     751 
     752/* 
     753 * Types of QoS backend implementation. 
     754 */ 
     755 
     756/**  
     757 * Dummy QoS backend implementation, will always return error on all 
     758 * the APIs. 
     759 */ 
     760#define PJ_QOS_DUMMY        1 
     761 
     762/** QoS backend based on setsockopt(IP_TOS) */ 
     763#define PJ_QOS_BSD          2 
     764 
     765/** QoS backend for Windows Mobile 6 */ 
     766#define PJ_QOS_WM           3 
     767 
     768/** QoS backend for Symbian */ 
     769#define PJ_QOS_SYMBIAN      4 
     770 
     771/** 
     772 * Force the use of some QoS backend API for some platforms. 
     773 */ 
     774#ifndef PJ_QOS_IMPLEMENTATION 
     775#   if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE && _WIN32_WCE >= 0x502 
     776        /* Windows Mobile 6 or later */ 
     777#       define PJ_QOS_IMPLEMENTATION    PJ_QOS_WM 
     778#   endif 
     779#endif 
     780 
    750781 
    751782/** @} */ 
Note: See TracChangeset for help on using the changeset viewer.