Skip to content

Conversation

@JoTurk
Copy link
Member

@JoTurk JoTurk commented Feb 8, 2026

Description

This makes the parser accept any proto value similar to how we handle fmt.

The latest spec (rfc-8866) doesn't explicitly address unknown proto values but #242 got me thinking that this parser will break every-time a new value is added to IANA.

We can't log a warning either because we don't pass pion/logging to SDP (I think we should when we introduce a new construction API to sdp).

Also this is us being more: be liberal in what you accept from others.

@JoTurk JoTurk force-pushed the accept-all-proto-values branch from ae1c403 to 26996d7 Compare February 8, 2026 14:20
@codecov
Copy link

codecov bot commented Feb 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.39%. Comparing base (932dbd9) to head (720504f).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #243      +/-   ##
==========================================
- Coverage   97.43%   97.39%   -0.04%     
==========================================
  Files          12       12              
  Lines        1405     1384      -21     
==========================================
- Hits         1369     1348      -21     
  Misses         19       19              
  Partials       17       17              
Flag Coverage Δ
go 97.39% <100.00%> (-0.04%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JoTurk JoTurk requested a review from philipch07 February 8, 2026 14:21
@JoTurk JoTurk force-pushed the accept-all-proto-values branch from 26996d7 to bdca519 Compare February 8, 2026 14:22
@JoTurk JoTurk force-pushed the accept-all-proto-values branch from bdca519 to 720504f Compare February 8, 2026 14:24
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.

1 participant