refactor: video stream service; fix: progress tracker guid

This commit is contained in:
2025-08-09 14:09:03 +08:00
parent 771f5e8e9f
commit 0547bb5a02
7 changed files with 539 additions and 1591 deletions

View File

@@ -41,7 +41,7 @@ public class ProgressReporter : ProgressInfo, IProgress<int>
private ProgressStatus _status = ProgressStatus.Pending;
private string _errorMessage;
public string TaskId { get; set; } = new Guid().ToString();
public string TaskId { get; set; } = Guid.NewGuid().ToString();
public int ProgressPercent => _progress * 100 / MaxProgress;
public ProgressStatus Status => _status;
public string ErrorMessage => _errorMessage;