Ring Daemon 16.0.0
|
#include <media_codec.h>
Public Member Functions | |
std::map< std::string, std::string > | getCodecSpecifications () const override |
void | setCodecSpecifications (const std::map< std::string, std::string > &details) |
SystemVideoCodecInfo (unsigned codecId, unsigned avcodecId, const std::string &longName, const std::string &name, const std::string &libName, CodecType type=CODEC_NONE, unsigned bitrate=0, unsigned m_minQuality=0, unsigned m_maxQuality=0, unsigned payloadType=0, unsigned frameRate=0, unsigned profileId=0) | |
~SystemVideoCodecInfo () | |
![]() | |
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 | frameRate |
bool | isAutoQualityEnabled {true} |
std::string | parameters |
unsigned | profileId |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
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} |
Definition at line 147 of file media_codec.h.
jami::SystemVideoCodecInfo::SystemVideoCodecInfo | ( | unsigned | codecId, |
unsigned | avcodecId, | ||
const std::string & | longName, | ||
const std::string & | name, | ||
const std::string & | libName, | ||
CodecType | type = CODEC_NONE , |
||
unsigned | bitrate = 0 , |
||
unsigned | m_minQuality = 0 , |
||
unsigned | m_maxQuality = 0 , |
||
unsigned | payloadType = 0 , |
||
unsigned | frameRate = 0 , |
||
unsigned | profileId = 0 |
||
) |
Definition at line 133 of file media_codec.cpp.
jami::SystemVideoCodecInfo::~SystemVideoCodecInfo | ( | ) |
Definition at line 160 of file media_codec.cpp.
|
overridevirtual |
Reimplemented from jami::SystemCodecInfo.
Definition at line 163 of file media_codec.cpp.
References libjami::Account::ConfProperties::CodecInfo::BITRATE, jami::SystemCodecInfo::bitrate, libjami::Account::ConfProperties::CodecInfo::FRAME_RATE, frameRate, jami::SystemCodecInfo::longName, libjami::Account::ConfProperties::CodecInfo::MAX_BITRATE, jami::SystemCodecInfo::maxBitrate, jami::MEDIA_AUDIO, jami::SystemCodecInfo::mediaType, libjami::Account::ConfProperties::CodecInfo::MIN_BITRATE, jami::SystemCodecInfo::minBitrate, libjami::Account::ConfProperties::CodecInfo::NAME, and libjami::Account::ConfProperties::CodecInfo::TYPE.
void jami::SystemVideoCodecInfo::setCodecSpecifications | ( | const std::map< std::string, std::string > & | details | ) |
Definition at line 177 of file media_codec.cpp.
References libjami::Account::ConfProperties::CodecInfo::AUTO_QUALITY_ENABLED, libjami::Account::ConfProperties::CodecInfo::BITRATE, jami::SystemCodecInfo::bitrate, jami::emitSignal(), libjami::Account::ConfProperties::CodecInfo::FRAME_RATE, libjami::Account::ConfProperties::CodecInfo::QUALITY, and jami::TRUE_STR.
unsigned jami::SystemVideoCodecInfo::frameRate |
Definition at line 167 of file media_codec.h.
Referenced by getCodecSpecifications().
Definition at line 170 of file media_codec.h.
std::string jami::SystemVideoCodecInfo::parameters |
Definition at line 169 of file media_codec.h.
unsigned jami::SystemVideoCodecInfo::profileId |
Definition at line 168 of file media_codec.h.