Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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.m...

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-W...

*Currently running Roku version 10.5.0 on a TCL TV.

Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.