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: 

PlayOnRoku (15985) api docs for stream offset

Hi. I'm using the following curl format to send videos from my PC to my roku.


curl 'http://roku:8060/input/15985?t=v&u=https://video.mp4&k=(null)&videoFormat=mp4' -X POST



I noticed in the API docs that there may be a way to set an offset. I read some docs where the 
StreamStartTimeOffset=120


param could be useful. I tried it in the curl statement and it didn't work.
Does anyone know if the playonroku app has hosted documentation on all their GET variables? I'd love to be able to cast videos at a specific time so I avoid it using the remote. I've found a couple scattered docs on the web that looks like it was discovered via reverse engineering but nothing that contained a way to set an offset.
0 Kudos
2 REPLIES 2
renojim
Community Streaming Expert

Re: PlayOnRoku (15985) api docs for stream offset

Did you try PlayStart?
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos

Re: PlayOnRoku (15985) api docs for stream offset

"renojim" wrote:
Did you try PlayStart?

Yes, I tried that too and it didn't work. Here's an open source animation where I can test the options.

curl -X POST "http://192.168.1.33:8060/input/15985?t=v&u=http%3A%2F%2Fdownload.blender.org%2Fpeach%2Fbigbuckbunny_movies%2FBigBuckBunny_320x180.mp4&videoName=asdf&k=(null)&videoFormat=mp4&PlayStart=120"
0 Kudos