Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DIAL protocol #4

Open
frosty5689 opened this issue Jun 23, 2021 · 4 comments
Open

DIAL protocol #4

frosty5689 opened this issue Jun 23, 2021 · 4 comments

Comments

@frosty5689
Copy link

Hi,

Wondering what is needed to get this working with DIAL protocol, which is a combination of SSDP and HTTP. I'm trying to connect to Youtube on webOS across subnets. Tried running the SSDP forwarding. It didn't make the TV show up in list of cast targets.

Any ideas?

Thanks!

@deonvdw
Copy link
Contributor

deonvdw commented Dec 16, 2021

I have the same issue with the YouTube app across VLANs on Samsung TVs and started working on a solution

DIAL seems to be actively hostile to cross subnet operation (at least on my TV):

  • SSDP M-SEARCH must come from the same subnet as the target device [else no response]
  • The request for DIAL REST service location must come from the same subnet as the target device [else 401 error]
  • Requests to the actual DIAL REST service must also come from the same subnet [else 401 error]

Right now I have a proxy implemented (https://github.com/deonvdw/udpbroadcastrelay) for the first item, but a lot of work remains.

@deonvdw
Copy link
Contributor

deonvdw commented Dec 24, 2021

My fork (https://github.com/deonvdw/udpbroadcastrelay) now supports SSDP/DIAL to proxy requests from e.g. the Youtube app to smart TVs. Tested on pfSense 2.5.2 (FreeBSD 12.2) with the YouTube Android app and two Samsung smart TVs.

Enable the mode by specifying a -s 1.1.1.3 command line parameter, e.g.
./udpbroadcastrelay --id 1 --port 1900 --dev lagg0.1 --dev lagg0.2 --dev lagg0.3 --multicast 239.255.255.250 -s 1.1.1.3 -d
and substituting with your interface names.

@stonith
Copy link

stonith commented Dec 28, 2021

@deonvdw thanks, I've created a arm64 container for Unifi UDM/P devices https://hub.docker.com/r/stonith/udpbroadcastrelay which allows Android devices to see the cast speaker groups on a different vlan.

@rajil
Copy link

rajil commented Feb 20, 2022

@deonvdw if you can merge your changes back, the package on FreeBSD will pick it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants