Skip to content

[BUG] Video neither streamed nor downloaded #3816

Open

Description

@jesmrec

in a https with self-signed certificate server, try to stream a video (no matter if oCIS or oC10)

Current: message Streaming cannot be initialized because your server certificate is untrusted. File download will start automatically. But, file does not start to download

Expected: Two options, both work for me:

  1. Change the error message, by removing the last statement.
  2. Make the file download after the error is displayed

Samsung A51, Android 12

Activity

  1. modified the milestones: Backlog, 4.7 - Next on Jun 6, 2025
  2. modified the milestones: 4.7 - Current, Backlog on Oct 31, 2025
  3. DeepDiver1975 commented on Jun 29, 2026

    @DeepDiver1975
    Contributor

    Confirmed — still present on current master (PreviewVideoActivity / media3 path).

    Trace:

    • PreviewVideoErrorAdapter.handlePlayerSourceError maps the CertificateException cause to new PreviewVideoError(streaming_certificate_error, fileSyncNeeded=true, parentFolderSyncNeeded=false).
    • PreviewVideoActivity.showAlertDialog only calls fileOperationsHelper.syncFile(file) inside the positive-button click handler — the download is gated behind a user tap, not triggered automatically.

    So the message …File download will start automatically. (R.string.streaming_certificate_error) is inaccurate: the download is not automatic, it requires tapping the dialog button. That matches the report (message shown, nothing downloads on its own).

    Minimal fix matching the reporter's option (1): drop the trailing "File download will start automatically." sentence from streaming_certificate_error (and its values-* translations), since the dialog button is what actually starts the sync. Option (2) — actually auto-start syncFile(file) before/instead of showing the button — is the alternative if automatic download is the intended behavior.

    🤖 Generated with Claude Code

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions