Opened 11 years ago

Closed 11 years ago

#1681 closed enhancement (fixed)

Add setting for RTP socket buffer size

Reported by: nanang Owned by: nanang
Priority: normal Milestone: release-2.2
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Reported that increasing RTP socket buffer size can significantly reduce packet loss rate, especially on video streaming.

Change History (1)

comment:1 Changed 11 years ago by nanang

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

In 4538:

Close #1681:

  • Added compile-time settings PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE and PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE. The default values are both 64 KB when PJMEDIA_HAS_VIDEO is set, otherwise just zero (socket buffer size uses OS default). The settings will be applied to media transport UDP and ICE.
  • Also added run-time settings so_sndbuf_size and so_rcvbuf_size into ICE stream transport, STUN socket, and TURN socket. Default values are all zero.
Note: See TracTickets for help on using tickets.