[pjsip] L16 48KHz Stereo has wrong payload type
Benny Prijono
bennylp at teluu.com
Fri Mar 13 05:35:59 EDT 2009
On Wed, Mar 4, 2009 at 11:41 AM, yyy <yyypublic at googlemail.com> wrote:
> Hello Benny, Nanang,
>
> It looks like in l16.c that 48KHz Stereo has the wrong payload type, it
> should
> be PJMEDIA_RTP_PT_L16_48KHZ_STEREO, not PJMEDIA_RTP_PT_L16_48KHZ_MONO.
>
>
>
You're right, I just fixed that in the latest trunk. Thanks.
> I have a question as well, in l16_default_attr(), the frm_per_pkt count is
> set
> to 1, but the following comment says that the frame size should remain
> under
> 1400MTU.
>
> /* To keep frame size below 1400 MTU, set ptime to 10ms for
> * sampling rate > 35 KHz
> */
>
> With stereo channels and the default ptime of 10ms the frame size will not
> fit
> inside one MTU. In other words, as-is it is not possible to stream L16
> 44100/48000 stereo with a ptime of 10ms, correct?
>
>
Yes this was a known issue (http://trac.pjsip.org/repos/ticket/510)
Having said that, it should be possible to send UDP packet above MTU on LAN.
cheers
Benny
> Thanks,
> Yann
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090313/550374cc/attachment-0001.html>
More information about the pjsip
mailing list