Module homey.video_with_url

Classes

class VideoWithURL

A base class for various video streaming protocols, such as RTSP, RTMP, HLS, and DASH.

This class must not be initialized by the developer, but retrieved by calling ManagerVideos.create_video_rtsp(), ManagerVideos.create_video_rtmp(), ManagerVideos.create_video_hls(), ManagerVideos.create_video_dash(), or ManagerVideos.create_video_other().

Ancestors

  • Video
  • homey.client.serializer.Serializable
  • abc.ABC

Subclasses

Methods

def register_video_url_listener(self, listener: Callable[[], Coroutine[Any, Any, str]]) ‑> Self

Register a listener for video URL requests. This is invoked when Homey requests the video stream URL.

Args

listener
An async listener that returns the video URL.

Inherited members