Yate Community Forum
General Category => Yate users hangout place => Topic started by: looserouting on May 24, 2013, 07:17:56 AM
-
when i transcode can I "offer" ilbc30 and g711 with ptime:20 ?
afaik yate sets the ptime equal to ilbc mode.
Where can I set the default ptime for other codecs then ilbc (or codecs with its own ptime settings like ilbc)?
another thing i saw: if I just enable ilbc (not ilbc20 or ilbc30) in ysipchan.conf then ilbc will not be used at all.
-
The RTP Payload Format says:
The offer contains the preferred mode of the offerer. The answerer
may agree to that mode by including the same mode in the answer, or
may include a different mode. The resulting mode used by both
parties SHALL be the lower of the bandwidth modes in the offer and
answer.
That is, an offer of "mode=20" receiving an answer of "mode=30" will
result in "mode=30" being used by both participants. Similarly, an
offer of "mode=30" and an answer of "mode=20" will result in
"mode=30" being used by both participants.
and:
Parameter ptime can not be used for the purpose of specifying iLBC
operating mode, due to fact that for the certain values it will be
impossible to distinguish which mode is about to be used (e.g. when
ptime=60, it would be impossible to distinguish if packet is
carrying 2 frames of 30 ms or 3 frames of 20 ms etc.).
"
So setting "ptime = mode = 20" or somthing like that is wrong
I see al lot of UAs using ptime = 20 and mode = 30 in SDP.
maybe it's why in case that ilbc(mode 30) will be negotiated ptime 30 will be automatically used.
-
thank you for the fix :)