Skip to content

Add SipUaHelperListener onNewInfo callback - #573

Open
eschmidbauer wants to merge 1 commit into
flutter-webrtc:mainfrom
eschmidbauer:main
Open

Add SipUaHelperListener onNewInfo callback#573
eschmidbauer wants to merge 1 commit into
flutter-webrtc:mainfrom
eschmidbauer:main

Conversation

@eschmidbauer

Copy link
Copy Markdown
Contributor

Add onNewInfo callback to SipUaHelperListener

Summary

  • Surface SIP INFO events through the public SipUaHelperListener interface.
  • Bridge internal EventNewInfo to a new SipInfo data object for consumers.

Why

  • INFO messages are currently only accessible via internal event handling.
  • Exposing a listener callback lets apps handle SIP INFO using the same public callback pattern as other SIP events.

Changes

  • Register EventNewInfo in SIPUAHelper.buildCallOptions.
  • Add _notifyInfoListeners to forward INFO events.
  • Add SipInfo data holder and onNewInfo default method to SipUaHelperListener.

Testing

  • Not added (API wiring only).

Notes

  • Backwards compatible: existing listeners aren’t required to implement onNewInfo.

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