Documentation

Toggle Menu

MJPEG Stream View

This tile can be used to view an MJPEG Stream. You can pause, play and save the image being streamed.

Settings

Address

This is the address of the MJPEG streamer. This tile automatically has a link ready for you assuming you use the Raspberry Pi library mjpeg-streamer.

Size

This modifies the size of the button as it appears on your screen. Its units of measurement is tiles. Since each tile that can have its size modified is aware of its surroundings, the numeric steppers used to adjust the tile size will stop you from overlapping with other tiles or going over the edge of the screen.

Image Scaling

This settings adjusts how the image is rendered in the view. The titles are quite self explanatory.

  • Bottom

  • Bottom Left

  • Bottom Right

  • Centre

  • Left

  • Right

  • Scale Aspect Fit

  • Scale to Fill

  • Top

  • Top Left

  • Top Right

Input

You can pause and play the stream coming in from the streamer by sending the following.

  • String"PLAY" → Play Stream

  • String"PAUSE" → Pause Stream

  • String"CAPTURE" → Capture Current Frame

Usage Demo

Take save a frame of what is being streamed when an object is detected and save it to the iOS devcie's camera roll.

                            def objectDetected(self):
                                self.force.sendMessage("Jordan's iPhone", "StreamView", "CAPTURE")