File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,13 @@ class _MyRegisterWidget extends State<RegisterWidget>
127127 _saveSettings ();
128128
129129 currentUser.register (SipUser (
130+ wsUrl: _wsUriController.text,
131+ //this is the websocket url which was missing in the original code hence it
132+ //was showing null in the register method of sip_user_cubit.dart and always
133+ //redirected to 'wss://tryit.jssip.net:10443', present inside sip_ua_helper.dart
134+ //161: uaSettings.webSocketUrl ?? 'wss://tryit.jssip.net:10443',
135+ //this will help people trying out the example to register with the correct url
136+ //without changing the code in sip_ua_helper.dart
130137 selectedTransport: _selectedTransport,
131138 wsExtraHeaders: _wsExtraHeaders,
132139 sipUri: _sipUriController.text,
You can’t perform that action at this time.
0 commit comments