Ignore:
Timestamp:
Oct 25, 2009 9:02:07 AM (13 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/sock.h

    r2946 r2966  
    298298extern const pj_uint16_t PJ_SO_REUSEADDR; 
    299299 
     300/** Set the protocol-defined priority for all packets to be sent on socket. 
     301 */ 
     302extern const pj_uint16_t PJ_SO_PRIORITY; 
     303 
    300304/** IP multicast interface. @see pj_IP_MULTICAST_IF() */ 
    301305extern const pj_uint16_t PJ_IP_MULTICAST_IF; 
     
    330334    PJ_DECL(pj_uint16_t) pj_SO_REUSEADDR(void); 
    331335 
     336    /** Get #PJ_SO_PRIORITY constant */ 
     337    PJ_DECL(pj_uint16_t) pj_SO_PRIORITY(void); 
     338 
    332339    /** Get #PJ_IP_MULTICAST_IF constant */ 
    333340    PJ_DECL(pj_uint16_t) pj_IP_MULTICAST_IF(void); 
     
    359366    /** Get #PJ_SO_REUSEADDR constant */ 
    360367#   define pj_SO_REUSEADDR() PJ_SO_REUSEADDR 
     368 
     369    /** Get #PJ_SO_PRIORITY constant */ 
     370#   define pj_SO_PRIORITY() PJ_SO_PRIORITY 
    361371 
    362372    /** Get #PJ_IP_MULTICAST_IF constant */ 
Note: See TracChangeset for help on using the changeset viewer.