mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-21 05:00:39 +02:00
update ssdp socket binding
This commit is contained in:
parent
bdc04cda17
commit
5a3ca5b6f9
|
@ -170,7 +170,10 @@ namespace MediaBrowser.Dlna.Ssdp
|
||||||
values["ST"] = d.Type;
|
values["ST"] = d.Type;
|
||||||
values["USN"] = d.USN;
|
values["USN"] = d.USN;
|
||||||
|
|
||||||
SendDatagram(header, values, endpoint, new IPEndPoint(d.Address, 0));
|
// Commenting this out because binding to the local ipendpoint often throws an error
|
||||||
|
//SendDatagram(header, values, endpoint, new IPEndPoint(d.Address, 0));
|
||||||
|
|
||||||
|
SendDatagram(header, values, endpoint, null);
|
||||||
|
|
||||||
if (_config.GetDlnaConfiguration().EnableDebugLogging)
|
if (_config.GetDlnaConfiguration().EnableDebugLogging)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue