angeldeejay / MMM-RTSP2WebRTC

MIT License
0 stars 0 forks source link

Run from go2rtc server #2

Open Imnotme1009 opened 3 weeks ago

Imnotme1009 commented 3 weeks ago

I'm trying to get this to work with a go2rtc server setup in Proxmox, but can't figur out what's wrong. https://github.com/AlexxIT/go2rtc

This is my config:

{
      module: "MMM-RTSP2WebRTC",
      position: "top_right"
      config: {
        updateInterval: 30000, // Default time to show next camera (in milliseconds)
        retryDelay: 5000, // Time to wait to refresh DOM when server and feeds are alive (in milliseconds)
        controls: false, // If video player should show its controls
        height: 350, // video player height
        width: 700, // video player width
        animationSpeed: 400, // Animation speed to update DOM
        sources: rtsp://192.168.1.147:8554/frontdoor // sources list (rtsp urls to proxy. e.g rtsp://x.x.x.x:8554/live)
      }
    },

When I run the rtsp://192.168.1.147:8554/frontdoor stream in VLC it works fine so my guess it's something in the config I've done wrong.

Imnotme1009 commented 3 weeks ago

I get: Error when starting node_helper for module MMM-RTSP2WebRTC And tried all sorts of syntax for sources with no luck.