Display local gstreamer stream in browser

I have a camera entering a linear machine using the V4l2 interface as the source for the gstreamer pipeline. I am creating an interface to control the camera, and I would like to do this in HTML / javascript, exchanging information with a local server. The problem is getting the feed from the gst pipeline in the browser. The following options are possible:

  • Rollback from gst to v4l2 device that displays with support for flash webcams.
  • MJPEG stream output displayed in browser
  • RTSP stream output that is displayed using flash
  • Writing a browser plugin
  • Overlaying Native Browser Application X

Anyone have experience solving this problem before? The most important requirement is that the feed will be as close to real time as possible. I would like to avoid a flash if possible, although it may not be. Any help would be greatly appreciated.

+3
source share
2 answers

You have already thought of several solutions. You can also transfer to ogg / vorbis / theora or vp8 to the icecast server, see the OLPC GStreamer wiki for examples .

python ( ), Flumotion? , GStreamer Twisted, . HTTP, icecast.

. , Flumotion, , , . (x264enc , , , iirc). , , : , , .

+2

? Internet Explorer, OGG/Theora / WebM . IE, , , -. -, Flumotion Flowplayer http://flowplayer.org/, . Flowplayer , .

+1

Source: https://habr.com/ru/post/1764326/


All Articles