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/pjnath/include/pjnath/stun_sock.h

    r2642 r2966  
    2929#include <pj/ioqueue.h> 
    3030#include <pj/sock.h> 
     31#include <pj/sock_qos.h> 
    3132 
    3233 
     
    247248     */ 
    248249    int ka_interval; 
     250 
     251    /** 
     252     * QoS traffic type to be set on this transport. When application wants 
     253     * to apply QoS tagging to the transport, it's preferable to set this 
     254     * field rather than \a qos_param fields since this is more portable. 
     255     * 
     256     * Default value is PJ_QOS_TYPE_BEST_EFFORT. 
     257     */ 
     258    pj_qos_type qos_type; 
     259 
     260    /** 
     261     * Set the low level QoS parameters to the transport. This is a lower 
     262     * level operation than setting the \a qos_type field and may not be 
     263     * supported on all platforms. 
     264     * 
     265     * By default all settings in this structure are disabled. 
     266     */ 
     267    pj_qos_params qos_params; 
     268 
     269    /** 
     270     * Specify if STUN socket should ignore any errors when setting the QoS 
     271     * traffic type/parameters. 
     272     * 
     273     * Default: PJ_TRUE 
     274     */ 
     275    pj_bool_t qos_ignore_error; 
    249276 
    250277} pj_stun_sock_cfg; 
Note: See TracChangeset for help on using the changeset viewer.