"EnTerr" wrote:
Your channel likes talking to itself, huh.
"EnTerr" wrote:
Is it using the external IP for that? If so, try `localhost` instead.
"belltown" wrote:
Use CreateObject("roDeviceInfo").GetIpAddrs() to find your Roku's ip address on the local network. Send your keypress ECP commands to port 8060 at the ip address(es) it returns.
"ljunkie" wrote:"belltown" wrote:
Use CreateObject("roDeviceInfo").GetIpAddrs() to find your Roku's ip address on the local network. Send your keypress ECP commands to port 8060 at the ip address(es) it returns.
Thanks Belltown, this does not work. I am familiar with the roDeviceInfo, but here is the deal. Port 8060 is disabled in firmware 7.1 when your Roku is using a non RFC 1918 IP address. The Roku will not respond to port 8060 on the local IP address assigned or on 127.0.0.1 from within a channel. You can experience this if you give your Roku any IP address outside of the RFC 1918 address space. e.g. setup your lan (incorrectly) to use something like "11.0.0.0/24". Obviously this is wrong, but users will do this, as well as some will have their devices connected to the internet without a router/firewall (assigning real public IPs).
"RokuKC" wrote:
> Port 8060 is disabled in firmware 7.1 when your Roku is using a non RFC 1918 IP address.
This isn't new behavior in firmware 7.1, but has been the case for many years.
As you describe, ECP services (port 8060) are not enabled when the Roku has a non-RFC 1918 IP address, for security reasons.
If something was working for your app prior to 7.1 and stopped working, possibly it is due to other security constraints.
"RokuKC" wrote:
I can certainly understand the wish that loopback services still worked in this situation, but it isn't set up that way as this is not a normal usage.
Do you think that some users are intentionally configuring their Rokus this way?
Perhaps the firmware should have a warning UI in the guided setup or in the settings UI if the user has this configuration.
"ljunkie" wrote:
1. The roVideoPlayer/roVideoScreen used to reset the idle time every 10 seconds. This no longer happens in 7.1. Can this be corrected?
"ljunkie" wrote:
2. Is there a valid way to tell the Roku it's not idle from within a channel. The ECP method was the only way, and as I take it will never work again going forward unless the Roku uses an RFC 1918 IP address. One example to clarify why this is important: A custom slide show written in an roScreen, or even roImageCanvas. Without a way to reset the idle time during playback, the Roku will initialize the the (black) screensaver rendering it useless.
"RokuKC" wrote:
We've documented a function in roAppManager which is UpdateLastKeyPressTime() that can be used to defer the screensaver activation.
Calling this should be preferred over the ECP fake keypress technique.
https://sdkdocs.roku.com/display/sdkdoc ... PressTime()asVoid
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12, or you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
Thanks for your patience — we’re excited to share what’s next!