Shared publicly  - 
Some late night hacking... rewrote Mirror to Chrome to use h264 (instead of webrtc/vp8) via Broadway.js.

Broadway.js is a h264 decoder written in Javascript-- well, it's actually Android's C implementation of a software h264 decoder, converted to Javascript.

This allowed me to get rid of the webrtc/vp8-encoder requirement, so it will work with pretty much any modern phone.

Neat hack, I'm surprised it worked.
DavidYT's profile photoBilly Baker's profile photoxiaolin li's profile photoDan Bennett's profile photo
I wish I was as gifted as you are.. Still I won't give up. One day I'll get day 
Why not vp9 though? By all accounts it seems Google is saying it's ready for prime time, and as I understand it reaches equal quality at lower bitrates which mean smaller size and in turn a more responsive system.
it lags like a little bitch...
+Glenn Lunder almost no android devices have vp8 encoders, much less vp9. on top of that, vp8 is basically dead since cisco opened up the h264 protocol. all major browser manufacturers (chrome, firefox, ie) have committed to having webrtc+h264 support.
+Koushik Dutta Fair enough. Was just curious about the reasoning, and the answer clarified that perfectly :) This goes into upstream CM?
Irs thus in the current mirror app? Our something you plan on releasing? I'd pay another couple of bucks for this functionality
+Koushik Dutta I was wondering if when I use AllCast or mirror my display does it go over my LAN or does it use data. I don't have unlimited home interent and was wondering if mirroring or casting could save my data since I have unlimited from T-Mobile.
+Koushik Dutta  sorry for off topic, but, any update for your "clean" app for L devices? It appearing to "fixed notifications" and icon in statusbar (as in this video), it is very annoying. I can not uninstall it because it still is an indispensable application lol
I was totally wanting to do this last week. 
What about h265? There are a few open source encoders (x265, libde265) and at least one decoder written (well, translated) to JS:

It could reduce latency as it requires less bandwith for a similar quality, but encoding might become a bottleneck... Anyway, I think it is still worth checking out!
Really great. I did not like the fact that I had to restart the device for root access to Play Music (was chatting with friends), but still, not bad.

For those who want to try this with their Windows machines, open Windows Media Player, click on the Stream button, then select allow remote control of my media, then click on Allow remote control on this network. Then open the app on your phones, it should show your PC as a output device.
+Koushik Dutta can your allcast cast to multiple screens at once from a single source. If not how hard would it be to make that happen. 
awesome. has this rolled out yet? will it be able to send to chromecast as well? or just allcast receiver? 
no idea how to get this to send from my phone(N5) to the allcast receiver app on chrome.
Oh, Koash not Kush. I'm sure some people thought of you whenever they lit up too
Has anyone else having issues with AllCast receiver for Chrome? The AllCast Android app see's the extension in chrome - but it doesnt display any media from the phone? +Koushik Dutta have you heard any other users having a similar issue?
can You please post a link?
Really looking forward to using this in my classroom. The captive portal on my schools WiFi makes mirroring to my Chromecast impossible, but this should make it possible again!
+Matthew Heinz You can configure a laptop as a WiFi hotspot and configure Chromecast to connect to it. If you use Windows 7 or 8 it is pretty easy. Just Google: virtual wifi router windows or something similar and install any of the programs that convert your Windows 7 or 8 in a WiFi hotspot. The good thing is that you can do that even with just one WiFi adaptor: you create your own WiFi and use at the same time the WiFi of your organization. You can also configure it using a command line interface, if you wish.

I've also configured a Raspberry Pi as a WiFi hotspot using hostapd + isc-dhcp-server

Depending on how the WiFi captive portal on your school works, this might work as well
+Koushik Dutta Is this for nexus5 only or would it theoretically run on all devices with AOSP Android 4.4.2+? 
+Koushik Dutta I did not see any commitment for h264 for webrtc from Firefox or chrome teams on their mailing lists, is it certain?
What's the latest on this?  It's been a few weeks since this was covered on Engadget, and the App was updated on the 27th, but the feature isn't included?
Help me and show me how that's done please
+Koushik Dutta Hi. Been waiting for sometime now, i have all the latest updates but can't seem to figure out how to actually get this feature working, any points on how to mirror my phone would really help. Thanks.
John G
Great work! I have the app(s), but can only stream DLNA stuff... How do I stream the device display?
I'd love to know when this feature would be available as well, and I would love to test if its possible to use screen sharing in hangout using this feature :-) Nice way to demo your android apps in a hangout. 
Same here, love to know when this will come out..
When is this feature going ot be available?
Is the mirroring going to be enabled in the app soon? Have tried the recent free version and once this is implemented, will buy the app.
Ahh thanks, unfortunately my HTC M8 isn't rooted :(
Add a comment...