@Egnos said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
Hi everyone,
I believe that the MMM - RTSPStream module is incompatible with the MMM-Pages multi page module!
By removing MMM-Pages, the RTSPStream module works again.
The link for the video stream works correctly both with VLC and with the “omxplayer” command.
The version of MM I am using is the latest available 2.14.0.
The error I find in the console is the following:
MMM-RTSPStream.js:164 MMM-RTSPStream has resumed... rotateStreams: true, autoStart: true
MMM-RTSPStream.js:368 Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null
at Class.playStream (MMM-RTSPStream.js:368)
at Class.rotateStream (MMM-RTSPStream.js:123)
at Class.setupStreamRotation (MMM-RTSPStream.js:94)
at Class.resumed (MMM-RTSPStream.js:168)
at newCallback (MMM-RTSPStream.js:186)
at main.js:324
Here is my configuration:
{
module: "MMM-RTSPStream",
position: "bottom_right",
header: "Test",
config: {
//initialSetup: true,
autoStart: true,
rotateStreams: true,
rotateStreamTimeout: 10,
moduleWidth: 354,
moduleHeight: 240,
localPlayer: 'omxplayer',
remotePlayer: 'none',
showSnapWhenPaused: false,
remoteSnaps: false,
stream1: {
name: 'Ingresso',
url: 'rtsp://xxxxxxxxxxx:xxxxxxxxx@xxx.xxx.x.xxx:554/stream1',
frameRate: 'undefined',
//width: undefined,
//height: undefined,
},
}
},
In the “bottom_right” region what I see:
Have any of you noticed this incompatibility?
Any advice / help is welcome.
Thanks.
Goodmorning, I belive.
rtsp://gebruikersnaam:wachtwoord@IPCAM:554/cam/realmonitor?channel=1&subtype=2
Pleas run this line in a VLC player. if you can see the camera screen than you know that the connection is oke.
After that we kan see what’s wrong whit the config.js
bur first check if you see the camera feet…
pleas
Whits type camera you use???
Jerry frome Holland