python-aidot-cameras 1.0.0rc69__tar.gz → 1.0.0rc71__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-1.0.0rc71/PKG-INFO +477 -0
- python_aidot_cameras-1.0.0rc71/README.md +427 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/__init__.py +4 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/__main__.py +3 -7
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/aac_track.py +6 -5
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/client.py +401 -99
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/controls.py +6 -3
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/hls_ts.py +15 -9
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/models.py +11 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/protocol.py +40 -5
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/rtsp_publish.py +11 -5
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/sd_events.py +6 -2
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/sd_listing.py +3 -2
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/sd_playback.py +22 -3
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/sdes.py +4 -1
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/sdes_open.py +321 -175
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/webrtc.py +2 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/webrtc_open.py +32 -19
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/client.py +16 -9
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/const.py +9 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/device_client.py +8 -2
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/exceptions.py +10 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/settings.py +96 -5
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/pyproject.toml +2 -2
- python_aidot_cameras-1.0.0rc71/python_aidot_cameras.egg-info/PKG-INFO +477 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/python_aidot_cameras.egg-info/SOURCES.txt +5 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_auth_error_routing.py +36 -3
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_avio_ctrl_uses_the_session_dseq.py +5 -4
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_avio_response_router.py +5 -2
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_control_verdicts.py +29 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_device_login_guard.py +37 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_direct_publish_attaches_negotiated_audio.py +30 -9
- python_aidot_cameras-1.0.0rc71/tests/test_dtls_serve_backoff.py +1081 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_hls_ts_end_to_end.py +4 -2
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_open_errors_are_aidot_errors.py +2 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_peerid_reuse.py +2 -2
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_rtsp_publish.py +4 -4
- python_aidot_cameras-1.0.0rc71/tests/test_sctp_in_order.py +215 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sctp_sack.py +19 -12
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sd_listing.py +1 -1
- python_aidot_cameras-1.0.0rc71/tests/test_sd_playback_end.py +118 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sd_playback_open.py +3 -1
- python_aidot_cameras-1.0.0rc71/tests/test_set_dev_attr_payload.py +69 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_shared_house_seam.py +15 -0
- python_aidot_cameras-1.0.0rc71/tests/test_stream_settings.py +193 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_talk.py +66 -0
- python_aidot_cameras-1.0.0rc69/PKG-INFO +0 -747
- python_aidot_cameras-1.0.0rc69/README.md +0 -697
- python_aidot_cameras-1.0.0rc69/python_aidot_cameras.egg-info/PKG-INFO +0 -747
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/LICENSE +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/MANIFEST.in +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_log_redaction.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_upstream.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/LICENSE +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/clock.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/codecs/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/codecs/base.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/codecs/g711.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/codecs/g722.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/codecs/h264.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/codecs/opus.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/codecs/vpx.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/contrib/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/contrib/media.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/contrib/signaling.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/events.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/exceptions.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/jitterbuffer.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/mediastreams.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rate.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rtcconfiguration.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rtcdatachannel.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rtcdtlstransport.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rtcicetransport.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rtcpeerconnection.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rtcrtpparameters.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rtcrtpreceiver.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rtcrtpsender.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rtcrtptransceiver.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rtcsctptransport.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rtcsessiondescription.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/rtp.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/sdp.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/stats.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/_vendor/aiortc/utils.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/agc.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/constants.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/h264_sps.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/health.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/hwaccel.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/lan_control.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/recording.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/rtp_h264.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/ts_fanout.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/camera/ts_tee.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/cloud_auth.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/credentials.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/crypto.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/discover.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/g711.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/lan_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/aidot_cameras/py.typed +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/python_aidot_cameras.egg-info/dependency_links.txt +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/python_aidot_cameras.egg-info/entry_points.txt +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/python_aidot_cameras.egg-info/requires.txt +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/python_aidot_cameras.egg-info/top_level.txt +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/setup.cfg +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_aac_track.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_abandoned_attempt_skips_the_doomed_serve.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_abandoned_wait_still_maps_audio.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_aioice_compat.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_alarm_event.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_answer_pt_kinds.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_answer_sdp_video_pt.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_answer_section_selection.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_arrival_timestamps.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_audio_mux_offline.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_auto_alarm.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_auto_light_settings.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_avio_header_single_layout.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_avio_request.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_avio_response_parse.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_battery_cap_spans_sessions.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_battery_detection.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_battery_evidence_corroboration.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_battery_stale_offer_is_abandoned_early.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_battery_wake_settles_before_the_command.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_ble_gateway_is_gone.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_bridge_state_sentinels.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_busy_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_camera_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_canary_log_names_the_camera.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_close_mid_ice_leaves_nothing_pending.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_cloud_count.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_cloud_error_log_names_the_exception.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_cloud_error_severity.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_cloud_plan.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_constants_imports_resolve.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_declared_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_deferred_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_detection_types.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_device_cmd_seq_match.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_device_user_info_cache.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_direct_ts_keyframe_signal.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_direct_ts_serve.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_direct_ts_serve_only_for_http.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dormant_camera_cleanup.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_drain_is_cancellable.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_mux_terminal_write.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_not_ready_burst.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_open_abort_covers_every_exit.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_pinning.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_recorder_wiring.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_refusal_after_the_echo.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_resolution_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_serve_decode_skip.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_serve_ice_wait.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_serve_open_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_skip_signaling_wait.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_slow_probe.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_stdout_producer.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_tap_states_no_reorder.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_ts_copy_recording.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_dtls_video_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_egress_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_env_seams.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_every_exception_is_exported.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_feature_probe_needs_a_live_session.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_ffmpeg_rx_sdp_single_template.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_ffmpeg_signal_exit_is_not_a_crash.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_first_media_abandon_rules.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_futile_keepalive.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_gate_requires_a_decoded_frame.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_go2rtc_cli.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_h264_decode_rate_limit.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_h264_sps.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_health_line.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_health_line_counts_pictures.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_highport_nomination.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_hls_ts_wiring.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_hwaccel_probe.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_ice_config_cache.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_ice_credentials_match_the_app.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_ice_peer_reflexive.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_idle_release_both_loops.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_ipc_envelope_single_builder.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_keepalive_renew.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_key_restart_sdp.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_keyframe_prompter.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_lan_control.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_lan_login_accessors.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_lan_retry_reaches_the_storming_devices.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_lan_retry_short_sessions.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_lan_retry_silences_upstream_over_ceiling.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_lan_retry_stops_on_close.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_lan_sweep_only_with_lights.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_late_repeats_are_dropped.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_light_active_color_mode.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_live_session_carries_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_live_stream_param.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_live_validate_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_live_validate_token_refresh.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_live_video_canary.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_liveplay_echo_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_local_only_controls.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_log_hygiene.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_logging_caps.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_login_connect_deadline.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_login_reconnect_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_loop_break_ends_the_loop.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_media_counted_only_when_plaintext.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_media_path_is_reported.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_media_socket_rcvbuf.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_media_wait_floor.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_motion_poll.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_mqtt_client_id_is_exact.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_mqtt_credential_refetch.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_mqtt_credential_self_heal.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_mqtt_password_not_persisted.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_mqtt_session_reconnect.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_mqtt_thread_not_orphaned.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_mypy_new_findings.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_nack.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_nack_cannot_add_load_in_a_burst.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_narrow_pc_ice.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_no_key_material_in_logs.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_no_private_notes_on_the_public_surface.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_no_self_referential_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_no_unbounded_hex_dumps.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_no_undefined_names.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_nominates_as_soon_as_the_answer_lands.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_off_subnet_candidate.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_offer_keeps_rtcp_feedback.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_offline_keepalive_pause.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_on_frame_is_an_av_frame.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_open_fail_logger.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_open_gate_delay.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_peer_id_client_type.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_persistent_mqtt.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_persistent_mqtt_robustness.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_phase_returns_reach_the_caller.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_phase_state_is_complete.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_plaintext_mqtt_refused.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_post_merge_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_ptz_probe_reads_what_it_is_told.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_public_signature_matches_impl.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_publish_target_readiness.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_quality_campaign_in_session.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_reboot_action.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_recent_recordings.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_region_allowlist.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_remb.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_remb_goes_out_the_relay_aware_sender.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_removed_keepalive_arguments_are_tolerated.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_resent_frames_are_dropped.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_resolution_persists.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_restart_cycle.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_retry_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_review_lan_retry_and_graces.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_rtp_h264.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_rtsp_publish_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_scripts_importable.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sctp_init_ack_tsn.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sctp_reassembly.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sd_card_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sd_event_decode.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sd_event_probe_payloads.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sd_playback.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sd_playback_clock.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sd_playback_controls.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sd_playback_dtls.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sd_playback_entry.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sd_playback_media_hold.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_avio_dispatch.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_bridge_break_gate.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_connection_mode.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_echo_wait_is_not_dead_time.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_fast_liveplay.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_ffmpeg_stderr_log.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_first_media_stall_report.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_ice_teardown.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_idle_release.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_nack_bridge.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_offer_video_pin.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_open_cleanup.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_open_yields_the_loop.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_pinned_codec_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_sctp_abort.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_serve_audio.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_serve_cmd.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_serve_stderr_drain.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_sprop.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_teardown_exit_log.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_terminal_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_terminal_ack_latency.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdes_watchdog.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdp_narrowing_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sdp_payload_type_narrowing.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_security_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_self_peer_is_an_address_not_an_ip.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_serializable_login_info.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_serve_bound_survives_arrival_stamping.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_serve_input_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_serve_loop_releases_on_error.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_serve_loss_tolerance.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_serve_pt_respects_the_pin.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_serve_relay.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_serve_stderr_keeps_the_reason.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_session_mode_seq.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_session_stats.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_session_stop_twice.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_settings_registry.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_signalling_is_attributable_to_a_camera.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_skip_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_snapshot_cancellation.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_speak.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sprop_capture_gate.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sprop_staleness.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sprop_unstable_public.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_sprop_write_is_reported_truthfully.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_srtp_rx_rekey.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_srtp_tx_key_note.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stable_terminal_id.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stall_nudge_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stall_report_says_what_the_answer_carried.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stall_report_says_whether_the_trigger_was_answered.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stall_report_separates_silence_from_undecryptable.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stall_report_survives_a_caller_giving_up.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stall_reports_reach_the_artifact.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_status_and_trace_channels.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stream_cap.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stream_drain_ownership.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stream_idle.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stream_slot_cap.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stream_teardown.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_stun_attr_single_builder.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_swallowed_exception_names.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_talk_reports_a_speaker_that_never_opened.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_tap_to_mux_end_to_end.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_terminal_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_tmmbr.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_token_file_robustness.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_token_refresh.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_transport_failure_reporting.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_ts_fanout.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_ts_tee.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_turn_create_permission.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_turn_target_shared.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_unbuildable_summary_repeats_at_debug.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_unreachable_nominee_is_abandoned_early.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_upstream_compat.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_upstream_seam_adapter.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_upstream_secrets_redacted.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_validator_shares_one_token.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_vendored_aiortc_integrity.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_video_presence_needs_a_keyframe.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_video_profile_log.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_video_pts_dts.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_video_ts_unwrap.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_viewer_check_throttle.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_viewer_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_viewer_present_push_mode.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_wait_or_event.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_wake_gate_camera_evidence.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_wake_readiness_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc71}/tests/test_webrtc_answer_race.py +0 -0
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: python-aidot-cameras
|
|
3
|
+
Version: 1.0.0rc71
|
|
4
|
+
Summary: Control AiDot/Leedarson WiFi lights and cameras (WebRTC streaming, two-way audio, PTZ, controls)
|
|
5
|
+
Author-email: cbrightly <chris.brightly@gmail.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/cbrightly/python-aidot-cameras
|
|
8
|
+
Project-URL: Issue Tracker, https://github.com/cbrightly/python-aidot-cameras/issues
|
|
9
|
+
Classifier: Development Status :: 4 - Beta
|
|
10
|
+
Classifier: Framework :: AsyncIO
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Topic :: Home Automation
|
|
18
|
+
Classifier: Typing :: Typed
|
|
19
|
+
Requires-Python: >=3.11
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
License-File: LICENSE
|
|
22
|
+
License-File: aidot_cameras/_vendor/aiortc/LICENSE
|
|
23
|
+
Requires-Dist: python-aidot<0.4,>=0.3.56
|
|
24
|
+
Requires-Dist: aiohttp>=3.9
|
|
25
|
+
Requires-Dist: paho-mqtt>=1.6.1
|
|
26
|
+
Requires-Dist: cryptography>=42.0
|
|
27
|
+
Requires-Dist: pycryptodome>=3.20
|
|
28
|
+
Requires-Dist: dacite>=1.8
|
|
29
|
+
Provides-Extra: webrtc
|
|
30
|
+
Requires-Dist: av<20.0.0,>=14.0.0; extra == "webrtc"
|
|
31
|
+
Requires-Dist: aioice<0.12,>=0.10.1; extra == "webrtc"
|
|
32
|
+
Requires-Dist: pylibsrtp>=0.10.0; extra == "webrtc"
|
|
33
|
+
Requires-Dist: pyopenssl>=25.0.0; extra == "webrtc"
|
|
34
|
+
Requires-Dist: cryptography>=44.0.0; extra == "webrtc"
|
|
35
|
+
Requires-Dist: pyee>=13.0.0; extra == "webrtc"
|
|
36
|
+
Requires-Dist: google-crc32c>=1.1; extra == "webrtc"
|
|
37
|
+
Requires-Dist: numpy; extra == "webrtc"
|
|
38
|
+
Requires-Dist: Pillow; extra == "webrtc"
|
|
39
|
+
Provides-Extra: test
|
|
40
|
+
Requires-Dist: python-aidot-cameras[webrtc]; extra == "test"
|
|
41
|
+
Requires-Dist: pytest; extra == "test"
|
|
42
|
+
Requires-Dist: pytest-asyncio; extra == "test"
|
|
43
|
+
Requires-Dist: pytest-timeout; extra == "test"
|
|
44
|
+
Requires-Dist: pytest-xdist; extra == "test"
|
|
45
|
+
Requires-Dist: amqtt; extra == "test"
|
|
46
|
+
Requires-Dist: pyflakes; extra == "test"
|
|
47
|
+
Provides-Extra: codemod
|
|
48
|
+
Requires-Dist: libcst>=1.1; extra == "codemod"
|
|
49
|
+
Dynamic: license-file
|
|
50
|
+
|
|
51
|
+
# python-aidot-cameras
|
|
52
|
+
|
|
53
|
+
[](https://pypi.org/project/python-aidot-cameras/)
|
|
54
|
+
[](https://pypi.org/project/python-aidot-cameras/)
|
|
55
|
+
[](https://github.com/cbrightly/python-aidot-cameras/blob/main/LICENSE)
|
|
56
|
+
|
|
57
|
+
Control AiDot / Leedarson WiFi lights **and cameras** from Python: live WebRTC
|
|
58
|
+
video (DTLS-SRTP and SDES-SRTP cameras), snapshots, PTZ, camera controls, cloud
|
|
59
|
+
recordings, the recordings on a camera's own SD card, motion events and two-way
|
|
60
|
+
(push-to-talk) audio. It also ships `aidot-go2rtc`, a command that turns a
|
|
61
|
+
camera into an ordinary RTSP or MPEG-TS stream for go2rtc, Frigate or an NVR.
|
|
62
|
+
|
|
63
|
+
- **Home Assistant users:** install the companion integration,
|
|
64
|
+
[`cbrightly/hass-aidot-cameras`](https://github.com/cbrightly/hass-aidot-cameras),
|
|
65
|
+
instead. It installs this library and manages go2rtc for you; you need nothing
|
|
66
|
+
on this page.
|
|
67
|
+
- **Upstream:** this extends the lights-only
|
|
68
|
+
[`python-aidot`](https://github.com/AiDot-Development-Team/python-AiDot), which
|
|
69
|
+
it installs as a dependency rather than forking. Upstream owns the `aidot`
|
|
70
|
+
import name and handles lights, plugs and switches; everything here lives
|
|
71
|
+
under `aidot_cameras`. GitHub still shows this repository as a fork "N commits
|
|
72
|
+
behind" upstream; that count means nothing, as no upstream file is edited.
|
|
73
|
+
How a new upstream release is taken in: [`docs/UPSTREAM.md`](https://github.com/cbrightly/python-aidot-cameras/blob/main/docs/UPSTREAM.md).
|
|
74
|
+
|
|
75
|
+
Requires Python 3.11 or later. The supported cameras are listed in
|
|
76
|
+
[`docs/CAMERAS.md`](https://github.com/cbrightly/python-aidot-cameras/blob/main/docs/CAMERAS.md#supported-cameras):
|
|
77
|
+
the M3 Pro (A000088, DTLS), the L2 battery camera (A001513, SDES) and the PTZ
|
|
78
|
+
(A001064, SDES) are tested live; other `LK.IPC.*` models fall through to the
|
|
79
|
+
generic SDES path.
|
|
80
|
+
|
|
81
|
+
## Install
|
|
82
|
+
|
|
83
|
+
**Pass `--pre`.** The camera line is published as 1.0.0 release candidates;
|
|
84
|
+
without `--pre`, pip resolves `0.17.2` (2026-08-08), which predates them and
|
|
85
|
+
has known faults fixed since (SDES sessions that stop after about eighty
|
|
86
|
+
seconds, and a Home Assistant stream restart about once a minute). That stays
|
|
87
|
+
true until 1.0.0 is final.
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
# lights + camera cloud/control only:
|
|
91
|
+
pip install --pre python-aidot-cameras
|
|
92
|
+
# add live streaming, snapshots and two-way audio (aiortc, av, ...):
|
|
93
|
+
pip install --pre "python-aidot-cameras[webrtc]"
|
|
94
|
+
# the CLI as an isolated tool:
|
|
95
|
+
pipx install --pip-args=--pre "python-aidot-cameras[webrtc]"
|
|
96
|
+
uv tool install --prerelease=allow "python-aidot-cameras[webrtc]"
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
The latest unreleased code:
|
|
100
|
+
`pip install "python-aidot-cameras[webrtc] @ git+https://github.com/cbrightly/python-aidot-cameras"`.
|
|
101
|
+
|
|
102
|
+
**ffmpeg must be on PATH** (`apt install ffmpeg`, `brew install ffmpeg`); pip
|
|
103
|
+
cannot install it. Recordings, snapshots, the CLI's `-` and `http://` forms and
|
|
104
|
+
any session that negotiates H.265 run through an ffmpeg subprocess. A live
|
|
105
|
+
`rtsp://` push does not (see "Direct publish" below).
|
|
106
|
+
|
|
107
|
+
To see which upstream `python-aidot` an install resolved (it is a range, not a
|
|
108
|
+
pin, and Home Assistant pins its own):
|
|
109
|
+
`python -c "from importlib.metadata import version; print(version('python-aidot'))"`.
|
|
110
|
+
Home Assistant users get both versions in the integration's **Download
|
|
111
|
+
diagnostics** file.
|
|
112
|
+
|
|
113
|
+
## How it works
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
AiDot cloud python-aidot-cameras consumers
|
|
117
|
+
----------- -------------------- ---------
|
|
118
|
+
MQTT signaling <---------------> open a session: offer, answer,
|
|
119
|
+
ICE / TURN ICE, keys (DTLS or SDES)
|
|
120
|
+
|
|
|
121
|
+
camera ====SRTP over the LAN====> decrypt, reorder, count ---(RTSP push)---> go2rtc ---> WebRTC view, rtsp:// URL
|
|
122
|
+
(relay only when there is | (Home Assistant, Frigate,
|
|
123
|
+
no route back to us) +---(MPEG-TS, loopback)--------------------------> HA HLS view, camera.record
|
|
124
|
+
+---(JPEG)----------------------------------------> snapshots
|
|
125
|
+
+---(.ts / .mp4 copy)-----------------------------> recordings
|
|
126
|
+
+<--(PCM, 20 ms)----------------------------------- two-way audio
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
The cameras have no RTSP, ONVIF or local HTTP endpoint. The cloud brokers the
|
|
130
|
+
WebRTC handshake and never carries the media: on the same network the camera
|
|
131
|
+
sends straight to this library, and only a camera with no route back rides the
|
|
132
|
+
vendor's relay. The library decrypts once and fans the camera's own packets
|
|
133
|
+
out without re-encoding.
|
|
134
|
+
|
|
135
|
+
## Quick start (Python)
|
|
136
|
+
|
|
137
|
+
Import from `aidot_cameras`, never from `aidot`: upstream's `AidotClient` is
|
|
138
|
+
lights-only, and importing it gives a client with no camera surface and no
|
|
139
|
+
error to say why.
|
|
140
|
+
|
|
141
|
+
```python
|
|
142
|
+
import aiohttp
|
|
143
|
+
from aidot_cameras.client import AidotClient
|
|
144
|
+
from aidot_cameras.const import CONF_DEVICE_LIST, CONF_NAME
|
|
145
|
+
|
|
146
|
+
async with aiohttp.ClientSession() as http:
|
|
147
|
+
client = AidotClient(http, country_code="US", username=..., password=...)
|
|
148
|
+
await client.async_post_login()
|
|
149
|
+
devices = (await client.async_get_all_device())[CONF_DEVICE_LIST]
|
|
150
|
+
cam = next(d for d in devices if d.get(CONF_NAME) == "Front Door")
|
|
151
|
+
device_client = client.get_device_client(cam) # a CameraDeviceClient
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
`get_device_client` returns a `CameraDeviceClient` for a camera; the lights
|
|
155
|
+
clients (`DeviceClient`, `LightDeviceClient`) carry none of the camera surface,
|
|
156
|
+
so a `hasattr` probe against the wrong one fails silently.
|
|
157
|
+
|
|
158
|
+
Open a live stream:
|
|
159
|
+
|
|
160
|
+
```python
|
|
161
|
+
# DTLS cameras (A000088): decoded frames in-process
|
|
162
|
+
session = await device_client.async_open_webrtc_stream(on_frame=cb, timeout=30.0)
|
|
163
|
+
|
|
164
|
+
# any camera: record to a file, or push to an RTSP server such as go2rtc
|
|
165
|
+
session = await device_client.async_open_webrtc_stream(
|
|
166
|
+
output_path="/tmp/live.ts", # or rtsp_push_url="rtsp://127.0.0.1:8554/cam"
|
|
167
|
+
)
|
|
168
|
+
await session.stop()
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
`on_frame` receives a PyAV `av.VideoFrame` and is **DTLS-only**: SDES cameras
|
|
172
|
+
(A001513, A001064) are decoded out of process, so it never fires for them and
|
|
173
|
+
no error is raised.
|
|
174
|
+
|
|
175
|
+
Two-way (push-to-talk) audio, on both transports:
|
|
176
|
+
|
|
177
|
+
```python
|
|
178
|
+
session = await device_client.async_open_webrtc_stream(..., talk=True)
|
|
179
|
+
await session.async_start_talk(pcm_provider) # provider() -> 320 B s16le PCM (20 ms @ 8 kHz), or None
|
|
180
|
+
await session.async_stop_talk()
|
|
181
|
+
# or, open + play + tear down in one call:
|
|
182
|
+
await device_client.async_speak(pcm_provider, max_seconds=30)
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
If you persist the login, serialize `client.serializable_login_info()`, not
|
|
186
|
+
`client.login_info` (which holds a live lock once the persistent MQTT
|
|
187
|
+
connection exists).
|
|
188
|
+
|
|
189
|
+
The full camera API (streaming, recordings, motion polling, talk, SD playback)
|
|
190
|
+
is in [`docs/CAMERAS.md`](https://github.com/cbrightly/python-aidot-cameras/blob/main/docs/CAMERAS.md);
|
|
191
|
+
what is public and stable is in
|
|
192
|
+
[`docs/API-STABILITY.md`](https://github.com/cbrightly/python-aidot-cameras/blob/main/docs/API-STABILITY.md).
|
|
193
|
+
|
|
194
|
+
## Standalone use: `aidot-go2rtc` and an RTSP URL
|
|
195
|
+
|
|
196
|
+
`aidot-go2rtc` does the cloud handshake for one camera per process and hands
|
|
197
|
+
the result out as an RTSP push (into go2rtc or any RTSP server), MPEG-TS on
|
|
198
|
+
stdout, or an HTTP endpoint. Use it for Frigate, a standalone go2rtc, an NVR or
|
|
199
|
+
debugging. **If you run Home Assistant, use the integration instead**: running
|
|
200
|
+
both means two clients competing for a camera that serves a limited number of
|
|
201
|
+
viewers (and holds a slot for about 120 s after one leaves), so the loser gets
|
|
202
|
+
a clean handshake and no media. A second AiDot account with the house shared to
|
|
203
|
+
it does not avoid that; the limit is the device's.
|
|
204
|
+
|
|
205
|
+
**1. Sign in and list your cameras.**
|
|
206
|
+
|
|
207
|
+
```console
|
|
208
|
+
$ export AIDOT_USERNAME='you@example.com' AIDOT_PASSWORD='...' AIDOT_COUNTRY=US
|
|
209
|
+
$ aidot-go2rtc --list
|
|
210
|
+
1a2b3c4d... LK.IPC.A000088 DTLS (stdout)
|
|
211
|
+
5e6f7a8b... LK.IPC.A001064 SDES (rtsp-push)
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
`--list` also prints a paste-ready go2rtc `streams:` block. A dedicated login
|
|
215
|
+
is recommended for long-running use, so it does not fight Home Assistant or the
|
|
216
|
+
phone app over a rotating refresh token; set `AIDOT_TOKEN_FILE` to cache the
|
|
217
|
+
login across restarts. `aidot-go2rtc --help` lists every option.
|
|
218
|
+
|
|
219
|
+
**2. Add one line per camera to `go2rtc.yaml`.** go2rtc starts the process on
|
|
220
|
+
the first viewer and stops it when the last one leaves, so nothing talks to a
|
|
221
|
+
camera nobody is watching:
|
|
222
|
+
|
|
223
|
+
```yaml
|
|
224
|
+
streams:
|
|
225
|
+
driveway: exec:aidot-go2rtc 1a2b3c4d... - # DTLS camera
|
|
226
|
+
frontdoor: exec:aidot-go2rtc 5e6f7a8b... {output} # SDES camera (works for DTLS too)
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
| Output argument | Works on | What you get |
|
|
230
|
+
| --- | --- | --- |
|
|
231
|
+
| `{output}` | any camera | go2rtc fills in its own publish URL. The library publishes into it directly (no ffmpeg): the camera's G.711 A-law plus an in-process AAC track. Quote it in a shell; run by hand, the literal text fails, so give a real `rtsp://` URL there instead. |
|
|
232
|
+
| `-` | DTLS only | MPEG-TS with 48 kHz AAC on stdout. An SDES camera given `-` exits with a message telling you to use `{output}`. |
|
|
233
|
+
| `http://127.0.0.1:8555/cam.ts` | any camera | the process serves MPEG-TS and waits for a consumer to pull. It must keep running to hold the port, so it holds a camera session whether or not anyone watches; prefer the `exec:` forms. |
|
|
234
|
+
|
|
235
|
+
go2rtc must have the same `AIDOT_*` variables in its environment (its shell,
|
|
236
|
+
service unit or container definition). A stream that fails at once with an
|
|
237
|
+
authentication error usually means they are missing.
|
|
238
|
+
|
|
239
|
+
**3. Use the URL** go2rtc serves, and check it first:
|
|
240
|
+
|
|
241
|
+
```console
|
|
242
|
+
$ ffprobe rtsp://127.0.0.1:8554/driveway
|
|
243
|
+
Stream #0:0: Video: h264 (High), yuv420p, 1280x720, 15 fps
|
|
244
|
+
Stream #0:1: Audio: aac (LC), 48000 Hz, mono
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
Worth knowing:
|
|
248
|
+
|
|
249
|
+
- **Direct publish** (on by default; `AIDOT_DIRECT_PUBLISH=0` restores ffmpeg)
|
|
250
|
+
publishes an `rtsp://` / `{output}` push from the library itself, for both
|
|
251
|
+
transports and H.264 sessions; a session that negotiates H.265 keeps the
|
|
252
|
+
ffmpeg serve. Design and measurements:
|
|
253
|
+
[`docs/DESIGN-direct-publish.md`](https://github.com/cbrightly/python-aidot-cameras/blob/main/docs/DESIGN-direct-publish.md).
|
|
254
|
+
- **Audio.** A push carries the camera's own PCMA (G.711 A-law, 8 kHz) first,
|
|
255
|
+
which WebRTC viewers play untranscoded, and (unless `AIDOT_PUBLISH_AAC=0`)
|
|
256
|
+
an AAC-LC 48 kHz mono track for AAC-only consumers such as Home Assistant's
|
|
257
|
+
HLS player, selected with go2rtc's `?audio=aac`. A camera whose audio is
|
|
258
|
+
mu-law (PCMU) gets no AAC track. Do not add an `ffmpeg:<stream>#audio=aac`
|
|
259
|
+
source in go2rtc: it makes every player crawl
|
|
260
|
+
([why](https://github.com/cbrightly/python-aidot-cameras/blob/main/docs/CAMERAS.md#an-aac-transcoding-source-makes-every-player-crawl)).
|
|
261
|
+
Only with `AIDOT_DIRECT_PUBLISH=0` does a DTLS push transcode its audio to
|
|
262
|
+
G.711 through ffmpeg.
|
|
263
|
+
- **A stream that starts with no video** and picks it up a few seconds later is
|
|
264
|
+
normal: the mux waits for a keyframe. One that stays audio-only is a camera
|
|
265
|
+
that never sent one; retry the view.
|
|
266
|
+
- **From Python:** `rtsp_push_url=` pushes, `output_path=` records.
|
|
267
|
+
`Go2rtcClient.rtsp_url(name)` builds the URL above, and
|
|
268
|
+
`ensure_stream(name, source)` registers a stream with a running go2rtc
|
|
269
|
+
without editing YAML.
|
|
270
|
+
|
|
271
|
+
## Camera features
|
|
272
|
+
|
|
273
|
+
Controls are on the camera device client. Writes are confirmed by reading the
|
|
274
|
+
value back where the model offers it, because this firmware acknowledges writes
|
|
275
|
+
it then ignores.
|
|
276
|
+
|
|
277
|
+
```python
|
|
278
|
+
await device_client.async_set_motion_detection(True)
|
|
279
|
+
await device_client.async_set_night_vision("auto") # auto | on | off
|
|
280
|
+
await device_client.async_set_speaker_volume(50)
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
### Reboot
|
|
284
|
+
|
|
285
|
+
`sent = await device_client.async_reboot()` sends the reboot request the AiDot
|
|
286
|
+
app's camera settings page sends. It reports that the request was **sent**, not
|
|
287
|
+
that the camera rebooted (a reboot succeeds by dropping off the network), and
|
|
288
|
+
it refuses when the cloud reports the camera offline. For a few seconds after,
|
|
289
|
+
a viewer gets a session that connects and delivers nothing.
|
|
290
|
+
|
|
291
|
+
### Sound detection
|
|
292
|
+
|
|
293
|
+
```python
|
|
294
|
+
flags = await device_client.async_get_sound_detection()
|
|
295
|
+
# {'sound_enable': False, 'all_sound': True, 'glass_Break': False,
|
|
296
|
+
# 'smoke_T3': False, 'smoke_T4': False, 'baby_cry': False}
|
|
297
|
+
await device_client.async_set_sound_detection("glass_Break", True)
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
The keys come from the camera, so a detector not listed here still works. A
|
|
301
|
+
write is read-modify-write and refuses when there is no current list to echo.
|
|
302
|
+
**`None` means unknown, never "all off"**: a sleeping battery camera or a model
|
|
303
|
+
without the feature returns `None`.
|
|
304
|
+
|
|
305
|
+
### Motion events
|
|
306
|
+
|
|
307
|
+
Cameras do not push motion to a passive subscriber, so motion is polled from the
|
|
308
|
+
cloud event list:
|
|
309
|
+
|
|
310
|
+
```python
|
|
311
|
+
await device_client.async_start_motion_polling(callback, interval=30.0)
|
|
312
|
+
await device_client.async_stop_motion_polling()
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
### Recordings
|
|
316
|
+
|
|
317
|
+
Whether a camera records to the cloud or to its own SD card is per camera, not
|
|
318
|
+
per model (the device reports it as `IsSupportPlayback`).
|
|
319
|
+
|
|
320
|
+
- **Cloud:** `async_get_cloud_recordings` lists clips, and
|
|
321
|
+
`async_get_event_video_media` resolves a playable HLS URL for one.
|
|
322
|
+
- **SD card:** `async_get_sd_recordings` lists what the card holds and
|
|
323
|
+
`async_open_sd_playback` plays one, on all three tested models. An SDES camera
|
|
324
|
+
serves it like a live stream; a DTLS camera (A000088) records it to a `.ts`
|
|
325
|
+
file.
|
|
326
|
+
|
|
327
|
+
```python
|
|
328
|
+
listing = await device_client.async_get_sd_recordings(session=live_session, days=7)
|
|
329
|
+
await device_client.async_stop_streaming() # the camera has one media slot
|
|
330
|
+
session = await device_client.async_open_sd_playback(
|
|
331
|
+
listing.records[-1], output_path="/tmp/clip.ts"
|
|
332
|
+
)
|
|
333
|
+
await session.async_sd_seek(20) # also async_sd_pause() / async_sd_resume()
|
|
334
|
+
await session.stop()
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
A listing never opens a session of its own: it rides the one you pass (or the
|
|
338
|
+
client's current one) and returns `None` when there is none. `answered=False`
|
|
339
|
+
means the camera did not reply, which says nothing about the card; only
|
|
340
|
+
`answered=True` with no records means an empty card. Details, the three
|
|
341
|
+
outcomes and the playback caveats: [`docs/CAMERAS.md`](https://github.com/cbrightly/python-aidot-cameras/blob/main/docs/CAMERAS.md#on-device-sd-card-recordings).
|
|
342
|
+
|
|
343
|
+
### WiFi, SD card and other reads
|
|
344
|
+
|
|
345
|
+
```python
|
|
346
|
+
await device_client.async_get_wifi_info() # {'ssid': ..., 'rssi': 63}
|
|
347
|
+
await device_client.async_get_sd_card_info() # {'present': True, 'total': 29838, 'used': 28848, 'raw': [...]}
|
|
348
|
+
out = await device_client.async_query_device_action("getWorkMode")
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
Only confirmed fields are named: the units of `total` and `used` are
|
|
352
|
+
unconfirmed, so they pass through as the camera reports them, and a fourth
|
|
353
|
+
value that looks like a percentage stays unnamed in `raw`.
|
|
354
|
+
`async_query_device_action` sends a read-only action and returns the camera's
|
|
355
|
+
`out` payload (`getWorkMode`, `getAutoAlarm`, `getRoiHuman`, `getRoiPrivacy`
|
|
356
|
+
and others); `None` means no reply, not "unsupported". **Do not use it for
|
|
357
|
+
actions that change something** unless you know the payload shape:
|
|
358
|
+
`SDcardFormatFunc` is one the cameras accept.
|
|
359
|
+
|
|
360
|
+
## Local (LAN) control and account ownership
|
|
361
|
+
|
|
362
|
+
Local control over the devices' TCP port 10000 (lights, plugs and this
|
|
363
|
+
package's `CameraLanClient`) is accepted **only for the account that owns the
|
|
364
|
+
devices**. A member of a shared home gets a full device list from the cloud,
|
|
365
|
+
credentials included, and is then refused at the device. If local control never
|
|
366
|
+
engages, check which account you signed in as first: everything still works
|
|
367
|
+
through the cloud. Camera live video does not use this path.
|
|
368
|
+
|
|
369
|
+
The refusal is easy to misread, because the code varies by firmware family:
|
|
370
|
+
|
|
371
|
+
| Model | Ack |
|
|
372
|
+
| --- | --- |
|
|
373
|
+
| `LK.light.A001493` | 400 `not equal abort user id or password` (it is the user id that does not match) |
|
|
374
|
+
| `LK.light.A001497`, `LK.plug.A001535` | 4354 `fail` |
|
|
375
|
+
| `LK.IPC.A000088` | 4352 `fail` |
|
|
376
|
+
|
|
377
|
+
## Troubleshooting
|
|
378
|
+
|
|
379
|
+
### Reading the health line
|
|
380
|
+
|
|
381
|
+
Every live session logs one INFO line a minute (`AIDOT_HEALTH_LINE_S`, `0`
|
|
382
|
+
turns it off). A DTLS camera's looks like this:
|
|
383
|
+
|
|
384
|
+
```
|
|
385
|
+
health 20s: packets=1686 (84.1/s) lost=0 (0.0%) stall=0.0s path=direct viewers=present frames=300 (15.0/s) resent=207 keyframes=7 max_keyframe_gap=44
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
Each figure covers that period alone:
|
|
389
|
+
|
|
390
|
+
| Field | Meaning |
|
|
391
|
+
| --- | --- |
|
|
392
|
+
| `packets` | RTP packets that arrived, with the rate. SDES cameras also report `bytes`; DTLS cameras report `lost`. |
|
|
393
|
+
| `stall` | Seconds since the last media packet. Rising with `lost=0` means the camera stopped sending, not that the link dropped packets. A DTLS session with no video for `AIDOT_DTLS_VIDEO_GRACE_S` (30 s) is re-opened on its own. |
|
|
394
|
+
| `path` | `direct` (over the LAN) or `relay` (the vendor's TURN relay: a camera with no route back, or on another subnet). |
|
|
395
|
+
| `viewers` | `present`, `absent`, or `unknown` when the consumer cannot be counted. A battery camera nobody watches is released after its idle window. |
|
|
396
|
+
| `frames`, `keyframes`, `max_keyframe_gap`, `resent` | DTLS only: pictures served, keyframes among them, the longest run between keyframes since the session started, and frames the camera sent again (about 40%; every consumer drops the repeats). |
|
|
397
|
+
|
|
398
|
+
So a pasted log says whether the link was lossy, the picture froze, or nobody
|
|
399
|
+
was watching. A report that fails is dropped and never ends the session.
|
|
400
|
+
|
|
401
|
+
### Other behaviour that is not a fault
|
|
402
|
+
|
|
403
|
+
These are covered in
|
|
404
|
+
[`docs/CAMERAS.md`](https://github.com/cbrightly/python-aidot-cameras/blob/main/docs/CAMERAS.md):
|
|
405
|
+
the A001064 using about a quarter more bandwidth than the AiDot app, a failed
|
|
406
|
+
go2rtc registration that silently downgrades to HLS, a battery camera's first
|
|
407
|
+
open after a long sleep, and the SD playback limits.
|
|
408
|
+
|
|
409
|
+
## Environment variables
|
|
410
|
+
|
|
411
|
+
The variables below are the ones a user may set, and they are part of the
|
|
412
|
+
public surface. The rest (tuning knobs, each with a measured default) are in
|
|
413
|
+
[`docs/ENVIRONMENT.md`](https://github.com/cbrightly/python-aidot-cameras/blob/main/docs/ENVIRONMENT.md);
|
|
414
|
+
they are not part of that surface and may be removed once the behaviour they
|
|
415
|
+
tune has settled.
|
|
416
|
+
|
|
417
|
+
### Credentials
|
|
418
|
+
|
|
419
|
+
Read by the credential helper ([`aidot_cameras/credentials.py`](https://github.com/cbrightly/python-aidot-cameras/blob/main/aidot_cameras/credentials.py))
|
|
420
|
+
and the CLI; they take priority over a stored credentials file.
|
|
421
|
+
|
|
422
|
+
| Variable | Purpose | Default |
|
|
423
|
+
| --- | --- | --- |
|
|
424
|
+
| `AIDOT_USERNAME` | AiDot account username/email. Used with `AIDOT_PASSWORD`. | (none) |
|
|
425
|
+
| `AIDOT_PASSWORD` | AiDot account password. Used with `AIDOT_USERNAME`. | (none) |
|
|
426
|
+
| `AIDOT_COUNTRY` | Account region/country code. | `US` |
|
|
427
|
+
| `AIDOT_TOKEN_FILE` | JSON file that caches the login across restarts; token rotations are written back to it. Share one file between every process on the account, since a second login invalidates the first's token. | (none) |
|
|
428
|
+
| `AIDOT_INCLUDE_SHARED_HOUSES` | Also list houses this account does not own (the cameras a shared-home member sees). Unset, those houses are skipped. | `0` |
|
|
429
|
+
|
|
430
|
+
### Streaming
|
|
431
|
+
|
|
432
|
+
| Variable | Purpose | Default |
|
|
433
|
+
| --- | --- | --- |
|
|
434
|
+
| `AIDOT_VIDEO_DECODER` | Force a video decoder instead of measuring one: a decoder name (`h264_v4l2m2m`), or an acceleration method prefixed with `hwaccel:` (`hwaccel:videotoolbox`). The prefix is required: VideoToolbox and VAAPI have no decoder to name. How the decoder is otherwise measured: [`docs/CAMERAS.md`](https://github.com/cbrightly/python-aidot-cameras/blob/main/docs/CAMERAS.md#choosing-a-video-decoder). | (measured) |
|
|
435
|
+
| `AIDOT_DISABLE_HWACCEL` | Keep to software decoding and skip the measurement. | (unset) |
|
|
436
|
+
| `AIDOT_MAX_CONCURRENT_STREAMS` | How many cameras may stream at once. | `3` |
|
|
437
|
+
| `AIDOT_MAX_CONCURRENT_OPENS` | How many stream opens may run at once across all cameras. | `2` |
|
|
438
|
+
| `AIDOT_SDES_CONNECTION_MODE` | Which media path an SDES offer proposes. `auto`: every reachable candidate, LAN preferred, relay as last resort (on the reference fleet six of seven cameras stream direct). `lan`: no relay, except that battery cameras always keep it, as a cloud-woken camera has no other path back. `relay`: EXPERIMENTAL and does not steer in practice (the cameras still dial the host address directly). A per-open `sdes_connection_mode` beats this. The path a session took is `media_stats().media_path` (`direct`/`relay`). | unset (`auto`) |
|
|
439
|
+
| `AIDOT_SDES_VIDEO_PT` | Pin the SDES offer to one video codec. The camera otherwise chooses: an A001064 sends H.264 1280x720 most sessions and H.265 2560x1440 occasionally. `96` pins H.264; `none` leaves the camera its choice. **Do not set `97`**: an H.265-only offer returned no video at all. | `96` (H.264) |
|
|
440
|
+
| `AIDOT_PERSISTENT_MQTT` | Reuse one account-level MQTT connection for commands, attribute fetches and stream-open signaling instead of connecting per operation (cut SDES no-media opens from about 57% to 11-19% in soaks). `0`/`false`/`no`/`off` disables. | on |
|
|
441
|
+
| `AIDOT_DIRECT_PUBLISH` | Publish a live `rtsp://` push into go2rtc from the library itself instead of through ffmpeg, for both transports: no ffmpeg process per stream, packets put back in order, audio PCMA plus an in-process AAC track, attached from the camera's answer. H.264 sessions only (H.265 keeps ffmpeg); recordings, snapshots and `-`/`http://` serves are unchanged. Live-validated on A000088, A001064 and A001513. `0` turns it off. | `1` (on) |
|
|
442
|
+
| `AIDOT_PUBLISH_AAC` | Add an AAC-LC 48 kHz mono track, encoded in-process, after the A-law one on a direct publish, so AAC-only consumers (Home Assistant's HLS player, `camera.record`) have sound; select it with go2rtc's `?audio=aac`. Costs one AAC encode per streaming camera. PCMU cameras get none. `0` turns it off. | `1` (on) |
|
|
443
|
+
| `AIDOT_HLS_DIRECT_TS` | Give each eligible camera a library-muxed MPEG-TS on a loopback listener (`CameraMixin.hls_ts_url()`) with video and AAC on one clock, for Home Assistant's HLS view and recordings to read instead of go2rtc's RTSP (through go2rtc a reader joining a running stream had its sound 0.1-0.75 s late). Needs `AIDOT_DIRECT_PUBLISH` and `AIDOT_PUBLISH_AAC`. Eligible: DTLS cameras, and a mains SDES camera whose media the bridge decrypts (A001064) with its offer pinned to H.264; never a battery camera (its packet loss can keep the TS empty past Home Assistant's open timeout), and never a pulled session. When a camera's SPS changes, readers are disconnected to rebuild their decoder. Each URL carries a per-listener secret as `?auth=<secret>` (a request without it gets 404); for your own tools the listener URL (`http://127.0.0.1:<port>/{name}.ts?auth=<secret>`, `{name}` being `aidot_` plus the first 12 characters of the device id) is written, owner-readable, to `hls-ts-url` in `AIDOT_SPROP_DIR` while it runs. A reader counts as a viewer. `0` turns it off. | `1` (on) |
|
|
444
|
+
| `AIDOT_LOGIN_RETRY_LIMIT` | Consecutive failed LAN logins after which a device is left alone: discovery and the retry loop stop kicking it, and a login something else still asks for (Home Assistant's five-minute light poll) is made quietly, until the device's address changes or a login succeeds. One warning marks the moment. A login the device accepts and closes within `AIDOT_LAN_STABLE_SESSION_S` counts as a failure. Applies to every device; in practice, lights on another subnet. | `6` |
|
|
445
|
+
|
|
446
|
+
`AIDOT_DIRECT_PUBLISH`, `AIDOT_PUBLISH_AAC`, `AIDOT_HLS_DIRECT_TS` and
|
|
447
|
+
`AIDOT_SDES_VIDEO_PT` can also be given to one account client, as
|
|
448
|
+
`CameraClient(..., stream_settings=StreamSettings(...))`. A value set there wins
|
|
449
|
+
for that client's cameras; one left unset is read from the variable, then the
|
|
450
|
+
default. Two clients in one process keep their own.
|
|
451
|
+
|
|
452
|
+
### Security hardening
|
|
453
|
+
|
|
454
|
+
Defaults keep current behaviour (the firmware's signaling carries no verifiable
|
|
455
|
+
material, so strict modes are off until you pin a value), and the library warns
|
|
456
|
+
when one is left permissive. `AIDOT_ALLOW_PLAINTEXT_MQTT` and
|
|
457
|
+
`AIDOT_EXTRA_REGIONS` are the exceptions: strict by default, loosened when set.
|
|
458
|
+
|
|
459
|
+
| Variable | Purpose | Default |
|
|
460
|
+
| --- | --- | --- |
|
|
461
|
+
| `AIDOT_ALLOW_PLAINTEXT_MQTT` | Accept a non-TLS MQTT broker URL from the cloud (`ws://`, `tcp://`, `mqtt://`, `http://`). The connection carries the account's MQTT password, so by default such a URL is refused: control calls fail with an error in the log and a stream open raises `AidotPlaintextMqttRefused`. A URL with no scheme is treated as `wss://`. Does not affect `AIDOT_MQTT_URL`. | unset (refuse) |
|
|
462
|
+
| `AIDOT_EXTRA_REGIONS` | Comma-separated account regions to accept beyond `us`, `eu` and `jp`; an unknown region is refused with `AidotUnknownRegion`. Each entry must be a hostname label. | unset |
|
|
463
|
+
| `AIDOT_ALLOW_LAN_SERVE` | Silence the warning when decrypted media is served on a non-loopback bind (e.g. `0.0.0.0`), where any LAN host can read it. | unset (warn) |
|
|
464
|
+
| `AIDOT_CRED_KEY_FILE` | Fernet key file for stored credentials; point it outside the config dir. Default credentials path only (ignored with an explicit `creds_path`). | `$XDG_CONFIG_HOME/aidot/.key` (else `~/.config/aidot/.key`) |
|
|
465
|
+
| `AIDOT_DTLS_PINNED_FP` | Pin DTLS cameras' certificate to this `sha-256` fingerprint (case and `:` ignored). Set, any other certificate, or none, fails the handshake. | unset (not independently verified; warns) |
|
|
466
|
+
| `AIDOT_SDES_HOLEPUNCH_HOST` | NAT hole-punch target when the cloud supplies no TURN entry. Unset uses a hardcoded vendor TURN host; empty disables that fallback. | unset (vendor host + warn) |
|
|
467
|
+
|
|
468
|
+
**Without `AIDOT_DTLS_PINNED_FP`, a DTLS camera's (A000088's) certificate is
|
|
469
|
+
not independently verified.** The camera echoes our own fingerprint back, or
|
|
470
|
+
sends an empty one, in which case whatever it presents is accepted with a
|
|
471
|
+
warning; a fingerprint it does send arrives over the same cloud signaling. The
|
|
472
|
+
media is encrypted but not authenticated against something standing in for the
|
|
473
|
+
camera. With a pin, every DTLS open checks the presented certificate and fails
|
|
474
|
+
closed, logging the fingerprint on a mismatch. The pin applies to every DTLS
|
|
475
|
+
camera the process opens, so it suits a one-camera process (the CLI) or
|
|
476
|
+
cameras that share a certificate. SDES cameras key their media through
|
|
477
|
+
signaling and have no certificate to check.
|