python-aidot-cameras 1.0.0rc68__tar.gz → 1.0.0rc70__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.0rc68/python_aidot_cameras.egg-info → python_aidot_cameras-1.0.0rc70}/PKG-INFO +1 -1
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/sd_listing.py +142 -21
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/sdes_open.py +220 -137
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/pyproject.toml +1 -1
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70/python_aidot_cameras.egg-info}/PKG-INFO +1 -1
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/python_aidot_cameras.egg-info/SOURCES.txt +1 -0
- python_aidot_cameras-1.0.0rc70/tests/test_sctp_in_order.py +215 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sctp_sack.py +19 -12
- python_aidot_cameras-1.0.0rc70/tests/test_sd_listing.py +621 -0
- python_aidot_cameras-1.0.0rc68/tests/test_sd_listing.py +0 -366
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/LICENSE +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/MANIFEST.in +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/README.md +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/__main__.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_log_redaction.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_upstream.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/LICENSE +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/clock.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/base.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/g711.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/g722.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/h264.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/opus.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/vpx.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/contrib/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/contrib/media.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/contrib/signaling.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/events.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/exceptions.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/jitterbuffer.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/mediastreams.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rate.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcconfiguration.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcdatachannel.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcdtlstransport.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcicetransport.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcpeerconnection.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcrtpparameters.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcrtpreceiver.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcrtpsender.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcrtptransceiver.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcsctptransport.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcsessiondescription.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtp.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/sdp.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/stats.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/utils.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/aac_track.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/agc.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/client.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/constants.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/controls.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/h264_sps.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/health.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/hls_ts.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/hwaccel.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/lan_control.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/models.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/protocol.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/recording.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/rtp_h264.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/rtsp_publish.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/sd_events.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/sd_playback.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/sdes.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/ts_fanout.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/ts_tee.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/webrtc.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/webrtc_open.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/client.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/cloud_auth.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/const.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/credentials.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/crypto.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/device_client.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/discover.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/exceptions.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/g711.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/lan_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/py.typed +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/settings.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/python_aidot_cameras.egg-info/dependency_links.txt +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/python_aidot_cameras.egg-info/entry_points.txt +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/python_aidot_cameras.egg-info/requires.txt +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/python_aidot_cameras.egg-info/top_level.txt +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/setup.cfg +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_aac_track.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_abandoned_attempt_skips_the_doomed_serve.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_abandoned_wait_still_maps_audio.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_aioice_compat.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_alarm_event.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_answer_pt_kinds.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_answer_sdp_video_pt.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_answer_section_selection.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_arrival_timestamps.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_audio_mux_offline.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_auth_error_routing.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_auto_alarm.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_auto_light_settings.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_avio_ctrl_uses_the_session_dseq.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_avio_header_single_layout.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_avio_request.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_avio_response_parse.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_avio_response_router.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_battery_cap_spans_sessions.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_battery_detection.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_battery_evidence_corroboration.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_battery_stale_offer_is_abandoned_early.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_battery_wake_settles_before_the_command.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_ble_gateway_is_gone.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_bridge_state_sentinels.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_busy_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_camera_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_canary_log_names_the_camera.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_close_mid_ice_leaves_nothing_pending.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_cloud_count.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_cloud_error_log_names_the_exception.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_cloud_error_severity.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_cloud_plan.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_constants_imports_resolve.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_control_verdicts.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_declared_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_deferred_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_detection_types.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_device_cmd_seq_match.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_device_login_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_device_user_info_cache.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_direct_publish_attaches_negotiated_audio.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_direct_ts_keyframe_signal.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_direct_ts_serve.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_direct_ts_serve_only_for_http.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dormant_camera_cleanup.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_drain_is_cancellable.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_mux_terminal_write.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_not_ready_burst.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_open_abort_covers_every_exit.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_pinning.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_recorder_wiring.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_refusal_after_the_echo.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_resolution_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_serve_decode_skip.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_serve_ice_wait.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_serve_open_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_skip_signaling_wait.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_slow_probe.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_stdout_producer.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_tap_states_no_reorder.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_ts_copy_recording.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_video_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_egress_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_env_seams.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_every_exception_is_exported.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_feature_probe_needs_a_live_session.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_ffmpeg_rx_sdp_single_template.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_ffmpeg_signal_exit_is_not_a_crash.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_first_media_abandon_rules.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_futile_keepalive.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_gate_requires_a_decoded_frame.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_go2rtc_cli.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_h264_decode_rate_limit.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_h264_sps.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_health_line.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_health_line_counts_pictures.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_highport_nomination.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_hls_ts_end_to_end.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_hls_ts_wiring.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_hwaccel_probe.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_ice_config_cache.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_ice_credentials_match_the_app.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_ice_peer_reflexive.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_idle_release_both_loops.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_ipc_envelope_single_builder.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_keepalive_renew.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_key_restart_sdp.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_keyframe_prompter.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_control.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_login_accessors.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_retry_reaches_the_storming_devices.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_retry_short_sessions.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_retry_silences_upstream_over_ceiling.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_retry_stops_on_close.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_sweep_only_with_lights.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_late_repeats_are_dropped.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_light_active_color_mode.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_live_session_carries_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_live_stream_param.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_live_validate_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_live_validate_token_refresh.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_live_video_canary.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_liveplay_echo_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_local_only_controls.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_log_hygiene.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_logging_caps.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_login_connect_deadline.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_login_reconnect_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_loop_break_ends_the_loop.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_media_counted_only_when_plaintext.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_media_path_is_reported.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_media_socket_rcvbuf.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_media_wait_floor.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_motion_poll.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_mqtt_client_id_is_exact.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_mqtt_credential_refetch.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_mqtt_credential_self_heal.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_mqtt_password_not_persisted.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_mqtt_session_reconnect.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_mqtt_thread_not_orphaned.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_mypy_new_findings.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_nack.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_nack_cannot_add_load_in_a_burst.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_narrow_pc_ice.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_no_key_material_in_logs.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_no_private_notes_on_the_public_surface.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_no_self_referential_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_no_unbounded_hex_dumps.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_no_undefined_names.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_nominates_as_soon_as_the_answer_lands.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_off_subnet_candidate.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_offer_keeps_rtcp_feedback.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_offline_keepalive_pause.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_on_frame_is_an_av_frame.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_open_errors_are_aidot_errors.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_open_fail_logger.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_open_gate_delay.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_peer_id_client_type.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_peerid_reuse.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_persistent_mqtt.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_persistent_mqtt_robustness.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_phase_returns_reach_the_caller.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_phase_state_is_complete.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_plaintext_mqtt_refused.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_post_merge_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_ptz_probe_reads_what_it_is_told.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_public_signature_matches_impl.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_publish_target_readiness.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_quality_campaign_in_session.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_reboot_action.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_recent_recordings.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_region_allowlist.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_remb.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_remb_goes_out_the_relay_aware_sender.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_removed_keepalive_arguments_are_tolerated.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_resent_frames_are_dropped.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_resolution_persists.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_restart_cycle.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_retry_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_review_lan_retry_and_graces.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_rtp_h264.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_rtsp_publish.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_rtsp_publish_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_scripts_importable.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sctp_init_ack_tsn.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sctp_reassembly.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_card_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_event_decode.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_event_probe_payloads.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback_clock.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback_controls.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback_dtls.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback_entry.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback_media_hold.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback_open.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_avio_dispatch.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_bridge_break_gate.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_connection_mode.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_echo_wait_is_not_dead_time.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_fast_liveplay.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_ffmpeg_stderr_log.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_first_media_stall_report.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_ice_teardown.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_idle_release.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_nack_bridge.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_offer_video_pin.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_open_cleanup.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_open_yields_the_loop.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_pinned_codec_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_sctp_abort.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_serve_audio.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_serve_cmd.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_serve_stderr_drain.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_sprop.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_teardown_exit_log.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_terminal_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_terminal_ack_latency.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_watchdog.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdp_narrowing_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sdp_payload_type_narrowing.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_security_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_self_peer_is_an_address_not_an_ip.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_serializable_login_info.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_bound_survives_arrival_stamping.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_input_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_loop_releases_on_error.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_loss_tolerance.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_pt_respects_the_pin.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_relay.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_stderr_keeps_the_reason.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_session_mode_seq.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_session_stats.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_session_stop_twice.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_settings_registry.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_shared_house_seam.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_signalling_is_attributable_to_a_camera.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_skip_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_snapshot_cancellation.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_speak.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sprop_capture_gate.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sprop_staleness.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sprop_unstable_public.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_sprop_write_is_reported_truthfully.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_srtp_rx_rekey.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_srtp_tx_key_note.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stable_terminal_id.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stall_nudge_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stall_report_says_what_the_answer_carried.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stall_report_says_whether_the_trigger_was_answered.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stall_report_separates_silence_from_undecryptable.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stall_report_survives_a_caller_giving_up.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stall_reports_reach_the_artifact.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_status_and_trace_channels.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stream_cap.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stream_drain_ownership.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stream_idle.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stream_slot_cap.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stream_teardown.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_stun_attr_single_builder.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_swallowed_exception_names.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_talk_reports_a_speaker_that_never_opened.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_tap_to_mux_end_to_end.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_terminal_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_tmmbr.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_token_file_robustness.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_token_refresh.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_transport_failure_reporting.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_ts_fanout.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_ts_tee.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_turn_create_permission.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_turn_target_shared.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_unbuildable_summary_repeats_at_debug.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_unreachable_nominee_is_abandoned_early.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_upstream_compat.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_upstream_seam_adapter.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_upstream_secrets_redacted.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_validator_shares_one_token.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_vendored_aiortc_integrity.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_video_presence_needs_a_keyframe.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_video_profile_log.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_video_pts_dts.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_video_ts_unwrap.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_viewer_check_throttle.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_viewer_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_viewer_present_push_mode.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_wait_or_event.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_wake_gate_camera_evidence.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/tests/test_wake_readiness_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/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.0rc70
|
|
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.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/sd_listing.py
RENAMED
|
@@ -14,6 +14,7 @@ list rather than as a traceback.
|
|
|
14
14
|
|
|
15
15
|
import logging
|
|
16
16
|
import time
|
|
17
|
+
from datetime import datetime, UTC
|
|
17
18
|
from typing import Any, List, Optional
|
|
18
19
|
|
|
19
20
|
from .sd_events import (
|
|
@@ -34,19 +35,31 @@ _LOGGER = logging.getLogger(__name__)
|
|
|
34
35
|
#: requests cannot hold a session for more than a viewer would tolerate.
|
|
35
36
|
_SD_LIST_TIMEOUT_S = 8.0
|
|
36
37
|
|
|
37
|
-
#:
|
|
38
|
-
#:
|
|
39
|
-
#:
|
|
40
|
-
|
|
38
|
+
#: How long a listing waits for its first page, and then for each next one.
|
|
39
|
+
#: The pages of one burst arrive together, but a burst can be slow to start:
|
|
40
|
+
#: a PTZ took 6.3 s to answer for a window three to six days back, and a wait
|
|
41
|
+
#: of 3 s between pages cut a 7-day reply off after two of its pages
|
|
42
|
+
#: (measured 2026-11-02). The occupancy map keeps the caller's timeout.
|
|
43
|
+
_SD_LIST_FIRST_PAGE_TIMEOUT_S = 15.0
|
|
44
|
+
_SD_MORE_PAGES_TIMEOUT_S = 10.0
|
|
41
45
|
|
|
42
46
|
#: 255 records a page, so 64 pages is over 16,000 recordings - far more than a
|
|
43
47
|
#: card holds in the 7 days a caller asks about.
|
|
44
48
|
_SD_MAX_PAGES = 64
|
|
45
49
|
|
|
50
|
+
#: The widest window one listing request asks for. An A000088 answers a
|
|
51
|
+
#: window of five days or more with page after page of records it never
|
|
52
|
+
#: filled in - all-zero dates and stray heap bytes, 7,800 slots for a card
|
|
53
|
+
#: holding one recording - and answers four days or less correctly (measured
|
|
54
|
+
#: 2026-11-02, windows of 1 to 6 days). Three days keeps a margin under that.
|
|
55
|
+
_SD_LIST_CHUNK_S = 3 * 86400.0
|
|
56
|
+
|
|
46
57
|
#: However the pages trickle in, a listing gives up collecting them after this
|
|
47
|
-
#: long and reports what it has as incomplete.
|
|
48
|
-
#:
|
|
49
|
-
|
|
58
|
+
#: long, across all its windows, and reports what it has as incomplete. The
|
|
59
|
+
#: occupancy map is asked after it, with its own timeout.
|
|
60
|
+
#: Without it each page would restart the gap timer and a slow camera could
|
|
61
|
+
#: hold the session for minutes.
|
|
62
|
+
_SD_LIST_BUDGET_S = 60.0
|
|
50
63
|
|
|
51
64
|
|
|
52
65
|
class _ListPages:
|
|
@@ -123,6 +136,29 @@ class _ListPages:
|
|
|
123
136
|
return not self.pages or self.covered()
|
|
124
137
|
|
|
125
138
|
|
|
139
|
+
def _plausible(record: Any, lo: float, hi: float) -> bool:
|
|
140
|
+
"""Is this a record the camera filled in, for the window it was asked for?
|
|
141
|
+
|
|
142
|
+
An A000088 pads a reply with slots it never wrote: all-zero dates, and
|
|
143
|
+
stray heap bytes that decode to month 160. A date that cannot exist, or one
|
|
144
|
+
outside the window (a second's slack either side for the camera's
|
|
145
|
+
rounding), is not a recording.
|
|
146
|
+
"""
|
|
147
|
+
try:
|
|
148
|
+
when = datetime(
|
|
149
|
+
record.year,
|
|
150
|
+
record.month,
|
|
151
|
+
record.day,
|
|
152
|
+
record.hour,
|
|
153
|
+
record.minute,
|
|
154
|
+
record.second,
|
|
155
|
+
tzinfo=UTC,
|
|
156
|
+
).timestamp()
|
|
157
|
+
except (ValueError, OverflowError):
|
|
158
|
+
return False
|
|
159
|
+
return lo - 1 <= when <= hi + 1
|
|
160
|
+
|
|
161
|
+
|
|
126
162
|
def _session_is_live(session: Any) -> bool:
|
|
127
163
|
"""Is this session object one that could still carry a request?
|
|
128
164
|
|
|
@@ -177,7 +213,13 @@ class _CameraSdMixin:
|
|
|
177
213
|
return None
|
|
178
214
|
|
|
179
215
|
async def _sd_ask_pages(
|
|
180
|
-
self,
|
|
216
|
+
self,
|
|
217
|
+
session: Any,
|
|
218
|
+
cmd: int,
|
|
219
|
+
payload: bytes,
|
|
220
|
+
response_cmd: int,
|
|
221
|
+
timeout: float,
|
|
222
|
+
budget: float = _SD_LIST_BUDGET_S,
|
|
181
223
|
) -> "tuple[_ListPages, bool]":
|
|
182
224
|
"""Every reply page to one request, and whether any reply came back.
|
|
183
225
|
|
|
@@ -203,7 +245,7 @@ class _CameraSdMixin:
|
|
|
203
245
|
timeout=timeout,
|
|
204
246
|
more_timeout=_SD_MORE_PAGES_TIMEOUT_S,
|
|
205
247
|
max_replies=_SD_MAX_PAGES,
|
|
206
|
-
budget=
|
|
248
|
+
budget=budget,
|
|
207
249
|
done=pages.done,
|
|
208
250
|
)
|
|
209
251
|
)
|
|
@@ -218,13 +260,86 @@ class _CameraSdMixin:
|
|
|
218
260
|
pages.take(replies)
|
|
219
261
|
return pages, bool(replies)
|
|
220
262
|
|
|
263
|
+
async def _sd_list_chunks(
|
|
264
|
+
self,
|
|
265
|
+
session: Any,
|
|
266
|
+
start_ts: float,
|
|
267
|
+
end_ts: float,
|
|
268
|
+
channel: int,
|
|
269
|
+
first_page_timeout: float,
|
|
270
|
+
) -> "tuple[list, bool, bool]":
|
|
271
|
+
"""List ``start_ts``..``end_ts`` in chunks no wider than the camera handles.
|
|
272
|
+
|
|
273
|
+
Returns (records oldest first, complete, answered). Chunks are asked
|
|
274
|
+
newest first and the listing stops at the first chunk that did not come
|
|
275
|
+
back whole: a camera that goes quiet part way still gives the
|
|
276
|
+
recordings a user most wants, a dead channel costs one timeout rather
|
|
277
|
+
than one per chunk, and a page still on its way for a chunk given up on
|
|
278
|
+
cannot be read as the next chunk's answer - replies carry nothing this
|
|
279
|
+
layer can match a request on.
|
|
280
|
+
"""
|
|
281
|
+
chunks = []
|
|
282
|
+
hi = end_ts
|
|
283
|
+
while hi > start_ts:
|
|
284
|
+
lo = max(start_ts, hi - _SD_LIST_CHUNK_S)
|
|
285
|
+
chunks.append((lo, hi))
|
|
286
|
+
hi = lo
|
|
287
|
+
if not chunks:
|
|
288
|
+
# An empty or inverted window is still asked, once: answering
|
|
289
|
+
# "complete" for a listing never sent would read as an empty card.
|
|
290
|
+
chunks.append((start_ts, end_ts))
|
|
291
|
+
by_chunk = []
|
|
292
|
+
complete = True
|
|
293
|
+
answered = False
|
|
294
|
+
give_up = time.monotonic() + _SD_LIST_BUDGET_S
|
|
295
|
+
for lo, hi in chunks:
|
|
296
|
+
left = give_up - time.monotonic()
|
|
297
|
+
if left <= 0:
|
|
298
|
+
complete = False
|
|
299
|
+
break
|
|
300
|
+
pages, chunk_answered = await self._sd_ask_pages(
|
|
301
|
+
session,
|
|
302
|
+
LISTEVENT_REQ_CMD,
|
|
303
|
+
listevent_payload(lo, hi, channel=channel),
|
|
304
|
+
LISTEVENT_RESP_CMD,
|
|
305
|
+
min(first_page_timeout, left),
|
|
306
|
+
budget=left,
|
|
307
|
+
)
|
|
308
|
+
if not chunk_answered:
|
|
309
|
+
complete = False
|
|
310
|
+
break
|
|
311
|
+
answered = True
|
|
312
|
+
records = pages.records
|
|
313
|
+
kept = [r for r in records if _plausible(r, lo, hi)]
|
|
314
|
+
by_chunk.append(kept)
|
|
315
|
+
if len(kept) != len(records):
|
|
316
|
+
complete = False
|
|
317
|
+
_LOGGER.debug(
|
|
318
|
+
"SD list for %s: %d of %d records unfilled or outside the window",
|
|
319
|
+
getattr(self, "device_id", "?"),
|
|
320
|
+
len(records) - len(kept),
|
|
321
|
+
len(records),
|
|
322
|
+
)
|
|
323
|
+
if not pages.complete:
|
|
324
|
+
complete = False
|
|
325
|
+
break
|
|
326
|
+
out: list = []
|
|
327
|
+
# Newest chunk was asked first; hand them back oldest first. Two
|
|
328
|
+
# neighbouring chunks share an edge second, so a record on it can come
|
|
329
|
+
# back in both - and only there is a repeat not a record of its own.
|
|
330
|
+
previous: set = set()
|
|
331
|
+
for records in reversed(by_chunk):
|
|
332
|
+
out.extend(r for r in records if r not in previous)
|
|
333
|
+
previous = set(records)
|
|
334
|
+
return out, complete, answered
|
|
335
|
+
|
|
221
336
|
async def async_get_sd_recordings(
|
|
222
337
|
self,
|
|
223
338
|
*,
|
|
224
339
|
session: Any = None,
|
|
225
340
|
days: int = 7,
|
|
226
341
|
channel: int = 0,
|
|
227
|
-
timeout: float =
|
|
342
|
+
timeout: Optional[float] = None,
|
|
228
343
|
) -> Optional[SdRecordingList]:
|
|
229
344
|
"""What the card holds over the last ``days``, or None if we could not ask.
|
|
230
345
|
|
|
@@ -245,13 +360,17 @@ class _CameraSdMixin:
|
|
|
245
360
|
card-bearing A000088 that returns an EMPTY page while 0 returns the
|
|
246
361
|
records - measured 2026-08-11, same session, same window.
|
|
247
362
|
|
|
248
|
-
|
|
249
|
-
|
|
363
|
+
The list is asked in windows of at most three days, newest first: an
|
|
364
|
+
A000088 answers a window of five days or more with records it never
|
|
365
|
+
filled in. One request for the occupancy map. Each list reply is paged,
|
|
366
|
+
255 records a page, oldest first, and the camera sends every page
|
|
250
367
|
unprompted: there is no continuation request and none is needed. All of
|
|
251
368
|
them are collected (measured 2026-11-01: a PTZ's 7-day window was four
|
|
252
369
|
pages, 824 records, and reading only the first stopped six days short
|
|
253
|
-
of today).
|
|
254
|
-
|
|
370
|
+
of today). A record whose date cannot exist or falls outside the window
|
|
371
|
+
it was asked for is one the camera did not fill in, and is dropped. The
|
|
372
|
+
listing stops at the first window that did not come back whole, and
|
|
373
|
+
``complete=False`` then, and when a record was dropped.
|
|
255
374
|
"""
|
|
256
375
|
session = (
|
|
257
376
|
session if session is not None else getattr(self, "_stream_session", None)
|
|
@@ -266,14 +385,16 @@ class _CameraSdMixin:
|
|
|
266
385
|
end_ts = time.time()
|
|
267
386
|
start_ts = end_ts - days * 86400
|
|
268
387
|
|
|
269
|
-
|
|
388
|
+
# A caller's own timeout is used as given. Without one, a list page
|
|
389
|
+
# gets the longer wait a slow card scan needs and the map the usual one.
|
|
390
|
+
map_timeout = _SD_LIST_TIMEOUT_S if timeout is None else timeout
|
|
391
|
+
records, complete, list_answered = await self._sd_list_chunks(
|
|
270
392
|
session,
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
timeout,
|
|
393
|
+
start_ts,
|
|
394
|
+
end_ts,
|
|
395
|
+
channel,
|
|
396
|
+
_SD_LIST_FIRST_PAGE_TIMEOUT_S if timeout is None else timeout,
|
|
275
397
|
)
|
|
276
|
-
records, complete = pages.records, pages.complete
|
|
277
398
|
|
|
278
399
|
hours = None
|
|
279
400
|
map_reply = await self._sd_ask(
|
|
@@ -281,7 +402,7 @@ class _CameraSdMixin:
|
|
|
281
402
|
HASLISTEVENT_REQ_CMD,
|
|
282
403
|
haslistevent_payload(start_ts, end_ts, channel=channel),
|
|
283
404
|
HASLISTEVENT_RESP_CMD,
|
|
284
|
-
|
|
405
|
+
map_timeout,
|
|
285
406
|
)
|
|
286
407
|
if map_reply is not None:
|
|
287
408
|
hours = decode_hour_map(
|
{python_aidot_cameras-1.0.0rc68 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/sdes_open.py
RENAMED
|
@@ -280,23 +280,111 @@ def _sctp_sack_chunk(cum_tsn: int, a_rwnd: int = 131072) -> bytes:
|
|
|
280
280
|
return _st_sk.pack("!BBH", 3, 0, 4 + len(body)) + body
|
|
281
281
|
|
|
282
282
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
283
|
+
#: How long, and for how many chunks behind it, a gap in the camera's DATA is
|
|
284
|
+
#: waited on before the missing chunk is taken as lost. The camera resends what
|
|
285
|
+
#: we have not acknowledged, so a gap normally fills within a round trip; the
|
|
286
|
+
#: bound is for a camera that never does, whose control channel must not then
|
|
287
|
+
#: stop delivering everything after the gap.
|
|
288
|
+
_SCTP_GAP_WAIT_S = 4.0
|
|
289
|
+
_SCTP_GAP_HOLD_CAP = 64
|
|
290
|
+
|
|
291
|
+
#: A TSN further ahead than this is not a chunk past a gap but a stray, and is
|
|
292
|
+
#: dropped rather than held: held, it would never become contiguous and would
|
|
293
|
+
#: keep every later gap's wait looking already expired.
|
|
294
|
+
_SCTP_MAX_AHEAD = 4096
|
|
295
|
+
|
|
296
|
+
#: In the sequence ``_sctp_take_in_order`` returns, a gap given up on: any
|
|
297
|
+
#: half-built message from before it must be discarded before what follows is
|
|
298
|
+
#: reassembled, or the two would be joined around the hole.
|
|
299
|
+
_SCTP_GAP = object()
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
def _sctp_data_chunks(pkt: bytes):
|
|
303
|
+
"""Every DATA chunk in an SCTP packet: (tsn, flags, stream id, ppid, payload).
|
|
304
|
+
|
|
305
|
+
Walks all the chunks after the 12-byte common header, not just the first:
|
|
306
|
+
a camera may bundle DATA behind a SACK, or two DATA chunks together, and a
|
|
307
|
+
DATA chunk left unread is a TSN never delivered. A chunk's own length
|
|
308
|
+
bounds its payload (RFC 4960 s3.3.1); chunks are padded to four bytes. A
|
|
309
|
+
chunk that runs past the end of the packet is not yielded: delivered short
|
|
310
|
+
and acknowledged, it would never be resent.
|
|
311
|
+
"""
|
|
312
|
+
import struct as _st_dc
|
|
290
313
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
314
|
+
pos = 12
|
|
315
|
+
while pos + 4 <= len(pkt):
|
|
316
|
+
ctype, flags, clen = _st_dc.unpack_from("!BBH", pkt, pos)
|
|
317
|
+
if clen < 4:
|
|
318
|
+
return
|
|
319
|
+
if ctype == 0x00 and clen >= 16 and pos + clen <= len(pkt):
|
|
320
|
+
tsn, sid, _ssn, ppid = _st_dc.unpack_from("!IHHI", pkt, pos + 4)
|
|
321
|
+
yield tsn, flags, sid, ppid, pkt[pos + 16 : pos + clen]
|
|
322
|
+
pos += (clen + 3) & ~3
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
def _sctp_take_in_order(state: dict, tsn: int, chunk: Any, now: float) -> list:
|
|
326
|
+
"""The DATA chunks deliverable now, in TSN order, advancing the cumulative ack.
|
|
327
|
+
|
|
328
|
+
SCTP delivers a stream's chunks in TSN order (RFC 4960 s6.6), and a
|
|
329
|
+
fragmented message is only whole when its fragments are consecutive TSNs.
|
|
330
|
+
We handed every chunk to reassembly in ARRIVAL order. With a fragment lost
|
|
331
|
+
on the way - which a TURN relay does - the begin and end fragments of a
|
|
332
|
+
~2.8 KB SD listing page were joined around the hole into a page that did
|
|
333
|
+
not decode, the resent middle and end then arrived with no begin and were
|
|
334
|
+
dropped, and the listing was told the camera had not answered.
|
|
335
|
+
|
|
336
|
+
``state`` is the association's receive state: ``peer_cum_tsn`` (the last
|
|
337
|
+
TSN delivered and acknowledged) and the chunks held past a gap
|
|
338
|
+
(``rx_ooo``, each with when it arrived). Only an exactly-next TSN advances the ack. A chunk at or
|
|
339
|
+
behind it is a resend of one already delivered, and is dropped. One past a
|
|
340
|
+
gap is held, unacknowledged, so the camera resends what is missing; if the
|
|
341
|
+
gap has not filled ``_SCTP_GAP_WAIT_S`` after the oldest held chunk
|
|
342
|
+
arrived, or ``_SCTP_GAP_HOLD_CAP`` chunks are waiting, the missing chunk is
|
|
343
|
+
taken as lost and delivery resumes behind a ``_SCTP_GAP`` marker, at which
|
|
344
|
+
the caller discards every half-built message so nothing is joined across
|
|
345
|
+
the hole. The wait is longer than SCTP's initial resend timer (3 s): the
|
|
346
|
+
SACK carries no gap blocks, so the camera resends only when that timer
|
|
347
|
+
fires. A TSN more than ``_SCTP_MAX_AHEAD`` ahead is a stray and dropped.
|
|
348
|
+
Held chunks are looked at when the next DATA chunk arrives; the camera
|
|
349
|
+
sends one every few seconds.
|
|
350
|
+
|
|
351
|
+
The first chunk seen once the association is up starts the count. Not the
|
|
352
|
+
Initial TSN from the handshake: the camera can send DATA while the data
|
|
353
|
+
channel is still opening, which is not taken there, and counting from the
|
|
354
|
+
Initial TSN would hold the first real reply behind a gap of our own making.
|
|
355
|
+
TSN arithmetic is modulo 2**32.
|
|
294
356
|
"""
|
|
357
|
+
mask = 0xFFFFFFFF
|
|
358
|
+
tsn &= mask
|
|
359
|
+
held = state.setdefault("rx_ooo", {})
|
|
360
|
+
cum = state.get("peer_cum_tsn")
|
|
295
361
|
if cum is None:
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
362
|
+
cum = (tsn - 1) & mask
|
|
363
|
+
state["peer_cum_tsn"] = cum
|
|
364
|
+
ahead = (tsn - cum) & mask
|
|
365
|
+
if ahead == 0 or ahead > _SCTP_MAX_AHEAD:
|
|
366
|
+
return []
|
|
367
|
+
out = []
|
|
368
|
+
if ahead == 1:
|
|
369
|
+
out.append(chunk)
|
|
370
|
+
cum = tsn
|
|
371
|
+
else:
|
|
372
|
+
held.setdefault(tsn, (chunk, now))
|
|
373
|
+
oldest = min(t for _c, t in held.values())
|
|
374
|
+
if now - oldest < _SCTP_GAP_WAIT_S and len(held) < _SCTP_GAP_HOLD_CAP:
|
|
375
|
+
return []
|
|
376
|
+
# Give the gap up: resume at the oldest chunk held, behind a marker
|
|
377
|
+
# that tells the caller to drop any half-built message first.
|
|
378
|
+
cum = (min(held, key=lambda t: (t - cum) & mask) - 1) & mask
|
|
379
|
+
out.append(_SCTP_GAP)
|
|
380
|
+
while True:
|
|
381
|
+
nxt = (cum + 1) & mask
|
|
382
|
+
if nxt not in held:
|
|
383
|
+
break
|
|
384
|
+
out.append(held.pop(nxt)[0])
|
|
385
|
+
cum = nxt
|
|
386
|
+
state["peer_cum_tsn"] = cum
|
|
387
|
+
return out
|
|
300
388
|
|
|
301
389
|
|
|
302
390
|
def _sctp_abort_chunk() -> bytes:
|
|
@@ -5179,9 +5267,11 @@ def make_sdes_bridge(
|
|
|
5179
5267
|
)
|
|
5180
5268
|
except Exception as _sce8:
|
|
5181
5269
|
_status(f"SDES DC: enc LIVING err: {_sce8}")
|
|
5182
|
-
elif
|
|
5183
|
-
|
|
5184
|
-
|
|
5270
|
+
elif _sct == "DONE" and (
|
|
5271
|
+
_sc_chunks := list(_sctp_data_chunks(_pd_plain))
|
|
5272
|
+
):
|
|
5273
|
+
# SCTP DATA from camera. ACKNOWLEDGE IT:
|
|
5274
|
+
# SCTP puts acknowledgement on the
|
|
5185
5275
|
# receiver, and sending nothing let the
|
|
5186
5276
|
# camera's retransmission timer run out and
|
|
5187
5277
|
# ABORT the association at ~61.4 s, which is
|
|
@@ -5189,135 +5279,128 @@ def make_sdes_bridge(
|
|
|
5189
5279
|
# stopped PTZ/talkback/SD answering a minute
|
|
5190
5280
|
# into every session. Ack before dispatch so
|
|
5191
5281
|
# a handler that raises cannot cost us the ack.
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5282
|
+
#
|
|
5283
|
+
# Every DATA chunk in the packet, wherever it
|
|
5284
|
+
# sits (see _sctp_data_chunks), each taken in
|
|
5285
|
+
# TSN order (see _sctp_take_in_order); only
|
|
5286
|
+
# what that releases is reassembled, so a
|
|
5287
|
+
# ~2.8 KB SD listing page that lost a
|
|
5288
|
+
# fragment on the way waits for the resend
|
|
5289
|
+
# instead of being joined around the hole.
|
|
5290
|
+
_sc_first = _sctp.get("peer_cum_tsn") is None
|
|
5291
|
+
if _pd_ct8 == 0x03 and len(_pd_plain) >= 20:
|
|
5292
|
+
# A SACK with DATA bundled behind it:
|
|
5293
|
+
# keep the trace the else branch gives
|
|
5294
|
+
# a bare one.
|
|
5295
|
+
_trace(
|
|
5296
|
+
"SDES DC: SACK cum_tsn="
|
|
5297
|
+
f"{int.from_bytes(_pd_plain[16:20], 'big'):#010x}"
|
|
5298
|
+
f" state={_sct}"
|
|
5195
5299
|
)
|
|
5196
|
-
|
|
5197
|
-
|
|
5300
|
+
_sc_ready = []
|
|
5301
|
+
for (
|
|
5302
|
+
_sc_tsn,
|
|
5303
|
+
_sc_flags,
|
|
5304
|
+
_sc_sid,
|
|
5305
|
+
_sc_ppid,
|
|
5306
|
+
_sc_frag,
|
|
5307
|
+
) in _sc_chunks:
|
|
5308
|
+
_sc_ready += _sctp_take_in_order(
|
|
5309
|
+
_sctp,
|
|
5310
|
+
_sc_tsn,
|
|
5311
|
+
(_sc_flags, _sc_sid, _sc_frag, _sc_ppid),
|
|
5312
|
+
_time_br.monotonic(),
|
|
5198
5313
|
)
|
|
5199
|
-
|
|
5200
|
-
|
|
5314
|
+
if _sc_first:
|
|
5315
|
+
# One line per session: the build tag for the
|
|
5316
|
+
# SACK fix, and the thing to look for if the
|
|
5317
|
+
# 61.4 s ABORT ever comes back.
|
|
5318
|
+
_status(
|
|
5319
|
+
f"SDES DC: SACK enabled"
|
|
5320
|
+
f" - acking camera DATA from"
|
|
5321
|
+
f" TSN={(_sctp['peer_cum_tsn'] + 1) & 0xFFFFFFFF:#010x}"
|
|
5201
5322
|
)
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5323
|
+
try:
|
|
5324
|
+
_br_send_to_cam(
|
|
5325
|
+
_bs,
|
|
5326
|
+
_enc_c8_sctp(
|
|
5327
|
+
_sctp_pkt(
|
|
5328
|
+
_sctp["peer_tag"],
|
|
5329
|
+
_sctp_sack_chunk(
|
|
5330
|
+
_sctp["peer_cum_tsn"]
|
|
5331
|
+
),
|
|
5332
|
+
)
|
|
5333
|
+
),
|
|
5334
|
+
_bsrc,
|
|
5335
|
+
_br_cam_peer,
|
|
5336
|
+
)
|
|
5337
|
+
except Exception as _sackerr:
|
|
5338
|
+
_status(
|
|
5339
|
+
f"SDES DC: SACK send failed: {_sackerr}"
|
|
5340
|
+
)
|
|
5341
|
+
for _sc_item in _sc_ready:
|
|
5342
|
+
if _sc_item is _SCTP_GAP:
|
|
5343
|
+
# A lost chunk given up on: whatever
|
|
5344
|
+
# was half built before it is not
|
|
5345
|
+
# the start of what comes after.
|
|
5346
|
+
_sctp.setdefault("rx_frag", {}).clear()
|
|
5347
|
+
_sc_pay = None
|
|
5348
|
+
else:
|
|
5349
|
+
_sc_flags, _sc_sid, _sc_frag, _sc_ppid = (
|
|
5350
|
+
_sc_item
|
|
5210
5351
|
)
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
_sctp["peer_tag"],
|
|
5217
|
-
_sctp_sack_chunk(
|
|
5218
|
-
_sctp["peer_cum_tsn"]
|
|
5219
|
-
),
|
|
5220
|
-
)
|
|
5221
|
-
),
|
|
5222
|
-
_bsrc,
|
|
5223
|
-
_br_cam_peer,
|
|
5352
|
+
_sc_pay = _sctp_reassemble(
|
|
5353
|
+
_sc_flags,
|
|
5354
|
+
_sc_sid,
|
|
5355
|
+
_sc_frag,
|
|
5356
|
+
_sctp.setdefault("rx_frag", {}),
|
|
5224
5357
|
)
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5358
|
+
# None for a mid-message fragment (nothing
|
|
5359
|
+
# to parse yet; it was delivered in order,
|
|
5360
|
+
# so its TSN is acknowledged above) and
|
|
5361
|
+
# for a gap marker.
|
|
5362
|
+
if _sc_pay is not None:
|
|
5363
|
+
_sc_cmd = (
|
|
5364
|
+
int.from_bytes(_sc_pay[4:8], "little")
|
|
5365
|
+
if len(_sc_pay) >= 8
|
|
5366
|
+
else 0
|
|
5228
5367
|
)
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
if _sc_clen >= 16 and len(_pd_plain) > 28
|
|
5256
|
-
else (
|
|
5257
|
-
_pd_plain[28:]
|
|
5258
|
-
if len(_pd_plain) > 28
|
|
5259
|
-
else b""
|
|
5260
|
-
)
|
|
5261
|
-
)
|
|
5262
|
-
_sc_ppid = (
|
|
5263
|
-
int.from_bytes(_pd_plain[24:28], "big")
|
|
5264
|
-
if len(_pd_plain) >= 28
|
|
5265
|
-
else 0
|
|
5266
|
-
)
|
|
5267
|
-
_sc_pay = _sctp_reassemble(
|
|
5268
|
-
_sc_flags,
|
|
5269
|
-
_sc_sid,
|
|
5270
|
-
_sc_frag,
|
|
5271
|
-
_sctp.setdefault("rx_frag", {}),
|
|
5272
|
-
)
|
|
5273
|
-
# A mid-message fragment: nothing to parse yet.
|
|
5274
|
-
# Its TSN is acknowledged above, so the camera
|
|
5275
|
-
# will not retransmit it. Guarded rather than
|
|
5276
|
-
# `continue`d - the nearest enclosing loop is the
|
|
5277
|
-
# per-socket one, and skipping it would drop the
|
|
5278
|
-
# rest of this socket's turn.
|
|
5279
|
-
if _sc_pay is not None:
|
|
5280
|
-
_sc_cmd = (
|
|
5281
|
-
int.from_bytes(_sc_pay[4:8], "little")
|
|
5282
|
-
if len(_sc_pay) >= 8
|
|
5283
|
-
else 0
|
|
5284
|
-
)
|
|
5285
|
-
# This is where the camera's answers
|
|
5286
|
-
# come back on SDES. They were parsed
|
|
5287
|
-
# and logged here long before anything
|
|
5288
|
-
# could receive them; hand them to
|
|
5289
|
-
# whoever asked.
|
|
5290
|
-
if _sc_cmd == 5377:
|
|
5291
|
-
# SESSION_MODE_RESP: the camera's
|
|
5292
|
-
# answer to the LIVING trigger.
|
|
5293
|
-
# Counted whether or not anything
|
|
5294
|
-
# was waiting for it, because the
|
|
5295
|
-
# question the stall report asks is
|
|
5296
|
-
# "did the trigger arrive", and the
|
|
5297
|
-
# trigger is fire-and-forget.
|
|
5298
|
-
_bridge_fn._br_session_mode_resp = (
|
|
5299
|
-
getattr(
|
|
5300
|
-
_bridge_fn,
|
|
5301
|
-
"_br_session_mode_resp",
|
|
5302
|
-
0,
|
|
5368
|
+
# This is where the camera's answers
|
|
5369
|
+
# come back on SDES. They were parsed
|
|
5370
|
+
# and logged here long before anything
|
|
5371
|
+
# could receive them; hand them to
|
|
5372
|
+
# whoever asked.
|
|
5373
|
+
if _sc_cmd == 5377:
|
|
5374
|
+
# SESSION_MODE_RESP: the camera's
|
|
5375
|
+
# answer to the LIVING trigger.
|
|
5376
|
+
# Counted whether or not anything
|
|
5377
|
+
# was waiting for it, because the
|
|
5378
|
+
# question the stall report asks is
|
|
5379
|
+
# "did the trigger arrive", and the
|
|
5380
|
+
# trigger is fire-and-forget.
|
|
5381
|
+
_bridge_fn._br_session_mode_resp = (
|
|
5382
|
+
getattr(
|
|
5383
|
+
_bridge_fn,
|
|
5384
|
+
"_br_session_mode_resp",
|
|
5385
|
+
0,
|
|
5386
|
+
)
|
|
5387
|
+
+ 1
|
|
5388
|
+
)
|
|
5389
|
+
# Which mode it says the session
|
|
5390
|
+
# is in: a playback open waits for
|
|
5391
|
+
# SD here, not for any reply.
|
|
5392
|
+
_bridge_fn._br_session_mode_echo = (
|
|
5393
|
+
_session_mode_echoed(_sc_pay)
|
|
5303
5394
|
)
|
|
5304
|
-
|
|
5395
|
+
_sc_answered = _dispatch_sctp_avio(
|
|
5396
|
+
_avio_responses, _sc_pay
|
|
5305
5397
|
)
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5398
|
+
_trace(
|
|
5399
|
+
f"SDES DC: enc DATA ppid={_sc_ppid}"
|
|
5400
|
+
f" cmd={_sc_cmd} {len(_sc_pay)}B"
|
|
5401
|
+
f"{' (answered a request)' if _sc_answered else ''}"
|
|
5402
|
+
f" {_sc_pay[:32].hex()}"
|
|
5311
5403
|
)
|
|
5312
|
-
_sc_answered = _dispatch_sctp_avio(
|
|
5313
|
-
_avio_responses, _sc_pay
|
|
5314
|
-
)
|
|
5315
|
-
_trace(
|
|
5316
|
-
f"SDES DC: enc DATA ppid={_sc_ppid}"
|
|
5317
|
-
f" cmd={_sc_cmd} {len(_sc_pay)}B"
|
|
5318
|
-
f"{' (answered a request)' if _sc_answered else ''}"
|
|
5319
|
-
f" {_sc_pay[:32].hex()}"
|
|
5320
|
-
)
|
|
5321
5404
|
else:
|
|
5322
5405
|
# Log SACK (0x03) with cumulative TSN ack for diagnostics
|
|
5323
5406
|
if _pd_ct8 == 0x03 and len(_pd_plain) >= 20:
|
|
@@ -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.0rc70"
|
|
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"
|