-
Notifications
You must be signed in to change notification settings - Fork 465
Using Baresip: Codec G722 G726
Roger Sandholm edited this page Jul 20, 2020
·
2 revisions
G722 Audio Codec
Build and Install the required packages:
Debian
$ apt-get install libspandsp-dev
CentOS
$ yum install libspandsp-devel
Mac using HomeBrew
$ brew install spandsp
Module G722 will be compiled by default when spandsplib is available
$ make
CC [M] build-arm6/modules/g722/g722.o
LD [M] g722.so
CC [M] build-arm6/modules/g726/g726.o
LD [M] g726.so
CC [M] build-arm6/modules/plc/plc.o
LD [M] plc.so
$ make install
The G722 module is enabled by default in ˜/.baresip/config
module g722.so
Codec will be automatically used. Order the codecs according to your desired SDP priority preferences in ˜/.baresip/config