You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Change the error message, by removing the last statement.
Make the file download after the error is displayed
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.
Activity
DeepDiver1975 commentedon Jun 29, 2026
Confirmed — still present on current
master(PreviewVideoActivity/ media3 path).Trace:
PreviewVideoErrorAdapter.handlePlayerSourceErrormaps theCertificateExceptioncause tonew PreviewVideoError(streaming_certificate_error, fileSyncNeeded=true, parentFolderSyncNeeded=false).PreviewVideoActivity.showAlertDialogonly callsfileOperationsHelper.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 itsvalues-*translations), since the dialog button is what actually starts the sync. Option (2) — actually auto-startsyncFile(file)before/instead of showing the button — is the alternative if automatic download is the intended behavior.🤖 Generated with Claude Code