Forum Discussion

Kinjal's avatar
Kinjal
Channel Surfer
4 years ago

How to handle cast video playback support on roku

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.

Cast video Rest API url: http://192.168.137.123:8060/input/15985?t=v&u=http%3A%2F%2Fd1fb1b55vzzqwl.cloudfront.net%2Fen-us%2Ftorahclass%2Fvideo%2Fot%2Fdaniel%2Fvideo-daniel-l01-intro.mp4&k=(null)&videoName=Connect+SDK&videoFormat=mp4

Play and Pause video url: http://192.168.137.123:8060/keypress/Play

This two features is working fine.

I am not able to find solution for following points:

  1. As per document, their are forward and rewind command is available. I tried following url but It is not working

    http://192.168.137.123:8060/keypress/Fwd

    http://192.168.137.123:8060/keypress/Rev

  2. 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?

9 Replies

    • Kinjal's avatar
      Kinjal
      Channel Surfer

      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?

  • In you video rest url ,

    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.