Skip to content
Snippets Groups Projects
Commit 511293d1 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#1313] Add init/close rtp tests

parent e15e29f0
Branches
Tags
No related merge requests found
...@@ -81,7 +81,7 @@ AudioRtp::createNewSession (SIPCall *ca) { ...@@ -81,7 +81,7 @@ AudioRtp::createNewSession (SIPCall *ca) {
} }
void bool
AudioRtp::closeRtpSession () { AudioRtp::closeRtpSession () {
ost::MutexLock m(_threadMutex); ost::MutexLock m(_threadMutex);
...@@ -96,6 +96,8 @@ AudioRtp::closeRtpSession () { ...@@ -96,6 +96,8 @@ AudioRtp::closeRtpSession () {
} }
AudioLayer* audiolayer = Manager::instance().getAudioDriver(); AudioLayer* audiolayer = Manager::instance().getAudioDriver();
audiolayer->stopStream(); audiolayer->stopStream();
return true;
} }
......
...@@ -200,7 +200,7 @@ class AudioRtp { ...@@ -200,7 +200,7 @@ class AudioRtp {
/** /**
* Close a RTP session and kills the remaining threads * Close a RTP session and kills the remaining threads
*/ */
void closeRtpSession( void ); bool closeRtpSession( void );
/** /**
* Start recording * Start recording
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment