Forum Discussion

RovingGecko's avatar
4 years ago

ECP - Support for Transport Controls

I was wondering if anyone could help me out with testing voice/transport controls through ECP? The relevant documentation can be found here:

https://sdkdocs-archive.roku.com/Implementing-transport-controls_5445552.html

https://developer.roku.com/docs/developer-program/media-playback/voice-controls/transport-controls.md

https://github.com/rokudev/transport-control

The sample format for issuing an ECP command is:

http://<roku-device-ip-address>:8060/input/<channelId>?id=<longInteger>type="transport"&command=<commandValue>

For example, if I was trying to rewind 10 seconds in Netflix, I would issue the following command.

curl -d '' 'http://192.168.1.114:8060/input/12?id=8&type=transport&command=seek&direction=backward&duration=10'

I get the HTTP 200 OK success status response code, but nothing happens on the Roku*. Nothing happens to the show on Netflix and it continues playing normally instead of rewinding 10 seconds.

Anyone have any ideas what is happening or ideas on troubleshooting? I have tried Hulu, Prime Video, and Disney+ which supports ECP transport controls, but no luck for Netflix. I assume this means Netflix hasn't implemented ECP support? Netflix voice commands work and I was under the impression that if voice work, ECP should as well.

 

Similar unanswered question:

https://community.roku.com/t5/Roku-Developer-Program/Play-On-Roku-15985-Seek-Transport-Command-Not-Working/td-p/654691

*Currently running Roku version 10.5.0 on a TCL TV.

No RepliesBe the first to reply