python-aidot-cameras 1.0.0rc72__tar.gz → 1.1.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.0.0rc72/python_aidot_cameras.egg-info → python_aidot_cameras-1.1.1}/PKG-INFO +20 -17
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/README.md +19 -16
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/__main__.py +3 -3
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_log_redaction.py +10 -0
- python_aidot_cameras-1.1.1/aidot_cameras/_private_file.py +32 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_upstream.py +13 -48
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/aac_track.py +16 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/agc.py +7 -26
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/client.py +784 -902
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/constants.py +37 -8
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/controls.py +101 -15
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/go2rtc.py +132 -40
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/hwaccel.py +208 -6
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/models.py +47 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/protocol.py +248 -894
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/rtsp_publish.py +378 -280
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/sd_events.py +17 -11
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/sd_playback.py +13 -7
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/sdes.py +8 -2
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/sdes_open.py +871 -1810
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/ts_fanout.py +192 -51
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/webrtc.py +27 -12
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/webrtc_open.py +136 -277
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/client.py +151 -8
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/cloud_auth.py +6 -17
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/const.py +8 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/discover.py +4 -6
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/g711.py +44 -1
- python_aidot_cameras-1.1.1/aidot_cameras/mqtt_config2.py +127 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/settings.py +60 -10
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/pyproject.toml +1 -1
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1/python_aidot_cameras.egg-info}/PKG-INFO +20 -17
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/python_aidot_cameras.egg-info/SOURCES.txt +12 -8
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_aac_track.py +16 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_abandoned_wait_still_maps_audio.py +35 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_avio_ctrl_uses_the_session_dseq.py +24 -3
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_avio_response_router.py +24 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_backoff.py +16 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_camera_closed_session.py +75 -7
- python_aidot_cameras-1.1.1/tests/test_camera_power.py +151 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_camera_properties.py +4 -7
- python_aidot_cameras-1.1.1/tests/test_controls_ride_the_direct_session.py +116 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_declared_properties.py +21 -0
- python_aidot_cameras-1.1.1/tests/test_direct_publish_attaches_negotiated_audio.py +122 -0
- python_aidot_cameras-1.1.1/tests/test_direct_ts_keyframe_signal.py +182 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_direct_ts_serve.py +206 -98
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_direct_ts_serve_only_for_http.py +6 -19
- python_aidot_cameras-1.1.1/tests/test_drain_is_cancellable.py +84 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_open_abort_covers_every_exit.py +0 -14
- python_aidot_cameras-1.1.1/tests/test_dtls_open_pacer.py +165 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_resolution_ack.py +6 -2
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_serve_backoff.py +191 -65
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_serve_ice_wait.py +2 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_serve_open_timeout.py +2 -0
- python_aidot_cameras-1.1.1/tests/test_dtls_stdout_producer.py +199 -0
- python_aidot_cameras-1.1.1/tests/test_ffmpeg_rx_sdp_single_template.py +99 -0
- python_aidot_cameras-1.1.1/tests/test_first_media_abandon_rules.py +238 -0
- python_aidot_cameras-1.1.1/tests/test_g711_law_conversion.py +87 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_go2rtc.py +148 -1
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_hwaccel_probe.py +168 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_idle_release_both_loops.py +5 -4
- python_aidot_cameras-1.1.1/tests/test_learned_prflx_is_nominated_at_once.py +123 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_log_hygiene.py +16 -3
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_loop_break_ends_the_loop.py +1 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_media_counted_only_when_plaintext.py +24 -86
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_mqtt_client_id_is_exact.py +12 -15
- python_aidot_cameras-1.1.1/tests/test_mqtt_config2.py +660 -0
- python_aidot_cameras-1.1.1/tests/test_mqtt_thread_not_orphaned.py +53 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_nack.py +3 -12
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_nominates_as_soon_as_the_answer_lands.py +6 -6
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_off_subnet_candidate.py +21 -5
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_offline_keepalive_pause.py +1 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_open_fail_logger.py +19 -0
- python_aidot_cameras-1.1.1/tests/test_persistent_mqtt.py +137 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_plaintext_mqtt_refused.py +1 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_remb.py +2 -1
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_resolution_persists.py +4 -1
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_review_lan_retry_and_graces.py +4 -4
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_rtsp_publish.py +143 -37
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sd_playback_entry.py +0 -44
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sd_playback_open.py +9 -6
- python_aidot_cameras-1.1.1/tests/test_sdes_bridge_starts_without_the_answer.py +140 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_connection_mode.py +1 -1
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_first_media_stall_report.py +43 -29
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_nack_bridge.py +1 -1
- python_aidot_cameras-1.1.1/tests/test_sdes_open_refuses_an_undecryptable_model.py +58 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_open_yields_the_loop.py +3 -1
- python_aidot_cameras-1.1.1/tests/test_sdes_turn_preallocated_in_offer.py +262 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_serializable_login_info.py +5 -2
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_serve_loop_releases_on_error.py +8 -69
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_settings_registry.py +31 -5
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stream_settings.py +2 -2
- python_aidot_cameras-1.1.1/tests/test_unbind_notice.py +176 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_upstream_compat.py +6 -14
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_viewer_present_push_mode.py +1 -1
- python_aidot_cameras-1.0.0rc72/tests/test_direct_publish_attaches_negotiated_audio.py +0 -113
- python_aidot_cameras-1.0.0rc72/tests/test_direct_ts_keyframe_signal.py +0 -178
- python_aidot_cameras-1.0.0rc72/tests/test_drain_is_cancellable.py +0 -86
- python_aidot_cameras-1.0.0rc72/tests/test_dtls_not_ready_burst.py +0 -66
- python_aidot_cameras-1.0.0rc72/tests/test_dtls_slow_probe.py +0 -174
- python_aidot_cameras-1.0.0rc72/tests/test_dtls_stdout_producer.py +0 -168
- python_aidot_cameras-1.0.0rc72/tests/test_ffmpeg_rx_sdp_single_template.py +0 -181
- python_aidot_cameras-1.0.0rc72/tests/test_first_media_abandon_rules.py +0 -133
- python_aidot_cameras-1.0.0rc72/tests/test_key_restart_sdp.py +0 -200
- python_aidot_cameras-1.0.0rc72/tests/test_mqtt_session_reconnect.py +0 -174
- python_aidot_cameras-1.0.0rc72/tests/test_mqtt_thread_not_orphaned.py +0 -70
- python_aidot_cameras-1.0.0rc72/tests/test_persistent_mqtt.py +0 -76
- python_aidot_cameras-1.0.0rc72/tests/test_retry_policy.py +0 -24
- python_aidot_cameras-1.0.0rc72/tests/test_sdes_echo_wait_is_not_dead_time.py +0 -168
- python_aidot_cameras-1.0.0rc72/tests/test_tmmbr.py +0 -118
- python_aidot_cameras-1.0.0rc72/tests/test_unreachable_nominee_is_abandoned_early.py +0 -110
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/LICENSE +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/MANIFEST.in +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/LICENSE +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/clock.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/codecs/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/codecs/base.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/codecs/g711.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/codecs/g722.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/codecs/h264.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/codecs/opus.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/codecs/vpx.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/contrib/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/contrib/media.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/contrib/signaling.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/events.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/exceptions.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/jitterbuffer.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/mediastreams.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rate.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rtcconfiguration.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rtcdatachannel.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rtcdtlstransport.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rtcicetransport.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rtcpeerconnection.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rtcrtpparameters.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rtcrtpreceiver.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rtcrtpsender.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rtcrtptransceiver.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rtcsctptransport.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rtcsessiondescription.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/rtp.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/sdp.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/stats.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_vendor/aiortc/utils.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/h264_sps.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/health.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/hls_ts.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/lan_control.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/recording.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/rtp_h264.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/sd_listing.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/ts_tee.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/credentials.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/crypto.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/device_client.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/exceptions.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/lan_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/py.typed +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/python_aidot_cameras.egg-info/dependency_links.txt +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/python_aidot_cameras.egg-info/entry_points.txt +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/python_aidot_cameras.egg-info/requires.txt +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/python_aidot_cameras.egg-info/top_level.txt +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/setup.cfg +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_abandoned_attempt_skips_the_doomed_serve.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_aioice_compat.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_alarm_event.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_answer_pt_kinds.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_answer_sdp_video_pt.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_answer_section_selection.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_arrival_timestamps.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_audio_mux_offline.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_auth_error_routing.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_auto_alarm.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_auto_light_settings.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_avio_header_single_layout.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_avio_request.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_avio_response_parse.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_battery_cap_spans_sessions.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_battery_detection.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_battery_evidence_corroboration.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_battery_stale_offer_is_abandoned_early.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_battery_wake_settles_before_the_command.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_ble_gateway_is_gone.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_bridge_state_sentinels.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_busy_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_canary_log_names_the_camera.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_close_mid_ice_leaves_nothing_pending.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_cloud_count.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_cloud_error_log_names_the_exception.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_cloud_error_severity.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_cloud_plan.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_constants_imports_resolve.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_control_verdicts.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_deferred_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_detection_types.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_device_cmd_seq_match.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_device_login_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_device_user_info_cache.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dormant_camera_cleanup.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_mux_terminal_write.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_pinning.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_recorder_wiring.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_refusal_after_the_echo.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_serve_decode_skip.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_skip_signaling_wait.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_tap_states_no_reorder.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_ts_copy_recording.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_dtls_video_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_egress_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_env_seams.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_every_exception_is_exported.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_feature_probe_needs_a_live_session.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_ffmpeg_signal_exit_is_not_a_crash.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_futile_keepalive.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_gate_requires_a_decoded_frame.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_go2rtc_cli.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_h264_decode_rate_limit.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_h264_sps.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_health_line.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_health_line_counts_pictures.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_highport_nomination.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_hls_ts_end_to_end.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_hls_ts_wiring.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_ice_config_cache.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_ice_credentials_match_the_app.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_ice_peer_reflexive.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_ipc_envelope_single_builder.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_keepalive_renew.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_keyframe_prompter.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_lan_control.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_lan_login_accessors.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_lan_retry_reaches_the_storming_devices.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_lan_retry_short_sessions.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_lan_retry_silences_upstream_over_ceiling.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_lan_retry_stops_on_close.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_lan_sweep_only_with_lights.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_late_repeats_are_dropped.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_light_active_color_mode.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_live_session_carries_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_live_stream_param.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_live_validate_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_live_validate_token_refresh.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_live_video_canary.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_liveplay_echo_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_local_only_controls.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_logging_caps.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_login_connect_deadline.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_login_reconnect_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_media_path_is_reported.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_media_socket_rcvbuf.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_media_wait_floor.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_motion_poll.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_mqtt_credential_refetch.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_mqtt_credential_self_heal.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_mqtt_password_not_persisted.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_mypy_new_findings.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_nack_cannot_add_load_in_a_burst.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_narrow_pc_ice.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_no_key_material_in_logs.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_no_private_notes_on_the_public_surface.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_no_self_referential_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_no_unbounded_hex_dumps.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_no_undefined_names.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_offer_keeps_rtcp_feedback.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_on_frame_is_an_av_frame.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_open_errors_are_aidot_errors.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_open_gate_delay.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_peer_id_client_type.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_peerid_reuse.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_persistent_mqtt_robustness.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_phase_returns_reach_the_caller.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_phase_state_is_complete.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_post_merge_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_ptz_probe_reads_what_it_is_told.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_public_signature_matches_impl.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_publish_target_readiness.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_quality_campaign_in_session.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_reboot_action.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_recent_recordings.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_region_allowlist.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_remb_goes_out_the_relay_aware_sender.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_removed_keepalive_arguments_are_tolerated.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_resent_frames_are_dropped.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_restart_cycle.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_rtp_h264.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_rtsp_publish_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_scripts_importable.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sctp_in_order.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sctp_init_ack_tsn.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sctp_reassembly.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sctp_sack.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sd_card_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sd_event_decode.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sd_event_probe_payloads.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sd_listing.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sd_playback.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sd_playback_clock.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sd_playback_controls.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sd_playback_dtls.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sd_playback_end.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sd_playback_media_hold.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_avio_dispatch.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_bridge_break_gate.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_fast_liveplay.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_ffmpeg_stderr_log.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_ice_teardown.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_idle_release.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_offer_video_pin.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_open_cleanup.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_pinned_codec_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_sctp_abort.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_serve_audio.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_serve_cmd.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_serve_stderr_drain.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_sprop.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_teardown_exit_log.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_terminal_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_terminal_ack_latency.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdes_watchdog.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdp_narrowing_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sdp_payload_type_narrowing.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_security_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_self_peer_is_an_address_not_an_ip.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_serve_bound_survives_arrival_stamping.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_serve_input_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_serve_loss_tolerance.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_serve_pt_respects_the_pin.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_serve_relay.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_serve_stderr_keeps_the_reason.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_session_mode_seq.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_session_stats.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_session_stop_twice.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_set_dev_attr_payload.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_shared_house_seam.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_signalling_is_attributable_to_a_camera.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_skip_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_snapshot_cancellation.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_speak.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sprop_capture_gate.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sprop_staleness.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sprop_unstable_public.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_sprop_write_is_reported_truthfully.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_srtp_rx_rekey.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_srtp_tx_key_note.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stable_terminal_id.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stall_nudge_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stall_report_says_what_the_answer_carried.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stall_report_says_whether_the_trigger_was_answered.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stall_report_separates_silence_from_undecryptable.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stall_report_survives_a_caller_giving_up.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stall_reports_reach_the_artifact.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_status_and_trace_channels.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stream_cap.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stream_drain_ownership.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stream_idle.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stream_slot_cap.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stream_teardown.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_stun_attr_single_builder.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_swallowed_exception_names.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_talk_reports_a_speaker_that_never_opened.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_tap_to_mux_end_to_end.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_terminal_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_token_file_robustness.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_token_refresh.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_transport_failure_reporting.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_ts_fanout.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_ts_tee.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_turn_create_permission.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_turn_target_shared.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_unbuildable_summary_repeats_at_debug.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_upstream_seam_adapter.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_upstream_secrets_redacted.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_validator_shares_one_token.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_vendored_aiortc_integrity.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_video_presence_needs_a_keyframe.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_video_profile_log.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_video_pts_dts.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_video_ts_unwrap.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_viewer_check_throttle.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_viewer_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_wait_or_event.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_wake_gate_camera_evidence.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_wake_readiness_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/tests/test_webrtc_answer_race.py +0 -0
{python_aidot_cameras-1.0.0rc72/python_aidot_cameras.egg-info → python_aidot_cameras-1.1.1}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-aidot-cameras
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.1.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
|
|
@@ -80,22 +80,20 @@ generic SDES path.
|
|
|
80
80
|
|
|
81
81
|
## Install
|
|
82
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
83
|
```bash
|
|
90
84
|
# lights + camera cloud/control only:
|
|
91
|
-
pip install
|
|
85
|
+
pip install python-aidot-cameras
|
|
92
86
|
# add live streaming, snapshots and two-way audio (aiortc, av, ...):
|
|
93
|
-
pip install
|
|
87
|
+
pip install "python-aidot-cameras[webrtc]"
|
|
94
88
|
# the CLI as an isolated tool:
|
|
95
|
-
pipx install
|
|
96
|
-
uv tool install
|
|
89
|
+
pipx install "python-aidot-cameras[webrtc]"
|
|
90
|
+
uv tool install "python-aidot-cameras[webrtc]"
|
|
97
91
|
```
|
|
98
92
|
|
|
93
|
+
Releases carry plain versions (1.0.0 and up); a release before 1.0.0 was a
|
|
94
|
+
release candidate and needed `--pre`. Versions 0.x predate the camera line's
|
|
95
|
+
current form and have known faults fixed since.
|
|
96
|
+
|
|
99
97
|
The latest unreleased code:
|
|
100
98
|
`pip install "python-aidot-cameras[webrtc] @ git+https://github.com/cbrightly/python-aidot-cameras"`.
|
|
101
99
|
|
|
@@ -258,15 +256,20 @@ Worth knowing:
|
|
|
258
256
|
mu-law (PCMU) gets no AAC track. Do not add an `ffmpeg:<stream>#audio=aac`
|
|
259
257
|
source in go2rtc: it makes every player crawl
|
|
260
258
|
([why](https://github.com/cbrightly/python-aidot-cameras/blob/main/docs/CAMERAS.md#an-aac-transcoding-source-makes-every-player-crawl)).
|
|
261
|
-
|
|
262
|
-
|
|
259
|
+
A DTLS push is always published this way: `AIDOT_DIRECT_PUBLISH=0` applies
|
|
260
|
+
to SDES pushes only.
|
|
263
261
|
- **A stream that starts with no video** and picks it up a few seconds later is
|
|
264
262
|
normal: the mux waits for a keyframe. One that stays audio-only is a camera
|
|
265
263
|
that never sent one; retry the view.
|
|
266
264
|
- **From Python:** `rtsp_push_url=` pushes, `output_path=` records.
|
|
267
265
|
`Go2rtcClient.rtsp_url(name)` builds the URL above, and
|
|
268
|
-
`
|
|
269
|
-
without editing YAML.
|
|
266
|
+
`go2rtc.async_ensure_stream(client, name, source)` registers a stream with a
|
|
267
|
+
running go2rtc without editing YAML (`async_remove_stream` drops it). Use
|
|
268
|
+
these rather than the client's raw `ensure_stream`: they queue every write to
|
|
269
|
+
one go2rtc behind one lock (go2rtc 1.9.9 tears its config file on
|
|
270
|
+
overlapping writes) and tell a rejected PUT on a stream go2rtc still holds
|
|
271
|
+
(`UNCHANGED`) from a real failure. `source=None` defines a placeholder for a
|
|
272
|
+
stream you will publish into; `recreate=True` deletes it first.
|
|
270
273
|
|
|
271
274
|
## Camera features
|
|
272
275
|
|
|
@@ -437,8 +440,8 @@ and the CLI; they take priority over a stored credentials file.
|
|
|
437
440
|
| `AIDOT_MAX_CONCURRENT_OPENS` | How many stream opens may run at once across all cameras. | `2` |
|
|
438
441
|
| `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
442
|
| `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` |
|
|
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) |
|
|
443
|
+
| `AIDOT_PERSISTENT_MQTT` | **Deprecated, ignored.** Commands, attribute fetches and stream-open signaling always share one account-level MQTT connection, as the official app does. The per-operation connection that `0` used to select reused the account's client id and so evicted that shared connection; it is gone. Still accepted; setting it to any value logs one warning. | (ignored) |
|
|
444
|
+
| `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 for SDES pushes; a DTLS push has no ffmpeg path to fall back to and is always published directly. | `1` (on) |
|
|
442
445
|
| `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
446
|
| `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
447
|
| `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` |
|
|
@@ -30,22 +30,20 @@ generic SDES path.
|
|
|
30
30
|
|
|
31
31
|
## Install
|
|
32
32
|
|
|
33
|
-
**Pass `--pre`.** The camera line is published as 1.0.0 release candidates;
|
|
34
|
-
without `--pre`, pip resolves `0.17.2` (2026-08-08), which predates them and
|
|
35
|
-
has known faults fixed since (SDES sessions that stop after about eighty
|
|
36
|
-
seconds, and a Home Assistant stream restart about once a minute). That stays
|
|
37
|
-
true until 1.0.0 is final.
|
|
38
|
-
|
|
39
33
|
```bash
|
|
40
34
|
# lights + camera cloud/control only:
|
|
41
|
-
pip install
|
|
35
|
+
pip install python-aidot-cameras
|
|
42
36
|
# add live streaming, snapshots and two-way audio (aiortc, av, ...):
|
|
43
|
-
pip install
|
|
37
|
+
pip install "python-aidot-cameras[webrtc]"
|
|
44
38
|
# the CLI as an isolated tool:
|
|
45
|
-
pipx install
|
|
46
|
-
uv tool install
|
|
39
|
+
pipx install "python-aidot-cameras[webrtc]"
|
|
40
|
+
uv tool install "python-aidot-cameras[webrtc]"
|
|
47
41
|
```
|
|
48
42
|
|
|
43
|
+
Releases carry plain versions (1.0.0 and up); a release before 1.0.0 was a
|
|
44
|
+
release candidate and needed `--pre`. Versions 0.x predate the camera line's
|
|
45
|
+
current form and have known faults fixed since.
|
|
46
|
+
|
|
49
47
|
The latest unreleased code:
|
|
50
48
|
`pip install "python-aidot-cameras[webrtc] @ git+https://github.com/cbrightly/python-aidot-cameras"`.
|
|
51
49
|
|
|
@@ -208,15 +206,20 @@ Worth knowing:
|
|
|
208
206
|
mu-law (PCMU) gets no AAC track. Do not add an `ffmpeg:<stream>#audio=aac`
|
|
209
207
|
source in go2rtc: it makes every player crawl
|
|
210
208
|
([why](https://github.com/cbrightly/python-aidot-cameras/blob/main/docs/CAMERAS.md#an-aac-transcoding-source-makes-every-player-crawl)).
|
|
211
|
-
|
|
212
|
-
|
|
209
|
+
A DTLS push is always published this way: `AIDOT_DIRECT_PUBLISH=0` applies
|
|
210
|
+
to SDES pushes only.
|
|
213
211
|
- **A stream that starts with no video** and picks it up a few seconds later is
|
|
214
212
|
normal: the mux waits for a keyframe. One that stays audio-only is a camera
|
|
215
213
|
that never sent one; retry the view.
|
|
216
214
|
- **From Python:** `rtsp_push_url=` pushes, `output_path=` records.
|
|
217
215
|
`Go2rtcClient.rtsp_url(name)` builds the URL above, and
|
|
218
|
-
`
|
|
219
|
-
without editing YAML.
|
|
216
|
+
`go2rtc.async_ensure_stream(client, name, source)` registers a stream with a
|
|
217
|
+
running go2rtc without editing YAML (`async_remove_stream` drops it). Use
|
|
218
|
+
these rather than the client's raw `ensure_stream`: they queue every write to
|
|
219
|
+
one go2rtc behind one lock (go2rtc 1.9.9 tears its config file on
|
|
220
|
+
overlapping writes) and tell a rejected PUT on a stream go2rtc still holds
|
|
221
|
+
(`UNCHANGED`) from a real failure. `source=None` defines a placeholder for a
|
|
222
|
+
stream you will publish into; `recreate=True` deletes it first.
|
|
220
223
|
|
|
221
224
|
## Camera features
|
|
222
225
|
|
|
@@ -387,8 +390,8 @@ and the CLI; they take priority over a stored credentials file.
|
|
|
387
390
|
| `AIDOT_MAX_CONCURRENT_OPENS` | How many stream opens may run at once across all cameras. | `2` |
|
|
388
391
|
| `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`) |
|
|
389
392
|
| `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) |
|
|
390
|
-
| `AIDOT_PERSISTENT_MQTT` |
|
|
391
|
-
| `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) |
|
|
393
|
+
| `AIDOT_PERSISTENT_MQTT` | **Deprecated, ignored.** Commands, attribute fetches and stream-open signaling always share one account-level MQTT connection, as the official app does. The per-operation connection that `0` used to select reused the account's client id and so evicted that shared connection; it is gone. Still accepted; setting it to any value logs one warning. | (ignored) |
|
|
394
|
+
| `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 for SDES pushes; a DTLS push has no ffmpeg path to fall back to and is always published directly. | `1` (on) |
|
|
392
395
|
| `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) |
|
|
393
396
|
| `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) |
|
|
394
397
|
| `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` |
|
|
@@ -213,10 +213,10 @@ async def cmd_stream(dev_id: str, output_url: str) -> int:
|
|
|
213
213
|
"stdout for a go2rtc exec: consumer."
|
|
214
214
|
)
|
|
215
215
|
elif output_url.startswith("rtsp") and not dc.is_sdes_camera:
|
|
216
|
-
#
|
|
216
|
+
# The direct publish: see _dtls_serve_mode in camera/client.py.
|
|
217
217
|
_LOGGER.info(
|
|
218
|
-
"DTLS RTSP push: publishing video
|
|
219
|
-
"
|
|
218
|
+
"DTLS RTSP push: publishing video, G.711 audio and (unless "
|
|
219
|
+
"AIDOT_PUBLISH_AAC=0) AAC audio to %s.",
|
|
220
220
|
output_url,
|
|
221
221
|
)
|
|
222
222
|
elif not output_url.startswith("rtsp") and dc.is_sdes_camera:
|
{python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/_log_redaction.py
RENAMED
|
@@ -67,6 +67,16 @@ _SDP_INLINE = re.compile(r"(inline:)[A-Za-z0-9+/=]+")
|
|
|
67
67
|
_SDP_ATTR = re.compile(r"^(\s*a=(?:ice-pwd|psk):)[^\r\n]+", re.MULTILINE)
|
|
68
68
|
|
|
69
69
|
|
|
70
|
+
def mask_identifier(value: object) -> str:
|
|
71
|
+
"""A log-safe stand-in for an identifier: its length and last 4 characters."""
|
|
72
|
+
s = str(value or "")
|
|
73
|
+
if not s:
|
|
74
|
+
return "<none>"
|
|
75
|
+
if len(s) <= 8:
|
|
76
|
+
return f"<{len(s)} chars>"
|
|
77
|
+
return f"...{s[-4:]} ({len(s)} chars)"
|
|
78
|
+
|
|
79
|
+
|
|
70
80
|
def redact_secrets(text: str) -> str:
|
|
71
81
|
"""``text`` with the value of every known secret key replaced."""
|
|
72
82
|
return _SECRET_FIELD.sub(lambda m: m.group("key") + REDACTED, text)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"""One atomic, owner-only file write, for the files that hold a secret."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import os
|
|
6
|
+
import tempfile
|
|
7
|
+
from typing import IO, Callable
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def write_private_file(
|
|
11
|
+
path: str, write: Callable[[IO[str]], None], *, prefix: str, encoding: str
|
|
12
|
+
) -> None:
|
|
13
|
+
"""Write ``path`` 0600 via a temp file in its directory and a rename.
|
|
14
|
+
|
|
15
|
+
``write`` fills the open temp file. mkstemp creates it 0600, closing the
|
|
16
|
+
world-readable window a chmod after the write leaves, and the rename comes
|
|
17
|
+
only after ``write`` returns, so a failure part-way never truncates the
|
|
18
|
+
file already there. On any error the temp file is removed and the error
|
|
19
|
+
re-raised.
|
|
20
|
+
"""
|
|
21
|
+
directory = os.path.dirname(path) or "."
|
|
22
|
+
fd, tmp = tempfile.mkstemp(dir=directory, prefix=prefix, suffix=".tmp")
|
|
23
|
+
try:
|
|
24
|
+
with os.fdopen(fd, "w", encoding=encoding) as fh:
|
|
25
|
+
write(fh)
|
|
26
|
+
os.replace(tmp, path)
|
|
27
|
+
except BaseException:
|
|
28
|
+
try:
|
|
29
|
+
os.unlink(tmp)
|
|
30
|
+
except OSError:
|
|
31
|
+
pass
|
|
32
|
+
raise
|
|
@@ -11,11 +11,9 @@ Upstream has changed its private API inside patch releases more than once:
|
|
|
11
11
|
|
|
12
12
|
The declared range starts at 0.3.56, so only shape A is installable and only
|
|
13
13
|
shape A is supported. Shape B (0.3.54-0.3.55) stopped being installable when
|
|
14
|
-
the floor moved on 2026-09-23
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
``DEVICE_STATE_IS_UPSTREAMS``) are kept as fixed constants because consumers
|
|
18
|
-
import them. See ``docs/UPSTREAM.md``.
|
|
14
|
+
the floor moved on 2026-09-23; its branches and the flags that reported it are
|
|
15
|
+
gone, except ``UPSTREAM_SHAPE``, kept as a fixed constant because the Home
|
|
16
|
+
Assistant integration's diagnostics import it. See ``docs/UPSTREAM.md``.
|
|
19
17
|
|
|
20
18
|
Two axes are still live within the range and are detected here:
|
|
21
19
|
|
|
@@ -50,36 +48,10 @@ from aidot.login_const import (
|
|
|
50
48
|
)
|
|
51
49
|
from aidot.models.device_model import DeviceInformation as DeviceRecord
|
|
52
50
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
# --------------------------------------------------------------------------- #
|
|
56
|
-
# Shape B (0.3.54-0.3.55) is no longer supported. These keep their names and
|
|
57
|
-
# their shape-A values because consumers and tests import them.
|
|
58
|
-
|
|
59
|
-
#: Always False: the typed account layer (``user_info``, ``_cloud_api``,
|
|
60
|
-
#: ``UserInformation``) existed only on shape B.
|
|
61
|
-
HAS_TYPED_ACCOUNT = False
|
|
62
|
-
|
|
63
|
-
#: Always ``"dict"``; ``"typed"`` was shape B.
|
|
51
|
+
#: Always ``"dict"`` (shape A), the only shape in the supported range. Kept
|
|
52
|
+
#: because the integration's diagnostics report it.
|
|
64
53
|
UPSTREAM_SHAPE = "dict"
|
|
65
54
|
|
|
66
|
-
#: Always None: upstream's ``UserInformation`` class existed only on shape B.
|
|
67
|
-
UserInformation = None
|
|
68
|
-
|
|
69
|
-
#: Always False: upstream's own ``DeviceState`` existed only on shape B, so
|
|
70
|
-
#: ``DeviceState`` below is always the local stand-in.
|
|
71
|
-
DEVICE_STATE_IS_UPSTREAMS = False
|
|
72
|
-
|
|
73
|
-
#: Always False: ``DeviceClient.read_data`` existed only on shape B. Shape A
|
|
74
|
-
#: inlines the decrypt into ``receive_data``, so there is no seam to hook.
|
|
75
|
-
HAS_READ_DATA_SEAM = False
|
|
76
|
-
|
|
77
|
-
#: Always False: the process-wide ``Discover.DISCOVERED_DEVICE`` class dict
|
|
78
|
-
#: existed only on shape B. Shape A keeps the map on the ``Discover``
|
|
79
|
-
#: instance, which upstream's ``get_device_client`` reads straight off
|
|
80
|
-
#: ``self._discover``.
|
|
81
|
-
HAS_SHARED_DISCOVERY_MAP = False
|
|
82
|
-
|
|
83
55
|
|
|
84
56
|
def rsa_encrypt(message: str, public_key: Any = None) -> str:
|
|
85
57
|
"""RSA/PKCS1v15 encrypt ``message``, returned base64.
|
|
@@ -153,6 +125,14 @@ class _DeviceState(IntEnum):
|
|
|
153
125
|
|
|
154
126
|
|
|
155
127
|
DeviceState = _DeviceState
|
|
128
|
+
# The integration's tests (2.37.x and 2.38.x) read this to choose the shape of
|
|
129
|
+
# the device-client stub they build: True meant "upstream keeps a DeviceState
|
|
130
|
+
# enum on the client", False "upstream keeps connect_and_login booleans". It
|
|
131
|
+
# stays after the choice was dropped from the code, and it is False: every
|
|
132
|
+
# upstream the library supports reports the session through
|
|
133
|
+
# ``connect_and_login`` (device_session_authenticated below), and the enum
|
|
134
|
+
# above is this module's own re-export, never produced by upstream.
|
|
135
|
+
DEVICE_STATE_IS_UPSTREAMS = False
|
|
156
136
|
|
|
157
137
|
|
|
158
138
|
def device_session_authenticated(device_client: Any) -> bool:
|
|
@@ -374,16 +354,6 @@ except ImportError: # pragma: no cover - upstream is a hard dependency
|
|
|
374
354
|
HAS_DEVICE_CLIENT_BACKREF = False
|
|
375
355
|
|
|
376
356
|
|
|
377
|
-
def broadcast_protocol_args(callback: Any, user_id: str) -> tuple:
|
|
378
|
-
"""Positional args for upstream's ``BroadcastProtocol.__init__``.
|
|
379
|
-
|
|
380
|
-
``(callback, user_id)`` on every supported release; upstream uses the
|
|
381
|
-
account id to build the request payload. (0.3.54-0.3.55 took
|
|
382
|
-
``(callback)`` alone.)
|
|
383
|
-
"""
|
|
384
|
-
return (callback, user_id)
|
|
385
|
-
|
|
386
|
-
|
|
387
357
|
#: Names this module intends as its public surface within the package.
|
|
388
358
|
__all__ = [
|
|
389
359
|
"API_URL_TEMPLATE",
|
|
@@ -391,16 +361,12 @@ __all__ = [
|
|
|
391
361
|
"DEFAULT_REGION",
|
|
392
362
|
"DEVICE_STATE_IS_UPSTREAMS",
|
|
393
363
|
"HAS_DEVICE_CLIENT_BACKREF",
|
|
394
|
-
"HAS_READ_DATA_SEAM",
|
|
395
|
-
"HAS_SHARED_DISCOVERY_MAP",
|
|
396
|
-
"HAS_TYPED_ACCOUNT",
|
|
397
364
|
"PUBLIC_KEY_PEM",
|
|
398
365
|
"RECONNECT_HANDLE_ATTRS",
|
|
399
366
|
"UPSTREAM_SHAPE",
|
|
400
367
|
"DeviceModel",
|
|
401
368
|
"DeviceRecord",
|
|
402
369
|
"DeviceState",
|
|
403
|
-
"UserInformation",
|
|
404
370
|
"account_record",
|
|
405
371
|
"account_refresh_token",
|
|
406
372
|
"account_region",
|
|
@@ -412,7 +378,6 @@ __all__ = [
|
|
|
412
378
|
"api_get_houses",
|
|
413
379
|
"api_get_products",
|
|
414
380
|
"api_refresh_token",
|
|
415
|
-
"broadcast_protocol_args",
|
|
416
381
|
"cancel_pending_reconnect",
|
|
417
382
|
"device_client_args",
|
|
418
383
|
"device_session_authenticated",
|
{python_aidot_cameras-1.0.0rc72 → python_aidot_cameras-1.1.1}/aidot_cameras/camera/aac_track.py
RENAMED
|
@@ -352,6 +352,7 @@ class AacEncoder:
|
|
|
352
352
|
format="fltp", layout="mono", rate=AAC_CLOCK_RATE
|
|
353
353
|
)
|
|
354
354
|
self._in = 0
|
|
355
|
+
self._flushed = False
|
|
355
356
|
|
|
356
357
|
def encode(self, alaw: bytes) -> List[bytes]:
|
|
357
358
|
np = self._np
|
|
@@ -366,6 +367,21 @@ class AacEncoder:
|
|
|
366
367
|
out.append(bytes(pkt))
|
|
367
368
|
return out
|
|
368
369
|
|
|
370
|
+
def flush(self) -> List[bytes]:
|
|
371
|
+
"""End of stream: the access units the resampler and encoder still
|
|
372
|
+
hold (the last, partial frame and the encoder's delay). Once only:
|
|
373
|
+
a second call returns nothing."""
|
|
374
|
+
out: List[bytes] = []
|
|
375
|
+
if self._flushed:
|
|
376
|
+
return out
|
|
377
|
+
self._flushed = True
|
|
378
|
+
for resampled in self._resampler.resample(None):
|
|
379
|
+
for pkt in self._ctx.encode(resampled):
|
|
380
|
+
out.append(bytes(pkt))
|
|
381
|
+
for pkt in self._ctx.encode(None):
|
|
382
|
+
out.append(bytes(pkt))
|
|
383
|
+
return out
|
|
384
|
+
|
|
369
385
|
|
|
370
386
|
class AacTrack:
|
|
371
387
|
"""Pacer + encoder + RTP numbering for the AAC track of one publish."""
|
|
@@ -16,6 +16,7 @@ import math
|
|
|
16
16
|
from typing import Optional
|
|
17
17
|
|
|
18
18
|
from .. import settings
|
|
19
|
+
from ..g711 import alaw2linear, linear2alaw
|
|
19
20
|
|
|
20
21
|
# --------------------------------------------------------------------------- #
|
|
21
22
|
# Audio gain on A-law bytes #
|
|
@@ -25,8 +26,8 @@ from .. import settings
|
|
|
25
26
|
#: A-law byte -> linear sample, and the squares of those, precomputed. The
|
|
26
27
|
#: publish loop runs per 20 ms audio frame on every camera, so the decode and
|
|
27
28
|
#: the level measurement must not be per-sample Python.
|
|
28
|
-
_ALAW_TO_LINEAR
|
|
29
|
-
_ALAW_SQUARES
|
|
29
|
+
_ALAW_TO_LINEAR = tuple(alaw2linear(b) for b in range(256))
|
|
30
|
+
_ALAW_SQUARES = tuple(float(v) * v for v in _ALAW_TO_LINEAR)
|
|
30
31
|
|
|
31
32
|
|
|
32
33
|
def _alaw_mean_square(payload: bytes) -> float:
|
|
@@ -35,10 +36,9 @@ def _alaw_mean_square(payload: bytes) -> float:
|
|
|
35
36
|
return sum(sq[b] for b in payload) / len(payload)
|
|
36
37
|
|
|
37
38
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
return linear2alaw(sample)
|
|
39
|
+
#: The G.711 codec, under the names ``rtsp_publish`` re-exports.
|
|
40
|
+
_alaw_encode = linear2alaw
|
|
41
|
+
_alaw_to_linear = alaw2linear
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
def _db2amp(db: float) -> float:
|
|
@@ -46,37 +46,18 @@ def _db2amp(db: float) -> float:
|
|
|
46
46
|
return 10.0 ** (db / 20.0)
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
def _alaw_to_linear(a: int) -> int:
|
|
50
|
-
a ^= 0x55
|
|
51
|
-
t = (a & 0x0F) << 4
|
|
52
|
-
seg = (a & 0x70) >> 4
|
|
53
|
-
if seg == 0:
|
|
54
|
-
t += 8
|
|
55
|
-
elif seg == 1:
|
|
56
|
-
t += 0x108
|
|
57
|
-
else:
|
|
58
|
-
t = (t + 0x108) << (seg - 1)
|
|
59
|
-
return t if (a & 0x80) else -t
|
|
60
|
-
|
|
61
|
-
|
|
62
49
|
def alaw_gain_table(gain_db: float) -> Optional[bytes]:
|
|
63
50
|
"""A 256-byte translate table applying ``gain_db`` to A-law, or None at 0 dB."""
|
|
64
51
|
if not gain_db:
|
|
65
52
|
return None
|
|
66
|
-
from ..g711 import linear2alaw
|
|
67
|
-
|
|
68
53
|
k = 10 ** (gain_db / 20.0)
|
|
69
54
|
out = bytearray(256)
|
|
70
55
|
for a in range(256):
|
|
71
|
-
v = round(
|
|
56
|
+
v = round(alaw2linear(a) * k)
|
|
72
57
|
out[a] = linear2alaw(max(-32768, min(32767, v)))
|
|
73
58
|
return bytes(out)
|
|
74
59
|
|
|
75
60
|
|
|
76
|
-
_ALAW_TO_LINEAR = tuple(_alaw_to_linear(b) for b in range(256))
|
|
77
|
-
_ALAW_SQUARES = tuple(float(v) * v for v in _ALAW_TO_LINEAR)
|
|
78
|
-
|
|
79
|
-
|
|
80
61
|
class AlawAgc:
|
|
81
62
|
"""The audio conditioning every served path applies to A-law payloads.
|
|
82
63
|
|