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

[#2165] Fix conferences start/stop

parent 71f8c85d
Branches
Tags
No related merge requests found
...@@ -55,7 +55,7 @@ Conference::Conference() ...@@ -55,7 +55,7 @@ Conference::Conference()
_nbParticipant = 0; _nbParticipant = 0;
_id = conf.append (s); _id = conf.append (s);
Recordable::initRecFileName();
} }
...@@ -182,6 +182,8 @@ bool Conference::setRecording() { ...@@ -182,6 +182,8 @@ bool Conference::setRecording() {
mbuffer->bindHalfDuplexOut(process_id); mbuffer->bindHalfDuplexOut(process_id);
Recordable::recorder.start();
} }
// stop recording // stop recording
else { else {
...@@ -199,10 +201,9 @@ bool Conference::setRecording() { ...@@ -199,10 +201,9 @@ bool Conference::setRecording() {
mbuffer->unBindHalfDuplexOut(process_id); mbuffer->unBindHalfDuplexOut(process_id);
} // Recordable::recorder.start();
}
Recordable::recorder.start();
return recordStatus; return recordStatus;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment