VideoHLS
homey.video_hls
A video using a HLS stream.
Example:
# In your device.py file
async def on_init(self):
await super().on_init()
video = self.homey.videos.create_video_hls()
async def video_callback():
return f"http://{self.get_setting('ip')}/stream.m3u8"
video.register_video_url_listener(video_callback)
await self.set_camera_video('front_door', 'Front Door', video)
This class must not be initialized by the developer, but retrieved by calling ManagerVideos.create_video_hls().
Ancestors
- VideoWithURL
- Video
- homey.client.serializer.Serializable
- abc.ABC