python-aidot-cameras 1.0.0rc69__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.0rc69/python_aidot_cameras.egg-info → python_aidot_cameras-1.0.0rc70}/PKG-INFO +1 -1
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/sdes_open.py +220 -137
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/pyproject.toml +1 -1
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70/python_aidot_cameras.egg-info}/PKG-INFO +1 -1
- {python_aidot_cameras-1.0.0rc69 → 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.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sctp_sack.py +19 -12
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/LICENSE +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/MANIFEST.in +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/README.md +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/__main__.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_log_redaction.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_upstream.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/LICENSE +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/clock.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/base.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/g711.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/g722.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/h264.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/opus.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/codecs/vpx.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/contrib/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/contrib/media.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/contrib/signaling.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/events.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/exceptions.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/jitterbuffer.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/mediastreams.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rate.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcconfiguration.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcdatachannel.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcdtlstransport.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcicetransport.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcpeerconnection.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcrtpparameters.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcrtpreceiver.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcrtpsender.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcrtptransceiver.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcsctptransport.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtcsessiondescription.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/rtp.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/sdp.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/stats.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/_vendor/aiortc/utils.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/__init__.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/aac_track.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/agc.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/client.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/constants.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/controls.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/h264_sps.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/health.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/hls_ts.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/hwaccel.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/lan_control.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/models.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/protocol.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/recording.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/rtp_h264.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/rtsp_publish.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/sd_events.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/sd_listing.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/sd_playback.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/sdes.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/ts_fanout.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/ts_tee.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/webrtc.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/camera/webrtc_open.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/client.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/cloud_auth.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/const.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/credentials.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/crypto.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/device_client.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/discover.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/exceptions.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/g711.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/lan_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/py.typed +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/aidot_cameras/settings.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/python_aidot_cameras.egg-info/dependency_links.txt +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/python_aidot_cameras.egg-info/entry_points.txt +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/python_aidot_cameras.egg-info/requires.txt +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/python_aidot_cameras.egg-info/top_level.txt +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/setup.cfg +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_aac_track.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_abandoned_attempt_skips_the_doomed_serve.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_abandoned_wait_still_maps_audio.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_aioice_compat.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_alarm_event.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_answer_pt_kinds.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_answer_sdp_video_pt.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_answer_section_selection.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_arrival_timestamps.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_audio_mux_offline.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_auth_error_routing.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_auto_alarm.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_auto_light_settings.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_avio_ctrl_uses_the_session_dseq.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_avio_header_single_layout.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_avio_request.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_avio_response_parse.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_avio_response_router.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_battery_cap_spans_sessions.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_battery_detection.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_battery_evidence_corroboration.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_battery_stale_offer_is_abandoned_early.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_battery_wake_settles_before_the_command.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_ble_gateway_is_gone.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_bridge_state_sentinels.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_busy_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_camera_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_canary_log_names_the_camera.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_close_mid_ice_leaves_nothing_pending.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_cloud_count.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_cloud_error_log_names_the_exception.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_cloud_error_severity.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_cloud_plan.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_constants_imports_resolve.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_control_verdicts.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_declared_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_deferred_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_detection_types.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_device_cmd_seq_match.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_device_login_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_device_user_info_cache.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_direct_publish_attaches_negotiated_audio.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_direct_ts_keyframe_signal.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_direct_ts_serve.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_direct_ts_serve_only_for_http.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dormant_camera_cleanup.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_drain_is_cancellable.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_mux_terminal_write.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_not_ready_burst.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_open_abort_covers_every_exit.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_pinning.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_recorder_wiring.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_refusal_after_the_echo.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_resolution_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_serve_decode_skip.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_serve_ice_wait.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_serve_open_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_skip_signaling_wait.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_slow_probe.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_stdout_producer.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_tap_states_no_reorder.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_ts_copy_recording.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_dtls_video_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_egress_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_env_seams.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_every_exception_is_exported.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_feature_probe_needs_a_live_session.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_ffmpeg_rx_sdp_single_template.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_ffmpeg_signal_exit_is_not_a_crash.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_first_media_abandon_rules.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_futile_keepalive.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_gate_requires_a_decoded_frame.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_go2rtc_cli.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_h264_decode_rate_limit.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_h264_sps.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_health_line.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_health_line_counts_pictures.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_highport_nomination.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_hls_ts_end_to_end.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_hls_ts_wiring.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_hwaccel_probe.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_ice_config_cache.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_ice_credentials_match_the_app.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_ice_peer_reflexive.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_idle_release_both_loops.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_ipc_envelope_single_builder.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_keepalive_renew.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_key_restart_sdp.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_keyframe_prompter.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_control.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_login_accessors.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_retry_reaches_the_storming_devices.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_retry_short_sessions.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_retry_silences_upstream_over_ceiling.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_retry_stops_on_close.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_lan_sweep_only_with_lights.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_late_repeats_are_dropped.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_light_active_color_mode.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_live_session_carries_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_live_stream_param.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_live_validate_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_live_validate_token_refresh.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_live_video_canary.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_liveplay_echo_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_local_only_controls.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_log_hygiene.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_logging_caps.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_login_connect_deadline.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_login_reconnect_backoff.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_loop_break_ends_the_loop.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_media_counted_only_when_plaintext.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_media_path_is_reported.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_media_socket_rcvbuf.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_media_wait_floor.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_motion_poll.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_mqtt_client_id_is_exact.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_mqtt_credential_refetch.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_mqtt_credential_self_heal.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_mqtt_password_not_persisted.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_mqtt_session_reconnect.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_mqtt_thread_not_orphaned.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_mypy_new_findings.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_nack.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_nack_cannot_add_load_in_a_burst.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_narrow_pc_ice.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_no_key_material_in_logs.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_no_private_notes_on_the_public_surface.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_no_self_referential_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_no_unbounded_hex_dumps.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_no_undefined_names.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_nominates_as_soon_as_the_answer_lands.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_off_subnet_candidate.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_offer_keeps_rtcp_feedback.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_offline_keepalive_pause.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_on_frame_is_an_av_frame.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_open_errors_are_aidot_errors.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_open_fail_logger.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_open_gate_delay.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_peer_id_client_type.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_peerid_reuse.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_persistent_mqtt.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_persistent_mqtt_robustness.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_phase_returns_reach_the_caller.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_phase_state_is_complete.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_plaintext_mqtt_refused.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_post_merge_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_ptz_probe_reads_what_it_is_told.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_public_signature_matches_impl.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_publish_target_readiness.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_quality_campaign_in_session.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_reboot_action.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_recent_recordings.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_region_allowlist.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_remb.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_remb_goes_out_the_relay_aware_sender.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_removed_keepalive_arguments_are_tolerated.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_resent_frames_are_dropped.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_resolution_persists.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_restart_cycle.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_retry_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_review_lan_retry_and_graces.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_rtp_h264.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_rtsp_publish.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_rtsp_publish_go2rtc.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_scripts_importable.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sctp_init_ack_tsn.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sctp_reassembly.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_card_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_event_decode.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_event_probe_payloads.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_listing.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback_clock.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback_controls.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback_dtls.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback_entry.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback_media_hold.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sd_playback_open.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_avio_dispatch.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_bridge_break_gate.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_connection_mode.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_echo_wait_is_not_dead_time.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_fast_liveplay.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_ffmpeg_stderr_log.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_first_media_stall_report.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_ice_teardown.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_idle_release.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_nack_bridge.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_offer_video_pin.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_open_cleanup.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_open_yields_the_loop.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_pinned_codec_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_sctp_abort.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_serve_audio.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_serve_cmd.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_serve_stderr_drain.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_sprop.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_teardown_exit_log.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_terminal_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_terminal_ack_latency.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdes_watchdog.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdp_narrowing_properties.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sdp_payload_type_narrowing.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_security_hardening.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_self_peer_is_an_address_not_an_ip.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_serializable_login_info.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_bound_survives_arrival_stamping.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_input_timeout.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_loop_releases_on_error.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_loss_tolerance.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_pt_respects_the_pin.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_relay.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_serve_stderr_keeps_the_reason.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_session_mode_seq.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_session_stats.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_session_stop_twice.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_settings_registry.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_shared_house_seam.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_signalling_is_attributable_to_a_camera.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_skip_guard.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_snapshot_cancellation.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_speak.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sprop_capture_gate.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sprop_staleness.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sprop_unstable_public.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_sprop_write_is_reported_truthfully.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_srtp_rx_rekey.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_srtp_tx_key_note.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stable_terminal_id.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stall_nudge_policy.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stall_report_says_what_the_answer_carried.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stall_report_says_whether_the_trigger_was_answered.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stall_report_separates_silence_from_undecryptable.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stall_report_survives_a_caller_giving_up.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stall_reports_reach_the_artifact.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_status_and_trace_channels.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stream_cap.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stream_drain_ownership.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stream_idle.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stream_slot_cap.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stream_teardown.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_stun_attr_single_builder.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_swallowed_exception_names.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_talk.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_talk_reports_a_speaker_that_never_opened.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_tap_to_mux_end_to_end.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_terminal_ack.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_tmmbr.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_token_file_robustness.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_token_refresh.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_transport_failure_reporting.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_ts_fanout.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_ts_tee.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_turn_create_permission.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_turn_target_shared.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_unbuildable_summary_repeats_at_debug.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_unreachable_nominee_is_abandoned_early.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_upstream_compat.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_upstream_seam_adapter.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_upstream_secrets_redacted.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_validator_shares_one_token.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_vendored_aiortc_integrity.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_video_presence_needs_a_keyframe.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_video_profile_log.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_video_pts_dts.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_video_ts_unwrap.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_viewer_check_throttle.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_viewer_presence.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_viewer_present_push_mode.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_wait_or_event.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_wake_gate_camera_evidence.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → python_aidot_cameras-1.0.0rc70}/tests/test_wake_readiness_retry.py +0 -0
- {python_aidot_cameras-1.0.0rc69 → 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.0rc69 → 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"
|
|
@@ -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
|
|
@@ -251,6 +251,7 @@ tests/test_rtp_h264.py
|
|
|
251
251
|
tests/test_rtsp_publish.py
|
|
252
252
|
tests/test_rtsp_publish_go2rtc.py
|
|
253
253
|
tests/test_scripts_importable.py
|
|
254
|
+
tests/test_sctp_in_order.py
|
|
254
255
|
tests/test_sctp_init_ack_tsn.py
|
|
255
256
|
tests/test_sctp_reassembly.py
|
|
256
257
|
tests/test_sctp_sack.py
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
"""The camera's SCTP DATA is delivered in TSN order, not arrival order.
|
|
2
|
+
|
|
3
|
+
A ~2.8 KB SD listing page reaches us as three DATA fragments. Over a TURN relay
|
|
4
|
+
one can be lost and resent. Handed to reassembly as they arrived, the first and
|
|
5
|
+
last fragments were joined around the hole into a page that did not decode, the
|
|
6
|
+
resent middle and last then arrived with no beginning and were dropped, and the
|
|
7
|
+
listing reported that the camera had not answered - a Home Assistant install
|
|
8
|
+
reaching a PTZ only through the relay showed its card list cut off part way
|
|
9
|
+
(2026-11-02) where the same camera listed in full over the LAN.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
import struct
|
|
13
|
+
|
|
14
|
+
from aidot_cameras.camera.sdes_open import (
|
|
15
|
+
_SCTP_GAP,
|
|
16
|
+
_SCTP_GAP_HOLD_CAP,
|
|
17
|
+
_SCTP_GAP_WAIT_S,
|
|
18
|
+
_SCTP_MAX_AHEAD,
|
|
19
|
+
_sctp_data_chunks,
|
|
20
|
+
_sctp_reassemble,
|
|
21
|
+
_sctp_take_in_order,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
B, E = 0x02, 0x01
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def _deliver(state, arrivals, now=0.0):
|
|
28
|
+
"""Feed (tsn, flags, payload) as ONE packet, as the bridge does: take every
|
|
29
|
+
chunk in order first, then reassemble what that released."""
|
|
30
|
+
ready = []
|
|
31
|
+
for tsn, flags, payload in arrivals:
|
|
32
|
+
ready += _sctp_take_in_order(state, tsn, (flags, 0, payload, 51), now)
|
|
33
|
+
out = []
|
|
34
|
+
for item in ready:
|
|
35
|
+
if item is _SCTP_GAP:
|
|
36
|
+
state.setdefault("rx_frag", {}).clear()
|
|
37
|
+
continue
|
|
38
|
+
f, sid, frag, _ppid = item
|
|
39
|
+
msg = _sctp_reassemble(f, sid, frag, state.setdefault("rx_frag", {}))
|
|
40
|
+
if msg is not None:
|
|
41
|
+
out.append(msg)
|
|
42
|
+
return out
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def _packets(state, packets, now=0.0):
|
|
46
|
+
"""Several packets, each a list of (tsn, flags, payload)."""
|
|
47
|
+
out = []
|
|
48
|
+
for pkt in packets:
|
|
49
|
+
out += _deliver(state, pkt, now)
|
|
50
|
+
return out
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def _started(tsn):
|
|
54
|
+
"""Receive state for an association whose last delivered TSN is ``tsn``."""
|
|
55
|
+
return {"peer_cum_tsn": tsn}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class TestOrder:
|
|
59
|
+
def test_in_order_chunks_pass_straight_through(self):
|
|
60
|
+
state = _started(99)
|
|
61
|
+
got = _packets(state, [[(100, B, b"ab")], [(101, 0, b"cd")], [(102, E, b"ef")]])
|
|
62
|
+
assert got == [b"abcdef"]
|
|
63
|
+
assert state["peer_cum_tsn"] == 102
|
|
64
|
+
|
|
65
|
+
def test_a_lost_middle_fragment_is_waited_for_not_joined_around(self):
|
|
66
|
+
state = _started(99)
|
|
67
|
+
# 101 is lost; the camera resends it (and 102, which we could not ack).
|
|
68
|
+
got = _packets(
|
|
69
|
+
state,
|
|
70
|
+
[
|
|
71
|
+
[(100, B, b"ab")],
|
|
72
|
+
[(102, E, b"ef")],
|
|
73
|
+
[(101, 0, b"cd")],
|
|
74
|
+
[(102, E, b"ef")],
|
|
75
|
+
],
|
|
76
|
+
)
|
|
77
|
+
assert got == [b"abcdef"]
|
|
78
|
+
assert state["peer_cum_tsn"] == 102
|
|
79
|
+
|
|
80
|
+
def test_a_chunk_past_a_gap_is_not_acknowledged_until_the_gap_fills(self):
|
|
81
|
+
state = _started(99)
|
|
82
|
+
assert _sctp_take_in_order(state, 101, "x", 0.0) == []
|
|
83
|
+
assert state["peer_cum_tsn"] == 99
|
|
84
|
+
assert _sctp_take_in_order(state, 100, "w", 0.1) == ["w", "x"]
|
|
85
|
+
assert state["peer_cum_tsn"] == 101
|
|
86
|
+
|
|
87
|
+
def test_every_packet_arriving_twice_gives_each_message_once(self):
|
|
88
|
+
"""Measured 2026-11-02 on a host reaching the camera by two routes:
|
|
89
|
+
every control packet arrived twice, 1-3 ms apart. In arrival order a
|
|
90
|
+
repeated middle fragment was appended into the page."""
|
|
91
|
+
state = _started(99)
|
|
92
|
+
frags = [(100, B, b"ab"), (101, 0, b"cd"), (102, E, b"ef"), (103, B | E, b"z")]
|
|
93
|
+
got = _packets(state, [[f] for f in frags for _ in (0, 1)])
|
|
94
|
+
assert got == [b"abcdef", b"z"]
|
|
95
|
+
|
|
96
|
+
def test_a_resend_of_a_delivered_chunk_is_dropped(self):
|
|
97
|
+
state = _started(99)
|
|
98
|
+
assert _sctp_take_in_order(state, 100, "w", 0.0) == ["w"]
|
|
99
|
+
assert _sctp_take_in_order(state, 100, "w", 0.1) == []
|
|
100
|
+
assert _sctp_take_in_order(state, 90, "old", 0.1) == []
|
|
101
|
+
|
|
102
|
+
def test_the_first_chunk_defines_the_base(self):
|
|
103
|
+
state = {}
|
|
104
|
+
assert _sctp_take_in_order(state, 5000, "a", 0.0) == ["a"]
|
|
105
|
+
assert state["peer_cum_tsn"] == 5000
|
|
106
|
+
|
|
107
|
+
def test_tsns_wrap(self):
|
|
108
|
+
state = _started(0xFFFFFFFE)
|
|
109
|
+
assert _sctp_take_in_order(state, 0, "b", 0.0) == []
|
|
110
|
+
assert _sctp_take_in_order(state, 0xFFFFFFFF, "a", 0.0) == ["a", "b"]
|
|
111
|
+
assert state["peer_cum_tsn"] == 0
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
class TestAGapThatNeverFills:
|
|
115
|
+
"""A camera that does not resend must not stall its control channel."""
|
|
116
|
+
|
|
117
|
+
def test_it_is_given_up_after_the_wait(self):
|
|
118
|
+
state = _started(99)
|
|
119
|
+
assert _sctp_take_in_order(state, 101, "x", 10.0) == []
|
|
120
|
+
assert _sctp_take_in_order(state, 102, "y", 10.0 + _SCTP_GAP_WAIT_S / 2) == []
|
|
121
|
+
got = _sctp_take_in_order(state, 103, "z", 10.0 + _SCTP_GAP_WAIT_S)
|
|
122
|
+
assert got == [_SCTP_GAP, "x", "y", "z"]
|
|
123
|
+
assert state["peer_cum_tsn"] == 103
|
|
124
|
+
assert not state["rx_ooo"]
|
|
125
|
+
|
|
126
|
+
def test_it_is_given_up_when_too_much_is_waiting_behind_it(self):
|
|
127
|
+
state = _started(99)
|
|
128
|
+
got = []
|
|
129
|
+
for i in range(_SCTP_GAP_HOLD_CAP):
|
|
130
|
+
got += _sctp_take_in_order(state, 101 + i, i, 0.0)
|
|
131
|
+
assert got == [_SCTP_GAP] + list(range(_SCTP_GAP_HOLD_CAP))
|
|
132
|
+
|
|
133
|
+
def test_a_half_built_message_is_not_joined_across_it(self):
|
|
134
|
+
state = _started(99)
|
|
135
|
+
# B arrives, its middle is lost for good, then a whole new message.
|
|
136
|
+
got = _deliver(state, [(100, B, b"ab")])
|
|
137
|
+
got += _deliver(state, [(102, B | E, b"whole")], now=0.0)
|
|
138
|
+
got += _deliver(state, [(103, E, b"tail")], now=_SCTP_GAP_WAIT_S)
|
|
139
|
+
# "ab" + "tail" must not come out as a message.
|
|
140
|
+
assert got == [b"whole"]
|
|
141
|
+
|
|
142
|
+
def test_the_wait_runs_from_the_oldest_chunk_held(self):
|
|
143
|
+
"""A partial fill must not keep pushing the give-up back."""
|
|
144
|
+
state = _started(100)
|
|
145
|
+
assert _sctp_take_in_order(state, 102, "y", 0.0) == []
|
|
146
|
+
assert _sctp_take_in_order(state, 105, "z", 0.2) == []
|
|
147
|
+
# 101 fills the first gap; 102 comes out and 105 is still waiting.
|
|
148
|
+
assert _sctp_take_in_order(state, 101, "x", 0.9) == ["x", "y"]
|
|
149
|
+
# 105 has waited since 0.2, so the next arrival gives it up.
|
|
150
|
+
got = _sctp_take_in_order(state, 107, "q", 0.2 + _SCTP_GAP_WAIT_S)
|
|
151
|
+
assert got == [_SCTP_GAP, "z"]
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
class TestTheFirstChunk:
|
|
155
|
+
def test_the_first_chunk_seen_starts_the_count_even_past_the_initial_tsn(self):
|
|
156
|
+
"""DATA the camera sent while the channel was opening was not taken, so
|
|
157
|
+
the first chunk seen once it is up is delivered, not held behind it."""
|
|
158
|
+
state = {"peer_tsn": 500}
|
|
159
|
+
assert _sctp_take_in_order(state, 502, "c", 0.0) == ["c"]
|
|
160
|
+
assert state["peer_cum_tsn"] == 502
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
class TestOnePacketAcrossAGap:
|
|
164
|
+
def test_a_fragment_before_the_gap_is_not_joined_to_one_after_it(self):
|
|
165
|
+
"""In one packet: 100 (B) arrives in order, 104 gives up the gap at 101."""
|
|
166
|
+
state = _started(99)
|
|
167
|
+
_deliver(state, [(102, E, b"ef")], now=0.0)
|
|
168
|
+
got = _deliver(
|
|
169
|
+
state, [(100, B, b"ab"), (104, B | E, b"whole")], now=_SCTP_GAP_WAIT_S
|
|
170
|
+
)
|
|
171
|
+
assert got == []
|
|
172
|
+
assert b"abef" not in got
|
|
173
|
+
|
|
174
|
+
def test_a_stray_tsn_far_ahead_is_dropped_not_held(self):
|
|
175
|
+
state = _started(99)
|
|
176
|
+
assert _sctp_take_in_order(state, 99 + _SCTP_MAX_AHEAD + 1, "x", 0.0) == []
|
|
177
|
+
assert not state["rx_ooo"]
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
def _data(tsn, payload, flags=B | E, sid=0, ppid=51):
|
|
181
|
+
body = struct.pack("!IHHI", tsn, sid, 0, ppid) + payload
|
|
182
|
+
chunk = struct.pack("!BBH", 0, flags, 4 + len(body)) + body
|
|
183
|
+
return chunk + b"\x00" * (-len(chunk) % 4)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
def _sack(cum):
|
|
187
|
+
body = struct.pack("!IIHH", cum, 65536, 0, 0)
|
|
188
|
+
return struct.pack("!BBH", 3, 0, 4 + len(body)) + body
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
class TestEveryDataChunkInAPacket:
|
|
192
|
+
HEADER = b"\x00" * 12
|
|
193
|
+
|
|
194
|
+
def test_a_single_chunk(self):
|
|
195
|
+
got = list(_sctp_data_chunks(self.HEADER + _data(7, b"abc")))
|
|
196
|
+
assert got == [(7, B | E, 0, 51, b"abc")]
|
|
197
|
+
|
|
198
|
+
def test_two_bundled_chunks_are_both_read(self):
|
|
199
|
+
pkt = self.HEADER + _data(7, b"abc") + _data(8, b"defgh", flags=B)
|
|
200
|
+
assert [c[0] for c in _sctp_data_chunks(pkt)] == [7, 8]
|
|
201
|
+
assert [c[4] for c in _sctp_data_chunks(pkt)] == [b"abc", b"defgh"]
|
|
202
|
+
|
|
203
|
+
def test_data_behind_a_sack_is_read(self):
|
|
204
|
+
pkt = self.HEADER + _sack(5) + _data(9, b"x")
|
|
205
|
+
assert [c[0] for c in _sctp_data_chunks(pkt)] == [9]
|
|
206
|
+
|
|
207
|
+
def test_a_packet_with_no_data_has_none(self):
|
|
208
|
+
assert list(_sctp_data_chunks(self.HEADER + _sack(5))) == []
|
|
209
|
+
|
|
210
|
+
def test_a_truncated_chunk_is_not_read_past_the_packet(self):
|
|
211
|
+
assert list(_sctp_data_chunks(self.HEADER + _data(7, b"abcdef")[:10])) == []
|
|
212
|
+
|
|
213
|
+
def test_a_chunk_cut_short_is_not_delivered_short(self):
|
|
214
|
+
"""Acked as if whole, it would never be resent."""
|
|
215
|
+
assert list(_sctp_data_chunks(self.HEADER + _data(7, b"abcdefgh")[:-3])) == []
|