Skip to content

Instantly share code, notes, and snippets.

@shbatm
Created July 31, 2017 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shbatm/f02569e21738eccc71a51a81775c66b8 to your computer and use it in GitHub Desktop.
Save shbatm/f02569e21738eccc71a51a81775c66b8 to your computer and use it in GitHub Desktop.
MMM-RTSPStream Multi Camera Example Config
{
module: "MMM-RTSPStream",
position: "middle_center",
header: "Camera Streams",
config: {
autoStart: false,
rotateStreams: false,
moduleWidth: 1120,
moduleHeight: 784,
stream1: {
name: 'Driveway Camera',
url: 'rtsp://user:password@cam1ip:25013//Streaming/Channels/2',
snapshotUrl: 'http://user:password@cam1ip//Streaming/Channels/2/picture',
snapshotType: 'url',
snapshotRefresh: 5, // Seconds
frameRate: "30",
port: 10000,
width: 528,
height: 360,
shutdownDelay: 10000, // Miliseconds
hideFfmpegOutput: true
},
stream2: {
name: 'Front Door Camera',
url: 'rtsp://user:password@cam2ip:25015//Streaming/Channels/2',
snapshotUrl: 'http://user:password@cam2ip//Streaming/Channels/2/picture',
snapshotType: 'url',
snapshotRefresh: 5, // Seconds
frameRate: "30",
port: 10001,
width: 528,
height: 360,
shutdownDelay: 10000, // Miliseconds
hideFfmpegOutput: true
},
stream3: {
name: 'Patio Camera',
url: 'rtsp://user:password@cam3ip:25010//Streaming/Channels/2',
snapshotUrl: 'http://user:password@cam3ip@192.168.10.20//Streaming/Channels/2/picture',
snapshotType: 'url',
snapshotRefresh: 5, // Seconds
frameRate: "30",
port: 10002,
width: 528,
height: 360,
shutdownDelay: 10000, // Miliseconds
hideFfmpegOutput: true
},
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment