Skip to content

releaseScrubPreviewDecoders() does not close the software-playback still decoder #1153

Backlog

Description

@leeManong

Summary

releaseScrubPreviewDecoders() does not close the still decoder that software playback uses for packet-cache scrub stills. That decoder stays open until playback stops.

Version

AetherEngine 7.77.0

Details

  • AetherEngine+ScrubThumbnail.swift: releaseScrubPreviewDecoders() only iterates scrubThumbnailExtractors and calls releaseDecoder() on each.
  • Native/SoftwarePlaybackHost.swift: the first scrub-still request served from the packet cache creates a SoftwareStillExtractor held in stillExtractorSlot (around line 2822). It is only released in stop() (around line 3063).

So after a single hover during software playback (for example remote VOD or live), the software still decoder remains open for the rest of the session, even when the host calls releaseScrubPreviewDecoders() after scrubbing ends.

Why it matters

We serve scrub previews from the playback packet cache on serial origins (SMB/SFTP behind a local relay, maxConcurrentSourceRequests = 1), because that path needs no extra reads. We would like to close all preview decoders a few seconds after the last scrub request, without stopping playback. Today we have to keep this one decoder open until playback stops.

Request

Could releaseScrubPreviewDecoders() (or a separate API) also close the SoftwareStillExtractor held by SoftwarePlaybackHost while playback continues, and let the next scrub request recreate it?

Thanks for AetherEngine!

Activity

  1. added
    area: api
    area: video
    bug
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: apiarea: videobug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions