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. [1] http://en.wikipedia.org/wiki/Motion_JPEG Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/motion-jpeg-and-wicket-tp4655294.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
