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:
parent
d00d3f2325
commit
32152ad2d7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue