[pjsip] L16 48KHz Stereo has wrong payload type
yyy
yyypublic at googlemail.com
Wed Mar 4 06:41:04 EST 2009
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
More information about the pjsip
mailing list