Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to close the avfoundation device multiple time #419

Merged
merged 3 commits into from
Aug 1, 2022

Conversation

EmrysMyrddin
Copy link
Contributor

Description

Allow to close multiple time an avfoundation. For now, when closing an alreacy closed VideoTrack comming from avfoundation leads to a panic (close of closed channel)

@codecov
Copy link

codecov bot commented Jul 29, 2022

Codecov Report

Merging #419 (c93efe8) into master (43272ea) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #419   +/-   ##
=======================================
  Coverage   47.23%   47.23%           
=======================================
  Files          67       67           
  Lines        4456     4456           
=======================================
  Hits         2105     2105           
  Misses       2226     2226           
  Partials      125      125           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43272ea...c93efe8. Read the comment docs.

@EmrysMyrddin EmrysMyrddin force-pushed the fix/avfoundation_multiple_close branch from 2780282 to 0c161f6 Compare July 29, 2022 12:06
pkg/avfoundation/avfoundation_darwin.go Outdated Show resolved Hide resolved
Co-authored-by: Atsushi Watanabe <atsushi.w@ieee.org>
@EmrysMyrddin EmrysMyrddin merged commit 14db2b8 into master Aug 1, 2022
@EmrysMyrddin EmrysMyrddin deleted the fix/avfoundation_multiple_close branch August 1, 2022 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants