Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#950 closed enhancement (fixed)

Support for QoS settings (TOS, DSCP, WMM, 802.1p) for sockets

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.5
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp)

Please see QoS for the detailed description.

Change History (17)

comment:1 Changed 15 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 15 years ago by bennylp

  • Description modified (diff)

comment:3 Changed 15 years ago by bennylp

  • Description modified (diff)

comment:4 Changed 15 years ago by bennylp

  • Description modified (diff)

Removed the get_dscp_class() API.

comment:5 Changed 15 years ago by bennylp

  • Description modified (diff)

Changed API names and fix the mapping table

comment:6 Changed 15 years ago by bennylp

  • Description modified (diff)

Added get API.

comment:7 Changed 15 years ago by bennylp

  • Type changed from defect to enhancement

comment:8 Changed 15 years ago by bennylp

  • Description modified (diff)

comment:9 Changed 15 years ago by bennylp

  • Description modified (diff)

comment:10 Changed 15 years ago by bennylp

  • Milestone changed from unassigned to release-1.5

comment:11 Changed 15 years ago by bennylp

Initial commit in r2966:

  • implementation in PJLIB (sock_qos*.*), with supported backends:
    • sock_qos_bsd.c (Linux and friends)
    • sock_qos_symbian.cpp (Symbian)
    • sock_qos_wm.c (Windows Mobile 6)
    • sock_qos_dummy.c (dummy)
  • 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

comment:12 Changed 15 years ago by bennylp

In r2967:

  • fixed wrong DSCP field operation with sock_qos_bsd.c backend
  • tested on Linux for SIP (UDP/TCP), UDP RTP/RTCP, and ICE
  • renamed 801_1_P names to SO_PRIO
  • changed a bit of doxygen documentation (the title etc)

comment:13 Changed 15 years ago by bennylp

  • Description modified (diff)

comment:14 Changed 15 years ago by bennylp

  • Description modified (diff)

comment:15 Changed 15 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

comment:16 Changed 15 years ago by bennylp

In r2993:

  • updated with the new pj_perror() syntax

comment:17 Changed 15 years ago by bennylp

In r2998:

  • added QoS options on PJLIB/PJLIB SSL/TLS socket/transport
  • added demo in Symbian ua.cpp
Note: See TracTickets for help on using tickets.