Hi,

On Fri, Jan 11, 2013 at 4:19 PM, Decebal Suiu <[email protected]> wrote:

> Hi
>
> Is it possible to implement a motion jpeg in wicket [1]. I want to
> implement
> a webcam viewer in wicket. I have a library that give me BufferedImage(s)
> from a webcam. Now I can display an BufferedImage in wicket but I want to
> move to the next level.
>
> I see two option:
> --- Implement M-JPEG over HTTP
> "HTTP streaming separates each image into individual HTTP replies on a
> specified marker. RTP streaming creates packets of a sequence of JPEG
> images
> that can be received by clients such as QuickTime or VLC.
> In response to a GET request for a MJPEG file or stream, the server streams
> the sequence of JPEG frames over HTTP. A special mime-type content type
> multipart/x-mixed-replace;boundary=<boundary-name> informs the client to
> expect several parts (frames) as an answer delimited by <boundary-name>.
> This boundary name is expressly disclosed within the MIME-type declaration
> itself. The TCP connection is not closed as long as the client wants to
> receive new frames and the server wants to provide new frames."
> --- I can use wicket 6.x websocket (atmosphere or native) to push the next
> image frame to wicket component.
>
> See you another approach? Any advice is welcome.
>
>
Isn't

http://www.charliemouse.com/code/cambozola/

suitable for your needs?

-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Reply via email to