summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSho Amano <samano@xevo.com>2018-06-29 15:45:52 +0900
committerSho Amano <samano@xevo.com>2018-06-29 15:55:24 +0900
commit78c6cf0766f4da9008cc10c86ecf6cb3014fa951 (patch)
treef0c1f4d7d303b1ce9251274fe423ff703119e2a4
parenta9ac2721b7b287622275cc1ebdac4a24e7cf7a31 (diff)
downloadsdl_core-78c6cf0766f4da9008cc10c86ecf6cb3014fa951.tar.gz
Add a comment regarding multiple transport is disabled
-rw-r--r--src/components/protocol_handler/src/protocol_handler_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/protocol_handler/src/protocol_handler_impl.cc b/src/components/protocol_handler/src/protocol_handler_impl.cc
index e90ab5bf40..ffbd4b89e0 100644
--- a/src/components/protocol_handler/src/protocol_handler_impl.cc
+++ b/src/components/protocol_handler/src/protocol_handler_impl.cc
@@ -2445,6 +2445,10 @@ const bool ProtocolHandlerImpl::ParseSecondaryTransportConfiguration(
return false;
}
}
+ // note: even if settings_.multiple_transports_enabled() is false, we still
+ // send out an empty "secondaryTransports" parameter, along with
+ // "videoServiceTransports" and "audioServiceTransports" params which are
+ // useful without secondary transport.
// Then, generate the "secondaryTransports" array for the StartSession ACK
GenerateSecondaryTransportsForStartSessionAck(secondary_transport_types,