|
Ring Daemon
|
#include <media_codec.h>


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} |
Definition at line 58 of file media_codec.h.
| 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 31 of file media_codec.cpp.
|
virtual |
Definition at line 55 of file media_codec.cpp.
|
virtual |
Reimplemented in jami::SystemAudioCodecInfo, and jami::SystemVideoCodecInfo.
Definition at line 58 of file media_codec.cpp.
References libjami::Account::ConfProperties::CodecInfo::BITRATE, bitrate, longName, jami::MEDIA_AUDIO, mediaType, libjami::Account::ConfProperties::CodecInfo::NAME, and libjami::Account::ConfProperties::CodecInfo::TYPE.
| unsigned jami::SystemCodecInfo::avcodecId |
Definition at line 92 of file media_codec.h.
Referenced by jami::SystemAudioCodecInfo::isPCMG722().
| unsigned jami::SystemCodecInfo::bitrate |
Definition at line 102 of file media_codec.h.
Referenced by getCodecSpecifications(), jami::SystemAudioCodecInfo::getCodecSpecifications(), jami::SystemVideoCodecInfo::getCodecSpecifications(), jami::SystemAudioCodecInfo::setCodecSpecifications(), and jami::SystemVideoCodecInfo::setCodecSpecifications().
| CodecType jami::SystemCodecInfo::codecType |
Definition at line 97 of file media_codec.h.
Definition at line 60 of file media_codec.h.
Referenced by jami::video::VideoRtpSession::stop().
Definition at line 72 of file media_codec.h.
Referenced by jami::video::VideoRtpSession::updateMedia().
Definition at line 71 of file media_codec.h.
Definition at line 69 of file media_codec.h.
Referenced by jami::video::VideoRtpSession::stop().
Definition at line 73 of file media_codec.h.
Referenced by jami::SystemCodecContainer::initCodecConfig(), jami::MediaEncoder::setOptions(), jami::video::VideoRtpSession::stop(), jami::MediaEncoder::testH265Accel(), and jami::video::VideoRtpSession::updateMedia().
| unsigned jami::SystemCodecInfo::id |
Definition at line 91 of file media_codec.h.
Definition at line 110 of file media_codec.h.
| std::string jami::SystemCodecInfo::libName |
Definition at line 96 of file media_codec.h.
| std::string jami::SystemCodecInfo::longName |
Definition at line 93 of file media_codec.h.
Referenced by getCodecSpecifications(), jami::SystemAudioCodecInfo::getCodecSpecifications(), and jami::SystemVideoCodecInfo::getCodecSpecifications().
| unsigned jami::SystemCodecInfo::maxBitrate = DEFAULT_MAX_BITRATE |
Definition at line 104 of file media_codec.h.
Referenced by jami::SystemVideoCodecInfo::getCodecSpecifications().
| unsigned jami::SystemCodecInfo::maxQuality = DEFAULT_NO_QUALITY |
Definition at line 106 of file media_codec.h.
| MediaType jami::SystemCodecInfo::mediaType |
Definition at line 98 of file media_codec.h.
Referenced by getCodecSpecifications(), jami::SystemAudioCodecInfo::getCodecSpecifications(), and jami::SystemVideoCodecInfo::getCodecSpecifications().
| unsigned jami::SystemCodecInfo::minBitrate = DEFAULT_MIN_BITRATE |
Definition at line 103 of file media_codec.h.
Referenced by jami::SystemVideoCodecInfo::getCodecSpecifications().
| unsigned jami::SystemCodecInfo::minQuality = DEFAULT_NO_QUALITY |
Definition at line 105 of file media_codec.h.
| std::string jami::SystemCodecInfo::name |
Definition at line 95 of file media_codec.h.
| unsigned jami::SystemCodecInfo::order {0} |
Definition at line 109 of file media_codec.h.
| unsigned jami::SystemCodecInfo::payloadType |
Definition at line 101 of file media_codec.h.
| unsigned jami::SystemCodecInfo::quality |
Definition at line 111 of file media_codec.h.