Skip to content

Release 0.5.5 - #129

Open
lalit-videodb wants to merge 12 commits into
mainfrom
release-0-5-5
Open

lalit-videodb wants to merge 12 commits into
mainfrom
release-0-5-5

Conversation

@lalit-videodb

@lalit-videodb lalit-videodb commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

0.5.5

Capture binary 0.3.6 on macOS, Windows and Linux, and keyterms on live transcription. Matches videodb-node 0.4.3.

Added

  • Capture on Linux x64 (Ubuntu 22.04+, PipeWire and a ScreenCast portal), next to macOS 13+ and Windows x64.
  • Instant start. start_session() returns once local recording has started. Wait for the recording-live event before using the live streams. A LIVE_UNAVAILABLE notice means recording continues without them.
  • Authorized recording without a live session: start_recording(owner, collection_id, upload_token, channels, live=False) and stop_recording(). Audio-only works.
  • Delivery and recovery: wait_for_processing(), list_recordings(owner), list_local_recordings(), relay_recording(), and a get_recorder_token callback for fresh tokens.
  • Controls: pause_tracks() / resume_tracks() by track name or channel id, get_windows(), switch_window(), set_window_enabled().
  • Status: get_capabilities(), get_notices(), get_permission_status(), and resolution="720p" | "1080p" on start.
  • Events: recording-notice, meeting-detected and meeting-ended are forwarded.
  • CaptureCommandError, exported from videodb, carries the recorder's error code.
  • Connection.generate_recorder_token(collection_id, user_id) and an optional user_id on generate_client_token().
  • RTStream.start_transcript(keyterms=[...]): names, acronyms or terms to recognise and spell as given. Up to 100 strings of at most 50 characters, with model_name="pro". (start_transcript: keyterms #128)
  • Direct alerts on a stream: RTStream.create_alert(event_id, callback_url, segmentation=, sampling=, threshold=, cooldown_seconds=), list_alerts(), get_alert(), enable_alert(), disable_alert(). One event checked on the stream's frames every window, with no understanding or index. Server routes live on prod since 12 November. (feat(rtstream): direct alerts on a stream #132, open)

Changed

  • shutdown() waits for processing by default, up to 900 s, and raises if delivery fails. Pass wait_for_processing=False to stop without waiting.
  • stop_session() no longer raises when no session is active.
  • start_session() channels must be a list. A tuple is rejected.
  • The capture extra needs videodb-capture-bin>=0.3.6.

Release order

  1. videodb-capture-bin 0.3.6 on PyPI for every supported platform. Until then pip install 'videodb[capture]' cannot resolve.
  2. Merge this PR, then tag v0.5.5. Publish in the same window as videodb-node 0.4.3 (video-db/videodb-node fix: move constants to constants.py #97).

Merged into this branch on 30 November: #128 (keyterms), #130 (recorder token reply key, README install text) and #131 (recorder killed on a shutdown timeout, client built outside the event loop on Python 3.8 and 3.9, events() open before start).

The keyterms server change, Spext/videodb-server #1259, is on main.

Tested

  • 28 unit tests on Python 3.9 and 3.12, lint clean, wheel builds, import videodb works without the capture extra.
  • keyterms ran end to end on dev through the REST API on 26 November.
  • Not yet run from this branch: a recording through the published binary on each platform.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant