Skip to content

feat(media): probe duration and dimensions for playback metadata - #115728

Merged
steipete merged 3 commits into
mainfrom
steipete/media-duration-metadata
Jul 29, 2026
Merged

steipete merged 3 commits into
mainfrom
steipete/media-duration-metadata

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Playback surfaces currently receive media attachments without reliable duration and dimension metadata, leaving clients and channel history unable to present complete audio and video facts consistently.

Part of #115590

Why This Change Was Made

Probe audio and video once through the media owner boundary, carry the resulting duration and dimensions through inbound events, generated attachments, gateway turns, persisted facts, and transcript history, and remove the older dimensions-only path.

User Impact

Audio and video attachments can now retain duration and video dimensions across channel ingestion, gateway delivery, playback metadata, and persisted history, enabling clients to render more complete playback information.

Evidence

  • Rebased onto origin/main at 844329284e433eae027b16c0826bf46645fbea26.
  • Head: 7ab49012ef479ce80d8616d54975a955427d6d2c.
  • node scripts/run-vitest.mjs src/media/media-probe.test.ts src/media/media-facts.persisted.test.ts src/gateway/chat-attachments.test.ts src/gateway/control-ui.http.test.ts src/channels/inbound-event/media.test.ts
  • Result: 5 test files passed across 4 Vitest shards; 241 tests passed.

@steipete
steipete marked this pull request as ready for review July 29, 2026 07:14
@steipete steipete self-assigned this Jul 29, 2026
@openclaw-barnacle openclaw-barnacle Bot added channel: discord Channel integration: discord channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: signal Channel integration: signal channel: slack Channel integration: slack channel: whatsapp-web Channel integration: whatsapp-web app: web-ui App: web-ui gateway Gateway runtime agents Agent runtime and tooling channel: feishu Channel integration: feishu channel: qa-channel Channel integration: qa-channel size: XL maintainer Maintainer-authored PR labels Jul 29, 2026
@steipete steipete closed this Jul 29, 2026
@steipete steipete reopened this Jul 29, 2026
@steipete
steipete force-pushed the steipete/media-duration-metadata branch from 7ab4901 to 368ee12 Compare July 29, 2026 07:47
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts labels Jul 29, 2026
@steipete
steipete force-pushed the steipete/media-duration-metadata branch from 368ee12 to 3516b14 Compare July 29, 2026 08:17
@steipete
steipete merged commit c402688 into main Jul 29, 2026
121 checks passed
@steipete
steipete deleted the steipete/media-duration-metadata branch July 29, 2026 08:52
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Jul 29, 2026
…ft-ingestion

* origin/main:
  fix(feishu): reject unsupported initial document content (#115697)
  feat(media): probe duration and dimensions for playback metadata (#115728)
  fix(sandbox): scope runtimes by workspace (#115766)
  fix(ui): guide users through missing or broken AI setup (#115716)
  fix(sessions): return direct-agent replies to their active session (#115756)
  fix(zalo): stop provider startup after gateway shutdown (#115763)
  fix(agents): bound completed background process retention (#115760)
  fix(plugins): bound hook execution and retire stale registrations (#115695)
  fix(ui): collapse custodian startup error gap (#115720)
  fix(gateway): reload edited hook transforms (#107875)
  refactor: centralize channel streaming config hints (#115739)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 30, 2026
…nclaw#115728)

* feat(media): probe playback metadata

* fix(media): satisfy CI gates

* fix(media): satisfy lint rules
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 30, 2026
…ft-ingestion

* origin/main:
  fix(feishu): reject unsupported initial document content (openclaw#115697)
  feat(media): probe duration and dimensions for playback metadata (openclaw#115728)
  fix(sandbox): scope runtimes by workspace (openclaw#115766)
  fix(ui): guide users through missing or broken AI setup (openclaw#115716)
  fix(sessions): return direct-agent replies to their active session (openclaw#115756)
  fix(zalo): stop provider startup after gateway shutdown (openclaw#115763)
  fix(agents): bound completed background process retention (openclaw#115760)
  fix(plugins): bound hook execution and retire stale registrations (openclaw#115695)
  fix(ui): collapse custodian startup error gap (openclaw#115720)
  fix(gateway): reload edited hook transforms (openclaw#107875)
  refactor: centralize channel streaming config hints (openclaw#115739)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui channel: discord Channel integration: discord channel: feishu Channel integration: feishu channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: qa-channel Channel integration: qa-channel channel: signal Channel integration: signal channel: slack Channel integration: slack channel: whatsapp-web Channel integration: whatsapp-web docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant