wfb-ng icon indicating copy to clipboard operation
wfb-ng copied to clipboard

WIP: broadcast target for rx

Open landswellsong opened this issue 2 years ago • 3 comments

Hi, Made this change for myself, but may be useful elsewhere. Allows to specify broadcast addresses for connect:// at rx side. Ideally we may want to check if the address is indeed a broadcast, but mavlink-router doesn't bother to do that so I'm not sure. Maybe it will fail if running as unprivileged user though.

landswellsong avatar Oct 11 '23 18:10 landswellsong

@landswellsong Why not use multicast 224.0.0.1 address instead of broadcast? It doesn't require any additional permissions

svpcom avatar Oct 12 '23 08:10 svpcom

@svpcom great alternative, didn't think of that. But I have options of some SW on an android tablet that's not aware of multicast, I'm not sure it can join the multicast group normally without too much rewrite.

How about I add broadcasting as an option so it's only set if you explicitly mention it in the config?

landswellsong avatar Oct 12 '23 11:10 landswellsong

@landswellsong 224.0.0.1 multicast group is "local network" group and all hosts are members of it by default. It already used in wfb-ng video broadcasting example.

svpcom avatar Oct 12 '23 13:10 svpcom