I am trying to cast video from app (android and ios) to Roku device. Using External Control Protocol (ECP), able to connect with roku device and cast video on roku device.
I want add feature of video seek to particular position and get video current position information. I not able to find details for this. On Youtube and Netflix app can have this features so there will be some way to achieve this feature?
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 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?
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.
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 ?
To be honest, you’re lucky I responded. Roku employees rarely respond here and this isn’t a developer issue. The developer forum is for people that develop Roku channels/apps. You can try in the general forum or you can suggest a feature, but don’t hold your breath.
only open channel of “Play on Roku” and immediately close the app , can not cast. can you suggest something to cast. in some website they said you have to create Socket server and then you can play , you have any idea about it.