Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Send a Video from an Android Phone to Google Chromecast Dongle Programmatically

I'm aware that this question is broad but I would like to know how can I send a video from an Android Phone to Google Chromecast Dongle Programmatically.
I'm not asking for the code, just links, tutorials, how-to's. Tks.

like image 279
Pedro Lobito Avatar asked Apr 01 '14 17:04

Pedro Lobito


People also ask

Can you send files through Chromecast?

Google is adding Chromecast support to its Files app so users can easily send photos, audio and video from the app to a connected speaker or a TV.

How do I send something to Chromecast?

Mirror your Android phone or tablet screen to the TV See exactly what's on your Android device by casting your screen to the TV. From your Android phone or tablet, open the Google Home app. Tap the left hand navigation to open the menu. Tap Cast screen / audio and select your TV.


1 Answers

You can either use RemotePlaybackClient (though there appear to be bugs here), or use the Cast SDK, with or without the Cast Companion Library.

Here is a sample app for the RemotePlaybackClient option, with some workarounds for the bugs. With luck, I will be able to remove some of those workarounds in the future.

like image 72
CommonsWare Avatar answered Oct 21 '22 20:10

CommonsWare