python-aidot-cameras 0.5.6__tar.gz → 0.5.7__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.
Files changed (29) hide show
  1. {python_aidot_cameras-0.5.6/src/python_aidot_cameras.egg-info → python_aidot_cameras-0.5.7}/PKG-INFO +1 -1
  2. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/pyproject.toml +1 -1
  3. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/aidot/device_client.py +11 -0
  4. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7/src/python_aidot_cameras.egg-info}/PKG-INFO +1 -1
  5. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/LICENSE +0 -0
  6. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/README.md +0 -0
  7. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/setup.cfg +0 -0
  8. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/aidot/__init__.py +0 -0
  9. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/aidot/aes_utils.py +0 -0
  10. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/aidot/client.py +0 -0
  11. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/aidot/const.py +0 -0
  12. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/aidot/credentials.py +0 -0
  13. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/aidot/discover.py +0 -0
  14. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/aidot/exceptions.py +0 -0
  15. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/aidot/g711.py +0 -0
  16. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/python_aidot_cameras.egg-info/SOURCES.txt +0 -0
  17. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/python_aidot_cameras.egg-info/dependency_links.txt +0 -0
  18. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/python_aidot_cameras.egg-info/requires.txt +0 -0
  19. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/src/python_aidot_cameras.egg-info/top_level.txt +0 -0
  20. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/tests/test_alarm_event.py +0 -0
  21. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/tests/test_highport_nomination.py +0 -0
  22. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/tests/test_motion_poll.py +0 -0
  23. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/tests/test_sdes_talk.py +0 -0
  24. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/tests/test_sdes_watchdog.py +0 -0
  25. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/tests/test_speak.py +0 -0
  26. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/tests/test_stream_cap.py +0 -0
  27. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/tests/test_talk.py +0 -0
  28. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/tests/test_terminal_ack.py +0 -0
  29. {python_aidot_cameras-0.5.6 → python_aidot_cameras-0.5.7}/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.6
3
+ Version: 0.5.7
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.6"
7
+ version = "0.5.7"
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"
@@ -8644,6 +8644,17 @@ class DeviceClient(object):
8644
8644
  import tempfile
8645
8645
  import json
8646
8646
 
8647
+ # _open_sdes_stream runs in its own scope, so recompute the fast-connect
8648
+ # flag here (same precedence as the parent open path: explicit per-camera
8649
+ # option set via start_keepalive, else the AIDOT_FAST_CONNECT env var).
8650
+ # Without this the SDES path NameErrors on every open (regression fixed
8651
+ # 2026-06-07: the SDES TURN-skip gates reference _fast_connect).
8652
+ _fast_connect = getattr(self, "_fast_connect_opt", None)
8653
+ if _fast_connect is None:
8654
+ _fast_connect = os.environ.get("AIDOT_FAST_CONNECT", "").strip().lower() in (
8655
+ "1", "true", "yes", "on",
8656
+ )
8657
+
8647
8658
  user_id = user_id or str(self.user_id)
8648
8659
 
8649
8660
  # Models confirmed (2026-05-02) to send TUTK-framed data instead of
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-aidot-cameras
3
- Version: 0.5.6
3
+ Version: 0.5.7
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