Changes between Version 124 and Version 125 of FAQ


Ignore:
Timestamp:
05/15/17 01:39:19 (16 months ago)
Author:
nanang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v124 v125  
    853853 1. Suppress the inclusion of SDP {{{rtpmap}}} attribute for static payload types, by setting {{{PJMEDIA_ADD_RTPMAP_FOR_STATIC_PT}}} macro to 0 in {{{config_site.h}}}. Note that this setting should not cause bad effects for communication, since SDP {{{rtpmap}}} attributes for static payload types are optional. This will reduce SIP message size by approximately 65 bytes. 
    854854 1. Disable RTCP (advertisement) in SDP, by setting {{{PJMEDIA_ADVERTISE_RTCP}}} macro to 0 in {{{config_site.h}}}. When RTCP is disabled, no RTCP packets will be sent or received, and this will cause some RTCP TX statistics (including RTT report) to be unavailable. Other RTCP statistics such as RX statistics, as well as number of TX packets, will still be available since these values are generated locally. Disabling RTCP will reduce SIP message size by approximately 235 bytes for ICE with three candidates. 
     855 1. Disable bandwidth modifier in SDP, by setting {{{PJMEDIA_ADD_BANDWIDTH_TIAS_IN_SDP}}} macro to 0 in {{{config_site.h}}}. Check the bandwidth modifier setting [http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__CONFIG.htm#gaf9378fa9b1b28c90492dda020bd8e893 docs] for more info. This will reduce SIP message size by approximately 14 bytes. 
     856 1. If DTMF via RFC2833/{{{telephone-event}}} is not needed, it can be disabled by setting {{{PJMEDIA_RTP_PT_TELEPHONE_EVENTS}}} macro to 0 in {{{config_site.h}}}. This will reduce SIP message size by approximately 53 bytes. 
    855857 1. Last resort, disable some unused network interfaces in the system to reduce the number of ICE candidates advertised in SDP. On Windows for example, it's quite common to have some Loopback network interface, and disabling it doesn't seem to cause (too much) harm. 
    856858 1. In pjsua, you can use {{{--use-compact-form}}} option to reduce the message size.