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

Revert "Make RTPTransceiver Stopped an atomic" #1969

Merged

Conversation

digitalix
Copy link
Member

This reverts commit 6c36200.

@codecov
Copy link

codecov bot commented Sep 24, 2021

Codecov Report

Merging #1969 (b8c04d4) into master (5e98c50) will decrease coverage by 0.00%.
The diff coverage is 73.68%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1969      +/-   ##
==========================================
- Coverage   76.87%   76.86%   -0.01%     
==========================================
  Files          85       85              
  Lines        6213     6206       -7     
==========================================
- Hits         4776     4770       -6     
- Misses       1030     1032       +2     
+ Partials      407      404       -3     
Flag Coverage Δ
go 78.63% <73.68%> (-0.01%) ⬇️
wasm 70.90% <100.00%> (+0.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
rtptransceiver.go 82.85% <42.85%> (-1.26%) ⬇️
peerconnection.go 75.89% <90.00%> (+0.27%) ⬆️
atomicbool.go 100.00% <100.00%> (+16.66%) ⬆️
sctptransport.go 76.11% <0.00%> (-3.34%) ⬇️
datachannel.go 82.98% <0.00%> (+1.24%) ⬆️

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 5e98c50...b8c04d4. Read the comment docs.

This reverts commit 6c36200.
This commit would cause sender.ReadRTCP() to never return
even when pc associated with this sender was closed.
The aftermath is leaked goroutines that will never stop.
@digitalix digitalix force-pushed the digitalix/revert-rtp-transceiver-atomic branch from a454532 to 0f4f850 Compare September 24, 2021 14:25
@digitalix digitalix merged commit f93ea80 into pion:master Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants