8000 Fix ICE candidate parsing by ketsapiwiq · Pull Request #412 · gradio-app/fastrtc · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@ketsapiwiq
Copy link
@ketsapiwiq ketsapiwiq commented Nov 23, 2025

in webrtc_connection_mixin.py fix ICE candidate validation from len(parts) >= 10 to len(parts) >= 8 to comply with RFC 5245 Section 15.1.
Resolves rejection of valid Host candidates (8 tokens) and Peer-Reflexive candidates when self-reflexive peers gather without optional attributes. RFC 5245

@ketsapiwiq ketsapiwiq marked this pull request as draft November 23, 2025 01:27
@ketsapiwiq ketsapiwiq changed the title Fix ICE candidate parsing for shorter candidate formats Fix ICE candidate parsing for 8-part ICE candidates Nov 23, 2025
@ketsapiwiq ketsapiwiq changed the title Fix ICE candidate parsing for 8-part ICE candidates Fix ICE candidate parsing Nov 23, 2025
- Update validation from len(parts) >= 10 to len(parts) >= 8
- Add support for standard RFC 5245 ICE candidates
- Include real examples and RFC compliance in comments
- Tested with actual host candidates: candidate:0 1 UDP 2122187007 192.168.1.52 38846 typ host
@ketsapiwiq ketsapiwiq force-pushed the fix-ice-candidate-parsing branch from 29856af to 3077f0a Compare November 23, 2025 02:15
@gtherond
Copy link
gtherond commented Jan 7, 2026

I've stumble upon this issue too!
Would it be possible to merge it and release a version that get this patch?

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.

2 participants

0