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