Skip to content

Commit 63f2cd7

Browse files
authored
Update stream.py
Using the added profile argument.
1 parent 8f23966 commit 63f2cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reolinkapi/mixins/stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def open_video_stream(self, callback: Any = None, proxies: Any = None) -> Any:
2323
:param proxies: Default is none, example: {"host": "localhost", "port": 8000}
2424
"""
2525
rtsp_client = RtspClient(
26-
ip=self.ip, username=self.username, password=self.password, proxies=proxies, callback=callback)
26+
ip=self.ip, username=self.username, password=self.password, profile=self.profile, proxies=proxies, callback=callback)
2727
return rtsp_client.open_stream()
2828

2929
def get_snap(self, timeout: float = 3, proxies: Any = None) -> Optional[Image]:

0 commit comments

Comments
 (0)