Skip to content

Using Baresip: Codec Opus

Roger Sandholm edited this page Jul 20, 2020 · 4 revisions

The Opus audio codec

Build Module:

Build and Install the required packages:

Debian

$ apt-get install libopus-dev

Mac Using HomeBrew

$ brew install opus

Build Baresip

Module Opus will be compiled by default when libopus is available

$ make
  CC [M]  build-x86_64/modules/opus/decode.o
  CC [M]  build-x86_64/modules/opus/encode.o
  CC [M]  build-x86_64/modules/opus/opus.o
  CC [M]  build-x86_64/modules/opus/sdp.o
  LD [M]  opus.so

$ make install

Enable Module

The Opus module is enabled by default in ˜/.baresip/config

module     opus.so