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