Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

How to move the server out of Android Device as it heats up #17

Open
heatrs opened this issue Jun 20, 2014 · 3 comments
Open

How to move the server out of Android Device as it heats up #17

heatrs opened this issue Jun 20, 2014 · 3 comments

Comments

@heatrs
Copy link

heatrs commented Jun 20, 2014

I was thinking if I can move the server out from device itself and put it on a different server.
I tried to do it but code is too complex, any suggestions or already done code piece would help a ton!

Open for suggestions.

@rabidaudio
Copy link

I'm not sure what you are suggesting. If you mean having the app send the data to a server which does the HTTP part, I'm not sure what good it would do you. The overhead for the HTTP part is pretty low.

@heatrs
Copy link
Author

heatrs commented Jul 1, 2014

Thats what exactly I meant, sending the video frames to a backend server over HTTP or any other protocol, but doesnt wanna handle it on the device itself. As it heats up the device pretty quickly.

@rabidaudio
Copy link

What's heating up the device is the camera use and the continuous JPEG compression. You will have to send the data to the server somehow, so you might as well do it via HTTP.

You might be able to move the compression step to the server and send only the raw bitmap, but you would have to come up with your own protocol for this, and the network might not be able to handle dozens of uncompressed bitmaps per second.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants