Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-libclient
Commits
3e386d01
Commit
3e386d01
authored
Nov 15, 2019
by
Sébastien Blin
Committed by
Andreas Traczyk
Nov 15, 2019
Browse files
avmodel: getCurrentRenderedDevice support conferences
Change-Id: I31cbd9c0d14e31030fa3816d381f691c7fd25fec
parent
7aa68219
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/avmodel.cpp
View file @
3e386d01
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment