refactor: video stream service; fix: progress tracker guid
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user