KeithDHedger / CastReceiver

A small upnp renderer for linux ( aimed at RPI3 ) to display cast videos etc on main TV.
GNU General Public License v3.0
11 stars 2 forks source link

Renderer not visible #2

Open noobi0 opened 3 years ago

noobi0 commented 3 years ago

First of all, great software, as currently I am running minidlna on SOC with attached HDD, and external DAC, and was looking for very lightweight renderer. mpd + upmpdcli, was used before, but if one wants less bloat, and only use DLNA, then this is bare minumum to do it.

I would probably suggest to add instruction for compiling on ARM on main manual, as without LFSFLAGS and CFLAGS for largefile support, it does not compile on ARM, as mentioned in issue #1

For more non critical suggestions, probably would be nice to have config file in /etc, and then launch in daemon mode, as well as switch / config to bind to certain interfaces.

Unfortunately after compilation, and launch, I am unable to see renderer in BubbleUPNP nor on other DLNA software:

Version: 0.0.3 on Debian Buster 5.4.58 on armv7l

After launching software all seems good:

root@test:/opt/# ./castreceiver -v -f test -u
Using UUID 8d5f70da-0bc9-4be1-bcf8-6967d9868928
"test" Ready for rendering ...

CastReceiver listens on 3 ports:

10.0.0.1:49494/tcp
0.0.0.0:1900/udp
127.0.0.1:random/udp

When checking with tcpdump while looking for renderer, one can see lots queries:

looking for 239.255.255.250:1900

Worth to mention, that when running minidlna on same machine it is found, and media can be sent to other renderers what are on same network. One can see that minidlna is listening on SSDP 239.255.255.250:1900. Stopping minidlna, and freeing this SSDP address / port does not change anything, CastReceiver just does not use SSDP address at all.

If you have any suggestions I would be very thankful.

noobi0 commented 3 years ago

Adding strace, where seems it is trying to bind to SSDP: https://pastebin.com/jSnYz1e6

KeithDHedger commented 3 years ago

Can't fix just yet probably after xmas stay tuned ...

KeithDHedger commented 3 years ago

Added some extra info to the readme about large file support and also what upnp players work, the rest of the stuff I really don't know about, this was more a proof of concept project than anything. Sorry I can't help more, maybe someone who knows more about the upnp lib ( for which there is almost no documentation or code examples ) acan help, I will leave this issue open for now, sorry. :(