Skip to content

feat: bridge OnIceSelectedCandidatePairChanged to Java observers - #247

Merged
devopvoid merged 1 commit into
devopvoid:mainfrom
SendableMetatype:feature/selected-candidate-pair
Aug 11, 2026
Merged

feat: bridge OnIceSelectedCandidatePairChanged to Java observers#247
devopvoid merged 1 commit into
devopvoid:mainfrom
SendableMetatype:feature/selected-candidate-pair

Conversation

@SendableMetatype

Copy link
Copy Markdown
Contributor

The engine reports every selected candidate pair change through OnIceSelectedCandidatePairChanged, but the Java observer interface has no corresponding callback, so an application cannot learn the remote transport address at nomination time or follow pair migrations afterwards.

Adds PeerConnectionObserver.onSelectedCandidatePairChanged(String remoteAddress, int remotePort, String candidateType), fired on every nomination and re nomination. Implemented as a default method, so existing observers are unaffected.

@devopvoid
devopvoid merged commit bedfd27 into devopvoid:main Aug 11, 2026
7 checks passed
@SendableMetatype
SendableMetatype deleted the feature/selected-candidate-pair branch August 12, 2026 15:33
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