mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
[#2006] Add init is_rec variable in ManagerImpl
This commit is contained in:
@ -57,7 +57,7 @@ void AudioZrtpSession::initializeZid (void)
|
||||
_debug(" xdg_config %s\n", xdg_config.c_str());
|
||||
|
||||
if (XDG_CACHE_HOME != NULL) {
|
||||
std::string xdg_env = std::string (XDG_CACHE_HOME);
|
||||
std::string xdg_env = std::string (XDG_CACHE_HOME) + _zidFilename;
|
||||
_debug(" xdg_env %s\n", xdg_env.c_str());
|
||||
(xdg_env.length() > 0) ? zidCompleteFilename = xdg_env : zidCompleteFilename = xdg_config;
|
||||
} else
|
||||
|
@ -613,6 +613,7 @@ ManagerImpl::offHoldCall (const CallID& call_id)
|
||||
bool returnValue, is_rec;
|
||||
std::string codecName;
|
||||
|
||||
is_rec = false;
|
||||
|
||||
_debug ("ManagerImpl::offHoldCall(%s)\n", call_id.c_str());
|
||||
|
||||
@ -2194,8 +2195,6 @@ ManagerImpl::createSettingsPath (void)
|
||||
|
||||
xdg_config = std::string (HOMEDIR) + DIR_SEPARATOR_STR + ".config" + DIR_SEPARATOR_STR + PROGDIR;
|
||||
|
||||
//_path = std::string (HOMEDIR) + DIR_SEPARATOR_STR + "." + PROGDIR;
|
||||
|
||||
if (XDG_CONFIG_HOME != NULL) {
|
||||
xdg_env = std::string (XDG_CONFIG_HOME);
|
||||
(xdg_env.length() > 0) ? _path = xdg_env
|
||||
@ -2507,6 +2506,7 @@ ManagerImpl::getCurrentCodecName (const CallID& id)
|
||||
VoIPLink* link = getAccountLink (accountid);
|
||||
Call* call = link->getCall(id);
|
||||
|
||||
|
||||
if(call->getState() != Call::Active)
|
||||
return "";
|
||||
else
|
||||
|
Reference in New Issue
Block a user