Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::SystemCodecInfo Struct Reference

#include <media_codec.h>

Inheritance diagram for jami::SystemCodecInfo:
Inheritance graph
Collaboration diagram for jami::SystemCodecInfo:
Collaboration graph

Public Member Functions

virtual std::map< std::string, std::string > getCodecSpecifications () const
 
 SystemCodecInfo (unsigned codecId, unsigned avcodecId, const std::string &longName, const std::string &name, const std::string &libName, MediaType mediaType, CodecType codecType=CODEC_NONE, unsigned bitrate=0, unsigned payloadType=0, unsigned m_minQuality=DEFAULT_NO_QUALITY, unsigned m_maxQuality=DEFAULT_NO_QUALITY)
 
virtual ~SystemCodecInfo ()
 

Public Attributes

unsigned avcodecId
 
unsigned bitrate
 
CodecType codecType
 
unsigned id
 
bool isActive {false}
 
std::string libName
 
std::string longName
 
unsigned maxBitrate = DEFAULT_MAX_BITRATE
 
unsigned maxQuality = DEFAULT_NO_QUALITY
 
MediaType mediaType
 
unsigned minBitrate = DEFAULT_MIN_BITRATE
 
unsigned minQuality = DEFAULT_NO_QUALITY
 
std::string name
 
unsigned order {0}
 
unsigned payloadType
 
unsigned quality
 

Static Public Attributes

static constexpr unsigned DEFAULT_CODEC_QUALITY {30}
 
static constexpr unsigned DEFAULT_MAX_BITRATE {6000}
 
static constexpr unsigned DEFAULT_MIN_BITRATE {200}
 
static constexpr unsigned DEFAULT_NO_QUALITY {0}
 
static constexpr unsigned DEFAULT_VIDEO_BITRATE {800}
 

Detailed Description

Definition at line 59 of file media_codec.h.

Constructor & Destructor Documentation

◆ SystemCodecInfo()

jami::SystemCodecInfo::SystemCodecInfo ( unsigned  codecId,
unsigned  avcodecId,
const std::string &  longName,
const std::string &  name,
const std::string &  libName,
MediaType  mediaType,
CodecType  codecType = CODEC_NONE,
unsigned  bitrate = 0,
unsigned  payloadType = 0,
unsigned  m_minQuality = DEFAULT_NO_QUALITY,
unsigned  m_maxQuality = DEFAULT_NO_QUALITY 
)

Definition at line 33 of file media_codec.cpp.

◆ ~SystemCodecInfo()

jami::SystemCodecInfo::~SystemCodecInfo ( )
virtual

Definition at line 57 of file media_codec.cpp.

Member Function Documentation

◆ getCodecSpecifications()

std::map< std::string, std::string > jami::SystemCodecInfo::getCodecSpecifications ( ) const
virtual

Member Data Documentation

◆ avcodecId

unsigned jami::SystemCodecInfo::avcodecId

Definition at line 93 of file media_codec.h.

Referenced by jami::SystemAudioCodecInfo::isPCMG722().

◆ bitrate

◆ codecType

CodecType jami::SystemCodecInfo::codecType

Definition at line 97 of file media_codec.h.

◆ DEFAULT_CODEC_QUALITY

constexpr unsigned jami::SystemCodecInfo::DEFAULT_CODEC_QUALITY {30}
staticconstexpr

Definition at line 61 of file media_codec.h.

Referenced by jami::video::VideoRtpSession::stop().

◆ DEFAULT_MAX_BITRATE

constexpr unsigned jami::SystemCodecInfo::DEFAULT_MAX_BITRATE {6000}
staticconstexpr

Definition at line 73 of file media_codec.h.

Referenced by jami::video::VideoRtpSession::updateMedia().

◆ DEFAULT_MIN_BITRATE

constexpr unsigned jami::SystemCodecInfo::DEFAULT_MIN_BITRATE {200}
staticconstexpr

Definition at line 72 of file media_codec.h.

◆ DEFAULT_NO_QUALITY

constexpr unsigned jami::SystemCodecInfo::DEFAULT_NO_QUALITY {0}
staticconstexpr

Definition at line 70 of file media_codec.h.

Referenced by jami::video::VideoRtpSession::stop().

◆ DEFAULT_VIDEO_BITRATE

◆ id

unsigned jami::SystemCodecInfo::id

Definition at line 92 of file media_codec.h.

◆ isActive

bool jami::SystemCodecInfo::isActive {false}

Definition at line 110 of file media_codec.h.

◆ libName

std::string jami::SystemCodecInfo::libName

Definition at line 96 of file media_codec.h.

◆ longName

std::string jami::SystemCodecInfo::longName

◆ maxBitrate

unsigned jami::SystemCodecInfo::maxBitrate = DEFAULT_MAX_BITRATE

Definition at line 104 of file media_codec.h.

Referenced by jami::SystemVideoCodecInfo::getCodecSpecifications().

◆ maxQuality

unsigned jami::SystemCodecInfo::maxQuality = DEFAULT_NO_QUALITY

Definition at line 106 of file media_codec.h.

◆ mediaType

◆ minBitrate

unsigned jami::SystemCodecInfo::minBitrate = DEFAULT_MIN_BITRATE

Definition at line 103 of file media_codec.h.

Referenced by jami::SystemVideoCodecInfo::getCodecSpecifications().

◆ minQuality

unsigned jami::SystemCodecInfo::minQuality = DEFAULT_NO_QUALITY

Definition at line 105 of file media_codec.h.

◆ name

std::string jami::SystemCodecInfo::name

Definition at line 95 of file media_codec.h.

◆ order

unsigned jami::SystemCodecInfo::order {0}

Definition at line 109 of file media_codec.h.

◆ payloadType

unsigned jami::SystemCodecInfo::payloadType

Definition at line 101 of file media_codec.h.

◆ quality

unsigned jami::SystemCodecInfo::quality

Definition at line 111 of file media_codec.h.


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