Skip to content
Snippets Groups Projects
Commit 12ba4e34 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #7037: audio: stop audio stream if user starts then stops dialing

This allows other applications to resume audio.
parent 983d73fe
No related branches found
No related tags found
No related merge requests found
...@@ -423,6 +423,7 @@ bool ManagerImpl::hangupCall(const std::string& callId) ...@@ -423,6 +423,7 @@ bool ManagerImpl::hangupCall(const std::string& callId)
/* We often get here when the call was hungup before being created */ /* We often get here when the call was hungup before being created */
if (not isValidCall(callId) and not isIPToIP(callId)) { if (not isValidCall(callId) and not isIPToIP(callId)) {
DEBUG("Could not hang up call %s, call not valid", callId.c_str()); DEBUG("Could not hang up call %s, call not valid", callId.c_str());
checkAudio();
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment