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

Remove the "Unknown" constants #1929

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Remove the "Unknown" constants #1929

merged 1 commit into from
Sep 12, 2023

Conversation

wdouglass
Copy link
Member

Description

This patchset removes the Unknown constant, which may cause bugs and collide in various places around the codebase

This is a draft until we start working toward 4.0 -- also, it uses an older version of pion/ice which will need to be patched.

Reference issue

Fixes #1293

@codecov
Copy link

codecov bot commented Aug 24, 2021

Codecov Report

Patch coverage is 88.88% of modified lines.

Files Changed Coverage
constants.go ø
rtpcodec.go ø
sdpsemantics.go 0.00%
icecandidatetype.go 50.00%
networktype.go 50.00%
bundlepolicy.go 100.00%
datachannelstate.go 100.00%
dtlsrole.go 100.00%
dtlstransportstate.go 100.00%
icecomponent.go 100.00%
... and 14 more

📢 Thoughts on this report? Let us know!.

@wdouglass wdouglass marked this pull request as ready for review August 24, 2021 13:46
@wdouglass wdouglass marked this pull request as draft August 24, 2021 13:46
@wdouglass wdouglass force-pushed the unknown-constant branch 4 times, most recently from d3c0898 to 8f572e7 Compare August 25, 2021 12:19
@Sean-Der Sean-Der added this to the 3.2.0 milestone Jan 24, 2022
@Sean-Der Sean-Der removed this from the 3.2.0 milestone May 22, 2022
@stv0g stv0g changed the title Remove the "Uknown" constant Remove the "Unknown" constants Nov 12, 2022
@Sean-Der Sean-Der marked this pull request as ready for review September 12, 2023 15:50
This commit replaces the Unknown constant with
separate constants for each enumeration that
uses it.

Fixes #1293
@Sean-Der Sean-Der merged commit 1345033 into master Sep 12, 2023
16 of 19 checks passed
@Sean-Der Sean-Der deleted the unknown-constant branch September 12, 2023 17:29
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.

Unknown constant collides
2 participants