I was thinking of using the IsHDMIConnected() method in ifDeviceInfo to detect if the TV connected via HDMI is swicthed off or if HDMI cable is removed. Intention was to close the app or stop streaming if the TV is off or not connected to Roku. But the method is always returning true even if you remove the cable or switch of TV. How to I get to know if HDMI is disconnected if this methods not going to work this way?
"ratish" wrote: The API works with Roku 2 XS Model with 6.1 build 5518. But it doesn't work on Roku 3 with build 6.1 build 5517.
Also on Roku XS, the API doesn't work if TV is switched OFF. Only works if Cable is disconnected. This doesn't seem to serve the purpose.
Wild-ass guess, perhaps when TV is "off" from the remote, it is really in stand-by and still maintains some level of HDMI connection because of HDMI-CEC. How does that compare to unplugging the TV power cable?
Re 6.1.5518 working and 6.1.5517 not working - that is strange. Even stranger than a fw release from a newer date having a smaller build# than an older beta 8-)