Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
e2ddb931
Commit
e2ddb931
authored
Jun 13, 2017
by
Wescoeur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(src/components/core/CoreManager): force capture/display attributes
parent
6aceba9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
CoreManager.cpp
linphone-desktop/src/components/core/CoreManager.cpp
+9
-0
No files found.
linphone-desktop/src/components/core/CoreManager.cpp
View file @
e2ddb931
...
@@ -138,6 +138,15 @@ void CoreManager::createLinphoneCore (const QString &configPath) {
...
@@ -138,6 +138,15 @@ void CoreManager::createLinphoneCore (const QString &configPath) {
mCore
->
usePreviewWindow
(
true
);
mCore
->
usePreviewWindow
(
true
);
mCore
->
setUserAgent
(
"Linphone Desktop"
,
LINPHONE_QT_GIT_VERSION
);
mCore
->
setUserAgent
(
"Linphone Desktop"
,
LINPHONE_QT_GIT_VERSION
);
// Force capture/display.
// Useful if the app was built without video support.
// (The capture/display attributes are reset by the core in this case.)
if
(
mCore
->
videoSupported
())
{
shared_ptr
<
linphone
::
Config
>
config
=
mCore
->
getConfig
();
config
->
setInt
(
"video"
,
"capture"
,
1
);
config
->
setInt
(
"video"
,
"display"
,
1
);
}
setDatabasesPaths
();
setDatabasesPaths
();
setOtherPaths
();
setOtherPaths
();
}
}
...
...
Write
Preview
Markdown
is supported
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