L16 48KHz Stereo has wrong payload type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


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?

Thanks,
Yann




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux