Forum Discussion
I already go though with link which you had shared. In document, there is not details explanation for creating cUrl for video playback and how to use inputs.
Can you please share any example of cUrl for video seek to particular position and get video current position information?
roInput allows you to pass any parameters you like via ECP. In the example in that link they are passing x, y, my_event, and action. Those parameters could have been anything. In your case you could have a parameter called seek and set its value to where you want to seek. It's up to your channel code to interpret the parameters and act upon them.
As for getting the current position, look at query/media-player:
https://developer.roku.com/docs/developer-program/debugging/external-control-api.md#external-control-service-commands
- Kinjal4 years agoChannel Surfer
Using query/media-player command, able to get video current position.
I have tried following different cUrl for video seek but no one was worked.
http://192.168.137.123:8060/input?seek=1775
http://192.168.137.123:8060/input/15985?seek=1775
http://192.168.137.123:8060/input/15985?command=seek&duration=9775
As you said "In your case you could have a parameter called seek and set its value to where you want to seek. It's up to your channel code to interpret the parameters and act upon them.".
I just want to cast video from my android app to ruko default channel. I have no any created channel in roku.
Can you please suggested any way to seek video in roku default channel?
- renojim4 years agoCommunity Streaming Expert
Now I see. I thought you were wanting to handle it in your own channel/app. I don't know if there's any way to do what you want. It would be up to the channel/app to handle seek. Clearly the YouTube channel does, but the one you're using does not. Unless it's added as a basic ECP command and channels are forced to handle it there's nothing you can do about it.
- Kinjal4 years agoChannel Surfer
The seek feature is very important in video casting. Many other app also able to cast video with this feature to Roku. So might there is some way to do this thing.
Can you please let me there is any one else can help to resolve this issue ?