KoalaTea / castaway

relay chrome cast traffic
14 stars 4 forks source link

Clone #8

Open juliodiz opened 4 years ago

juliodiz commented 4 years ago

Not will be better to "donwload" and clone the request?

juliodiz commented 4 years ago

And thanks for the good job for this script.

KoalaTea commented 4 years ago

I don't understand what you mean here.

The code works by essentially acting as a discovery proxy. The problem that causes chromecast to not work across networks is a TTL of 1 on the broadcast MDNS and the MDNS response meaning any router will just drop it because it is being told do not let this go past the network boundry. So the code just listens for attempts to discover chromecast devices, using the API of chromecast at a known address, it gets the information to impersonate the chromecast in an MDNS response. Once that information is returned to the client attempting to cast the client will open a tcp connection for the stream that is not TTLed to 1.

KoalaTea commented 4 years ago

I don't have a chromecast anymore so I cannot really do anything to test this script anymore.

juliodiz commented 4 years ago

Understand, and its possible to help me to check the errors? We can talk by email.

juliodiz commented 4 years ago

its possible to send the discovery to just one IP?