Step 1. MMM-RTSPStream Core Configuration Builder
Leave blank for no header.

Yes will start the streams automatically when the mirror starts, no will show snapshots (if available) or a blank window until the stream is started by a notification from another app or by clicking the play button.

Only applies when the first option above is selected.

If your camera supports timed snapshot images via URL or saving to a file location, the module can display these when the stream is paused.

When using OMXPlayer for local player and None for remote player, no video will be visible if you open the Mirror on a remote web browser or view through VNC. Selecting yes for this option will show snapshots to the remote viewers (saves resources over using FFMPEG for Remote Player)

px

When rotateStreams is false and multiple streams are used, adjust this value to adjust the number of streams shown side by side. E.G. to show 2 streams side by side, this value should be = 2*(Stream Width + 2*1px (border) + 2*15px (margin))

px

Similar (but less critical) to moduleWidth. Adjust to the number of streams high to ensure other modules clear.

On some displays, the video does not properly line up with the box on the screen. Entering a pixel value will shift the video over by that amount. Default: 0 Values: Any number (no units) by itself will adjust both top/left the same amount, or you can specify left & top adjustments separately (e.g. { left: 10, top: -10 })

ms

The time delay (in sec) between when the stream is hidden/closed and when the stream actually stops. When rotating through multiple streams this prevents closing the connection to a stream only to re-open a few seconds later when it comes back through the loop (which reduces the time delay when restarting a stream). To conserve resources on a slow device, you can set this to 0

Step 2. Video Stream Configurations
Enter the name for the camera
The url of the RTSP stream. See this list for paths for some common security cameras. Also see below for how to test for a valid url Username and password should be passed in the url if required: rtsp://<username>:<password>@<hostname>:<port>/<path>
The url of the HD RTSP stream for full screen OMXPlayer/VLC use.
The url or filepath of the snapshot images.
seconds

Time between fetching new snapshot images

px

The width in px of the stream.

px

The height in px of the stream

Required only for OMXPlayer or VLC. Use this to set an exact position for the video instead of getting it automatically. Format: "{ top: XX, right: XX, bottom: XX, left: XX }"
Only required for `ffmpeg` Any available port to use for the ffmpeg websocket.
Notes: THIS IS NOT THE PORT FOR YOUR CAMERA Camera stream's port must be included in the URL above. This port must be unqiue for each stream added and cannot be used by another service on the server. This is a separate WebSocket from the the Socket.IO connection between the module's script and it's `node_helper.js`.
Enter the name for the camera
seconds
px
px
Enter the name for the camera
seconds
px
px
Enter the name for the camera
seconds
px
px
Step 3. Copy to MagicMirror Configuration File

Copy the above section to your configuration file.