G729/8000 payloads
RTP payload type 18, 8 kHz clock, 10 ms speech frames, 10 bytes per frame.
Pure Go | MIT | G729/8000 | annexb=no
A clean-room, G.729A-compatible speech codec for Go services that need RTP payload type 18 without cgo, native codec packages, or vendored codec source.
v0.1.0-rc1
The primary target is MRCP, TTS, IVR, SIP/RTP, and other backend media applications where the input is 8 kHz mono signed 16-bit PCM and the output is 10-byte G.729 speech frames.
Supported scope
RTP payload type 18, 8 kHz clock, 10 ms speech frames, 10 bytes per frame.
Use one encoded frame for ptime=10, or concatenate two frames for ptime=20.
Annex B SID, CNG, and DTX are not implemented in this release.
ITU byte-exact conformance and broad interoperability certification are not claimed.
SIP/RTP integration
The codec core emits raw 10-byte speech frames. Your SIP/RTP stack owns RTP headers, timestamps, sequence numbers, jitter handling, and packet transmission.
m=audio 49170 RTP/AVP 18
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=ptime:20
a=maxptime:20
Listening comparison
This page is ready for four reviewed listening samples: FFmpeg encoded payloads decoded by this project and FFmpeg, plus this project's encoded payloads decoded by this project and FFmpeg.
Sample pending.
Sample pending.
Sample pending.
Sample pending.
Clean-room boundary
The repository documents its clean-room rule and MIT distribution provenance. External codecs may be used only as black-box tools, and published demo media should carry source and redistribution records.