VideoWithURL
homey.video_with_url
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
register_video_url_listener
def register_video_url_listener(self, listener: Callable[[], Coroutine[Any, Any, str]]) ‑> SelfRegister a listener for video URL requests. This is invoked when Homey requests the video stream URL.
Args
| Name | Type | Description |
|---|---|---|
listener |
Callable[[], Coroutine[Any, Any, str]] | An async listener that returns the video URL. |