Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-qt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-qt
Commits
0af4af16
Commit
0af4af16
authored
1 year ago
by
Sébastien Blin
Committed by
Adrien Béraud
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
LocalVideo: close previous device when switching device
Change-Id: Ia6a8c56e1b259dd33d85734a85f1a3a652da5206 GitLab:
#1446
parent
850decf3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/commoncomponents/LocalVideo.qml
+4
-0
4 additions, 0 deletions
src/app/commoncomponents/LocalVideo.qml
with
4 additions
and
0 deletions
src/app/commoncomponents/LocalVideo.qml
+
4
−
0
View file @
0af4af16
...
...
@@ -31,6 +31,10 @@ VideoView {
rendererId
=
id
;
}
else
{
const
forceRestart
=
rendererId
===
id
;
if
(
!
forceRestart
)
{
// Stop previous device
VideoDevices
.
stopDevice
(
rendererId
);
}
rendererId
=
VideoDevices
.
startDevice
(
id
,
forceRestart
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment