Skip to content

Release 0 4 1#65

Merged
lalit-videodb merged 5 commits intomainfrom
release-0-4-1
Mar 10, 2026
Merged

Release 0 4 1#65
lalit-videodb merged 5 commits intomainfrom
release-0-4-1

Conversation

@ashish-spext
Copy link
Collaborator

@ashish-spext ashish-spext commented Mar 10, 2026

VideoDB SDK: Multi-Screen Capture & Export Support

Capture Binary & Session Updates

  • Renamed recorder references to capture in CaptureClient
  • Bumped videodb-capture-bin dependency to >=0.2.8
  • Added channels, export_status, exported_videos to CaptureSession
  • Bumped SDK version to 0.4.1

Multi-Screen Export

  • Parsed channels into typed VideoChannel/AudioChannel objects with store and is_primary attributes
  • Added displays property filtering by VideoChannel type
  • Added export() method with optional video_channel_id and ws_connection_id for push notification
  • Added primary_video_channel_id, export_status attributes from server API response

API Refinements

  • Added is_primary to Channel
  • Removed exported_videos from CaptureSession (internal server logic)
  • Added deprecation warning for primary_video_channel_id
  • Renamed connection_id to ws_connection_id for clarity
  • Fixed generate_clip docstring return type to SearchResult

- Rename recorder references to capture in CaptureClient
- Bump videodb-capture-bin dependency to >=0.2.8
- Add channels, export_status, exported_videos to CaptureSession
- Add displays property and export() method to CaptureSession
- Fix generate_clip docstring return type to SearchResult
- Bump version to 0.4.1
- Parse channels into typed VideoChannel/AudioChannel objects
  with store and is_primary attributes
- Add displays property filtering by VideoChannel type
- Add export() method with optional video_channel_id and
  connection_id for push notification on completion
- Add primary_video_channel_id, export_status, exported_videos
  attributes from server API response
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3f1f7397e2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 362 to 365
self,
capture_session_id: str,
channels: List[Channel],
primary_video_channel_id: Optional[str] = None,
) -> None:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve start_session primary_video_channel_id parameter

CaptureClient.start_session no longer accepts the previously supported primary_video_channel_id argument, so existing integrations that call start_session(..., primary_video_channel_id=...) now fail immediately with TypeError before any capture starts. Because this is a public SDK method and the release is a patch bump, this is a breaking runtime regression for callers that were valid in 0.4.0; keep the old kwarg (even as deprecated) and map it to the new primary-channel behavior.

Useful? React with 👍 / 👎.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review again

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review again

Copy link
Collaborator

@ankit-v2-3 ankit-v2-3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Copy link
Collaborator

@lalit-videodb lalit-videodb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@lalit-videodb lalit-videodb self-requested a review March 10, 2026 13:28
@lalit-videodb lalit-videodb merged commit 15ee953 into main Mar 10, 2026
4 checks passed
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.

3 participants