create non-default port destination explicitly

This commit is contained in:
orignal 2023-04-12 07:46:50 -04:00
parent 4ebc7c970a
commit b8d21a1282

View File

@ -693,7 +693,7 @@ namespace client
{
if (!inport) inport = port;
m_PortDestination = localDestination->GetStreamingDestination (inport);
if (!m_PortDestination)
if (!m_PortDestination || (inport && (m_PortDestination == localDestination->GetStreamingDestination ()))) // default destination
m_PortDestination = localDestination->CreateStreamingDestination (inport, gzip);
}