Merge pull request #4976 from BaronGreenback/dlnaPortFix

Fixed DLNA Server on RC2
This commit is contained in:
Bond-009
2021-01-08 21:06:14 +01:00
committed by GitHub

View File

@@ -315,7 +315,7 @@ namespace Emby.Dlna.Main
var uri = new UriBuilder(_appHost.GetSmartApiUrl(address.Address) + descriptorUri);
// DLNA will only work over http, so we must reset to http:// : {port}
uri.Scheme = "http://";
uri.Port = _netConfig.PublicPort;
uri.Port = _netConfig.HttpServerPortNumber;
var device = new SsdpRootDevice
{