I have a camera feed coming into a linux machine using a V4l2 interface as the source for a gstreamer pipeline. I'm building an interface to control the camera, and I would like to do so in HTML/javascript, communicating to a local server. The problem is getting a feed from the gst pipeline into the browser. The options for doing so seem to be:
- A loopback from gst to a v4l2 device, which is displayed using flash's webcam support
- Outputting a MJPEG stream which is displayed in the browser
- Outputting a RTSP stream which is displayed by flash
- Writing a browser plugin
- Overlaying a native X application over the browser
Has anyone had experience solving this problem before? The most important requirement is that the feed be as close to real time as possible. I would like to avoid flash if possible, though it may not be. Any help would be greatly appreciated.