You can buy this project and download/modify it how often you want.
Package org.ocap.dvr.event Provides ability to receive DVR events.