Skip to content

feat: bridge OnIceSelectedCandidatePairChanged to Java observers - #247

Open
SendableMetatype wants to merge 1 commit into
devopvoid:mainfrom
SendableMetatype:feature/selected-candidate-pair
Open

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

Conversation

@SendableMetatype

Copy link
Copy Markdown

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.

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