Skip to content

ice: support adding peer-reflexive remote candidates in STUN lite#175

Open
deltapath-eric wants to merge 1 commit into
sippy:masterfrom
deltapath-eric:master
Open

ice: support adding peer-reflexive remote candidates in STUN lite#175
deltapath-eric wants to merge 1 commit into
sippy:masterfrom
deltapath-eric:master

Conversation

@deltapath-eric
Copy link
Copy Markdown

Fixes an issue where STUN lite handling would drop incoming requests if the remote candidate was not already known. Instead of logging a warning and ignoring the packet, the server now attempts to dynamically add the remote candidate as a Peer-Reflexive (prflx) candidate.

Changes:

  • Update handle_stun_lite to accept the prio (priority) parameter.
  • Invoke icem_rcand_add_prflx when a remote candidate cannot be found.
  • Pass prio_prflx down from the main STUN message handler into handle_stun_lite.

Fixes an issue where STUN lite handling would drop incoming requests if the 
remote candidate was not already known. Instead of logging a warning and 
ignoring the packet, the server now attempts to dynamically add the remote 
candidate as a Peer-Reflexive (prflx) candidate.

Changes:
- Update `handle_stun_lite` to accept the `prio` (priority) parameter.
- Invoke `icem_rcand_add_prflx` when a remote candidate cannot be found.
- Pass `prio_prflx` down from the main STUN message handler into `handle_stun_lite`.
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