Sending series of images to display like a movie on iPhone
Posted
by unknownthreat
on Stack Overflow
See other posts from Stack Overflow
or by unknownthreat
Published on 2010-03-27T05:34:45Z
Indexed on
2010/03/27
5:43 UTC
Read the original article
Hit count: 332
Allow me to elaborate more.
On the server, we will have a program that will take data from iPhone and process that data and produce series of images. Each time an image is generated, it will be send back to display on iPhone.
I have done all of the things above using UDP, OpenGL, and such. It works. The images are transferred to iPhone and can be displayed, but it is slow. The image's resolution is around 320 x 420 and we send the image pixels by pixels. This naive implementation leads to a slow framerate. I can see around 2-3 frames per second. There are also some UDP packets dropped, and this is expected.
Are there any sort of compression method available for something like this? Are there any other method that can make this better?
NOTE: please don't just write "compression" as an answer, because we are aware that we will need to do it in some ways.
© Stack Overflow or respective owner