Skip to content
Snippets Groups Projects
Commit 765e0650 authored by Pierre Lespagnol's avatar Pierre Lespagnol Committed by Adrien Béraud
Browse files

recorder: handle remote recording for conference

Change-Id: I2acae919d2a600e8125e203c169be057ec8fda81
parent 423c3340
Branches
No related tags found
No related merge requests found
......@@ -1638,12 +1638,17 @@ SIPCall::rtpSetupSuccess(MediaType type)
void
SIPCall::setRemoteRecording(bool state)
{
std::string id {};
if (getConfId().empty())
id = getCallId();
else
id = getConfId();
if (state) {
JAMI_WARN("SIP remote recording enabled");
emitSignal<DRing::CallSignal::RemoteRecordingChanged>(getCallId(), getPeerNumber(), true);
emitSignal<DRing::CallSignal::RemoteRecordingChanged>(id, getPeerNumber(), true);
} else {
JAMI_WARN("SIP remote recording disabled");
emitSignal<DRing::CallSignal::RemoteRecordingChanged>(getCallId(), getPeerNumber(), false);
emitSignal<DRing::CallSignal::RemoteRecordingChanged>(id, getPeerNumber(), false);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment