anacrolix / dms

A UPnP DLNA Digital Media Server that includes basic video transcoding. Tested on a Panasonic Viera television, several Android UPnP apps, and Chromecast.
BSD 3-Clause "New" or "Revised" License
646 stars 96 forks source link

old LG stalled subscribe connection went away #138

Closed leporel closed 9 months ago

leporel commented 9 months ago

I have this in log

[2024-02-15 20:55:50 +0000 NIL] stalled subscribe connection went away after 30.000211588s [dlna dms server eventing github.com/anacrolix/dms/dlna/dms dms.go:760]
[2024-02-15 20:56:20 +0000 NIL] stalled subscribe connection went away after 29.99982961s [dlna dms server eventing github.com/anacrolix/dms/dlna/dms dms.go:760]
[2024-02-15 20:57:44 +0000 NIL] stalled subscribe connection went away after 30.04456817s [dlna dms server eventing github.com/anacrolix/dms/dlna/dms dms.go:760]

And my LG can't connect (open) DLNA library

i am using github.com/YouROK/TorrServer, author hardcoded NotifyInterval, if i increase this interval, it will help me?

anacrolix commented 9 months ago

No, I don't think so. I wonder why @tsynik added the stalling flag. I can't believe that code is nearly 9 years old.

anacrolix commented 9 months ago

Actually I think it might be worth trying with StallEventSubscribe set to false. I think having it true will make a lot of TVs not work as expected.

leporel commented 9 months ago

thx, i see tsynik make changes, i hope it make sense, will try this when new version come to release.