Commit 3e386d01 authored by Sébastien Blin's avatar Sébastien Blin Committed by Andreas Traczyk

avmodel: getCurrentRenderedDevice support conferences

Change-Id: I31cbd9c0d14e31030fa3816d381f691c7fd25fec
parent 7aa68219
......@@ -638,8 +638,13 @@ video::RenderedDevice
AVModel::getCurrentRenderedDevice(const std::string& call_id) const
{
video::RenderedDevice result;
MapStringString callDetails = CallManager::instance()
.getCallDetails(call_id.c_str());
MapStringString callDetails;
QStringList conferences = CallManager::instance().getConferenceList();
if (conferences.indexOf(call_id.c_str()) != -1) {
callDetails = CallManager::instance().getConferenceDetails(call_id.c_str());
} else {
callDetails = CallManager::instance().getCallDetails(call_id.c_str());
}
if (!callDetails.contains("VIDEO_SOURCE")) {
return result;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment