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

Commit c19648e

Browse files
authored
Merge pull request #18 from fwestenberg/v0014
Stream and protocol fix
2 parents d002c84 + dfd1794 commit c19648e

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

reolink/camera_api.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ def __init__(
3939
self._username = username
4040
self._password = password
4141
self._channel = channel
42+
self._stream = stream
43+
self._protocol = protocol
4244
self._timeout = aiohttp.ClientTimeout(total=timeout)
45+
4346
self._token = None
4447
self._lease_time = None
4548
self._motion_state = False
@@ -77,8 +80,6 @@ def __init__(
7780

7881
self._users = None
7982
self._local_link = None
80-
self._stream = DEFAULT_STREAM
81-
self._protocol = DEFAULT_PROTOCOL
8283
self._ptz_support = False
8384

8485
@property

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
setup(
33
name = 'reolink',
44
packages = ['reolink'],
5-
version = '0.0.13',
5+
version = '0.0.14',
66
license='MIT',
77
description = 'Reolink camera package',
88
author = 'fwestenberg',
99
author_email = '',
1010
url = 'https://github.com/fwestenberg/reolink',
11-
download_url = 'https://github.com/fwestenberg/reolink/archive/v_013.tar.gz',
11+
download_url = 'https://github.com/fwestenberg/reolink/archive/v_014.tar.gz',
1212
keywords = ['Reolink', 'Home-Assistant'],
1313
install_requires=[
1414
'ffmpeg',

0 commit comments

Comments
 (0)