Re #1219: removed assertion if outgoing frame is larger than MTU

git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3523 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Benny Prijono 2011-04-11 20:05:55 +00:00
parent d00d3f2325
commit 32152ad2d7
1 changed files with 4 additions and 1 deletions

View File

@ -161,7 +161,10 @@ PJ_DEF(pj_status_t) pjmedia_h264_packetize(pjmedia_h264_packetizer *pktz,
if ((pktz->cfg.mode==PJMEDIA_H264_PACKETIZER_MODE_SINGLE_NAL) &&
nal_end - nal_start > pktz->cfg.mtu)
{
pj_assert(!"MTU too small for H.264 single NAL packetization mode");
//pj_assert(!"MTU too small for H.264 single NAL packetization mode");
PJ_LOG(2,("h264_packetizer.c",
"MTU too small for H.264 (required=%u, MTU=%u)",
nal_end - nal_start, pktz->cfg.mtu));
return PJ_ETOOSMALL;
}