[Freeswitch-users] G722 8000 vs 16000
anthmct at yahoo.com
Tue Mar 20 16:18:29 PDT 2007
I fixed it the best I could (At least for SIP)
The stupid thing here is that there really is an 8khz g722
and the moronic lemmings who would implement the *wideband* version
to say 8000 despite the fact that they *know* it is 16000
and are too stupid to realize should be the ones to suffer not us.
I moved actual 8k g722 to payload 109 name G722_8
and put 16k g722 on payload 9 by itself and added a hack to the
sdp generator in mod_sofia to display 8000
This makes my stomach turn but I guess we must do whatever it takes
to preserve stupidity. This makes me wonder if more of the SIP and SDP RFC's are just typo's which would explain a lot....
Anthony Minessale II
MSN:anthony_minessale at hotmail.com
JABBER:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
----- Original Message ----
From: "Sluschny, Thomas" <Thomas.Sluschny at siemens.com>
To: freeswitch-users at lists.freeswitch.org
Sent: Tuesday, March 20, 2007 11:42:17 AM
Subject: [Freeswitch-users] G722 8000 vs 16000
i want to use G.722 with its wide audio bandwith of 7kHz.
But i have found that FreeSwitch resamples always from 16000 to 8000
Samples/s if i connect a "standard device", i. e. a SIP device with a
"G722:9/8000" in its SDP.
On the other side it is possible to use full bandwith if there is a
"G722:9/16000" in SDP.
I think this is not correct!
FreeSwitch should always use 16000S/s and also use "G722:9/8000" in SDP!
Read RFC3551, 4.5.2:
...Even though the actual sampling rate for G.722 audio is 16,000 Hz,
the RTP clock rate for the G722 payload format is 8,000 Hz because
that value was erroneously assigned in RFC 1890 and must remain
unchanged for backward compatibility.
I tried the 16kHz-implementation with a SIP phone (siemens optipoint 410
with "G722:9/8000") and it seems to work.
In the g722.h file is mentioned that the 8k option is used for fast and
flexible interworking with narrow band telephony. I think this is a
special case (we also support G711 for this). Our default should be
16000S/s and "G722:9/8000".
What do u think?
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users