Screen Sharing from Android to Chromecast - Google Chromecast

This is just something I threw together this weekend. It works by taking a system screenshot every so often (requiring root) and sending it to the Chromecast using a small HTTP server.
Because of the nature of wireless networks, the latency alone is too much to maintain a consistent frame rate. To maintain 30fps, the Chromecast would have to receive one image every 33ms. The latency from one device to another on my network is over 100ms, in addition to the time it actually takes the Chromecast to download the image (about 15kb, JPEG format with quality set to 50).
Additionally, because it works by taking screenshots, audio is not sent to the Chromecast.
All of that said, this is not practical. I just wanted to share with you guys what I was able to come up with in a short amount of time. I'd love to hear your feedback and any ideas you may have. Thanks for checking it out.

jtxdriggers said:
This is just something I threw together this weekend. It works by taking a system screenshot every so often (requiring root) and sending it to the Chromecast using a small HTTP server.
Because of the nature of wireless networks, the latency alone is too much to maintain a consistent frame rate. To maintain 30fps, the Chromecast would have to receive one image every 33ms. The latency from one device to another on my network is over 100ms, in addition to the time it actually takes the Chromecast to download the image (about 15kb, JPEG format with quality set to 50).
Additionally, because it works by taking screenshots, audio is not sent to the Chromecast.
All of that said, this is not practical. I just wanted to share with you guys what I was able to come up with in a short amount of time. I'd love to hear your feedback and any ideas you may have. Thanks for checking it out.
Click to expand...
Click to collapse
Any eta on when you will be releasing an apk ? Nice work .

AgentFour20 said:
Any eta on when you will be releasing an apk ? Nice work .
Click to expand...
Click to collapse
There's a lot of work left to do, so no ETA as of yet. But I hope to have it in the Play Store by the time devices no longer need to be whitelisted by Google.

Nicely done. It could work at least to cast your photos.

Related

New real-time GPS tracking software, BikeTrack Mobile

Somewhat oriented towards cycling, but can be used for walking or driving, this software grabs coordinates from the built-in (or external) bluetooth device and uploads the data to a website in real time. I believe you can also view the current location real time, or the current route, or previous routes! It has a website that you register a user/pass with which also goes into the program for uploading. When you want to view your routes, you go to a slightly different place on the same server and it appears to use Google Maps to overlay the information.
It also has the option to store the data and upload it later.
I've just experimented with it a little, but so far it's quite cool. I see some other related software to this discussed around here, so figured some folks might be interested.
I have found one bug which I'm going to report.. If the data connection gets severed it seems to get confused and can't re-start tracking, then it crashed on me, but no biggie, just started it back up.
I think I'll also make a suggestion for log frequency.. Right now I think it's logging per GPS frequency (1 per second) but for slower moving transportation or for potential battery/data savings, I think it could easily be changed to higher values, such as 1 data point in 5, 10, 15s etc..
Check it out, http://www.freewarepocketpc.net/ppc-download-biketrack-v0-81.html
BTW, no affiliation with the author, just found the SW yesterday and think it's rather cool.
khaytsus said:
Somewhat oriented towards cycling, but can be used for walking or driving, this software grabs coordinates from the built-in (or external) bluetooth device and uploads the data to a website in real time. I believe you can also view the current location real time, or the current route, or previous routes! It has a website that you register a user/pass with which also goes into the program for uploading. When you want to view your routes, you go to a slightly different place on the same server and it appears to use Google Maps to overlay the information.
It also has the option to store the data and upload it later.
I've just experimented with it a little, but so far it's quite cool. I see some other related software to this discussed around here, so figured some folks might be interested.
I have found one bug which I'm going to report.. If the data connection gets severed it seems to get confused and can't re-start tracking, then it crashed on me, but no biggie, just started it back up.
I think I'll also make a suggestion for log frequency.. Right now I think it's logging per GPS frequency (1 per second) but for slower moving transportation or for potential battery/data savings, I think it could easily be changed to higher values, such as 1 data point in 5, 10, 15s etc..
Check it out, http://www.freewarepocketpc.net/ppc-download-biketrack-v0-81.html
BTW, no affiliation with the author, just found the SW yesterday and think it's rather cool.
Click to expand...
Click to collapse
So does this and it works better http://forum.xda-developers.com/showthread.php?t=340667
this might work better for you
http://free.3dtracking.net/
or the even better solution..
http://forum.xda-developers.com/showthread.php?t=386477
I was going to check out the TrackMe solution but it required .net 3.5 and I didn't want to get into that, as I've heard that can break other software that's written for 2.0.
The other two programs I'll check out, thanks!
Thanks for you email (i will reply to that lateron) and for this thread on the forum, I already had one here! It really was a couple of days college assignment (well the idea was mine, but we had to do something with mobile devices) which I updated so it was usable for multiple users!
snempaa said:
Thanks for you email (i will reply to that lateron) and for this thread on the forum, I already had one here! It really was a couple of days college assignment (well the idea was mine, but we had to do something with mobile devices) which I updated so it was usable for multiple users!
Click to expand...
Click to collapse
Doh, I just searched the Kaiser subforum.
Couple days? Nice! I'd love to see what happens with a couple more days!

iheartradio apk?

i read herethat it was on the market so i was wondering if any body has the apk ?
yozpalang said:
i read herethat it was on the market so i was wondering if any body has the apk ?
Click to expand...
Click to collapse
@Iheartradio said it would be there around 3PM this afternoon, not sure of the timezone though, but i am guessing EST
Edit: just rechecked the tweet, from @iheartradio, and yes, it will be available at 3PM EST
I was wondering the same. I can't find it in the market. Anybody got it.
Just downloaded it from the market.
Unzip, then install.
im so excited i finally downloaded it from the market.
wtf, this thing looks great, has the clearchannel stations i've been wanting, but only "connecting" all the time, never actually plays...tried many different stations...anybody know whats up with this app?
check my signature for what i'm using
i have emailed the developer, waiting for response
have a bugreport if someone wants to see it
Good luck with those emails to the dev. Been trying to get an updated status on this for months. Over my 1.5M wifi connection, the thing connects in 1-2 seconds, even when I'm only getting "one bar" of wifi...over my 5 bar, 800K 3G connection at my gym, it takes 5 minutes and drops out continuously. Another DRM laden failure to satisfy customers...
el_smurfo said:
Good luck with those emails to the dev. Been trying to get an updated status on this for months. Over my 1.5M wifi connection, the thing connects in 1-2 seconds, even when I'm only getting "one bar" of wifi...over my 5 bar, 800K 3G connection at my gym, it takes 5 minutes and drops out continuously. Another DRM laden failure to satisfy customers...
Click to expand...
Click to collapse
damn it . . . .
If it's any consolation, it works fine on the Droid (apparently). Odd how so many streaming radio apps, Pandora, Last.fm, etc work great over even marginal 3G, but Clear Channel has managed to make streaming even AM radio look difficult...
yup...works great on wifi, takes 4 minutes to start streaming on 3G
better than nuthin i guess, wonder if its buffering a large amount of play time first
It can't be buffering as it will drop out regularly. My theory is it's trying to initiate some bloated DRM layer and when it doesn't succeed, it drops and resets. You also cannot access Clear Channel stuff on a PC without their bloated web client while other stations let you stream through your own software.
el_smurfo said:
It can't be buffering as it will drop out regularly. My theory is it's trying to initiate some bloated DRM layer and when it doesn't succeed, it drops and resets. You also cannot access Clear Channel stuff on a PC without their bloated web client while other stations let you stream through your own software.
Click to expand...
Click to collapse
i know...
this app definitely needs work it will probably never get, but, i've been trying to add some clearchannel stations to stuff like AOR, Droidcumulus, Cherry Player, even moodio.fm (which is now mymuze.fm) since november with no luck, so this is better than nothing
i just gotta live with selecting the station five minutes before i want to listen to it
planning my radio listening in advance now....
You used to be able to extract the stream URL and use your own client, but they seem to be changing the URL periodically through the hour to force their own interface.
el_smurfo said:
You used to be able to extract the stream URL and use your own client, but they seem to be changing the URL periodically through the hour to force their own interface.
Click to expand...
Click to collapse
authorization tokens...thats why i hate clearchannel
they claim its about saving bandwidth, therefore money
they dont want to have people outside of the advertisers' customers listening area hogging up their bandwidth, cause people in austrailia arent gonna buy groceries at the pittsburgh grocery stores that advertise during the penguins' hockey games, for example
its akamai....they got the whole authorization token thing going on....changes every 45 minutes or so on some of the stations i've monitored

Google Play Music Disconnecting When Idle

I just wanted to make a thread to see if anyone else was experiencing an annoyance I've been dealing with for the past few days. I don't know if it's due to a new firmware version on the Chromecast, or the recent update to the Play Music app, but casting music hasn't been such an intuitive experience for me recently. As a relevant note, both my Chromecasts are running the latest Eureka-ROM.
As long as I've had the Chromecast, casting music from Play Music has been fluent and the connection between the Chromecast and my HTC One was hard to break, even as I switched between apps and let my phone go to sleep. Recently, this hasn't been the case. If I am listening to an album on the Chromecast while tethered to my phone, I may pause it for a number of reasons and step away, then come back and expect to resume it. When I pause the song, then walk away, my phone will obviously go to sleep (since my screen timeout is 1 minute). As of the last few days, when I return to my phone after such a break, I look at my TV and find my Chromecast back at the homescreen. I then look at my phone and the Play Music app thinks it is still connected and the song is paused. When trying to press play a dialog pops up and says something along the lines of "The song cannot be played at this time." The only way to resume playback is to click "Disconnect" in the app, then reconnect and it goes back to normal once I restart the song.
So anyway, I suppose this may be a Eureka-ROM thing, but I don't see the reasoning behind that line of thinking. Has anyone else been experiencing this or any other change of behavior in Play Music?
Just to make sure, double-check your Keep Wi-Fi on during sleep setting.
bhiga said:
Just to make sure, double-check your Keep Wi-Fi on during sleep setting.
Click to expand...
Click to collapse
I could see that helping to keep control but if GPlay is working correctly he shouldn't have to be connected to the CCast with his device at all...
Does GPlay Music work differently than everything else does?
Asphyx said:
I could see that helping to keep control but if GPlay is working correctly he shouldn't have to be connected to the CCast with his device at all...
Does GPlay Music work differently than everything else does?
Click to expand...
Click to collapse
Many of the playlist-enabled apps have some level of "ping back" to manage the playlist functionality if it's not handled server-side.
bhiga said:
Many of the playlist-enabled apps have some level of "ping back" to manage the playlist functionality if it's not handled server-side.
Click to expand...
Click to collapse
Ahhh OK that does make some sense since no one seems able to do a proper playlist on the CCast that I have found...
Not the way it should work but I guess thats the workaround.
Google really should address this somehow...
Asphyx said:
Ahhh OK that does make some sense since no one seems able to do a proper playlist on the CCast that I have found...
Click to expand...
Click to collapse
The alternative would be to maintain a queue at the server's end, like how YouTube does TV Queue. Problem is, when interfacing with locally-hosted media it raises some privacy issues as the location leaves your network. It also would incur Internet traffic for those on limited/paid connections, albeit tiny, it'll still add up.
And of course not every app has a login/server attached to it. Perhaps something could be rigged with a cloud-hosted playlist file or something via Google Drive or another location that Chromecast can directly access.
bhiga said:
The alternative would be to maintain a queue at the server's end, like how YouTube does TV Queue. Problem is, when interfacing with locally-hosted media it raises some privacy issues as the location leaves your network. It also would incur Internet traffic for those on limited/paid connections, albeit tiny, it'll still add up.
And of course not every app has a login/server attached to it. Perhaps something could be rigged with a cloud-hosted playlist file or something via Google Drive or another location that Chromecast can directly access.
Click to expand...
Click to collapse
Or you could send the app a playlist of links to play one after the other...
Sort of the way the old ASF files used to work.
Asphyx said:
Or you could send the app a playlist of links to play one after the other...
Sort of the way the old ASF files used to work.
Click to expand...
Click to collapse
I think some of the apps have moved to that buffered playlist model, though it still requires some callback and housekeeping in case the controller changes the playlist, etc.
bhiga said:
I think some of the apps have moved to that buffered playlist model, though it still requires some callback and housekeeping in case the controller changes the playlist, etc.
Click to expand...
Click to collapse
I suppose...But they could allow changes via the control channel if they fleshed that channel out....
It definitely is one of the things Google has dropped the ball on in their design.
Thanks for the responses guys! Yeah, my Wi-Fi sleep policy is set to "Always", so that's not the issue. It's weird, my CCs have also not been showing up at all until a reboot sometimes. Something in the new GMusic or new CC firmware is not working as well as it used to.
For the sake of being thorough, give your router a reboot if you haven't already.
Also, do a ping test on your network to ensure it's not a faulty router/switch. I recently had to replace a switch (under lifetime warranty, luckily) because it had silently gone bad. It was still passing some traffic - enough for me not to notice immediately, but then my server lost its Gigabit connection (would only connect at 100 Mbps) and that got me investigating more.
bhiga said:
For the sake of being thorough, give your router a reboot if you haven't already.
Also, do a ping test on your network to ensure it's not a faulty router/switch. I recently had to replace a switch (under lifetime warranty, luckily) because it had silently gone bad. It was still passing some traffic - enough for me not to notice immediately, but then my server lost its Gigabit connection (would only connect at 100 Mbps) and that got me investigating more.
Click to expand...
Click to collapse
That probably has a lot to do with it, now that you mention it. My AP is a crappy Linksys and I experience random connection drops occasionally. I've been meaning to replace it with something better for a while. I just power cycled it and I am casting fine now. I also paused a song and gave it a few minutes without touching my phone and it resumed alright. Then ten seconds later the song started back from the beginning. Since this isn't a known problem it probably is dropped packets from my AP or something similar.
Synthic said:
That probably has a lot to do with it, now that you mention it. My AP is a crappy Linksys and I experience random connection drops occasionally. I've been meaning to replace it with something better for a while. I just power cycled it and I am casting fine now. I also paused a song and gave it a few minutes without touching my phone and it resumed alright. Then ten seconds later the song started back from the beginning. Since this isn't a known problem it probably is dropped packets from my AP or something similar.
Click to expand...
Click to collapse
If your AP is dropping out that can cause a number of problems. Is it one of the older WRT54G models? I used to run a bunch of those but there's a logging bug (even with logging turned off) that causes the router to go haywire. The third-party firmwares fixed it by flushing the logs via a cron job or firewall rule, I believe. I ended up with a pile of them after I moved to Pogoplugs for my VPN endpoints/servers.
bhiga said:
If your AP is dropping out that can cause a number of problems. Is it one of the older WRT54G models? I used to run a bunch of those but there's a logging bug (even with logging turned off) that causes the router to go haywire. The third-party firmwares fixed it by flushing the logs via a cron job or firewall rule, I believe. I ended up with a pile of them after I moved to Pogoplugs for my VPN endpoints/servers.
Click to expand...
Click to collapse
That's interesting, I never knew that. I did actually used to have a WRT54G, but have since upgraded to a EA2700. I was playing around with the settings and I switched it over to "bridge mode" which I think fixed the issue. I use a router provided by Comcast so the Linksys was supposed to be acting strictly as an AP but it wasn't. Any casting I've done since has been working well.

Mobdro to Chromecast problem

Hi everyone, this is my first post here, so thank you in advance to any help provided to me on this issue!!
I bought a Google Chromecast dongle from Bestbuy the other day so I could stream Mobdro from my phone to the Chromecast. Everything works when I press cast in Mobdro, however the stream always cuts out roughly 10 mins in.... if I watch on my phone then it streams with no issues.
I went into the settings from the Google home app and cannot change anything that would be relevant to this. I've tried it on my wife's phone with the same problem. My modem is in the same room with 50mbps download and 10mbps upload and I have no other connection issues with any other device on my network. Lastly, I've also tried it on another tv with the same outcome.
Any solutions or ideas on this issue would be GREATLY appreciated as this is driving me nuts!!!
Ever figure out a fix for this? I'm having the same issue, and it's infuriating.
---------- Post added at 04:38 AM ---------- Previous post was at 03:43 AM ----------
To add a little more context:
It's only Mobdro that has this issue for me. Every other app I've tried with Chromecast support can stream for hours.
I've tried it on two different Chromecasts (a regular and an ultra) on multiple networks (including through ethernet on the Chromecast ultra) on two different TVs and from two different devices (my phone and tablet).
Screen mirroring and using Mobdro works without interruption, as well as just streaming Mobdro on my phone. It's only when I use Mobdro with the in-app Chromecast feature that this problem occurs. Sometimes I'll get five minutes, other times I'll be able to watch almost a full 45 minutes of football.
All this being said, I've narrowed it to two things: the Mobdro Chromecast API implementation is somehow faulty (which would result in way more forum posts about this that I can't seem to find), or both of my wireless networks hate the combination of Mobdro and Chromecast (which seems even less likely).
I'm at a complete loss...
By any chance have either of you figured out what the issue is or how to fix it? Have the same exact problem and can't find a fix for it either.
Same Issues
Works absolutely perfect on phone. Can watch entire primetime network programming.
If I try casting, it stops after about 10 minutes and has a hard time rebooting.
Every other app other than Modro works seamlessly with Chromecast.
I'm glad I'm not the only one.
WillieJamesOutlawJr said:
Works absolutely perfect on phone. Can watch entire primetime network programming.
If I try casting, it stops after about 10 minutes and has a hard time rebooting.
Every other app other than Modro works seamlessly with Chromecast.
I'm glad I'm not the only one.
Click to expand...
Click to collapse
I still can't figure out how to get it to stream seamlessly without stopping. I did manage to get rid of all of the advertisements. One thing that did seem to help a bit was increasing the speed of my internet service to 100mb download and updating my router. Sometimes I can stream from Mobdro without any problem (for hours without it stopping), other times it will stop every 5-10 minutes. I'm thinking that the problem is probably on their end, something to do with Chromecast compatibility. It's probably the reason they don't charge for premium service anymore, too many people complaining about the Chromecast support.

How to hack Chromecast so its not looking for internet??

Hi to All, I know this has nothing to do with phones, but there might just be someone here who can solve this anyway
My problem is that I live in an area in th Philippines, where Globe telecom is the only solution for internet, and a very unstable one. Sometimes the speed is all the way down to 80Kbps and sometimes it goes to 0.
This makes using a Chromecast very dificult, it's possible to use when the speed is fine, but a sudden drop in speed sends chromecast in buffering mode. I tried to get Google to help, to no avail - they don't care.
I would like to have it not searching for internet, as 99.9% of the time i use it for internal casting(Offline)!
Anyone have a solution for this?
My Chromecast is 3rd gen. According to this page https://www.techthatworks.net/electronic/what-generation-chromecast-do-i-have and use Firmware(checked that in Home App) 1.49.230269
Hope to hear from you smart people soon as this is driving me nuts, I'm back to use USB stick and not all format are supported, so I have to convert and convert and so on, in order to watch the clips.
Thank you in advance
Jan
Moderator: could you move the thread to the chromecast forum? Thank you
Peppe89 said:
Is it legal?
Click to expand...
Click to collapse
Hi Peppe, why would it be illegal, I paid for the device - its mine I just want it to stop looking for the internet all the time, and do what it was bought for -casting.
Not possible, it's a real design flaw of the chromecast. I have slow internet and use it for internal casting too, very frustrating. Maybe get a bluray player or a roku they are better.
Thank you
SublimeFoxTheater
seem that Admin can close this one then
Hi, why should it not be possible? port or ipforwarding, tunneling etc? dont know how this device is working... but as its networking.. there should be a kind of way
nox23523 said:
Hi, why should it not be possible? port or ipforwarding, tunneling etc? dont know how this device is working... but as its networking.. there should be a kind of way
Click to expand...
Click to collapse
The 3rd gen Chromecast will not boot or function if it can't hit Google's servers at boot. If it looses general internet connection, it will go to a "I've lost my brains" type of screen and not let you do anything. For a Chromecast, the internet connection is sadly required even if you're just mirroring locally.

Categories

Resources