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