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

avmodel: getCurrentRenderedDevice support conferences

Change-Id: I31cbd9c0d14e31030fa3816d381f691c7fd25fec
parent 7aa68219
...@@ -638,8 +638,13 @@ video::RenderedDevice ...@@ -638,8 +638,13 @@ video::RenderedDevice
AVModel::getCurrentRenderedDevice(const std::string& call_id) const AVModel::getCurrentRenderedDevice(const std::string& call_id) const
{ {
video::RenderedDevice result; video::RenderedDevice result;
MapStringString callDetails = CallManager::instance() MapStringString callDetails;
.getCallDetails(call_id.c_str()); 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")) { if (!callDetails.contains("VIDEO_SOURCE")) {
return result; return result;
} }
......
Supports Markdown
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