Replies: 2 comments 1 reply
-
Something seem to be wrong with cast although it's configured correctly. I had raised it already. The Dev's need to check. |
Beta Was this translation helpful? Give feedback.
-
Eventually, I figured what's wrong and I managed to get it to work, although this is not configurable right now from the code perspective. I started looking into https://ente.io/blog/introducing-cast/ which gave me a hint on how it works. So I followed the tutorial from the blog post, registered for Google SDK, registered my Google TV as test device and then found that while registering the app, you need to put the URL of the app, which is the "hardcoded" cast.ente.io which I was missing. Putting my domain there and replacing App ID It would be great to have this documented that this is required for making cast work while self-hosting. I'm guessing Museum could take App ID in configuration and serve it to clients to use, as it seems the only communication which is happening between casting device and Chromecast is only the App ID. Unless there is some way to pass API endpoint there while starting the cast. |
Beta Was this translation helpful? Give feedback.
-
I have setup self-hosted Ente instance and it has
apps.cast
URL configured to my URL, which I can confirm by getting/remote-store/feature-flags
endpoint. However, in Google TV logcat, I still see that when I'm trying to cast, it incorrectly hits the cast.ente.io host, which I can confirm on my webserver, as I don't see any traffic coming from my Google TV.This then causes "Device not found" toast in the app and "Failed to get public key" for device in museum logs.
Relevant fragment of logcat:
It seems something in the mobile app is not wired properly to use custom URL?
EDIT:
It seems the same issue occurs when trying to cast from web to TV.
Beta Was this translation helpful? Give feedback.
All reactions