Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #22 from fwestenberg/fwestenberg-patch-1
Browse files Browse the repository at this point in the history
Add suffix to subscribe URL and password length fix
  • Loading branch information
fwestenberg authored Jan 14, 2021
2 parents a3bbf87 + 1de65d8 commit 14bc4ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reolink/subscription_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class Manager:
def __init__(self, host, port, username, password, timeout=DEFAULT_TIMEOUT):
self._host = host
self._username = username
self._password = password
self._password = password[:31]
self._timeout = aiohttp.ClientTimeout(total=timeout)
self._subscribe_url = f"http://{host}:{port}"
self._subscribe_url = f"http://{host}:{port}/onvif/event_service"
self._manager_url = None
self._termination_time = None
self._time_difference = None
Expand Down

0 comments on commit 14bc4ed

Please sign in to comment.