BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

pjmedia_codec_opus_config Struct Reference

#include <opus.h>

Data Fields

unsigned sample_rate
 
unsigned channel_cnt
 
unsigned frm_ptime
 
unsigned bit_rate
 
unsigned packet_loss
 
unsigned complexity
 
pj_bool_t cbr
 

Detailed Description

Opus codec configuration.

Field Documentation

◆ sample_rate

unsigned pjmedia_codec_opus_config::sample_rate

Sample rate in Hz.

◆ channel_cnt

unsigned pjmedia_codec_opus_config::channel_cnt

Number of channels.

◆ frm_ptime

unsigned pjmedia_codec_opus_config::frm_ptime

Frame time in msec.

◆ bit_rate

unsigned pjmedia_codec_opus_config::bit_rate

Encoder bit rate in bps.

◆ packet_loss

unsigned pjmedia_codec_opus_config::packet_loss

Encoder's expected packet loss pct.

◆ complexity

unsigned pjmedia_codec_opus_config::complexity

Encoder complexity, 0-10(10 is highest)

◆ cbr

pj_bool_t pjmedia_codec_opus_config::cbr

Constant bit rate?


The documentation for this struct was generated from the following file:

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.