python-aidot-cameras 1.5.0__tar.gz → 1.5.1__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.5.0/python_aidot_cameras.egg-info → python_aidot_cameras-1.5.1}/PKG-INFO +8 -1
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/README.md +7 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/client.py +201 -12
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/protocol.py +41 -0
- python_aidot_cameras-1.5.1/aidot_cameras/camera/recording.py +370 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/sdes_open.py +120 -16
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/webrtc.py +7 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/webrtc_open.py +140 -81
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/pyproject.toml +1 -1
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1/python_aidot_cameras.egg-info}/PKG-INFO +8 -1
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/python_aidot_cameras.egg-info/SOURCES.txt +7 -0
- python_aidot_cameras-1.5.1/tests/test_busy_yield_when_unwatched.py +200 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_recorder_wiring.py +4 -2
- python_aidot_cameras-1.5.1/tests/test_dtls_version_cap.py +126 -0
- python_aidot_cameras-1.5.1/tests/test_live_validate_counts_and_devices.py +64 -0
- python_aidot_cameras-1.5.1/tests/test_mp4_copy_recording.py +590 -0
- python_aidot_cameras-1.5.1/tests/test_mqtt_url_failure_severity.py +289 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_playback_media_hold.py +2 -1
- python_aidot_cameras-1.5.1/tests/test_sdes_bind_wait.py +71 -0
- python_aidot_cameras-1.5.1/tests/test_sdes_superseded_open.py +76 -0
- python_aidot_cameras-1.5.0/aidot_cameras/camera/recording.py +0 -141
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/LICENSE +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/MANIFEST.in +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/__init__.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/__main__.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_bg_tasks.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_log_redaction.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_private_file.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_upstream.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/__init__.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/LICENSE +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/__init__.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/clock.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/codecs/__init__.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/codecs/base.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/codecs/g711.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/codecs/g722.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/codecs/h264.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/codecs/opus.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/codecs/vpx.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/contrib/__init__.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/contrib/media.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/contrib/signaling.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/events.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/exceptions.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/jitterbuffer.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/mediastreams.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rate.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rtcconfiguration.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rtcdatachannel.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rtcdtlstransport.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rtcicetransport.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rtcpeerconnection.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rtcrtpparameters.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rtcrtpreceiver.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rtcrtpsender.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rtcrtptransceiver.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rtcsctptransport.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rtcsessiondescription.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/rtp.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/sdp.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/stats.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/_vendor/aiortc/utils.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/__init__.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/_seq.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/aac_track.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/agc.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/constants.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/controls.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/dtls_pins.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/go2rtc.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/h264_sps.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/health.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/hls_ts.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/hwaccel.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/lan_control.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/models.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/rtp_h264.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/rtsp_publish.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/sd_events.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/sd_listing.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/sd_playback.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/sdes.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/stream_health.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/ts_fanout.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/camera/ts_tee.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/client.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/cloud_auth.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/const.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/credentials.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/crypto.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/device_client.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/discover.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/exceptions.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/g711.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/lan_retry.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/mqtt_config2.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/py.typed +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/aidot_cameras/settings.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/python_aidot_cameras.egg-info/dependency_links.txt +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/python_aidot_cameras.egg-info/entry_points.txt +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/python_aidot_cameras.egg-info/requires.txt +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/python_aidot_cameras.egg-info/top_level.txt +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/setup.cfg +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_aac_track.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_abandoned_attempt_skips_the_doomed_serve.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_abandoned_wait_still_maps_audio.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_aioice_compat.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_alarm_event.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_answer_pt_kinds.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_answer_sdp_video_pt.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_answer_section_selection.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_arrival_timestamps.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_audio_mux_offline.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_auth_error_routing.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_auto_alarm.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_auto_light_settings.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_avio_ctrl_uses_the_session_dseq.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_avio_header_single_layout.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_avio_request.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_avio_response_parse.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_avio_response_router.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_backoff.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_battery_cap_spans_sessions.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_battery_detection.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_battery_evidence_corroboration.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_battery_stale_offer_is_abandoned_early.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_battery_wake_settles_before_the_command.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_ble_gateway_is_gone.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_bridge_state_sentinels.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_busy_backoff.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_camera_closed_session.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_camera_power.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_camera_properties.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_canary_log_names_the_camera.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_close_mid_ice_leaves_nothing_pending.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_cloud_count.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_cloud_error_log_names_the_exception.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_cloud_error_severity.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_cloud_plan.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_constants_imports_resolve.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_control_verdicts.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_controls_ride_the_direct_session.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_credentials.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_crypto.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_declared_properties.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_deferred_hardening.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_detection_types.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_device_cmd_seq_match.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_device_login_guard.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_device_user_info_cache.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_direct_publish_attaches_negotiated_audio.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_direct_ts_keyframe_signal.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_direct_ts_serve.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_direct_ts_serve_only_for_http.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_discover.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dormant_camera_cleanup.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_drain_is_cancellable.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_learned_pin.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_mux_terminal_write.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_open_abort_covers_every_exit.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_open_pacer.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_pinning.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_refusal_after_the_echo.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_resolution_ack.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_serve_backoff.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_serve_decode_skip.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_serve_ice_wait.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_serve_open_timeout.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_skip_signaling_wait.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_stdout_producer.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_tap_states_no_reorder.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_ts_copy_recording.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_dtls_video_presence.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_egress_guard.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_env_seams.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_event_notice_watch.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_every_exception_is_exported.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_feature_probe_needs_a_live_session.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_ffmpeg_rx_sdp_single_template.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_ffmpeg_signal_exit_is_not_a_crash.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_firmware_info.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_first_media_abandon_rules.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_futile_keepalive.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_g711_law_conversion.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_gate_requires_a_decoded_frame.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_go2rtc.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_go2rtc_cli.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_h264_decode_rate_limit.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_h264_sps.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_health_line.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_health_line_counts_pictures.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_highport_nomination.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_hls_ts_end_to_end.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_hls_ts_wiring.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_hot_path_rewrites_match_reference.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_hwaccel_probe.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_ice_config_cache.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_ice_credentials_match_the_app.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_ice_peer_reflexive.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_idle_release_both_loops.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_ipc_envelope_single_builder.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_keepalive_renew.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_keyframe_prompter.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_lan_control.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_lan_control_framing.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_lan_login_accessors.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_lan_retry_reaches_the_storming_devices.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_lan_retry_short_sessions.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_lan_retry_silences_upstream_over_ceiling.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_lan_retry_stops_on_close.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_lan_sweep_only_with_lights.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_late_repeats_are_dropped.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_learned_prflx_is_nominated_at_once.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_light_active_color_mode.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_live_session_carries_talk.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_live_stream_param.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_live_validate_policy.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_live_validate_token_refresh.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_live_video_canary.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_liveplay_echo_timeout.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_local_only_controls.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_log_hygiene.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_logging_caps.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_login_connect_deadline.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_login_reconnect_backoff.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_loop_break_ends_the_loop.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_media_counted_only_when_plaintext.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_media_path_is_reported.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_media_socket_rcvbuf.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_media_wait_floor.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_motion_poll.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_mqtt_client_id_is_exact.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_mqtt_config2.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_mqtt_credential_refetch.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_mqtt_credential_self_heal.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_mqtt_password_not_persisted.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_mqtt_thread_not_orphaned.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_mypy_new_findings.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_nack.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_nack_cannot_add_load_in_a_burst.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_narrow_pc_ice.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_no_key_material_in_logs.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_no_private_notes_on_the_public_surface.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_no_self_referential_go2rtc.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_no_unbounded_hex_dumps.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_no_undefined_names.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_nominates_as_soon_as_the_answer_lands.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_off_subnet_candidate.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_offer_keeps_rtcp_feedback.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_offline_keepalive_pause.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_on_frame_is_an_av_frame.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_open_errors_are_aidot_errors.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_open_fail_logger.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_open_gate_delay.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_peer_id_client_type.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_peerid_reuse.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_persistent_mqtt.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_persistent_mqtt_robustness.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_phase_returns_reach_the_caller.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_phase_state_is_complete.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_plaintext_mqtt_refused.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_post_merge_hardening.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_ptz_probe_reads_what_it_is_told.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_public_signature_matches_impl.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_publish_target_readiness.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_quality_campaign_in_session.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_reboot_action.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_recent_recordings.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_region_allowlist.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_remb.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_remb_goes_out_the_relay_aware_sender.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_removed_keepalive_arguments_are_tolerated.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_resent_frames_are_dropped.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_resolution_persists.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_restart_cycle.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_review_lan_retry_and_graces.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_rtp_h264.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_rtsp_publish.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_rtsp_publish_go2rtc.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_scripts_importable.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sctp_in_order.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sctp_init_ack_tsn.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sctp_reassembly.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sctp_sack.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_card_presence.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_event_decode.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_event_probe_payloads.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_listing.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_playback.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_playback_clock.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_playback_controls.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_playback_dtls.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_playback_end.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_playback_entry.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_playback_open.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sd_thumbnails_and_delete.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_avio_dispatch.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_bridge_break_gate.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_bridge_starts_without_the_answer.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_connection_mode.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_fast_liveplay.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_ffmpeg_stderr_log.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_first_media_stall_report.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_ice_teardown.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_idle_release.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_nack_bridge.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_offer_video_pin.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_open_cleanup.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_open_refuses_an_undecryptable_model.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_open_yields_the_loop.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_pinned_codec_retry.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_sctp_abort.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_serve_audio.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_serve_cmd.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_serve_stderr_drain.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_sprop.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_talk.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_teardown_exit_log.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_terminal_ack.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_terminal_ack_latency.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_turn_preallocated_in_offer.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdes_watchdog.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdp_narrowing_properties.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sdp_payload_type_narrowing.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_security_hardening.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_self_peer_is_an_address_not_an_ip.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_serializable_login_info.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_serve_bound_survives_arrival_stamping.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_serve_input_timeout.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_serve_loop_releases_on_error.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_serve_loss_tolerance.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_serve_pt_respects_the_pin.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_serve_relay.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_serve_stderr_keeps_the_reason.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_session_mode_seq.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_session_stats.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_session_stop_twice.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_set_dev_attr_payload.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_settings_registry.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_shared_house_seam.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_signalling_is_attributable_to_a_camera.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_skip_guard.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sleep_camera.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_snapshot_cancellation.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_speak.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sprop_capture_gate.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sprop_staleness.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sprop_unstable_public.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_sprop_write_is_reported_truthfully.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_srtp_rx_rekey.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_srtp_tx_key_note.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stable_terminal_id.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stall_nudge_policy.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stall_report_says_what_the_answer_carried.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stall_report_says_whether_the_trigger_was_answered.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stall_report_separates_silence_from_undecryptable.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stall_report_survives_a_caller_giving_up.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stall_reports_reach_the_artifact.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_status_and_trace_channels.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stream_cap.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stream_drain_ownership.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stream_health.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stream_idle.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stream_settings.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stream_slot_cap.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stream_teardown.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_stun_attr_single_builder.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_swallowed_exception_names.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_talk.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_talk_reports_a_speaker_that_never_opened.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_tap_to_mux_end_to_end.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_terminal_ack.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_token_file_robustness.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_token_refresh.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_transport_failure_reporting.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_ts_fanout.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_ts_tee.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_turn_create_permission.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_turn_target_shared.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_unbind_notice.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_unbuildable_summary_repeats_at_debug.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_upstream_compat.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_upstream_seam_adapter.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_upstream_secrets_redacted.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_validator_shares_one_token.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_vendored_aiortc_integrity.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_video_presence_needs_a_keyframe.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_video_profile_log.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_video_pts_dts.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_video_ts_unwrap.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_viewer_check_throttle.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_viewer_presence.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_viewer_present_push_mode.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_wait_or_event.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_wake_gate_camera_evidence.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_wake_readiness_retry.py +0 -0
- {python_aidot_cameras-1.5.0 → python_aidot_cameras-1.5.1}/tests/test_webrtc_answer_race.py +0 -0
{python_aidot_cameras-1.5.0/python_aidot_cameras.egg-info → python_aidot_cameras-1.5.1}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-aidot-cameras
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.1
|
|
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
|
|
@@ -166,6 +166,13 @@ session = await device_client.async_open_webrtc_stream(
|
|
|
166
166
|
await session.stop()
|
|
167
167
|
```
|
|
168
168
|
|
|
169
|
+
`.ts` and `.mp4` (also `.m4v`, `.mov`) recordings copy the camera's own video and
|
|
170
|
+
audio without re-encoding. On a DTLS camera an `.mp4` is recorded as an
|
|
171
|
+
MPEG-TS beside it (`<path>.ts`, never over an existing file) and becomes a
|
|
172
|
+
faststart MP4 when the session stops, after the camera is released (the `.ts`
|
|
173
|
+
is kept if that step fails); SDES cameras write it directly with ffmpeg. Other
|
|
174
|
+
containers re-encode and can drop frames.
|
|
175
|
+
|
|
169
176
|
`on_frame` receives a PyAV `av.VideoFrame` and is **DTLS-only**: SDES cameras
|
|
170
177
|
(A001513, A001064) are decoded out of process, so it never fires for them and
|
|
171
178
|
no error is raised.
|
|
@@ -116,6 +116,13 @@ session = await device_client.async_open_webrtc_stream(
|
|
|
116
116
|
await session.stop()
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
+
`.ts` and `.mp4` (also `.m4v`, `.mov`) recordings copy the camera's own video and
|
|
120
|
+
audio without re-encoding. On a DTLS camera an `.mp4` is recorded as an
|
|
121
|
+
MPEG-TS beside it (`<path>.ts`, never over an existing file) and becomes a
|
|
122
|
+
faststart MP4 when the session stops, after the camera is released (the `.ts`
|
|
123
|
+
is kept if that step fails); SDES cameras write it directly with ffmpeg. Other
|
|
124
|
+
containers re-encode and can drop frames.
|
|
125
|
+
|
|
119
126
|
`on_frame` receives a PyAV `av.VideoFrame` and is **DTLS-only**: SDES cameras
|
|
120
127
|
(A001513, A001064) are decoded out of process, so it never fires for them and
|
|
121
128
|
no error is raised.
|
|
@@ -99,6 +99,7 @@ from .protocol import ( # noqa: F401 - used here and/or by the webrtc_open mixi
|
|
|
99
99
|
_grab_free_port,
|
|
100
100
|
_tcp_table_has_established_on_port,
|
|
101
101
|
_idle_release_due,
|
|
102
|
+
_busy_yield_due,
|
|
102
103
|
_battery_cap_spans_sessions_due,
|
|
103
104
|
_battery_unknown_release_s,
|
|
104
105
|
_stream_startup_grace_s,
|
|
@@ -162,6 +163,26 @@ def _is_transient_cloud_error(exc: BaseException) -> bool:
|
|
|
162
163
|
return isinstance(exc, tuple(transient))
|
|
163
164
|
|
|
164
165
|
|
|
166
|
+
#: How long _async_get_mqtt_url may keep failing transiently (DNS, connect,
|
|
167
|
+
#: timeout) before its log escalates from WARNING to ERROR. A box-side DNS blip
|
|
168
|
+
#: clears in seconds; a minute of it is an outage worth an ERROR.
|
|
169
|
+
_MQTT_URL_TRANSIENT_GRACE_S = 60.0
|
|
170
|
+
#: ...and only once that many failures in a row have been seen: two separate
|
|
171
|
+
#: blips on a camera released between them (nothing retried) are not an
|
|
172
|
+
#: outage, while a real outage keeps its callers retrying and gets there.
|
|
173
|
+
_MQTT_URL_RUN_MIN_FAILURES = 3
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
def _mqtt_url_run_gap_s() -> float:
|
|
177
|
+
"""Transient failures further apart than this are separate runs, not one
|
|
178
|
+
long outage: only a success ends a run otherwise, and a camera nobody
|
|
179
|
+
opens again (idle release, offline pause) would carry its last failure
|
|
180
|
+
for hours. Half again the slowest open retry - the serve pacer's cap or
|
|
181
|
+
the offline probe interval, whichever is longer - so an outage retried at
|
|
182
|
+
that pace stays one run."""
|
|
183
|
+
return 1.5 * max(_DTLS_RETRY_CAP_S, float(_OFFLINE_PROBE_S or 0))
|
|
184
|
+
|
|
185
|
+
|
|
165
186
|
# Offline keepalive pause (see CameraMixin._backoff_or_offline_pause): while the
|
|
166
187
|
# cloud explicitly reports a device offline, failed-open retries re-check the
|
|
167
188
|
# flag every RECHECK seconds and only probe a real open every PROBE seconds,
|
|
@@ -1620,6 +1641,11 @@ class _DtlsServeLoopState:
|
|
|
1620
1641
|
# prepare_session, serve_cycle
|
|
1621
1642
|
_viewer_seen_dtls: "Any" = dataclasses.field(init=False)
|
|
1622
1643
|
_grace_dtls: "Any" = dataclasses.field(init=False) # prepare_session
|
|
1644
|
+
# the loop, serve_cycle, open_attempt: the last time a viewer was known
|
|
1645
|
+
# present in any session of this keepalive (its start until one was), and
|
|
1646
|
+
# whether one ever was. Read by a busy refusal (_busy_and_unwatched).
|
|
1647
|
+
_last_known_viewer: "Any" = dataclasses.field(init=False)
|
|
1648
|
+
_ever_viewed: "Any" = dataclasses.field(init=False)
|
|
1623
1649
|
|
|
1624
1650
|
|
|
1625
1651
|
def _open_failure_reason(exc: BaseException) -> str:
|
|
@@ -1637,6 +1663,45 @@ def _open_failure_reason(exc: BaseException) -> str:
|
|
|
1637
1663
|
return _sh.END_OPEN_FAILED
|
|
1638
1664
|
|
|
1639
1665
|
|
|
1666
|
+
async def _busy_and_unwatched(
|
|
1667
|
+
self, serve_url: Any, last_known_viewer: float, ever_viewed: bool, now: float
|
|
1668
|
+
) -> "tuple[bool, bool]":
|
|
1669
|
+
"""Whether a busy refusal should end this keepalive (``_busy_yield_due``),
|
|
1670
|
+
and whether a viewer was found watching.
|
|
1671
|
+
|
|
1672
|
+
Called when the camera refused an open as busy: its viewers are all taken
|
|
1673
|
+
by something else. Asks whether anyone here is watching only when a
|
|
1674
|
+
release window is set, so a camera kept warm for good (window <= 0)
|
|
1675
|
+
retries exactly as before with no extra queries, and a stdout serve
|
|
1676
|
+
(go2rtc owns its lifecycle, no serve port) is never asked.
|
|
1677
|
+
``last_known_viewer`` is on the clock ``now`` is read from. A viewer found
|
|
1678
|
+
here counts for the keepalive as one found while serving does, so the
|
|
1679
|
+
caller records it.
|
|
1680
|
+
"""
|
|
1681
|
+
idle = self._resolve_idle_secs()
|
|
1682
|
+
if idle <= 0:
|
|
1683
|
+
return False, False
|
|
1684
|
+
port = _sdes_serve_port(serve_url)
|
|
1685
|
+
if port is None:
|
|
1686
|
+
return False, False
|
|
1687
|
+
present = await self._viewer_present(port)
|
|
1688
|
+
if present:
|
|
1689
|
+
return False, True
|
|
1690
|
+
return (
|
|
1691
|
+
_busy_yield_due(
|
|
1692
|
+
present,
|
|
1693
|
+
last_known_viewer,
|
|
1694
|
+
now,
|
|
1695
|
+
idle,
|
|
1696
|
+
battery=bool(getattr(self, "is_battery_camera", False)),
|
|
1697
|
+
unknown_cap_s=_battery_unknown_release_s(),
|
|
1698
|
+
viewer_seen=ever_viewed,
|
|
1699
|
+
startup_grace_s=_stream_startup_grace_s(),
|
|
1700
|
+
),
|
|
1701
|
+
False,
|
|
1702
|
+
)
|
|
1703
|
+
|
|
1704
|
+
|
|
1640
1705
|
def _backoff_wait_s(dev: Any, delay: float) -> float:
|
|
1641
1706
|
"""The longest ``_backoff_or_offline_pause(delay)`` will wait: ``delay``,
|
|
1642
1707
|
or the offline probe interval when it will hold for the camera to come
|
|
@@ -1697,6 +1762,29 @@ async def _dtls_serve_loop_open_attempt(
|
|
|
1697
1762
|
except asyncio.CancelledError:
|
|
1698
1763
|
return _PhaseReturn(None)
|
|
1699
1764
|
except Exception as exc:
|
|
1765
|
+
# A busy refusal with nobody here watching ends the keepalive instead
|
|
1766
|
+
# of a retry that would take the camera back from the viewer that
|
|
1767
|
+
# has it (the AiDot app, an Alexa screen) the moment it lets go.
|
|
1768
|
+
if isinstance(exc, AidotCameraBusy):
|
|
1769
|
+
_now = ps.loop.time()
|
|
1770
|
+
try:
|
|
1771
|
+
_yield, _watched = await _busy_and_unwatched(
|
|
1772
|
+
self, ps.serve_url, ps._last_known_viewer, ps._ever_viewed, _now
|
|
1773
|
+
)
|
|
1774
|
+
except asyncio.CancelledError:
|
|
1775
|
+
return _PhaseReturn(None)
|
|
1776
|
+
if _watched:
|
|
1777
|
+
ps._last_known_viewer = _now
|
|
1778
|
+
ps._ever_viewed = True
|
|
1779
|
+
if _yield:
|
|
1780
|
+
_LOGGER.info(
|
|
1781
|
+
"DTLS serve: %s is busy (%s) and nobody here is watching"
|
|
1782
|
+
" - letting it go until the next view",
|
|
1783
|
+
self.device_id,
|
|
1784
|
+
exc,
|
|
1785
|
+
)
|
|
1786
|
+
await self._go_dormant(release_url=True, why="busy with no viewer")
|
|
1787
|
+
return _PhaseReturn(None)
|
|
1700
1788
|
# Failed opens are paced on one pacer (see _DTLS_RETRY_BASE_S), with
|
|
1701
1789
|
# two exceptions that leave it untouched. A busy refusal (another
|
|
1702
1790
|
# viewer holds the camera's single slot) waits a flat
|
|
@@ -2109,6 +2197,8 @@ async def _dtls_serve_loop_serve_cycle(
|
|
|
2109
2197
|
if _watching:
|
|
2110
2198
|
_last_viewer_dtls = _now
|
|
2111
2199
|
ps._viewer_seen_dtls = True
|
|
2200
|
+
ps._last_known_viewer = _now
|
|
2201
|
+
ps._ever_viewed = True
|
|
2112
2202
|
elif _watching is False:
|
|
2113
2203
|
if _now - _last_viewer_dtls > _window_dtls:
|
|
2114
2204
|
ps.idle_release = True
|
|
@@ -2414,6 +2504,9 @@ class _SdesKeepaliveState:
|
|
|
2414
2504
|
# the loop, open_attempt, after_session
|
|
2415
2505
|
_not_ready_burst: "Any" = dataclasses.field(init=False)
|
|
2416
2506
|
_last_known_viewer: "Any" = dataclasses.field(init=False) # the loop, watch_session
|
|
2507
|
+
# the loop, watch_session, open_attempt: a viewer was known present in
|
|
2508
|
+
# some session of this keepalive. Read by a busy refusal.
|
|
2509
|
+
_ever_viewed: "Any" = dataclasses.field(init=False)
|
|
2417
2510
|
session: "Any" = dataclasses.field(init=False) # open_attempt
|
|
2418
2511
|
_idle_secs: "Any" = dataclasses.field(init=False) # prepare_session
|
|
2419
2512
|
_started_at: "Any" = dataclasses.field(init=False) # prepare_session
|
|
@@ -2492,6 +2585,32 @@ async def _sdes_keepalive_open_attempt(
|
|
|
2492
2585
|
#
|
|
2493
2586
|
# That release window is now measured rather than assumed: 8s is
|
|
2494
2587
|
# enough, 2s is not. See _BUSY_BACKOFF_S.
|
|
2588
|
+
#
|
|
2589
|
+
# With nobody here watching, stop instead: a retry would take the
|
|
2590
|
+
# camera back from the viewer that has it the moment it lets go.
|
|
2591
|
+
_now = time.monotonic()
|
|
2592
|
+
try:
|
|
2593
|
+
_yield, _watched = await _busy_and_unwatched(
|
|
2594
|
+
self,
|
|
2595
|
+
self._keepalive_rtsp_url,
|
|
2596
|
+
ps._last_known_viewer,
|
|
2597
|
+
ps._ever_viewed,
|
|
2598
|
+
_now,
|
|
2599
|
+
)
|
|
2600
|
+
except asyncio.CancelledError:
|
|
2601
|
+
return _PhaseReturn(None)
|
|
2602
|
+
if _watched:
|
|
2603
|
+
ps._last_known_viewer = _now
|
|
2604
|
+
ps._ever_viewed = True
|
|
2605
|
+
if _yield:
|
|
2606
|
+
_LOGGER.info(
|
|
2607
|
+
"SDES keepalive: camera %s is busy (%s) and nobody here is"
|
|
2608
|
+
" watching - letting it go until the next view",
|
|
2609
|
+
self.device_id,
|
|
2610
|
+
busy,
|
|
2611
|
+
)
|
|
2612
|
+
await self._go_dormant(release_url=True, why="busy with no viewer")
|
|
2613
|
+
return _PhaseReturn(None)
|
|
2495
2614
|
_LOGGER.warning(
|
|
2496
2615
|
"SDES keepalive: camera %s refused the stream (%s) - "
|
|
2497
2616
|
"backing off %.0fs so its sessions can be released",
|
|
@@ -2720,6 +2839,7 @@ async def _sdes_keepalive_watch_session(
|
|
|
2720
2839
|
ps._last_consumer = time.monotonic()
|
|
2721
2840
|
ps._last_known_viewer = ps._last_consumer
|
|
2722
2841
|
ps._viewer_seen = True
|
|
2842
|
+
ps._ever_viewed = True
|
|
2723
2843
|
elif _idle_release_due(
|
|
2724
2844
|
_present,
|
|
2725
2845
|
# Unknown counts across reopens; a known absence
|
|
@@ -3787,16 +3907,26 @@ class CameraMixin(
|
|
|
3787
3907
|
await asyncio.sleep(min(10.0, max(0.0, end - loop.time())))
|
|
3788
3908
|
|
|
3789
3909
|
async def async_sleep_camera(self, retries: int = 2) -> bool:
|
|
3790
|
-
"""
|
|
3791
|
-
|
|
3910
|
+
"""Ask the cloud to put a battery camera to sleep - which, as measured,
|
|
3911
|
+
does not make it sleep any sooner.
|
|
3792
3912
|
|
|
3793
3913
|
The same cloud endpoint as :meth:`async_wake_camera` with
|
|
3794
|
-
``status: "sleep"
|
|
3795
|
-
camera's live view.
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3914
|
+
``status: "sleep"``, the request the app sends when the user leaves a
|
|
3915
|
+
battery camera's live view. The cloud accepts it (HTTP 200), but on an
|
|
3916
|
+
A001513 the camera still sleeps when its keep-alive window runs out,
|
|
3917
|
+
exactly as if nothing had been sent. Measured 2026-11-20 on three
|
|
3918
|
+
A001513 cameras against the camera's own ``sleepStatus`` report: about
|
|
3919
|
+
28 s after the last ``setKeepAliveTime`` renewal whether this was sent
|
|
3920
|
+
or not. Nor did the variants: the web app's body (``{"status"}`` only),
|
|
3921
|
+
the same request on the v32 API host, the MQTT
|
|
3922
|
+
``lowPowerActiveStateReq`` in either envelope (its
|
|
3923
|
+
``lowPowerActiveStateResp`` comes from the cloud, not the camera), all
|
|
3924
|
+
of them at once, or ``setKeepAliveTime`` with 0.
|
|
3925
|
+
|
|
3926
|
+
Kept for app parity and in case another model or firmware honours it.
|
|
3927
|
+
To spend less battery, wake a battery camera less often; nothing sent
|
|
3928
|
+
here shortens a wake. Returns True if the cloud accepted the request.
|
|
3929
|
+
A no-op (True) on non-battery cameras, which never sleep.
|
|
3800
3930
|
"""
|
|
3801
3931
|
return await self._async_low_power("sleep", retries)
|
|
3802
3932
|
|
|
@@ -3903,15 +4033,71 @@ class CameraMixin(
|
|
|
3903
4033
|
if data.get("ip") and isinstance(_raw_ref, dict) and "ip" not in _raw_ref:
|
|
3904
4034
|
_raw_ref["ip"] = data["ip"]
|
|
3905
4035
|
|
|
4036
|
+
self._mqtt_url_fail_since = self._mqtt_url_fail_last = None
|
|
4037
|
+
self._mqtt_url_fail_count = 0
|
|
3906
4038
|
return self._mqtt_url
|
|
3907
4039
|
|
|
3908
4040
|
except Exception as exc:
|
|
3909
|
-
|
|
4041
|
+
transient = _is_transient_cloud_error(exc)
|
|
3910
4042
|
# The mqttConfig2 broker stands on its own when only
|
|
3911
|
-
# getServerUrlConfig failed
|
|
3912
|
-
# _cfg2_url is its exception, not a URL.
|
|
4043
|
+
# getServerUrlConfig failed (when that lookup is what failed,
|
|
4044
|
+
# _cfg2_url is its exception, not a URL).
|
|
4045
|
+
accepted = None
|
|
3913
4046
|
if isinstance(_cfg2_url, str) and _cfg2_url:
|
|
3914
|
-
|
|
4047
|
+
accepted = self._accept_mqtt_url(_cfg2_url, "mqttConfig2")
|
|
4048
|
+
if accepted:
|
|
4049
|
+
self._mqtt_url_fail_since = None
|
|
4050
|
+
self._mqtt_url_fail_last = None
|
|
4051
|
+
self._mqtt_url_fail_count = 0
|
|
4052
|
+
# The call succeeds. A transient lookup failure is then
|
|
4053
|
+
# worth a WARNING; anything unexpected stays an ERROR,
|
|
4054
|
+
# fallback or not. Its own prefix: this is not a failure
|
|
4055
|
+
# of the call.
|
|
4056
|
+
(_LOGGER.warning if transient else _LOGGER.error)(
|
|
4057
|
+
"getServerUrlConfig failed: %r; using the mqttConfig2 broker",
|
|
4058
|
+
exc,
|
|
4059
|
+
)
|
|
4060
|
+
return accepted
|
|
4061
|
+
# Refused (a non-TLS broker): that, not the network, is why
|
|
4062
|
+
# this returns None - an ERROR on every call, as before.
|
|
4063
|
+
_LOGGER.error(
|
|
4064
|
+
"_async_get_mqtt_url failed: %r (and the mqttConfig2 broker"
|
|
4065
|
+
" was refused)",
|
|
4066
|
+
exc,
|
|
4067
|
+
)
|
|
4068
|
+
return None
|
|
4069
|
+
# A DNS or connect blip on the box fails this one call, and its
|
|
4070
|
+
# caller retries on its own pacing; that is a WARNING. Only a run
|
|
4071
|
+
# of transient failures - _MQTT_URL_RUN_MIN_FAILURES or more, over
|
|
4072
|
+
# at least _MQTT_URL_TRANSIENT_GRACE_S - or any failure not known
|
|
4073
|
+
# to be transient is an ERROR. Measured 2026-11-26: four cameras
|
|
4074
|
+
# opened inside 8 s while the box briefly could not resolve the
|
|
4075
|
+
# cloud host, and four ERROR lines paged the soak watcher. Same
|
|
4076
|
+
# prefix at either level, so one grep finds every occurrence.
|
|
4077
|
+
if not transient:
|
|
4078
|
+
# Not part of a run of transient failures, and never quiet.
|
|
4079
|
+
_LOGGER.error("_async_get_mqtt_url failed: %r", exc)
|
|
4080
|
+
return None
|
|
4081
|
+
now = time.monotonic()
|
|
4082
|
+
since = getattr(self, "_mqtt_url_fail_since", None)
|
|
4083
|
+
last = getattr(self, "_mqtt_url_fail_last", None)
|
|
4084
|
+
count = getattr(self, "_mqtt_url_fail_count", 0)
|
|
4085
|
+
if since is None or last is None or now - last > _mqtt_url_run_gap_s():
|
|
4086
|
+
since, count = now, 0
|
|
4087
|
+
self._mqtt_url_fail_since = since
|
|
4088
|
+
count += 1
|
|
4089
|
+
self._mqtt_url_fail_last, self._mqtt_url_fail_count = now, count
|
|
4090
|
+
outage = (
|
|
4091
|
+
count >= _MQTT_URL_RUN_MIN_FAILURES
|
|
4092
|
+
and now - since >= _MQTT_URL_TRANSIENT_GRACE_S
|
|
4093
|
+
)
|
|
4094
|
+
(_LOGGER.error if outage else _LOGGER.warning)(
|
|
4095
|
+
"_async_get_mqtt_url failed: %r (transient, failure %d,"
|
|
4096
|
+
" failing for %.0f s)",
|
|
4097
|
+
exc,
|
|
4098
|
+
count,
|
|
4099
|
+
now - since,
|
|
4100
|
+
)
|
|
3915
4101
|
return None
|
|
3916
4102
|
|
|
3917
4103
|
def _accept_mqtt_url(self, url: str, source: str) -> Optional[str]:
|
|
@@ -6815,6 +7001,7 @@ class CameraMixin(
|
|
|
6815
7001
|
# reached it, re-waking a battery camera for as long as the cause
|
|
6816
7002
|
# lasted. See _battery_cap_spans_sessions_due.
|
|
6817
7003
|
ps._last_known_viewer = time.monotonic()
|
|
7004
|
+
ps._ever_viewed = False
|
|
6818
7005
|
|
|
6819
7006
|
while self._streaming_active:
|
|
6820
7007
|
_o = await _sdes_keepalive_open_attempt(self, ps)
|
|
@@ -7641,6 +7828,8 @@ class CameraMixin(
|
|
|
7641
7828
|
ps._last_open_at = 0.0 # monotonic of the previous open attempt (0 = none yet)
|
|
7642
7829
|
ps._not_ready_burst = 0 # not-ready answers in a row (encoder cold)
|
|
7643
7830
|
ps.loop = asyncio.get_running_loop()
|
|
7831
|
+
ps._last_known_viewer = ps.loop.time() # no viewer yet: the start
|
|
7832
|
+
ps._ever_viewed = False
|
|
7644
7833
|
settings.warn_deprecated_once()
|
|
7645
7834
|
while self._streaming_active:
|
|
7646
7835
|
# Thread-safe queues: taps run on the loop, the A/V mux in a thread.
|
|
@@ -1435,6 +1435,47 @@ def _idle_release_due(
|
|
|
1435
1435
|
return (now - last_consumer) > _window
|
|
1436
1436
|
|
|
1437
1437
|
|
|
1438
|
+
def _busy_yield_due(
|
|
1439
|
+
present,
|
|
1440
|
+
last_known_viewer: float,
|
|
1441
|
+
now: float,
|
|
1442
|
+
idle_secs: "Optional[float]",
|
|
1443
|
+
*,
|
|
1444
|
+
battery: bool = False,
|
|
1445
|
+
unknown_cap_s: "Optional[float]" = None,
|
|
1446
|
+
viewer_seen: bool = True,
|
|
1447
|
+
startup_grace_s: float = 0.0,
|
|
1448
|
+
) -> bool:
|
|
1449
|
+
"""Whether a keepalive the camera refused as busy should stop asking.
|
|
1450
|
+
|
|
1451
|
+
A busy refusal (-50002 / -50015) means the camera's viewers are all taken,
|
|
1452
|
+
by the AiDot app, an Alexa screen or another client. The keepalive loops
|
|
1453
|
+
retry it on a flat wait (AIDOT_BUSY_RETRY_S, AIDOT_BUSY_BACKOFF_S), so one
|
|
1454
|
+
that nobody here is watching takes the camera back the moment the other
|
|
1455
|
+
viewer lets go, and that viewer is refused when it next asks.
|
|
1456
|
+
|
|
1457
|
+
Stop asking on the same rule that releases a served session with no
|
|
1458
|
+
viewer (``_idle_release_due``): a release window is set (``idle_secs`` > 0;
|
|
1459
|
+
<= 0 or None keeps the never-release choice and retries as before), and no
|
|
1460
|
+
viewer has been known present for it. ``last_known_viewer`` is the last
|
|
1461
|
+
time one was, in any session of this keepalive, or the keepalive's start
|
|
1462
|
+
if none ever was; until one has been seen (``viewer_seen``) the window is
|
|
1463
|
+
at least ``startup_grace_s``. Unknown never stops a mains camera, and stops
|
|
1464
|
+
a battery camera after ``unknown_cap_s``. Pure."""
|
|
1465
|
+
if idle_secs is None or idle_secs <= 0:
|
|
1466
|
+
return False
|
|
1467
|
+
return _idle_release_due(
|
|
1468
|
+
present,
|
|
1469
|
+
last_known_viewer,
|
|
1470
|
+
now,
|
|
1471
|
+
idle_secs,
|
|
1472
|
+
battery=battery,
|
|
1473
|
+
unknown_cap_s=unknown_cap_s,
|
|
1474
|
+
viewer_seen=viewer_seen,
|
|
1475
|
+
startup_grace_s=startup_grace_s,
|
|
1476
|
+
)
|
|
1477
|
+
|
|
1478
|
+
|
|
1438
1479
|
def _battery_cap_spans_sessions_due(
|
|
1439
1480
|
battery: bool,
|
|
1440
1481
|
unknown_cap_s: "Optional[float]",
|