Originally created by @sluggathor on GitHub (Dec 7, 2022).
Describe the feature/enhancement
Right now we can only cast media steamed from the server. It would be nice to cast local media for situations where there is no connection to the server.
Thank you for your good work!
Originally created by @sluggathor on GitHub (Dec 7, 2022).
### Describe the feature/enhancement
Right now we can only cast media steamed from the server. It would be nice to cast local media for situations where there is no connection to the server.
Thank you for your good work!
Is there any possibility that this will be looked at in the near future? Really interested in this feature and was surprised to see that I can't do this already.
@ghTravis commented on GitHub (Jun 16, 2024):
Is there any possibility that this will be looked at in the near future? Really interested in this feature and was surprised to see that I can't do this already.
Yeah I'd like to do it.
The cast SDK requires passing a URL to the chromecast receiver, so in order to do this the app has to start a local server on the device. I'm not sure how this would be done because I'm pretty sure that the URL is required to be https.
If anyone has example code of this being implemented that would be really helpful.
@advplyr commented on GitHub (Jun 16, 2024):
Yeah I'd like to do it.
The cast SDK requires passing a URL to the chromecast receiver, so in order to do this the app has to start a local server on the device. I'm not sure how this would be done because I'm pretty sure that the URL is required to be `https`.
If anyone has example code of this being implemented that would be really helpful.
I've seen a different player seems to be able to do this called Smart Audiobook Player (also on Android). It appears to start some kind of local server on the device because when I was troubleshooting firewall rules for isolated IoT devices (Nest mini) and my phone (on a different network and vlan), the nest mini appears to connect to the phone on a random port between 32000-65000 so I think it can definitely be done.
@ghTravis commented on GitHub (Jun 17, 2024):
I've seen a different player seems to be able to do this called Smart Audiobook Player (also on Android). It appears to start some kind of local server on the device because when I was troubleshooting firewall rules for isolated IoT devices (Nest mini) and my phone (on a different network and vlan), the nest mini appears to connect to the phone on a random port between 32000-65000 so I think it can definitely be done.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @sluggathor on GitHub (Dec 7, 2022).
Describe the feature/enhancement
Right now we can only cast media steamed from the server. It would be nice to cast local media for situations where there is no connection to the server.
Thank you for your good work!
@ghTravis commented on GitHub (Jun 16, 2024):
Is there any possibility that this will be looked at in the near future? Really interested in this feature and was surprised to see that I can't do this already.
@advplyr commented on GitHub (Jun 16, 2024):
Yeah I'd like to do it.
The cast SDK requires passing a URL to the chromecast receiver, so in order to do this the app has to start a local server on the device. I'm not sure how this would be done because I'm pretty sure that the URL is required to be
https.If anyone has example code of this being implemented that would be really helpful.
@ghTravis commented on GitHub (Jun 17, 2024):
I've seen a different player seems to be able to do this called Smart Audiobook Player (also on Android). It appears to start some kind of local server on the device because when I was troubleshooting firewall rules for isolated IoT devices (Nest mini) and my phone (on a different network and vlan), the nest mini appears to connect to the phone on a random port between 32000-65000 so I think it can definitely be done.
@advplyr commented on GitHub (Jun 17, 2024):
Yeah I know it can be done but I'm not sure how at this point so a code example would be helpful