Skip to content

HLS video quality variants cannot be saved to Photos #2293

Description

@likecreep

Checklist

  • I am reporting an issue in existing functionality that does not work as intended
  • I've searched for existing GitHub issues

Description

HLS videos cannot be properly saved to Photos from the media gallery.

When viewing an HLSVideoContent video in the gallery, Telegram provides multiple quality options when using "Save to Photos". After selecting a quality, the download completes and Telegram shows the "Video Saved" confirmation, but no video is actually added to the Photos library.

Regular videos using NativeVideoContent can be saved normally.

Expected Behavior

The selected HLS quality variant should be saved to the Photos library.

Actual Behavior

Telegram reports that the video was saved successfully, but the video does not appear in Photos.

This appears to affect HLS quality variants specifically. Regular NativeVideoContent videos can be saved successfully.

Steps to Reproduce

  1. Open a video that is handled as HLSVideoContent.
  2. Open the gallery menu.
  3. Select "Save to Photos".
  4. Select any available quality (e.g. 1080p, 720p, 480p).
  5. Wait for the selected quality to finish downloading.
  6. Telegram shows the "Video Saved" confirmation.
  7. Open Photos.

Environment

Device: iPhone

iOS version: 26.6.1

App version: 12.9.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions