How to handle cast video playback support on roku - android

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:
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
I want add feature of video seek to particular position and 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?
Any help will be appreciated.

Related

Control video after casting from Android app in Xamarin

I am using google chromeCast for casting the video. I have successfully cast a video from my app to TV but not able to find any solution for controlling that video like play pause and move forward. Is this possible with Xamarin?

Check if Chromecast can play video file

Our customers can upload videos to our servers, when they download our Android application they can play the videos amongst other features. One of them other features is being able to cast these videos to chromecast devices. When they tap to play a video our server sends over a url similar to:
https://xxxxx.net/dl/standard-user/xxx/video-xxx?mime=true
At the moment we are using LocalCast to stream the content to a chromecast, but we get the error:
This CheomeCast device does not support the video or cant access it.
We can definitely access it because our server only keeps healthy/working links. We want to add something into our code to see if the video is playable on ChromeCast if it is not playable on ChromeCast then we want to grey out the cast button for that particular video.
How would we check to see if the video is playable on ChromeCast? Client side that is. We want to check once the video url has been passed to the device.
We have searched online and searched Googles official documentation but cant seem to find enough information to solve the problem
Thanks all

Android live streaming video received from a hardware via bluetooth

I have a hardware device(not a mobile/pc) that holds some videos. These videos are transferred by it via bluetooth in video format. My requirement is, I need to stream those received videos as live on my app. I am not familiar with video streaming app development. I searched alot for similar examples and not found yet. Please share if you have found one.I expect my app to work like the live tv video used in this app.
https://play.google.com/store/apps/details?id=com.manoramaonline.mmtv&hl=en
Thanks in advance

asynchronous video playing/live streaming from mobile to desktop via usb

I searched a lot over the web for the below requirement but didn't get any sample code or correct solution.
Basically I want to connect my android mobile to a linux desktop via USB and want to live stream a video that i play in my mobile(i m gonna use video view that loads a video from a weblink/assets folder).
if I play a video from my mobile that should be get played on desktop at the same time.
I would be grateful if u provide an API or source code with example/reference links.

Streaming Video From Vimeo to Android

I am looking for a way to stream my videos from vimeo.com to android phone, their API is only available for Web, I have also tried to embed their player in WebView but that way I can see the thumbnail but video won't play, I am using Android 2.2 and Have Flash Player installed.
Is there way to make embedded players work on android or any other better way to do it?
You don't have to use the adv api to play vimeo videos. This is the video url the oembed api uses. I managed to get this rendering and playing in webview.
http://player.vimeo.com/video/<VIDEO_ID_GOES_HERE>?player_id=player&title=0&byline=0&portrait=0&autoplay=1&api=1
Also worth checking flash player is enabled and installed
No you have to use the advanced api and have the user get authorized ive have been trying to find a way around this but have not
the real url would be something like this
http://player.vimeo.com/play_redirect?quality=mobile&clip_id=s00000000&time=1318531921&sig=4c8a2fcb3303c5b76112046e84f516f8&type=mobile_site
not
player.vimeo.com/video/0000000
which the sig is passed after your set up the oauth with the advanced api which is your key and secret after authorization

Categories

Resources