安卓端3.0.18,无法在线播放MP4

我通过nginx将http反向代理成了https,网页端可以在线播放也能下载mp4视频,但是安卓端只能下载,不能在线播放,有人遇到过吗

我是小米手机(安卓),seafile 客户端版本是 3.0.18,可以正常在线播放 mp4。你这边有具体的截屏或者日志吗?

我再手机端的日志,nginx的日志,seafile.log,seahub.log都没有看到错误,所以就不知道怎么排查了

我这边点击视频后,弹出菜单,点击播放后即可正常播放。你有这个菜单吗?你点击后时什么情况?

最后就一直这样转

我的 MP4 是手机录像,Seafile 中视频缩略图可以显示出来。我看到你的截图中应该是电视剧?然后缩略图不显示。我有几个思路:

1、你能否检查一下 MP4 文件格式是否正常,手机拍一段视频上传到 Seafile 安卓端试试?

2、你的 MP4 文件是否比较大,然后转圈过程实际上在缓冲视频?能否换一个小点的视频,然后换个的网络试试?

mp4格式是正常的,毕竟网页端的在线播放是正常的,其次我重新用手机录制了一个小的,上传,也是不行的;我有个想法,是不是安卓端的在线播放,是不是对自签证书没有忽略证书错误

这个问题,请 @zhwanng 帮忙看看吧

有这个可能性,我测试一下

测试了一下,自签证书无法播放,因为播放器的限制原因。

问一下你在登录的时候也是使用的自签证书?

是的,我全局都使用了https,都是自签名证书

再次登录时,在设置页里能不能导出下日志看一下?




2025-10-16 09:34:23.826 D/SLog: App Env Info
2025-10-16 09:34:23.826 D/SLog: SDK: 35
2025-10-16 09:34:23.826 D/SLog: Brand: vivo
2025-10-16 09:34:23.826 D/SLog: Model: V2218A
2025-10-16 09:34:23.826 D/SLog: Release: 15
2025-10-16 09:34:23.826 D/SLog: Build Version: 3.0.18
2025-10-16 09:34:23.826 D/SLog: Build Code:205
2025-10-16 09:34:25.620 D/SLog: SeafileAuthenticator, SeafileAuthenticator created.
2025-10-16 09:34:25.626 D/SLog: SeafileAuthenticator, addAccount of type com.seafile.seadroid2.account.api2
2025-10-16 09:34:58.107 E/SLog: java.lang.RuntimeException: java.security.cert.CertificateException
2025-10-16 09:35:27.844 D/SLog: SeafileAuthenticatorActivity, finishLogin
2025-10-16 09:35:28.008 D/SLog: CameraSyncService, onCreate
2025-10-16 09:35:28.104 D/SLog: StorageManager, 副存储 (不可用)
2025-10-16 09:35:28.200 D/SLog: AlbumBackupAdapter, onUnsyncableAccount()
2025-10-16 09:35:28.455 D/SLog: onCleared
2025-10-16 09:35:28.455 D/SLog: CompositeDisposable current size: 2
2025-10-16 09:35:28.455 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:35:28.456 D/SLog: CompositeDisposable current size: 0
2025-10-16 09:35:28.456 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:35:35.254 D/SLog: MainActivity, bond FileSyncService
2025-10-16 09:35:35.254 D/SLog: FileSyncService, startFolderMonitor(), backup path: /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:35:35.260 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:35:35.262 D/SLog: FileSyncService, onStop()
2025-10-16 09:35:35.922 D/SLog: MainActivity, bond FileSyncService
2025-10-16 09:35:36.517 D/SLog: onCleared
2025-10-16 09:35:36.517 D/SLog: CompositeDisposable current size: 1
2025-10-16 09:35:36.517 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:35:36.518 D/SLog: CompositeDisposable current size: 0
2025-10-16 09:35:36.518 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:35:36.533 D/SLog: onCleared
2025-10-16 09:35:36.533 D/SLog: CompositeDisposable current size: 1
2025-10-16 09:35:36.533 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:35:36.536 D/SLog: onCleared
2025-10-16 09:35:36.536 D/SLog: CompositeDisposable current size: 2
2025-10-16 09:35:36.536 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:35:36.536 D/SLog: CompositeDisposable current size: 0
2025-10-16 09:35:36.536 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:35:36.536 D/SLog: onCleared
2025-10-16 09:35:36.536 D/SLog: CompositeDisposable current size: 1
2025-10-16 09:35:36.536 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:35:36.536 D/SLog: CompositeDisposable current size: 0
2025-10-16 09:35:36.536 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:35:36.538 D/SLog: onCleared
2025-10-16 09:35:36.538 D/SLog: CompositeDisposable current size: 0
2025-10-16 09:35:36.538 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:35:40.263 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:35:40.266 D/SLog: FileSyncService, onStop()
2025-10-16 09:35:45.267 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:35:45.270 D/SLog: FileSyncService, onStop()
2025-10-16 09:35:50.272 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:35:50.279 D/SLog: FileSyncService, onStop()
2025-10-16 09:35:52.821 D/SLog: TabSettings2Fragment, cache size:
2025-10-16 09:35:52.821 D/SLog: TabSettings2Fragment, cache size:0 bytes
2025-10-16 09:35:55.279 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:35:55.281 D/SLog: FileSyncService, onStop()
2025-10-16 09:36:00.284 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:36:00.294 D/SLog: FileSyncService, onStop()
2025-10-16 09:36:36.135 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:36:36.145 D/SLog: FileSyncService, onStop()
2025-10-16 09:36:36.152 D/SLog: SeafileProvider, queryRoots()
2025-10-16 09:36:36.159 D/SLog: SeafileProvider, includeRoot(), docId = pan.fxzj8.icu:10010 (889cd0412c344a0b92b9acb4fc0b96b2@auth.local)
2025-10-16 09:36:36.159 D/SLog: SeafileProvider, includeRoot(), rootId = pan.fxzj8.icu:10010 (889cd0412c344a0b92b9acb4fc0b96b2@auth.local)::::root-magic-repo
2025-10-16 09:36:41.146 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:36:41.151 D/SLog: FileSyncService, onStop()
2025-10-16 09:37:30.212 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:37:30.228 D/SLog: FileSyncService, onStop()
2025-10-16 09:37:30.230 D/SLog: MainActivity, onRestart
2025-10-16 09:37:30.358 D/SLog: TabSettings2Fragment, cache size:
2025-10-16 09:37:30.358 D/SLog: TabSettings2Fragment, cache size:0 bytes
2025-10-16 09:37:35.229 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:37:35.236 D/SLog: FileSyncService, onStop()
2025-10-16 09:37:37.991 D/SLog: getDirentsSingleFromServer(), The list has been inserted into the local database
2025-10-16 09:37:40.237 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:37:40.242 D/SLog: FileSyncService, onStop()
2025-10-16 09:37:43.176 D/SLog: CompositeDisposable current size: 6
2025-10-16 09:37:43.176 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:37:45.243 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:37:45.247 D/SLog: FileSyncService, onStop()
2025-10-16 09:37:46.284 D/SLog: getDirentsSingleFromServer(), The list has been inserted into the local database
2025-10-16 09:37:50.248 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:37:50.276 D/SLog: FileSyncService, onDirectoryCreate(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile/889cd0412c344a0b92b9acb4fc0b96b2@auth.local (pan.fxzj8.icu)
2025-10-16 09:37:50.276 D/SLog: FileSyncService, onDirectoryCreate(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile/889cd0412c344a0b92b9acb4fc0b96b2@auth.local (pan.fxzj8.icu)/办公室备份_3271
2025-10-16 09:37:50.276 D/SLog: FileSyncService, onStop()
2025-10-16 09:37:55.277 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:37:55.304 D/SLog: FileSyncService, onStop()
2025-10-16 09:37:56.342 D/SLog: MainActivity, onRestart
2025-10-16 09:37:56.671 D/SLog: onCleared
2025-10-16 09:37:56.671 D/SLog: CompositeDisposable current size: 2
2025-10-16 09:37:56.671 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:37:56.673 D/SLog: CompositeDisposable current size: 0
2025-10-16 09:37:56.673 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:38:00.304 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:38:00.309 D/SLog: FileSyncService, onStop()
2025-10-16 09:38:00.682 D/SLog: media store:newVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949, lastVersion → null
2025-10-16 09:38:00.682 D/SLog: A new file is detected and the Media task begins
2025-10-16 09:38:00.682 D/SLog: FileSyncService, onMediaContentObserver, isFullScan: true
2025-10-16 09:38:00.682 D/SLog: MainActivity, onMediaContentObserver, isFullScan: true
2025-10-16 09:38:00.682 D/SLog: CameraUploadManager, performSyncByStatus()
2025-10-16 09:38:00.711 D/SLog: CameraSyncService, onCreate
2025-10-16 09:38:00.716 D/SLog: AlbumBackupAdapter, onPerformSync(), isFullScan = true
2025-10-16 09:38:00.718 D/SLog: AlbumBackupAdapter, onPerformSync(), backup switch is off
2025-10-16 09:38:00.763 D/SLog: media store:newVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949, lastVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949
2025-10-16 09:38:00.763 D/SLog: A new file is detected and the Media task begins
2025-10-16 09:38:00.763 D/SLog: FileSyncService, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:00.763 D/SLog: MainActivity, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:00.763 D/SLog: CameraUploadManager, performSyncByStatus()
2025-10-16 09:38:00.780 D/SLog: media store:newVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949, lastVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949
2025-10-16 09:38:00.780 D/SLog: A new file is detected and the Media task begins
2025-10-16 09:38:00.780 D/SLog: FileSyncService, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:00.780 D/SLog: MainActivity, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:00.780 D/SLog: CameraUploadManager, performSyncByStatus()
2025-10-16 09:38:00.816 D/SLog: media store:newVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949, lastVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949
2025-10-16 09:38:00.816 D/SLog: A new file is detected and the Media task begins
2025-10-16 09:38:00.816 D/SLog: FileSyncService, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:00.816 D/SLog: MainActivity, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:00.816 D/SLog: CameraUploadManager, performSyncByStatus()
2025-10-16 09:38:04.791 D/SLog: MainActivity, onRestart
2025-10-16 09:38:05.127 D/SLog: onCleared
2025-10-16 09:38:05.127 D/SLog: CompositeDisposable current size: 2
2025-10-16 09:38:05.127 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:38:05.128 D/SLog: CompositeDisposable current size: 0
2025-10-16 09:38:05.128 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:38:05.309 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:38:05.313 D/SLog: FileSyncService, onStop()
2025-10-16 09:38:07.046 D/SLog: media store:newVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949, lastVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949
2025-10-16 09:38:07.046 D/SLog: A new file is detected and the Media task begins
2025-10-16 09:38:07.046 D/SLog: FileSyncService, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:07.046 D/SLog: MainActivity, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:07.046 D/SLog: CameraUploadManager, performSyncByStatus()
2025-10-16 09:38:07.106 D/SLog: media store:newVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949, lastVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949
2025-10-16 09:38:07.106 D/SLog: A new file is detected and the Media task begins
2025-10-16 09:38:07.106 D/SLog: FileSyncService, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:07.106 D/SLog: MainActivity, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:07.106 D/SLog: CameraUploadManager, performSyncByStatus()
2025-10-16 09:38:07.111 D/SLog: media store:newVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949, lastVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949
2025-10-16 09:38:07.111 D/SLog: A new file is detected and the Media task begins
2025-10-16 09:38:07.111 D/SLog: FileSyncService, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:07.111 D/SLog: MainActivity, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:07.111 D/SLog: CameraUploadManager, performSyncByStatus()
2025-10-16 09:38:07.131 D/SLog: media store:newVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949, lastVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949
2025-10-16 09:38:07.131 D/SLog: A new file is detected and the Media task begins
2025-10-16 09:38:07.131 D/SLog: FileSyncService, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:07.131 D/SLog: MainActivity, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:07.131 D/SLog: CameraUploadManager, performSyncByStatus()
2025-10-16 09:38:10.314 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:38:10.319 D/SLog: FileSyncService, onStop()
2025-10-16 09:38:13.178 D/SLog: media store:newVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949, lastVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949
2025-10-16 09:38:13.178 D/SLog: A new file is detected and the Media task begins
2025-10-16 09:38:13.178 D/SLog: FileSyncService, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:13.178 D/SLog: MainActivity, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:13.178 D/SLog: CameraUploadManager, performSyncByStatus()
2025-10-16 09:38:13.241 D/SLog: media store:newVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949, lastVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949
2025-10-16 09:38:13.241 D/SLog: A new file is detected and the Media task begins
2025-10-16 09:38:13.241 D/SLog: FileSyncService, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:13.241 D/SLog: MainActivity, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:13.241 D/SLog: CameraUploadManager, performSyncByStatus()
2025-10-16 09:38:13.246 D/SLog: media store:newVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949, lastVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949
2025-10-16 09:38:13.246 D/SLog: A new file is detected and the Media task begins
2025-10-16 09:38:13.246 D/SLog: FileSyncService, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:13.246 D/SLog: MainActivity, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:13.246 D/SLog: CameraUploadManager, performSyncByStatus()
2025-10-16 09:38:13.267 D/SLog: media store:newVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949, lastVersion → 1416:370408f3-1f89-476a-8560-c8b2c3503949
2025-10-16 09:38:13.267 D/SLog: A new file is detected and the Media task begins
2025-10-16 09:38:13.267 D/SLog: FileSyncService, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:13.267 D/SLog: MainActivity, onMediaContentObserver, isFullScan: false
2025-10-16 09:38:13.267 D/SLog: CameraUploadManager, performSyncByStatus()
2025-10-16 09:38:14.468 D/SLog: MainActivity, onRestart
2025-10-16 09:38:14.826 D/SLog: onCleared
2025-10-16 09:38:14.826 D/SLog: CompositeDisposable current size: 2
2025-10-16 09:38:14.827 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:38:14.828 D/SLog: CompositeDisposable current size: 0
2025-10-16 09:38:14.828 D/SLog: CompositeDisposable clear all: 0
2025-10-16 09:38:15.319 D/SLog: FileSyncService, onStart(), /storage/emulated/0/Android/media/com.seafile.seadroid2/Seafile
2025-10-16 09:38:15.324 D/SLog: FileSyncService, onStop()

下个版本发布的时候会修复这个问题

1 个赞

https://github.com/haiwen/seadroid/releases

GitHub 上已经发布了 v3.0.19,可以试一下是否解决了这个问题