Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions example/lib/src/register.dart
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,13 @@ class _MyRegisterWidget extends State<RegisterWidget>
_saveSettings();

currentUser.register(SipUser(
wsUrl: _wsUriController.text,
//this is the websocket url which was missing in the original code hence it
//was showing null in the register method of sip_user_cubit.dart and always
//redirected to 'wss://tryit.jssip.net:10443', present inside sip_ua_helper.dart
//161: uaSettings.webSocketUrl ?? 'wss://tryit.jssip.net:10443',
//this will help people trying out the example to register with the correct url
//without changing the code in sip_ua_helper.dart
selectedTransport: _selectedTransport,
wsExtraHeaders: _wsExtraHeaders,
sipUri: _sipUriController.text,
Expand Down