Got the config page working and the stream frame showing on MagicMirror but no streaming video. I’m using a Foscam camera which encodes the stream as ffmpeg.
I have six of these running in Zoneminder and the TCP video stream is called with this command:
10.10.XX.XX:8081/videostream.asf?user=USERID&pwd=USERPWD
I get the module to outline a frame but the contents just show a grey background.
Here is my config for the module:
{
module: “MMM-RTSPStream”,
position: “top_right”,
header: “Box Stalls”,
config: {
autoStart: true,
rotateStreams: false,
rotateStreamTimeout: 10,
moduleWidth: 354,
moduleHeight: 240,
localPlayer: ‘ffmpeg’,
remotePlayer: ‘ffmpeg’,
showSnapWhenPaused: true,
remoteSnaps: true,
shutdownDelay: 12,
stream1: {
name: ‘Boxstall’,
url: ‘10.10.XX.XXX:8081/videostream.asf?user=USERID&pwd=USERPWD’,
frameRate: ‘undefined’,
hdUrl: ‘10.10.XX.XXX:8081/videostream.asf?user=USERID&pwd=USERPWD’,
snapshotType: ‘url’,
width: 354,
height: 240,
ffmpegPort: 9999,
},
}
},
I hope someone can point out what I am doing wrong. I think I am close to having this working.
Thanks.
Glenn.