Shared publicly  - 
 
Did some poking around to see how far along Google is with their Chromecast mirroring solution. There's plenty of evidence that there's some (possibly half baked) solution in the Play Services APK and it is not totally disabled. This is why people are seeing their "Cast" quick setting tile sometimes light up.

The odd bit is that they're not using webrtc. From my experimentation, that's the only way to do it and get suitable results.

 * can't package and stream an mp4 without it buffering
 * can't play a raw h264 or vp8 stream
 * sending frame by frames is really slow

I'm wondering if there's another magic protocol that is about to be added to the Chromecast firmware itself to support this directly. That would be ideal.

Search results:

$ grep -r -i createVirtualDisplay *
Binary file lib/armeabi-v7a/libgcastv2_base.so matches
Binary file lib/armeabi-v7a/libgcastv2_support.so matches

$ grep -r -i webrtc * 
<no matches>

$ grep -r -i CAPTURE_VIDEO *
AndroidManifest.xml:    <uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT" />

$ grep -r -i RemoteDisplayPro *
AndroidManifest.xml:        <service android:label="@string/cast_remote_display_provider_service" android:name="com.google.android.gms.cast.media.CastRemoteDisplayProviderService" android:permission="android.permission.BIND_REMOTE_DISPLAY" android:exported="true">

$ grep -r -i h264 *
Binary file lib/armeabi-v7a/libgcastv2_base.so matches
Binary file lib/armeabi-v7a/libgcastv2_support.so matches

$ grep -r -i vp8 *
Binary file lib/armeabi-v7a/libgcastv2_base.so matches
Binary file lib/armeabi-v7a/libgcastv2_support.so matches
Binary file lib/armeabi-v7a/libjgcastservice.so matches
203
3
Dan Rhodes's profile photoNeil Wilson (melonmotion)'s profile photoJeff Thompson's profile photoDavid Lawerteh's profile photo
26 comments
 
Thank you for rooting into this and pushing the envelope! Can't wait for more functionality. 
 
I wonder what they are waiting on.. You would think they would want this out as soon as possible.  More appeal for the chromecast.
 
Can't come quickly enough. I think there are going to be some big chromecast announcements at I/o this year. say it's so +Vic Gundotra!
 
The Cast quick settings light up for DLNA streaming afaik, which already works.
 
So what's stopping Google - a billion dollar company - from creating the ultimate mirroring protocol? What's the issue here and why aren't they doing it?
 
+Philip Leaper Don't link to Vic Gundotra. His G+ team is sitting on their asses on three use cases that should have been brought over from Picasa right off the bat:

1. Name tag for people not on G+ or without email IDs. My guess is Vic's great grand mother has a [dead] Google+ account. I wonder if it counts towards the 300 million users. /sarcasm
2. API search for photos with name tags
3. Better management and realization (more use case support) of photo sharing and shared albums, e.g. setting up photos feeds and pushing them through APIs.
 
Where are you guys seeing a cast qs tile. Latest cm11 nightly and none in settings for me
 
+Ananya Gupta G+ has a lot of opportunities I grant you, but it still excels as a photo storage and sharing medium, I'm sure they are working on it.
 
+Philip Leaper I respectfully disagree. It has not brought any new solutions to sharing. What it has brought are web adaptations if photo manipulation which already existed in Picknik and Picasa application. Storage has not changed either from the days of Picasaweb. They've failed on the most basic tenets of the Internet: effective APIs.
 
i bet yours will be better anywaase. looked to work extreamly wmooth in the video
 
I think this can be a business strategy as well. Sell a large number of Chromecasts first by opening it for devs.Let the possibilities be explored.
Release a newer chromecast 2 with mirroring and few more addons.
 
I have never noticed the quick settings cast tile light up and that's with two chromecasts on the network. However if I press the tile I get a list of mirroring targets on my network, first entry is a samsung tv and next is a samsung all share cast dongle connected to a receiver and then projector. When a target is selected, the display and audio of either my phone or tablet are mirrored to the big screen. I have never seen any of the two chromecasts in the target list.
 
+Mads Sandahl Skov Is the QS tile part of the paid Allcast app?  I've tried several times and I don't see the tile available in any settings or any usage scenario.
 
+Dan Rhodes No, it's part of the OS. It's a tile in the quick settings. I have had it on the samsung galaxy s3 and now the s4. I didn't see it on the nexus 7 2012, but it's present on the nexus 7 2013 edition.
Add a comment...