mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Add stream source for amcrest component (#21983)
This commit is contained in:
parent
e618e2f348
commit
d66cc9befa
@ -97,3 +97,8 @@ class AmcrestCam(Camera):
|
|||||||
def name(self):
|
def name(self):
|
||||||
"""Return the name of this camera."""
|
"""Return the name of this camera."""
|
||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
|
@property
|
||||||
|
def stream_source(self):
|
||||||
|
"""Return the source of the stream."""
|
||||||
|
return self._camera.rtsp_url(typeno=self._resolution)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user