RTP profile for audio and video conferences with minimal control.

This memorandum is a revision of RFC 1890 in preparation for advancement
from Proposed Standard to Draft Standard status. Readers are encouraged to
use the PostScript form of this draft to see where changes from RFC 1890 are
marked by change bars.

"G722 is specified in ITU-T Recommendation G.722, "7 kHz audio-coding within
64 kbit/s". The G.722 encoder produces a stream of octets, each of which
SHALL be octet-aligned in an RTP packet. The first bit transmitted in the
G.722 octet, which is the most significant bit of the higher sub-band
sample, SHALL correspond to the most significant bit of the octet in the RTP
packet.

Even though the actual sampling rate for G.722 audio is 16000 Hz, the RTP
clock rate for the G722 payload format is 8000 Hz because that value was
erroneously assigned in RFC 1890 and must remain unchanged for backward
compatibility. The octet rate or sample-pair rate is 8000 Hz."




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2523 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2006-09-05 22:21:14 +00:00
parent 7c11839c58
commit b7ded39821
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ static const switch_codec_implementation_t g722_implementation = {
/*.codec_type */ SWITCH_CODEC_TYPE_AUDIO,
/*.ianacode */ 9,
/*.iananame */ "G722",
/*.samples_per_second */ 16000,
/*.samples_per_second */ 8000,
/*.bits_per_second */ 64000,
/*.microseconds_per_frame */ 20000,
/*.samples_per_frame */ 160,