Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
f372439b
Commit
f372439b
authored
Oct 19, 2009
by
Alexandre Savard
Browse files
[#2308] Stop stream when refusing a call
parent
051f9c7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/managerimpl.cpp
View file @
f372439b
...
...
@@ -779,6 +779,19 @@ ManagerImpl::refuseCall (const CallID& id)
stopTone
(
true
);
int
nbCalls
=
getCallList
().
size
();
// AudioLayer* audiolayer = getAudioDriver();
if
(
nbCalls
<=
1
)
{
_debug
(
" hangupCall: stop audio stream, ther is only %i call(s) remaining
\n
"
,
nbCalls
);
AudioLayer
*
audiolayer
=
getAudioDriver
();
audiolayer
->
stopStream
();
}
/* Direct IP to IP call */
if
(
getConfigFromCall
(
id
)
==
Call
::
IPtoIP
)
{
...
...
@@ -809,6 +822,8 @@ ManagerImpl::refuseCall (const CallID& id)
switchCall
(
""
);
}
return
returnValue
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment