<div>
Hi,
</div><div><br></div><div>libx264 encoded NALUs exceeding packet window and some phones don't like it so I need to manually split with FU-A, I tried frame->m but looks like all packets has marker = 1 even frame->m = 0;</div><div><br></div><div>by looking at mod_fsv.c, I added the following and generate my own rtp header</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>switch_set_flag((&vid_frame), SFF_RAW_RTP);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>switch_set_flag((&vid_frame), SFF_PROXY_PACKET);</div></div><div><br></div><div>but looks like it doens't send my rtp header, switch_rtp.c has a check also on SWITCH_RTP_FLAG_RAW_WRITE which I don't see in mod_fsv.c</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>fwd = (switch_test_flag(rtp_session, SWITCH_RTP_FLAG_RAW_WRITE) && switch_test_flag(frame, SFF_RAW_RTP)) ? 1 : 0;</div></div><div><br></div><div><br></div><div>I also tried set SFF_RTP_HEADER, but it tends to send double as packets looks</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>if (switch_test_flag(frame, SFF_RTP_HEADER)) { in switch_rtp.c doesn't stop and what the purpose of this param?</div></div><div><br></div><div>Any highlights?</div><div><br></div><div>Thanks.</div><div><br></div><div><div><br></div><div>-- </div><div>About: http://about.me/dujinfang</div><div>Blog: http://www.dujinfang.com</div><div>Proj: http://www.freeswitch.org.cn</div><div><br></div>Sent with <a href="http://www.sparrowmailapp.com">Sparrow</a><br><div><br></div></div>