package
0.8.0
Repository: https://github.com/livekit/sip.git
Documentation: pkg.go.dev

# README

SIP media resources

See https://trac.ffmpeg.org/wiki/audio%20types.

PCM16LE

Encoding:

ffmpeg -i file.ogg -ar 8000 -f s16le file.s16le

Decoding:

ffmpeg -f s16le -ar 8000 -i file.s16le file.ogg

G711 - PCMU

Encoding:

ffmpeg -i file.ogg -ar 8000 -f mulaw file.g711u

Decoding:

ffmpeg -f mulaw -ar 8000 -i file.g711u file.ogg

G711 - PCMA

Encoding:

ffmpeg -i file.ogg -ar 8000 -f alaw file.g711a

Decoding:

ffmpeg -f alaw -ar 8000 -i file.g711a file.ogg

G722

Encoding:

ffmpeg -i file.ogg -ar 8000 -f g722 file.g722

Decoding:

ffmpeg -f g722 -i file.g722 file.ogg