StreamPulse does basically that. The app is light enough to easily deploy on a Raspberry Pi or as a container on a NAS.