Skip to end of metadata
Go to start of metadata

Codec opus module for Asterisk

This configuration documentation is for functionality provided by codec_opus.

codecs.conf

opus

Codec opus module for Asterisk options

Configuration Option Reference

Option Name

Type

Default Value

Regular Expression

Description

type

None

 

false

Must be of type 'opus'.

packet_loss

Integer

0

false

Encoder's packet loss percentage.

complexity

Integer

10

false

Encoder's computational complexity.

max_bandwidth

Custom

full

false

Encoder's maximum bandwidth allowed.

signal

Custom

auto

false

Encoder's signal type.

application

Custom

voip

false

Encoder's application type.

max_playback_rate

Custom

48000

false

Encoder's maximum playback rate.

bitrate

Custom

auto

false

Encoder's bit rate.

cbr

Boolean

no

false

Encoder's constant bit rate value.

fec

Boolean

yes

false

Encoder's forward error correction value.

dtx

Boolean

no

false

Encoder's discontinuous transmission value.

Configuration Option Descriptions

packet_loss

Can be any number between 0 and 100 (inclusive). Higher values result in a loss resistant behavior, however this has a cost on the quality (dependent upon a given bitrate).

complexity

Can be any number between 0 and 10, inclusive. Note, 10 equals the highest complexity.

max_bandwidth

Sets an upper bandwidth bound on the encoder. Can be any of the following:

  • narrow
  • medium
  • wide
  • super_wide
  • full

signal

Aids in mode selection on the encoder:

  • auto
  • voice
  • music

application
  • voip
  • audio
  • low_delay

max_playback_rate

Any value between 8000 and 48000, inclusive. Although typically it should match one of the usual Opus bandwidths.

bitrate

Can be any number between 500 and 512000 as well as one of the following opus values:

  • auto
  • max

cbr

True/False value where 0/false/no represents a variable bit rate and 1/true/yes is constant bit rate.

fec

True/False value where 0/false/no represents disabled and 1/true/yes is enabled.

dtx

True/False value where 0/false/no represents disabled and 1/true/yes is enabled.

Import Version

This documentation was imported from Asterisk Version GIT-13-e61e436

  • No labels