Skip to content

Commit

Permalink
Update stream.py
Browse files Browse the repository at this point in the history
Using the added profile argument.
  • Loading branch information
kennybradley authored Oct 23, 2021
1 parent 8f23966 commit 63f2cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reolinkapi/mixins/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def open_video_stream(self, callback: Any = None, proxies: Any = None) -> Any:
:param proxies: Default is none, example: {"host": "localhost", "port": 8000}
"""
rtsp_client = RtspClient(
ip=self.ip, username=self.username, password=self.password, proxies=proxies, callback=callback)
ip=self.ip, username=self.username, password=self.password, profile=self.profile, proxies=proxies, callback=callback)
return rtsp_client.open_stream()

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

0 comments on commit 63f2cd7

Please sign in to comment.