Ignore:
Timestamp:
Jul 5, 2012 7:26:29 AM (12 years ago)
Author:
nanang
Message:

Fix #1547:

  • Added PJMEDIA_MAX_MRU to specify maximum packet size in receiving direction.
  • Added max_pkt_size into pj_turn_sock_cfg, default is PJ_TURN_MAX_PKT_LEN.
  • Fixed hardcoded MTU settings in media transport SRTP.
  • Added MIN_CHUNKS_PER_FRM constant in video stream.

Notes:

  • PJMEDIA_MAX_MTU & PJMEDIA_MAX_MRU to specify max packet size for TX and RX dir.
  • For ICE media transport, TURN session limits outgoing packet size to PJ_TURN_MAX_PKT_LEN (the size of internal buffer for inserting TURN overheads).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r4196 r4197  
    720720                  sizeof(cfg->qos_params)); 
    721721    } 
     722 
     723    /* Configure packet size for STUN and TURN sockets */ 
     724    ice_cfg.stun.cfg.max_pkt_size = PJMEDIA_MAX_MRU; 
     725    ice_cfg.turn.cfg.max_pkt_size = PJMEDIA_MAX_MRU; 
    722726 
    723727    pj_bzero(&ice_cb, sizeof(pjmedia_ice_cb)); 
Note: See TracChangeset for help on using the changeset viewer.