Share this Story

Koush Builds Chromecast Into CyanogenMod Framework, Any App With Video or Audio Can Cast


If you haven’t yet, go order a Chromecast from Google and deal with the 2-3 week wait period. This device, at $35, is going to be the ultimate media sharing tool in the coming months once non-partner developers are allowed to publicly distribute apps that have Cast support built into them. Take for example all of the work that Koush has been spamming off on his Google+ page.

It initially started off with him showing how you could stream on-device video and pictures to Chromecast, but the functionality he has produced over the last week has increased dramatically. He went from casting Dropbox to RSS video to now showing Cast support built into the framework of CyanogenMod. With this new trick, he demonstrates being able to Cast from any app that plays video or audio through the MediaPlayer.

Watch the clip and you’ll understand how powerful this is. Rather than waiting for app developers to build in Cast support themselves, this essentially enables the functionality without their work.

Via: Ā +Koush

Cheers Jordan!

  • Radioactive Kid

    Can i mirror my computer with chromecast i have heard yes and no if i have movies that are saved on my computer can i broadcast these to my tv using chromecast?

  • duoexo

    I just got the Chromecast from a nearby Best Buy and they gave me 3 month netflix code. Check for availability at your local store so you can still take in the now terminated promo.

  • p0k3y

    If u r looking for a Chromecast, use NowInStock.net and skip Amazon. I ordered mine from Amazon 2 days after release and was told to expect delivery in October. So I signed up for alert at NowinStock and got 1 from Bestbuy on the same day.

  • MacNificent

    I love lamp

  • Paul Hansen

    So… When does this get merged? šŸ˜›

  • d-rock

    2 Questions if anyone knows:

    1) Some apps auto full screen whenever they start video. How can we push it to CC if we can’t get to notifications?

    2) Does CC take over the video stream like Netflix and Google Play or is it streamed through the android device?

  • J Davis

    This is amazing work. Why do I feel like I just won the lottery?

  • MichaelFranz

    This made me buy one…. I was waiting for this

  • LTE4G

    More like 2-3 months, July -> October…

  • 2Berad

    very nice

  • CheeseMcGee

    I can’t wait until I can stream my MLB At Bat to my tv!

  • nfl

    Does anyone know if this would work with the direct tv nfl sunday ticket app?


    And here I am looking for the upvote button.

  • J_french94

    uptil I looked at
    the paycheck that said $9963, I have faith that…my… neighbour woz like
    they say really erning money in there spare time on their computer.. there
    neighbor has been doing this for only about 19 months and just cleared the
    dept on their apartment and bought a brand new Smart ForTwo. I went

  • Is that an iphone running android? What is that ugly phone this guy is using. Gross.

    • nvinceable1

      HTC One

    • Ron_Swanson

      yay…dumb comment of the day winner.

  • Philip A. Kaiser

    Would totally dig the ability to stream a live feed from my GoPro to the TV. The GoPro app on android allows streaming to the device from the camera using the cameras WiFi transmitter.

  • anon

    So is this going to be merged into the CM 10.2?

  • FelisLachesis

    Google didn’t do this out of the box because the media moguls have different deals in place over their programs are shown. Some are allowed on a computer or phone, but not allowed on a television. This is why Google TV and Apple TV ran into adoption issues. This is also why Chromecast works with only a handful of apps, and you just can’t stream anything from your phone. I’m glad koush was able to find a workaround!

    Our media overlords, instead of trying to embrace new technology, is still trying to utilize the old distribution methods, and they wonder why subscription rates are falling


    • starnovsky

      Well, Apple has AirPlay, isn’t it the same (i.e. screen mirroring)? And Apple is getting away with it just fine.

      • FelisLachesis

        That’s what koush was able to do, which is more like Airplay, yes. However, Chromecast also has the ability to take over the streaming of online video, which I believe Airplay can’t do, i.e. Airplay needs the computer to stream to it before going to the television. If Chromecast is given the ability to stream anything, traditional media will not be happy.

        • starnovsky

          I believe it’s Google who have zero interest in streaming local content, not media cartel. Google is pushing for cloud-everything as hard as it could. And Chromecast was built primarily for streaming Google Play content.

          • AussieDood

            Launch apps YouTube, Netflix, Pandora != Google Play

          • FelisLachesis

            Maybe I was a little vague in my last post, I apologize. I was running around town like an idiot when I stopped to post that real quick.

            The point I was trying to make is, to re-phrase your wording, is that the media cartel have a vested interest in NOT streaming local content wildly. They want to make sure you’re paying for a cable subscription, you’re paying for their channels. Then, and only then, will they allow streaming from The Net to a TV of their shows. If Chromecast somehow circumvented that control, big media would be suing Google.

        • EricRead

          I don’t think the Cyanogenmod’s new feature is actually taking over the video/audio streaming. It’s still just using the google API to mirror the media playing on the phone. It’s probably not good enough for smooth HD playback. But it’s nice that audio works.

  • CaptainHowdy13

    So he must have a dog, as you can see from the video. Perhaps he stops coding for a few second to feed and relieve it?

  • Finire

    Why Google… why did you not build the chromecast app like this?

    • cns2007

      Read the first sentence of FelisLachesis post above. That’s likely the answer.

  • LameCarrot

    Lovin’ android right now

    • KOBALT

      Aren’t you always? šŸ˜›

  • Ben Landwehr

    This is amazing! One question though.. do you think it streams in 1080p? Such as if we were using Plex or something of that sort?

    • Justin W

      Based on how I assume this works, it would be streamed at 1080p because his code (based on the last video he did demonstrating this) creates a webserver and sends the URL to ChromeCast to pull from that webserver, similar to how Netflix and Play Music process it.

      Of course, this would be limited based on the content you are trying to stream (720p would be transmitted as 720p).

    • starnovsky

      According to Koush it does and w/o lag.

  • Joshua Bailey

    Dude is a coding legend.

  • joejoe5709

    Well. This confirms two things:

    1.) If it weren’t obvious already, Koush is officially the best developer I’ve ever heard of. Just two short weeks and he’s already blown our minds.

    2.) This simple thing elevates the Chromecast from a “great buy” to a “must have”. Your GoogleTV or Apple TV does not have this much functionality and this much elegance.

    I didn’t jump on the Chromecast quick enough so I have $40 in my pocket specifically reserved for this device. And I’ll be pinching my pennies for a second one if I can help it.


    • hijackerjack

      Koush has been blowing our minds for a long time now haha. He was the first to build CyanogenMod for the OG Droid ^_^

      • Steve B

        Yes, Koush is a legend among Android lore.

      • joejoe5709

        Among other things for sure. But a two week timeframe for something so useful and relatively polished, that’s incredible.

        • hijackerjack

          Definitely. Sorry if it sounded like I was downplaying your post haha. I was just pointing out his origins xD

          • joejoe5709

            Yeah I wasn’t sure… lol. Darn text never conveys things right. šŸ™‚ Who the heck downvoted us? Weird.

    • Ej McCarty

      I snagged one on the first day. Just on a whim that it would turn into something great and it has. Unfortunately I’ve been away at an internship all summer so I have to wait unti l get back to experience this greatness.

  • Captain_Doug

    This guy is a wizard.

    • JoshGroff

      He is no ordinary wizard, he’s Merlin reincarnate.

    • Joshua Barta

      Not a wizard- an (open) sourcerer!

  • Chris B

    very cool.

  • This is what makes Android so great.

    • sk3litor

      This and koush. Official king of android

  • maratu

    Was this also recorded via Google Glass? This guy’s the best lol.

  • RoadsterHD1

    Kelex, do you guys have a Droid MAXX, Ultra or Mini yet? I’m waiting for a review.

    • joejoe5709

      Nexus7 too…

  • Daeshaun Griffiths

    So thats how you pronounce it…koush. And this is one more reason to root your phone.

    • Tyler Durden

      That’s that good good

  • KleenDroid