Jump to content


Photo

Smart TV App feature request: Send Message To Smart TV

send message smart tv roku app device

Best Answer speechles , 28 December 2019 - 05:26 PM

https://developer.ro...-control-api.md

 

Please see here why this limitation exists. It is the way Roku expects this to be done and not following this directive will result in your channel not being accepted into the Roku store. We must comply. Their way or the highway. We must exist on Roku. We must do things their way.

The External Control Protocol (ECP) enables a Roku device to be controlled over a local area network by providing a number of external control services. The Roku devices offering these external control services are discoverable using SSDP (Simple Service Discovery Protocol). ECP is a simple RESTful API that can be accessed by programs in virtually any programming environment.

We use to have our own http server implementation(port 8324) on Roku to intercept these request (it did work remotely if users forwarded that port through their routers), but Roku changed the rules.

 

Roku do not want security holes in their device.

(period. end of line. no further discussion will they have on this.)

 

We must use their DIAL ECP protocols to deliver content from another device to the Roku. This is their rules. They make the rules. We are only playing by their rules. I apologize you see this as a defect. Every Roku app must accept and suffer the same. There are no special privileges granted. Everybody is bound by the same rules on the Roku.

Go to the full post


  • Please log in to reply
7 replies to this topic

#1 aleoss112 OFFLINE  

aleoss112

    Newbie

  • Members
  • 8 posts
  • Local time: 04:54 AM

Posted 26 December 2019 - 08:01 PM

When I try to send a message to a device it works for laptop/PC devices using the website but it does not work for a Smart TV (Roku).

 

I've literally stood in front of the TV and from my phone sent a message to the Smart TV client and it did not come up on the screen while a movie was playing.

This send message to device feature does work on Android Emby App (smart phone) and laptop/PC using the website. I am not certain if it works for Apple Emby App however as I do not have any Apple devices.



#2 Cthalpa OFFLINE  

Cthalpa

    Advanced Member

  • Members
  • 77 posts
  • Local time: 11:54 AM
  • LocationDenmark

Posted 26 December 2019 - 08:53 PM

This topic belongs in bugreporting, not feature requests.



#3 aleoss112 OFFLINE  

aleoss112

    Newbie

  • Members
  • 8 posts
  • Local time: 04:54 AM

Posted 27 December 2019 - 09:04 AM

Wasn't sure if it was a bug or a partial feature so I figured I'd give the benefit of the doubt and post here.



#4 crusher11 OFFLINE  

crusher11

    Advanced Member

  • Members
  • 1223 posts
  • Local time: 06:54 PM

Posted 27 December 2019 - 10:27 AM

Pretty sure it works on my LG TV.

#5 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 50807 posts
  • Local time: 06:54 AM

Posted 27 December 2019 - 11:08 AM

Hi.  Are the Roku and device you are sending from on the same network?  This functionality won't work on the Roku across different networks.

 

5e061e852b4e5_servermessage.jpg



#6 aleoss112 OFFLINE  

aleoss112

    Newbie

  • Members
  • 8 posts
  • Local time: 04:54 AM

Posted 28 December 2019 - 05:05 PM

From the same network? That doesn't make sense; what if I want to send a message to a remote device? As long as I have access to the server settings (Server Management permission) on the profile that I'm logged into, I should be able to send a message to any logged in device.



#7 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 5966 posts
  • Local time: 03:54 AM

Posted 28 December 2019 - 05:26 PM   Best Answer

https://developer.ro...-control-api.md

 

Please see here why this limitation exists. It is the way Roku expects this to be done and not following this directive will result in your channel not being accepted into the Roku store. We must comply. Their way or the highway. We must exist on Roku. We must do things their way.

The External Control Protocol (ECP) enables a Roku device to be controlled over a local area network by providing a number of external control services. The Roku devices offering these external control services are discoverable using SSDP (Simple Service Discovery Protocol). ECP is a simple RESTful API that can be accessed by programs in virtually any programming environment.

We use to have our own http server implementation(port 8324) on Roku to intercept these request (it did work remotely if users forwarded that port through their routers), but Roku changed the rules.

 

Roku do not want security holes in their device.

(period. end of line. no further discussion will they have on this.)

 

We must use their DIAL ECP protocols to deliver content from another device to the Roku. This is their rules. They make the rules. We are only playing by their rules. I apologize you see this as a defect. Every Roku app must accept and suffer the same. There are no special privileges granted. Everybody is bound by the same rules on the Roku.


Edited by speechles, 28 December 2019 - 05:33 PM.

  • aleoss112 likes this

#8 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 5966 posts
  • Local time: 03:54 AM

Posted 28 December 2019 - 05:48 PM

https://community.ro...ight/true#M6241

Firmware 9.1.x added the security tightening of Roku after Consumer Reports (see here: https://www.consumer...-reports-finds/) reported that Roku was vulnerable to hacking.

 

The problem we found involved the application programming interface, or API, the program that lets developers make their own products work with the Roku platform. “Roku devices have a totally unsecured remote control API enabled by default,” says Eason Goodale, Disconnect’s lead engineer. “This means that even extremely unsophisticated hackers can take control of Rokus. It’s less of a locked door and more of a see-through curtain next to a neon ‘We’re open!’ sign.

 

Because it did not verify entirely the chain of the connection controlling the Roku. Someone remotely could spoof local host and take over your Roku and launch any channel they wanted. Possibly send inaapropriate channels/video to your Roku. Not truly a hack but a PR nightmare. So what Roku did was close that door entirely and notified developers that they had a deadline to switch apps over. Any that lagged are no longer found on the Roku store. They now require all apps that stream to have DIAL ECP methods implemented and securely. Fail and they do not publish your app. We want to always be approved and are always honest. Just as I am honest with you now. If there were something (ANYTHING!) we could do we would try but we do not want to risk our relationship with Roku. Hope you understand. ;)


Edited by speechles, 28 December 2019 - 05:54 PM.






Also tagged with one or more of these keywords: send, message, smart, tv, roku, app, device

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users