python-aidot-cameras 0.5.15__tar.gz → 0.5.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_aidot_cameras-0.5.15/src/python_aidot_cameras.egg-info → python_aidot_cameras-0.5.16}/PKG-INFO +1 -1
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/pyproject.toml +1 -1
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/aidot/device_client.py +12 -3
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16/src/python_aidot_cameras.egg-info}/PKG-INFO +1 -1
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/LICENSE +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/README.md +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/setup.cfg +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/aidot/__init__.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/aidot/aes_utils.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/aidot/client.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/aidot/const.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/aidot/credentials.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/aidot/discover.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/aidot/exceptions.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/aidot/g711.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/python_aidot_cameras.egg-info/SOURCES.txt +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/python_aidot_cameras.egg-info/dependency_links.txt +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/python_aidot_cameras.egg-info/requires.txt +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/src/python_aidot_cameras.egg-info/top_level.txt +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_alarm_event.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_highport_nomination.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_motion_poll.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_no_undefined_names.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_sdes_idle_release.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_sdes_sprop.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_sdes_talk.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_sdes_watchdog.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_speak.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_stream_cap.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_talk.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_terminal_ack.py +0 -0
- {python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_token_refresh.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-aidot-cameras
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.16
|
|
4
4
|
Summary: Control AiDot/Leedarson WiFi lights and cameras (WebRTC streaming, two-way audio, PTZ, controls)
|
|
5
5
|
Author-email: cbrightly <chris.brightly@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-aidot-cameras"
|
|
7
|
-
version = "0.5.
|
|
7
|
+
version = "0.5.16"
|
|
8
8
|
description = "Control AiDot/Leedarson WiFi lights and cameras (WebRTC streaming, two-way audio, PTZ, controls)"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -12491,7 +12491,12 @@ class DeviceClient(object):
|
|
|
12491
12491
|
return
|
|
12492
12492
|
data_len = len(data)
|
|
12493
12493
|
if data_len <= 0:
|
|
12494
|
-
|
|
12494
|
+
# Peer closed the control socket (idle cloud socket, device
|
|
12495
|
+
# reboot, or a brief Wi-Fi blip). reset() reconnects, so this is
|
|
12496
|
+
# a recoverable hiccup, not an error-level condition.
|
|
12497
|
+
_LOGGER.debug(
|
|
12498
|
+
"%s control socket closed by peer; reconnecting", self.device_id
|
|
12499
|
+
)
|
|
12495
12500
|
await self.reset()
|
|
12496
12501
|
self.status.online = False
|
|
12497
12502
|
return
|
|
@@ -12607,8 +12612,12 @@ class DeviceClient(object):
|
|
|
12607
12612
|
}
|
|
12608
12613
|
try:
|
|
12609
12614
|
if self.ping_count >= 2:
|
|
12610
|
-
|
|
12611
|
-
|
|
12615
|
+
# Two pings (~20s) went unanswered: the device is briefly
|
|
12616
|
+
# unreachable (Wi-Fi congestion, device busy). reset() reconnects
|
|
12617
|
+
# automatically, so this is a recoverable hiccup, not an error.
|
|
12618
|
+
_LOGGER.warning(
|
|
12619
|
+
"No ping response within 20s from %s; resetting connection "
|
|
12620
|
+
"(will reconnect)", self.device_id,
|
|
12612
12621
|
)
|
|
12613
12622
|
await self.reset()
|
|
12614
12623
|
return -1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-aidot-cameras
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.16
|
|
4
4
|
Summary: Control AiDot/Leedarson WiFi lights and cameras (WebRTC streaming, two-way audio, PTZ, controls)
|
|
5
5
|
Author-email: cbrightly <chris.brightly@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_highport_nomination.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_aidot_cameras-0.5.15 → python_aidot_cameras-0.5.16}/tests/test_no_undefined_names.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|