Constructor
VideoRTSP
new VideoRTSP()Example
Creating an RTSP camera stream
// In your device.js file
async onInit() {
const video = await this.homey.videos.createVideoRTSP();
video.registerVideoUrlListener(async () => {
return { url: `rtsp://${this.getSetting('ip')}:554/stream` };
});
await this.setCameraVideo('front_door', 'Front Door', video);
}