Skip to content

Accept M145 ICE candidate type names - #250

Open
sierpinskid wants to merge 1 commit into
mainfrom
bugfix/UNI-271-accept-m145-ice-candidate-types
Open

sierpinskid wants to merge 1 commit into
mainfrom
bugfix/UNI-271-accept-m145-ice-candidate-types

Conversation

@sierpinskid

Copy link
Copy Markdown
Member

Summary

  • ParseRTCIceCandidateType keeps local and stun, and also accepts M145 host and srflx. Unknown strings still throw.
  • This is the parser only. No native binary. Current libraries never emit the new names, so behavior on today's binaries is unchanged.
  • The editor test needs InternalsVisibleTo because the parser is internal.

Test plan

  • local and host parse as Host; stun and srflx parse as Srflx
  • An unknown string still throws ArgumentException
  • CI EditMode on 2021.3 and 6000.2 compiles and runs ParseRtcIceCandidateTypeTests
  • Diff contains no native binary

Made with Cursor

Libraries before M145 report local and stun. M145 reports host and srflx, and the parser throws, which drops outgoing ICE trickle.

Co-authored-by: Cursor <cursoragent@cursor.com>
@getstream-metis

Copy link
Copy Markdown

👋 Hi Daniel, want a second pair of eyes on this?

I'm Jeffery, Stream's review agent. I look for bugs, regressions, missing tests and slow paths, and I only post findings I've checked against the code.

  • Review this PR

Or comment /jeffery review. I'll stay quiet unless you ask.

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.

1 participant