BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

pj::CodecParamInfo Struct Reference

#include <media.hpp>

Public Member Functions

 CodecParamInfo ()
 

Data Fields

unsigned clockRate
 
unsigned channelCnt
 
unsigned avgBps
 
unsigned maxBps
 
unsigned maxRxFrameSize
 
unsigned frameLen
 
unsigned encFrameLen
 
unsigned pcmBitsPerSample
 
unsigned pt
 
pjmedia_format_id fmtId
 

Detailed Description

Audio codec parameters info.

Constructor & Destructor Documentation

◆ CodecParamInfo()

pj::CodecParamInfo::CodecParamInfo ( )
inline

Default constructor

Field Documentation

◆ clockRate

unsigned pj::CodecParamInfo::clockRate

Sampling rate in Hz

◆ channelCnt

unsigned pj::CodecParamInfo::channelCnt

Channel count.

◆ avgBps

unsigned pj::CodecParamInfo::avgBps

Average bandwidth in bits/sec

◆ maxBps

unsigned pj::CodecParamInfo::maxBps

Maximum bandwidth in bits/sec

◆ maxRxFrameSize

unsigned pj::CodecParamInfo::maxRxFrameSize

Maximum frame size

◆ frameLen

unsigned pj::CodecParamInfo::frameLen

Decoder frame ptime in msec.

◆ encFrameLen

unsigned pj::CodecParamInfo::encFrameLen

Encoder ptime, or zero if it's equal to decoder ptime.

◆ pcmBitsPerSample

unsigned pj::CodecParamInfo::pcmBitsPerSample

Bits/sample in the PCM side

◆ pt

unsigned pj::CodecParamInfo::pt

Payload type.

◆ fmtId

pjmedia_format_id pj::CodecParamInfo::fmtId

Source format, it's format of encoder input and decoder output.


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

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.