Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Image Streaming  RSS feed

Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While it's possible the solution requires Applets, I think it's more of an advanced question so I've posted it here instead of the Applets forum.

I have written a Java application which captures a user-definable portion of the screen. Now what I would like to do is the following: I want to be able to display this image on the web which essentially gives me a viewable workspace for my clients. The image files themselves can be stored locally and then I can take the http requests for that particular frame on my local machine thus eliminating ftp to transfer the images....which I think would give me far less frequent refreshes than I want.

Assuming adequate bandwidth (each image is approx 50k), I would like to achieve in the neighborhood of 5 fps. I also want to avoid any problems with firewalls from my clients.....meaning I would probably require serving the images over port 80 locally. Is writing a client-side applet the only way to achieve this? I mean, it doesn't seem feasible for the client's browser to refresh 5 times per second....even if the only thing being transmitted is the image, or am I wrong here? It's a little bit of a complicated problem to achieve the 5fps which is why I'm asking here....I don't want to waste the time coding ways which you all probably know won't work.

Ideas please?

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!