Skip to content

Expose generated contact URI from SIPUAHelper#583

Open
Jerome-Jumah wants to merge 1 commit into
flutter-webrtc:mainfrom
Jerome-Jumah:expose-contact-uri
Open

Expose generated contact URI from SIPUAHelper#583
Jerome-Jumah wants to merge 1 commit into
flutter-webrtc:mainfrom
Jerome-Jumah:expose-contact-uri

Conversation

@Jerome-Jumah

Copy link
Copy Markdown

Summary

Expose the User-Agent generated Contact URI through SIPUAHelper.

Some consumers need the generated SIP Contact URI for external registration or routing coordination, but currently the generated Contact is only available through internal UA state.

Change

Adds a nullable contactUri getter to SIPUAHelper:

String? get contactUri => _ua?.contact?.uri?.toString();

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