python-aidot-cameras 1.0.0rc56__tar.gz → 1.0.0rc57__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.0rc56/python_aidot_cameras.egg-info → python_aidot_cameras-1.0.0rc57}/PKG-INFO +1 -1
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/client.py +33 -14
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/sdes_open.py +5 -3
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/webrtc_open.py +45 -16
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/cloud_auth.py +1 -1
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/pyproject.toml +1 -1
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57/python_aidot_cameras.egg-info}/PKG-INFO +1 -1
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/python_aidot_cameras.egg-info/SOURCES.txt +2 -0
- python_aidot_cameras-1.0.0rc57/tests/test_dtls_open_abort_covers_every_exit.py +151 -0
- python_aidot_cameras-1.0.0rc57/tests/test_dtls_refusal_after_the_echo.py +95 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_connection_mode.py +48 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_token_file_robustness.py +41 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/LICENSE +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/MANIFEST.in +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/README.md +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/__main__.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_log_redaction.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_upstream.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/LICENSE +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/clock.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/codecs/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/codecs/base.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/codecs/g711.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/codecs/g722.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/codecs/h264.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/codecs/opus.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/codecs/vpx.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/contrib/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/contrib/media.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/contrib/signaling.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/events.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/exceptions.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/jitterbuffer.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/mediastreams.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rate.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rtcconfiguration.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rtcdatachannel.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rtcdtlstransport.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rtcicetransport.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rtcpeerconnection.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rtcrtpparameters.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rtcrtpreceiver.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rtcrtpsender.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rtcrtptransceiver.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rtcsctptransport.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rtcsessiondescription.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/rtp.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/sdp.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/stats.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/aiortc/utils.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/aac_track.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/agc.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/constants.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/controls.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/h264_sps.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/health.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/hls_ts.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/hwaccel.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/lan_control.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/models.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/protocol.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/recording.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/rtp_h264.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/rtsp_publish.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/sd_events.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/sd_listing.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/sd_playback.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/sdes.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/ts_fanout.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/ts_tee.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/webrtc.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/client.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/const.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/credentials.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/crypto.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/device_client.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/discover.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/exceptions.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/g711.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/lan_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/py.typed +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/python_aidot_cameras.egg-info/dependency_links.txt +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/python_aidot_cameras.egg-info/entry_points.txt +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/python_aidot_cameras.egg-info/requires.txt +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/python_aidot_cameras.egg-info/top_level.txt +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/setup.cfg +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_aac_track.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_abandoned_attempt_skips_the_doomed_serve.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_abandoned_wait_still_maps_audio.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_aioice_compat.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_alarm_event.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_answer_pt_kinds.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_answer_sdp_video_pt.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_answer_section_selection.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_arrival_timestamps.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_audio_mux_offline.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_auth_error_routing.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_auto_alarm.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_auto_light_settings.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_avio_ctrl_uses_the_session_dseq.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_avio_request.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_avio_response_parse.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_avio_response_router.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_battery_cap_spans_sessions.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_battery_detection.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_battery_evidence_corroboration.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_battery_stale_offer_is_abandoned_early.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_battery_wake_settles_before_the_command.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_ble_gateway_is_gone.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_bridge_state_sentinels.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_busy_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_camera_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_canary_log_names_the_camera.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_cloud_count.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_cloud_error_log_names_the_exception.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_cloud_error_severity.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_cloud_plan.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_constants_imports_resolve.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_control_verdicts.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_declared_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_deferred_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_detection_types.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_device_cmd_seq_match.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_device_login_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_device_user_info_cache.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_direct_publish_attaches_negotiated_audio.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_direct_ts_keyframe_signal.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_direct_ts_serve.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_direct_ts_serve_only_for_http.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dormant_camera_cleanup.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_drain_is_cancellable.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_mux_terminal_write.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_not_ready_burst.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_pinning.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_recorder_wiring.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_resolution_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_serve_decode_skip.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_serve_ice_wait.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_serve_open_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_skip_signaling_wait.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_slow_probe.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_stdout_producer.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_tap_states_no_reorder.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_ts_copy_recording.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_dtls_video_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_egress_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_env_seams.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_feature_probe_needs_a_live_session.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_ffmpeg_signal_exit_is_not_a_crash.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_first_media_abandon_rules.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_futile_keepalive.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_gate_requires_a_decoded_frame.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_go2rtc_cli.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_h264_decode_rate_limit.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_h264_sps.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_health_line.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_highport_nomination.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_hls_ts_end_to_end.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_hls_ts_wiring.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_hwaccel_probe.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_ice_config_cache.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_ice_credentials_match_the_app.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_ice_peer_reflexive.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_idle_release_both_loops.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_keepalive_renew.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_key_restart_sdp.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_keyframe_prompter.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_lan_control.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_lan_login_accessors.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_lan_retry_reaches_the_storming_devices.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_lan_retry_silences_upstream_over_ceiling.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_lan_retry_stops_on_close.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_lan_sweep_only_with_lights.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_late_repeats_are_dropped.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_light_active_color_mode.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_live_session_carries_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_live_stream_param.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_live_validate_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_live_validate_token_refresh.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_live_video_canary.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_liveplay_echo_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_local_only_controls.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_log_hygiene.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_logging_caps.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_login_connect_deadline.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_login_reconnect_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_media_counted_only_when_plaintext.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_media_path_is_reported.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_media_socket_rcvbuf.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_media_wait_floor.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_motion_poll.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_mqtt_client_id_is_exact.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_mqtt_credential_refetch.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_mqtt_credential_self_heal.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_mqtt_password_not_persisted.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_mqtt_session_reconnect.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_mqtt_thread_not_orphaned.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_nack.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_nack_cannot_add_load_in_a_burst.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_narrow_pc_ice.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_no_key_material_in_logs.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_no_private_notes_on_the_public_surface.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_no_self_referential_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_no_unbounded_hex_dumps.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_no_undefined_names.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_nominates_as_soon_as_the_answer_lands.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_off_subnet_candidate.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_offer_keeps_rtcp_feedback.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_offline_keepalive_pause.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_on_frame_is_an_av_frame.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_open_fail_logger.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_open_gate_delay.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_peer_id_class_env.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_peer_id_client_type.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_peerid_reuse.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_persistent_mqtt.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_persistent_mqtt_robustness.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_post_merge_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_ptz_probe_reads_what_it_is_told.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_public_signature_matches_impl.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_publish_target_readiness.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_quality_campaign_in_session.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_reboot_action.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_recent_recordings.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_remb.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_remb_goes_out_the_relay_aware_sender.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_removed_keepalive_arguments_are_tolerated.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_resent_frames_are_dropped.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_resolution_persists.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_restart_cycle.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_retry_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_review_lan_retry_and_graces.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_rtp_h264.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_rtsp_publish.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_rtsp_publish_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_scripts_importable.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sctp_init_ack_tsn.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sctp_reassembly.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sctp_sack.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sd_card_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sd_event_decode.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sd_event_probe_payloads.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sd_listing.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sd_playback.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_avio_dispatch.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_bridge_break_gate.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_echo_wait_is_not_dead_time.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_fast_liveplay.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_ffmpeg_stderr_log.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_first_media_stall_report.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_ice_teardown.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_idle_release.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_nack_bridge.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_offer_video_pin.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_open_cleanup.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_open_yields_the_loop.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_pinned_codec_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_sctp_abort.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_serve_audio.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_serve_cmd.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_serve_stderr_drain.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_session_cap.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_sprop.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_teardown_exit_log.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_terminal_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_terminal_ack_latency.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_watchdog.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdp_narrowing_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdp_payload_type_narrowing.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_security_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_self_peer_is_an_address_not_an_ip.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_serializable_login_info.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_serve_bound_survives_arrival_stamping.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_serve_input_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_serve_loop_releases_on_error.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_serve_loss_tolerance.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_serve_pt_respects_the_pin.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_serve_relay.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_serve_stderr_keeps_the_reason.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_session_stats.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_session_stop_twice.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_shared_house_seam.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_signalling_is_attributable_to_a_camera.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_skip_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_snapshot_cancellation.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_speak.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sprop_capture_gate.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sprop_staleness.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sprop_unstable_public.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sprop_write_is_reported_truthfully.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_srtp_rx_rekey.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_srtp_tx_key_note.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_stable_terminal_id.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_stall_nudge_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_stall_report_says_what_the_answer_carried.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_stall_report_says_whether_the_trigger_was_answered.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_stall_report_separates_silence_from_undecryptable.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_stall_report_survives_a_caller_giving_up.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_stall_reports_reach_the_artifact.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_status_and_trace_channels.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_stream_cap.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_stream_drain_ownership.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_stream_idle.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_stream_slot_cap.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_stream_teardown.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_talk_reports_a_speaker_that_never_opened.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_tap_to_mux_end_to_end.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_terminal_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_tmmbr.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_token_refresh.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_transport_failure_reporting.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_ts_fanout.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_ts_tee.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_turn_create_permission.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_unbuildable_summary_repeats_at_debug.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_unreachable_nominee_is_abandoned_early.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_upstream_compat.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_upstream_seam_adapter.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_upstream_secrets_redacted.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_validator_shares_one_token.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_vendored_aiortc_integrity.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_video_presence_needs_a_keyframe.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_video_profile_log.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_video_pts_dts.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_video_ts_unwrap.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_viewer_check_throttle.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_viewer_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_viewer_present_push_mode.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_wait_or_event.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_wake_gate_camera_evidence.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_wake_readiness_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_webrtc_answer_race.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-aidot-cameras
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.0rc57
|
|
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
|
{python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/client.py
RENAMED
|
@@ -7157,21 +7157,40 @@ class CameraMixin(
|
|
|
7157
7157
|
DTLS ones. They are not interchangeable - see docs/API-STABILITY.md for
|
|
7158
7158
|
the four methods both are promised to have.
|
|
7159
7159
|
"""
|
|
7160
|
+
# The DTLS open registers its abort here once it holds a peer
|
|
7161
|
+
# connection, so an open that ends by any exception - a cancellation
|
|
7162
|
+
# during the signalling or ICE wait included - releases the peer
|
|
7163
|
+
# connection, the track tasks and the recorder's file.
|
|
7164
|
+
abort_holder: list = []
|
|
7160
7165
|
async with _get_webrtc_open_gate():
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7166
|
+
try:
|
|
7167
|
+
return await self._async_open_webrtc_stream_impl(
|
|
7168
|
+
on_frame,
|
|
7169
|
+
stream_id=stream_id,
|
|
7170
|
+
timeout=timeout,
|
|
7171
|
+
output_path=output_path,
|
|
7172
|
+
max_seconds=max_seconds,
|
|
7173
|
+
status_callback=status_callback,
|
|
7174
|
+
force_sdes=force_sdes,
|
|
7175
|
+
rtsp_push_url=rtsp_push_url,
|
|
7176
|
+
talk_pcm_provider=talk_pcm_provider,
|
|
7177
|
+
talk=talk,
|
|
7178
|
+
reuse_peer_id=reuse_peer_id,
|
|
7179
|
+
_abort_holder=abort_holder,
|
|
7180
|
+
**kwargs,
|
|
7181
|
+
)
|
|
7182
|
+
except BaseException:
|
|
7183
|
+
if abort_holder:
|
|
7184
|
+
try:
|
|
7185
|
+
await abort_holder[-1]()
|
|
7186
|
+
except BaseException:
|
|
7187
|
+
_LOGGER.debug(
|
|
7188
|
+
"camera %s: swallowed exception in %s",
|
|
7189
|
+
getattr(self, "device_id", "?"),
|
|
7190
|
+
"async_open_webrtc_stream",
|
|
7191
|
+
exc_info=True,
|
|
7192
|
+
)
|
|
7193
|
+
raise
|
|
7175
7194
|
|
|
7176
7195
|
async def async_open_kvs_stream(self, *args: Any, **kwargs: Any):
|
|
7177
7196
|
"""Deprecated alias for :meth:`async_open_webrtc_stream`.
|
{python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/camera/sdes_open.py
RENAMED
|
@@ -3142,8 +3142,8 @@ class _SdesOpenMixin:
|
|
|
3142
3142
|
# AIDOT_FAST_CONNECT skips this blocking pre-allocation (LAN-direct mode):
|
|
3143
3143
|
# the offer goes out immediately with host/srflx candidates and the LAN
|
|
3144
3144
|
# path connects without waiting on a cloud TURN Allocate round-trip.
|
|
3145
|
-
# Connection mode "lan" does the same skip for SDES specifically,
|
|
3146
|
-
# Either way
|
|
3145
|
+
# Connection mode "lan" does the same skip for SDES specifically, and
|
|
3146
|
+
# the echo-path and post-offer allocates below honour it too. Either way
|
|
3147
3147
|
# the cost is instrumented below so the saving is measurable: grep
|
|
3148
3148
|
# ``signaling-wait[`` for sdes-turn-prealloc.
|
|
3149
3149
|
_skip_turn_prealloc = self._resolve_sdes_skip_turn()
|
|
@@ -3829,7 +3829,9 @@ class _SdesOpenMixin:
|
|
|
3829
3829
|
# Allocate TURN relay if not already done before offer build.
|
|
3830
3830
|
# When ice_config provided TURN entries, pre-allocation already ran
|
|
3831
3831
|
# and _relay_addrs is populated - skip to avoid double-allocation.
|
|
3832
|
-
|
|
3832
|
+
# Connection mode lan skips it here too: lan means no relay, and an
|
|
3833
|
+
# allocation here was trickled and put in the answer's c= anyway.
|
|
3834
|
+
if not _relay_addrs and not _skip_turn_prealloc:
|
|
3833
3835
|
try:
|
|
3834
3836
|
import re as _re_relay_e
|
|
3835
3837
|
import hashlib as _hlk_e
|
|
@@ -490,6 +490,7 @@ class _WebRTCOpenMixin:
|
|
|
490
490
|
talk: bool = False,
|
|
491
491
|
reuse_peer_id: Optional[str] = None,
|
|
492
492
|
_ice_wait_timeout_s: Optional[float] = None,
|
|
493
|
+
_abort_holder: "Optional[list]" = None,
|
|
493
494
|
) -> "WebRTCSession":
|
|
494
495
|
"""Open a liveType=2 WebRTC stream via MQTT signaling.
|
|
495
496
|
|
|
@@ -1837,6 +1838,7 @@ class _WebRTCOpenMixin:
|
|
|
1837
1838
|
# Carry the caller's ICE budget across the fallback, or it
|
|
1838
1839
|
# silently reverts to `timeout` on this path.
|
|
1839
1840
|
_ice_wait_timeout_s=_ice_wait_timeout_s,
|
|
1841
|
+
_abort_holder=_abort_holder,
|
|
1840
1842
|
)
|
|
1841
1843
|
|
|
1842
1844
|
# ------------------------------------------------------------------ #
|
|
@@ -2578,6 +2580,7 @@ class _WebRTCOpenMixin:
|
|
|
2578
2580
|
track_tasks.append(t)
|
|
2579
2581
|
|
|
2580
2582
|
recorder = self._attach_file_recorder(pc, output_path, on_frame)
|
|
2583
|
+
_aborted = [False]
|
|
2581
2584
|
|
|
2582
2585
|
async def _abort_open() -> None:
|
|
2583
2586
|
"""Undo everything this open holds when it cannot complete.
|
|
@@ -2585,8 +2588,14 @@ class _WebRTCOpenMixin:
|
|
|
2585
2588
|
One place instead of a copy at every failure exit: the MQTT
|
|
2586
2589
|
thread's stop sentinel, the track tasks, the recorder (whose file
|
|
2587
2590
|
was opened above and used to be left open), and the peer
|
|
2588
|
-
connection.
|
|
2591
|
+
connection. Runs once: the gated entry point also calls it when
|
|
2592
|
+
the open ends by any exception, a cancellation included, because
|
|
2593
|
+
nothing between here and the return guards the signalling and ICE
|
|
2594
|
+
waits.
|
|
2589
2595
|
"""
|
|
2596
|
+
if _aborted[0]:
|
|
2597
|
+
return
|
|
2598
|
+
_aborted[0] = True
|
|
2590
2599
|
outgoing_q.put_nowait(None) # stop MQTT thread
|
|
2591
2600
|
_cancel_track_tasks()
|
|
2592
2601
|
if recorder is not None:
|
|
@@ -2601,6 +2610,9 @@ class _WebRTCOpenMixin:
|
|
|
2601
2610
|
)
|
|
2602
2611
|
await pc.close()
|
|
2603
2612
|
|
|
2613
|
+
if _abort_holder is not None:
|
|
2614
|
+
_abort_holder.append(_abort_open)
|
|
2615
|
+
|
|
2604
2616
|
# ------------------------------------------------------------------ #
|
|
2605
2617
|
# Create SDP offer and publish webrtcReq
|
|
2606
2618
|
# ------------------------------------------------------------------ #
|
|
@@ -2877,18 +2889,25 @@ class _WebRTCOpenMixin:
|
|
|
2877
2889
|
await asyncio.sleep(1.5) # let camera re-subscribe to MQTT
|
|
2878
2890
|
outgoing_q.put_nowait((webrtc_req_topic, webrtc_req_payload))
|
|
2879
2891
|
_rr_done, _rr_pending = _init_done, _init_pending
|
|
2880
|
-
|
|
2892
|
+
|
|
2893
|
+
async def _raise_if_refused(pending: set) -> None:
|
|
2881
2894
|
# GAP D on the DTLS path: the camera said -50002/-50015. Before
|
|
2882
2895
|
# this the refusal was only read when nothing else had answered,
|
|
2883
2896
|
# so with the broker's echo in hand the open ran into a 30 s ICE
|
|
2884
2897
|
# wait and failed as a timeout, and the loop retried a camera
|
|
2885
|
-
# that had said no.
|
|
2898
|
+
# that had said no. Checked after the first wait and after each
|
|
2899
|
+
# echo-reversal wait, which keep the refusal in their wait set.
|
|
2900
|
+
if not terminal_error_fut.done():
|
|
2901
|
+
return
|
|
2886
2902
|
_code, _desc = terminal_error_fut.result()
|
|
2887
2903
|
_status(f"camera refused: ack {_code} {_desc} - terminal, not retrying")
|
|
2888
|
-
for _f in
|
|
2889
|
-
_f
|
|
2904
|
+
for _f in pending:
|
|
2905
|
+
if _f is not terminal_error_fut:
|
|
2906
|
+
_f.cancel()
|
|
2890
2907
|
await _abort_open()
|
|
2891
2908
|
raise AidotCameraBusy(_code, _desc)
|
|
2909
|
+
|
|
2910
|
+
await _raise_if_refused(_rr_pending)
|
|
2892
2911
|
_rr_pending.discard(terminal_error_fut)
|
|
2893
2912
|
_rr_done.discard(terminal_error_fut)
|
|
2894
2913
|
|
|
@@ -2913,7 +2932,10 @@ class _WebRTCOpenMixin:
|
|
|
2913
2932
|
asyncio.get_running_loop().time() + _rr_secondary_limit
|
|
2914
2933
|
)
|
|
2915
2934
|
_rr_done2: set = set()
|
|
2916
|
-
|
|
2935
|
+
# {answer_fut, camera_offer_fut}, plus the refusal: the broker's
|
|
2936
|
+
# echo usually lands first, and a camera that refuses after it
|
|
2937
|
+
# must end the open here rather than at role reversal or ICE.
|
|
2938
|
+
_rr_pending2 = _rr_pending | {terminal_error_fut}
|
|
2917
2939
|
_rr_reconnect_resends = 0
|
|
2918
2940
|
while asyncio.get_running_loop().time() < _rr_secondary_deadline:
|
|
2919
2941
|
_remaining = _rr_secondary_deadline - asyncio.get_running_loop().time()
|
|
@@ -2935,6 +2957,7 @@ class _WebRTCOpenMixin:
|
|
|
2935
2957
|
)
|
|
2936
2958
|
await asyncio.sleep(1.5) # let camera re-subscribe
|
|
2937
2959
|
outgoing_q.put_nowait((webrtc_req_topic, webrtc_req_payload))
|
|
2960
|
+
await _raise_if_refused(_rr_pending2)
|
|
2938
2961
|
if _rr_done2:
|
|
2939
2962
|
# Real response arrived - proceed normally
|
|
2940
2963
|
_rr_done, _rr_pending = _rr_done2, _rr_pending2
|
|
@@ -2972,6 +2995,7 @@ class _WebRTCOpenMixin:
|
|
|
2972
2995
|
)
|
|
2973
2996
|
await asyncio.sleep(1.5)
|
|
2974
2997
|
outgoing_q.put_nowait((webrtc_req_topic, webrtc_req_payload))
|
|
2998
|
+
await _raise_if_refused(_rr_pending2)
|
|
2975
2999
|
|
|
2976
3000
|
if _rr_done3:
|
|
2977
3001
|
# Camera finally answered - proceed via normal path
|
|
@@ -2986,6 +3010,8 @@ class _WebRTCOpenMixin:
|
|
|
2986
3010
|
camera_offer_fut.set_result(webrtc_req_echo_fut.result())
|
|
2987
3011
|
_rr_done = {camera_offer_fut}
|
|
2988
3012
|
_rr_pending = _rr_pending2
|
|
3013
|
+
# The refusal future is read again below; never cancel it.
|
|
3014
|
+
_rr_pending.discard(terminal_error_fut)
|
|
2989
3015
|
|
|
2990
3016
|
for _f in _rr_pending:
|
|
2991
3017
|
_f.cancel()
|
|
@@ -2993,11 +3019,7 @@ class _WebRTCOpenMixin:
|
|
|
2993
3019
|
if not _rr_done:
|
|
2994
3020
|
# GAP D: distinguish a TERMINAL refusal (camera said -50002/-50015) from a
|
|
2995
3021
|
# generic no-answer. A terminal refusal must NOT be retried.
|
|
2996
|
-
|
|
2997
|
-
_code, _desc = terminal_error_fut.result()
|
|
2998
|
-
_status(f"camera refused: ack {_code} {_desc} - terminal, not retrying")
|
|
2999
|
-
await _abort_open()
|
|
3000
|
-
raise AidotCameraBusy(_code, _desc)
|
|
3022
|
+
await _raise_if_refused(set())
|
|
3001
3023
|
_status(f"no webrtcResp in {timeout}s")
|
|
3002
3024
|
await _abort_open()
|
|
3003
3025
|
raise RuntimeError(
|
|
@@ -3925,13 +3947,18 @@ class _WebRTCOpenMixin:
|
|
|
3925
3947
|
# Camera answered cleanly but declined media (DC-only): its
|
|
3926
3948
|
# encoder is still cold. Tear down and raise so the serve loop
|
|
3927
3949
|
# fast-retries in a bounded burst instead of letting DTLS
|
|
3928
|
-
# co-fail into the full 15s-gated generic retry.
|
|
3929
|
-
|
|
3950
|
+
# co-fail into the full 15s-gated generic retry. The abort
|
|
3951
|
+
# also stops the recorder, whose file this exit used to leave
|
|
3952
|
+
# open.
|
|
3930
3953
|
try:
|
|
3931
|
-
|
|
3932
|
-
await pc.close()
|
|
3954
|
+
await _abort_open()
|
|
3933
3955
|
except Exception:
|
|
3934
|
-
|
|
3956
|
+
_LOGGER.debug(
|
|
3957
|
+
"camera %s: swallowed exception in %s",
|
|
3958
|
+
getattr(self, "device_id", "?"),
|
|
3959
|
+
"_async_open_webrtc_stream_impl",
|
|
3960
|
+
exc_info=True,
|
|
3961
|
+
)
|
|
3935
3962
|
raise AidotCameraNotReady(self.device_id)
|
|
3936
3963
|
|
|
3937
3964
|
try:
|
|
@@ -4345,6 +4372,8 @@ class _WebRTCOpenMixin:
|
|
|
4345
4372
|
# reaps outgoing_q + mqtt_fut); clear the backstop slot so a concurrent
|
|
4346
4373
|
# open on this camera cannot reap this live session's drain.
|
|
4347
4374
|
self._release_stream_drain_to_session()
|
|
4375
|
+
if _abort_holder is not None:
|
|
4376
|
+
_abort_holder.clear() # the session owns teardown from here
|
|
4348
4377
|
return WebRTCSession(
|
|
4349
4378
|
pc=pc,
|
|
4350
4379
|
outgoing_q=outgoing_q,
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-aidot-cameras"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.0rc57"
|
|
8
8
|
description = "Control AiDot/Leedarson WiFi lights and cameras (WebRTC streaming, two-way audio, PTZ, controls)"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-aidot-cameras
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.0rc57
|
|
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
|
|
@@ -131,8 +131,10 @@ tests/test_dormant_camera_cleanup.py
|
|
|
131
131
|
tests/test_drain_is_cancellable.py
|
|
132
132
|
tests/test_dtls_mux_terminal_write.py
|
|
133
133
|
tests/test_dtls_not_ready_burst.py
|
|
134
|
+
tests/test_dtls_open_abort_covers_every_exit.py
|
|
134
135
|
tests/test_dtls_pinning.py
|
|
135
136
|
tests/test_dtls_recorder_wiring.py
|
|
137
|
+
tests/test_dtls_refusal_after_the_echo.py
|
|
136
138
|
tests/test_dtls_resolution_ack.py
|
|
137
139
|
tests/test_dtls_serve_decode_skip.py
|
|
138
140
|
tests/test_dtls_serve_ice_wait.py
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
"""Every way out of a failed DTLS open releases what the open holds.
|
|
2
|
+
|
|
3
|
+
rc53 gave the DTLS open one abort path (``_abort_open``: the MQTT sentinel,
|
|
4
|
+
the track tasks, the recorder, the peer connection), but the 2026-10-15
|
|
5
|
+
review's item 1b.7 was only half closed by it:
|
|
6
|
+
|
|
7
|
+
* the "camera declined media" exit still did its own inline teardown and never
|
|
8
|
+
stopped the recorder, so the file opened in ``TsCopyRecorder.__init__``
|
|
9
|
+
stayed open on every DC-only answer;
|
|
10
|
+
* nothing guarded the signalling and ICE waits between the offer and the
|
|
11
|
+
return, so an open cancelled there (a Home Assistant stop or reload) left
|
|
12
|
+
the peer connection, the track tasks and the recorder's file behind.
|
|
13
|
+
|
|
14
|
+
The open now registers ``_abort_open`` with the gated entry point, which calls
|
|
15
|
+
it when the open ends by any exception, and ``_abort_open`` runs only once so
|
|
16
|
+
the exits that already call it are unaffected.
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
import ast
|
|
20
|
+
import asyncio
|
|
21
|
+
import pathlib
|
|
22
|
+
|
|
23
|
+
import pytest
|
|
24
|
+
|
|
25
|
+
_SRC = pathlib.Path(__file__).resolve().parents[1] / "aidot_cameras" / "camera"
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def _mixin():
|
|
29
|
+
import aidot_cameras.camera.client as cc
|
|
30
|
+
|
|
31
|
+
cls = next(
|
|
32
|
+
v
|
|
33
|
+
for v in vars(cc).values()
|
|
34
|
+
if isinstance(v, type) and "async_open_webrtc_stream" in v.__dict__
|
|
35
|
+
)
|
|
36
|
+
return cls.__new__(cls)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def _run_wrapper(cam, impl):
|
|
40
|
+
cam._async_open_webrtc_stream_impl = impl
|
|
41
|
+
cam.device_id = "dev-test"
|
|
42
|
+
return asyncio.run(cam.async_open_webrtc_stream())
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
@pytest.mark.parametrize(
|
|
46
|
+
"exc", [asyncio.CancelledError(), RuntimeError("ICE"), TimeoutError()]
|
|
47
|
+
)
|
|
48
|
+
def test_an_open_that_ends_by_any_exception_is_aborted(exc):
|
|
49
|
+
aborted = []
|
|
50
|
+
|
|
51
|
+
async def _impl(*args, _abort_holder=None, **kwargs):
|
|
52
|
+
async def _abort():
|
|
53
|
+
aborted.append(True)
|
|
54
|
+
|
|
55
|
+
_abort_holder.append(_abort)
|
|
56
|
+
raise exc
|
|
57
|
+
|
|
58
|
+
with pytest.raises(type(exc)):
|
|
59
|
+
_run_wrapper(_mixin(), _impl)
|
|
60
|
+
assert aborted == [True]
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
def test_a_successful_open_is_not_aborted():
|
|
64
|
+
aborted = []
|
|
65
|
+
session = object()
|
|
66
|
+
|
|
67
|
+
async def _impl(*args, _abort_holder=None, **kwargs):
|
|
68
|
+
async def _abort():
|
|
69
|
+
aborted.append(True)
|
|
70
|
+
|
|
71
|
+
_abort_holder.append(_abort)
|
|
72
|
+
_abort_holder.clear() # what the open does as it hands off the session
|
|
73
|
+
return session
|
|
74
|
+
|
|
75
|
+
assert _run_wrapper(_mixin(), _impl) is session
|
|
76
|
+
assert aborted == []
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def test_an_open_that_fails_before_holding_anything_is_left_alone():
|
|
80
|
+
# The SDES branch returns or raises before the DTLS peer connection
|
|
81
|
+
# exists; there is nothing to abort and the error must pass through as is.
|
|
82
|
+
async def _impl(*args, _abort_holder=None, **kwargs):
|
|
83
|
+
raise ValueError("no answer")
|
|
84
|
+
|
|
85
|
+
with pytest.raises(ValueError):
|
|
86
|
+
_run_wrapper(_mixin(), _impl)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def test_a_failing_abort_does_not_replace_the_open_error():
|
|
90
|
+
async def _impl(*args, _abort_holder=None, **kwargs):
|
|
91
|
+
async def _abort():
|
|
92
|
+
raise OSError("close failed")
|
|
93
|
+
|
|
94
|
+
_abort_holder.append(_abort)
|
|
95
|
+
raise RuntimeError("the real failure")
|
|
96
|
+
|
|
97
|
+
with pytest.raises(RuntimeError, match="the real failure"):
|
|
98
|
+
_run_wrapper(_mixin(), _impl)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
def _impl_function():
|
|
102
|
+
tree = ast.parse((_SRC / "webrtc_open.py").read_text())
|
|
103
|
+
return next(
|
|
104
|
+
n
|
|
105
|
+
for n in ast.walk(tree)
|
|
106
|
+
if isinstance(n, ast.AsyncFunctionDef)
|
|
107
|
+
and n.name == "_async_open_webrtc_stream_impl"
|
|
108
|
+
)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
def test_the_open_registers_its_abort_and_clears_it_on_hand_off():
|
|
112
|
+
fn = _impl_function()
|
|
113
|
+
src = ast.unparse(fn)
|
|
114
|
+
assert "_abort_holder.append(_abort_open)" in src
|
|
115
|
+
assert "_abort_holder.clear()" in src
|
|
116
|
+
abort = next(
|
|
117
|
+
n
|
|
118
|
+
for n in ast.walk(fn)
|
|
119
|
+
if isinstance(n, ast.AsyncFunctionDef) and n.name == "_abort_open"
|
|
120
|
+
)
|
|
121
|
+
# Idempotent: the first statement after the docstring returns if it ran.
|
|
122
|
+
first = abort.body[1]
|
|
123
|
+
assert isinstance(first, ast.If) and "_aborted" in ast.unparse(first.test)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
def test_the_media_declined_exit_goes_through_the_abort():
|
|
127
|
+
fn = _impl_function()
|
|
128
|
+
branch = next(
|
|
129
|
+
n
|
|
130
|
+
for n in ast.walk(fn)
|
|
131
|
+
if isinstance(n, ast.If) and ast.unparse(n.test) == "_media_declined[0]"
|
|
132
|
+
)
|
|
133
|
+
body = "\n".join(ast.unparse(s) for s in branch.body)
|
|
134
|
+
assert "await _abort_open()" in body, (
|
|
135
|
+
"the DC-only exit must stop the recorder like every other exit"
|
|
136
|
+
)
|
|
137
|
+
assert "pc.close()" not in body, "no second hand-rolled teardown"
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
def test_the_sdes_to_dtls_fallback_carries_the_holder():
|
|
141
|
+
fn = _impl_function()
|
|
142
|
+
calls = [
|
|
143
|
+
n
|
|
144
|
+
for n in ast.walk(fn)
|
|
145
|
+
if isinstance(n, ast.Call)
|
|
146
|
+
and isinstance(n.func, ast.Attribute)
|
|
147
|
+
and n.func.attr == "_async_open_webrtc_stream_impl"
|
|
148
|
+
]
|
|
149
|
+
assert calls, "expected the SDES->DTLS fallback to re-enter the impl"
|
|
150
|
+
for call in calls:
|
|
151
|
+
assert any(k.arg == "_abort_holder" for k in call.keywords)
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"""A camera that refuses after the broker's echo ends the DTLS open there.
|
|
2
|
+
|
|
3
|
+
The 2026-10-15 review's item 1b.6. rc53 put ``terminal_error_fut`` (the
|
|
4
|
+
camera's -50002 / -50015 refusal) in the first signalling wait, but the
|
|
5
|
+
broker's echo of our own webrtcReq usually lands first. The two echo-reversal
|
|
6
|
+
waits that follow polled only ``{answer_fut, camera_offer_fut}``, so a refusal
|
|
7
|
+
that arrived during them was not seen: the open waited out 20 s, re-sent, waited
|
|
8
|
+
another 20 s, then fell to role reversal - which reads no refusal at all - and
|
|
9
|
+
failed later as an ICE timeout that the serve loop retries.
|
|
10
|
+
|
|
11
|
+
Source guards, because the waits live inside the one long open coroutine.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
import ast
|
|
15
|
+
import pathlib
|
|
16
|
+
|
|
17
|
+
_SRC = (
|
|
18
|
+
pathlib.Path(__file__).resolve().parents[1]
|
|
19
|
+
/ "aidot_cameras"
|
|
20
|
+
/ "camera"
|
|
21
|
+
/ "webrtc_open.py"
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def _impl():
|
|
26
|
+
tree = ast.parse(_SRC.read_text())
|
|
27
|
+
return next(
|
|
28
|
+
n
|
|
29
|
+
for n in ast.walk(tree)
|
|
30
|
+
if isinstance(n, ast.AsyncFunctionDef)
|
|
31
|
+
and n.name == "_async_open_webrtc_stream_impl"
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def _echo_branch(fn):
|
|
36
|
+
return next(
|
|
37
|
+
n
|
|
38
|
+
for n in ast.walk(fn)
|
|
39
|
+
if isinstance(n, ast.If)
|
|
40
|
+
and "webrtc_req_echo_fut in _rr_done" in ast.unparse(n.test)
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def test_the_echo_reversal_waits_keep_the_refusal_in_their_wait_set():
|
|
45
|
+
branch = _echo_branch(_impl())
|
|
46
|
+
seeds = [
|
|
47
|
+
n
|
|
48
|
+
for n in ast.walk(branch)
|
|
49
|
+
if isinstance(n, (ast.Assign, ast.AnnAssign))
|
|
50
|
+
and "_rr_pending2" in ast.unparse(n).split("=")[0]
|
|
51
|
+
and "asyncio.wait" not in ast.unparse(n)
|
|
52
|
+
]
|
|
53
|
+
assert seeds, "expected the echo branch to seed _rr_pending2"
|
|
54
|
+
assert "terminal_error_fut" in ast.unparse(seeds[0].value)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def test_each_echo_reversal_wait_is_followed_by_the_refusal_check():
|
|
58
|
+
branch = _echo_branch(_impl())
|
|
59
|
+
loops = [
|
|
60
|
+
n
|
|
61
|
+
for n in ast.walk(branch)
|
|
62
|
+
if isinstance(n, ast.While) and "asyncio.wait" in ast.unparse(n)
|
|
63
|
+
]
|
|
64
|
+
assert len(loops) == 2, "expected the 20 s wait and the extended wait"
|
|
65
|
+
parents = {}
|
|
66
|
+
for node in ast.walk(branch):
|
|
67
|
+
for field in ("body", "orelse"):
|
|
68
|
+
stmts = getattr(node, field, None)
|
|
69
|
+
if isinstance(stmts, list):
|
|
70
|
+
for i, st in enumerate(stmts):
|
|
71
|
+
parents[st] = (stmts, i)
|
|
72
|
+
for loop in loops:
|
|
73
|
+
stmts, i = parents[loop]
|
|
74
|
+
after = ast.unparse(stmts[i + 1])
|
|
75
|
+
assert after.startswith("await _raise_if_refused("), (
|
|
76
|
+
f"the wait loop at line {loop.lineno} must be followed by the refusal check"
|
|
77
|
+
)
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def test_the_refusal_future_is_never_cancelled_before_it_is_read_again():
|
|
81
|
+
# The final `if not _rr_done` check calls terminal_error_fut.result(); a
|
|
82
|
+
# cancelled future would raise CancelledError there instead of refusing.
|
|
83
|
+
branch = _echo_branch(_impl())
|
|
84
|
+
tail = ast.unparse(branch.body[-1])
|
|
85
|
+
assert tail == "_rr_pending.discard(terminal_error_fut)"
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
def test_the_no_answer_exit_uses_the_same_refusal_check():
|
|
89
|
+
fn = _impl()
|
|
90
|
+
branch = next(
|
|
91
|
+
n
|
|
92
|
+
for n in ast.walk(fn)
|
|
93
|
+
if isinstance(n, ast.If) and ast.unparse(n.test) == "not _rr_done"
|
|
94
|
+
)
|
|
95
|
+
assert ast.unparse(branch.body[0]) == "await _raise_if_refused(set())"
|
{python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/tests/test_sdes_connection_mode.py
RENAMED
|
@@ -257,3 +257,51 @@ def test_the_offer_uses_the_endpoint_helper_and_prearms_the_permission():
|
|
|
257
257
|
"relay-in-c= must install the permission for our public address, or "
|
|
258
258
|
"the relayed path is a black hole"
|
|
259
259
|
)
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
def test_lan_mode_gates_every_turn_allocate_in_the_open():
|
|
263
|
+
"""Source guard (2026-10-15 review, 1b.12): lan must mean no relay.
|
|
264
|
+
|
|
265
|
+
rc53 gated the pre-offer and post-offer allocates on the lan skip but not
|
|
266
|
+
the one in the webrtcReq-echo branch, so an echoing camera (the A001064)
|
|
267
|
+
in lan mode still allocated a relay after the offer, trickled it, and put
|
|
268
|
+
it in the answer's c= line. Every call that runs ``_turn_allocate_udp``
|
|
269
|
+
must sit under an ``if`` whose test reads ``_skip_turn_prealloc``.
|
|
270
|
+
"""
|
|
271
|
+
import ast
|
|
272
|
+
import pathlib
|
|
273
|
+
|
|
274
|
+
src = (
|
|
275
|
+
pathlib.Path(__file__).resolve().parents[1]
|
|
276
|
+
/ "aidot_cameras"
|
|
277
|
+
/ "camera"
|
|
278
|
+
/ "sdes_open.py"
|
|
279
|
+
).read_text()
|
|
280
|
+
tree = ast.parse(src)
|
|
281
|
+
parents = {}
|
|
282
|
+
for node in ast.walk(tree):
|
|
283
|
+
for child in ast.iter_child_nodes(node):
|
|
284
|
+
parents[child] = node
|
|
285
|
+
|
|
286
|
+
sites = [
|
|
287
|
+
node
|
|
288
|
+
for node in ast.walk(tree)
|
|
289
|
+
if isinstance(node, ast.Call)
|
|
290
|
+
and any(
|
|
291
|
+
isinstance(a, ast.Name) and a.id == "_turn_allocate_udp" for a in node.args
|
|
292
|
+
)
|
|
293
|
+
]
|
|
294
|
+
assert len(sites) >= 3, "expected the three allocate sites in the SDES open"
|
|
295
|
+
for call in sites:
|
|
296
|
+
node, gated = call, False
|
|
297
|
+
while node in parents:
|
|
298
|
+
node = parents[node]
|
|
299
|
+
if isinstance(node, ast.If) and "_skip_turn_prealloc" in ast.unparse(
|
|
300
|
+
node.test
|
|
301
|
+
):
|
|
302
|
+
gated = True
|
|
303
|
+
break
|
|
304
|
+
assert gated, (
|
|
305
|
+
f"_turn_allocate_udp at line {call.lineno} runs in lan mode: gate "
|
|
306
|
+
"it on _skip_turn_prealloc"
|
|
307
|
+
)
|
|
@@ -42,3 +42,44 @@ def test_read_token_file_raises_valueerror_on_corrupt(tmp_path):
|
|
|
42
42
|
# _make_client catches to fall back to password login rather than crash.
|
|
43
43
|
with pytest.raises(ValueError):
|
|
44
44
|
_read_token_file(str(p))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def test_make_client_falls_back_on_a_token_file_that_is_not_an_object(
|
|
48
|
+
tmp_path, monkeypatch
|
|
49
|
+
):
|
|
50
|
+
# Valid JSON that is not a dict (the 2026-10-15 review, 1b.15). The warning
|
|
51
|
+
# branch used to fall through to `return client` with `client` unbound, so
|
|
52
|
+
# the AttributeError the check was added for became an UnboundLocalError.
|
|
53
|
+
# It must take the username/password path instead, like an unreadable file.
|
|
54
|
+
import asyncio
|
|
55
|
+
|
|
56
|
+
from aidot_cameras import cloud_auth
|
|
57
|
+
|
|
58
|
+
p = tmp_path / "token.json"
|
|
59
|
+
p.write_text("[1, 2, 3]", encoding="utf-8")
|
|
60
|
+
monkeypatch.setenv("AIDOT_TOKEN_FILE", str(p))
|
|
61
|
+
monkeypatch.setenv("AIDOT_USERNAME", "user@example.com")
|
|
62
|
+
monkeypatch.setenv("AIDOT_PASSWORD", "pw")
|
|
63
|
+
|
|
64
|
+
made = []
|
|
65
|
+
|
|
66
|
+
class _FakeClient:
|
|
67
|
+
def __init__(self, **kwargs):
|
|
68
|
+
made.append(kwargs)
|
|
69
|
+
|
|
70
|
+
async def async_post_login(self):
|
|
71
|
+
return None
|
|
72
|
+
|
|
73
|
+
def serializable_login_info(self):
|
|
74
|
+
return {"accessToken": "fresh"}
|
|
75
|
+
|
|
76
|
+
monkeypatch.setattr(cloud_auth, "AidotClient", _FakeClient)
|
|
77
|
+
monkeypatch.setattr(cloud_auth, "_install_token_cache", lambda c, f: None)
|
|
78
|
+
|
|
79
|
+
client = asyncio.run(cloud_auth._make_client(session=None))
|
|
80
|
+
|
|
81
|
+
assert isinstance(client, _FakeClient)
|
|
82
|
+
assert made and made[0].get("username") == "user@example.com"
|
|
83
|
+
assert "token" not in made[0]
|
|
84
|
+
# The fallback seeds the cache with the fresh login, replacing the bad file.
|
|
85
|
+
assert _read_token_file(str(p)) == {"accessToken": "fresh"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_log_redaction.py
RENAMED
|
File without changes
|
{python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_upstream.py
RENAMED
|
File without changes
|
{python_aidot_cameras-1.0.0rc56 → python_aidot_cameras-1.0.0rc57}/aidot_cameras/_vendor/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|