We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d491f commit 0a99bddCopy full SHA for 0a99bdd
lib/src/ua.dart
@@ -880,8 +880,14 @@ class UA extends EventManager {
880
// User no_answer_timeout.
881
_configuration.no_answer_timeout *= 1000;
882
883
+ //Default transport initialization
884
String transport = _configuration.transportType?.name ?? 'WS';
885
886
+ //Override transport from socket
887
+ if(transport == 'WS' && _socketTransport != null){
888
+ transport = _socketTransport!.via_transport;
889
+ }
890
+
891
// Via Host.
892
if (_configuration.contact_uri != null) {
893
_configuration.via_host = _configuration.contact_uri.host;
0 commit comments