Skip to content

Repository files navigation

MMM-RTSPtoWeb

MagicMirror2 Module for viewing IP cameras RTSP stream in real time using WebRTC technology.

Requires a RTSPtoWeb or RTSPtoWebRTC server running in the background. If you use Home Assistant, this can be the the RTSPtoWeb Add-On (e.g. http://homeassistant.local:8083).

Configuration

Option Default value Description
width 50% Max video width
url WebRTC stream URL from the RTSPtoWeb* server

To get the list of the streams available: curl http://demo:[email protected]:8083/streams

Example Config:

    {
      module: "MMM-RTSPtoWeb",
      position: "top_center",
      header: "Front Door",
      config: {
        width: "100%",
        url: "http://homeassistant.local:8083/stream/camera.front_door/channel/0/webrtc"
      }
    },

Based on the work done by @Anonym-tsk for MMM-HomeAssistant-WebRTC and @deepch for the RTSPtoWeb(RTC servers.

About

MagicMirror2 Module for viewing IP cameras RTSP stream in real time using WebRTC technology.

Topics

Resources

Stars

17 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages