π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
chore: Add logging for FFmpeg session ID and logout stop reason
Prateek Sunal4a8d24069c90
diff --git a/mobile/apps/photos/lib/services/video_preview_service.dart b/mobile/apps/photos/lib/services/video_preview_service.dartindex 30415f2e33..8b728b23f5 100644--- a/mobile/apps/photos/lib/services/video_preview_service.dart+++ b/mobile/apps/photos/lib/services/video_preview_service.dart@@ -156,6 +156,7 @@ class VideoPreviewService {Future<void> stopForLogout() async {if (!flagService.stopStreamOnLogOut) return;+ _logger.info("Stopping streaming due to logout");await stop();}@@ -536,7 +537,10 @@ class VideoPreviewService {final playlistGenResult = await ffmpegService.runFfmpegCancellable('-i "${file.path}" $command$prefix/output.m3u8',- (id) => _currentFfmpegSessionId = id,+ (id) {+ _currentFfmpegSessionId = id;+ _logger.info("FFmpeg session started: $id");+ },).whenComplete(() => _currentFfmpegSessionId = null).onError((error, stackTrace) {